From: moodler Date: Mon, 13 Oct 2003 14:44:23 +0000 (+0000) Subject: Minor formatting change ... links were obtrusive in forums etc ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=75f7bfe6a560f74c79033653507ac84a807f788a;p=moodle.git Minor formatting change ... links were obtrusive in forums etc ... Will, what do you think? --- diff --git a/mod/glossary/dynalink.php b/mod/glossary/dynalink.php index ea88a4c3dc..788096200e 100644 --- a/mod/glossary/dynalink.php +++ b/mod/glossary/dynalink.php @@ -58,12 +58,13 @@ } if ( $entries ) { foreach ( $entries as $entry ) { - $href_tag_begin = "name: $entry->concept") ."\" href=\"$CFG->wwwroot/mod/glossary/showentry.php?courseid=$courseid&concept=$entry->concept\" ". + $title = strip_tags("$glossary->name: $entry->concept"); + $href_tag_begin = "wwwroot/mod/glossary/showentry.php?courseid=$courseid&concept=$entry->concept\" ". "onClick=\"return openpopup('/mod/glossary/showentry.php?courseid=$courseid&concept=$entry->concept', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">"; $concept = trim(strip_tags($entry->concept)); - $text = glossary_link_concepts($text,$concept,$href_tag_begin); + $text = glossary_link_concepts($text,$concept,$href_tag_begin, ""); } } }