]> git.mjollnir.org Git - moodle.git/commitdiff
Minor formatting change ... links were obtrusive in forums etc ...
authormoodler <moodler>
Mon, 13 Oct 2003 14:44:23 +0000 (14:44 +0000)
committermoodler <moodler>
Mon, 13 Oct 2003 14:44:23 +0000 (14:44 +0000)
Will, what do you think?

mod/glossary/dynalink.php

index ea88a4c3dcbc31be74a68d94f1ce1baa4134d8fa..788096200e2510308893187e3d59275b9922a41a 100644 (file)
             }
             if ( $entries ) {
                 foreach ( $entries as $entry ) {
-                    $href_tag_begin = "<a target=\"entry\" title=\"" . strip_tags("$glossary->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 = "<acronym title=\"$title\"><a style=\"color:black\" target=\"entry\" title=\"$title\" href=\"$CFG->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, "</a></acronym>");
                 }
             }
         }