]> git.mjollnir.org Git - moodle.git/commitdiff
fix for MDL-7473, adding alt tag for printer friendly version
authortoyomoyo <toyomoyo>
Mon, 13 Nov 2006 02:07:10 +0000 (02:07 +0000)
committertoyomoyo <toyomoyo>
Mon, 13 Nov 2006 02:07:10 +0000 (02:07 +0000)
mod/glossary/view.php

index 496855a4c04fb88e95ec7bf999ac2a3f1aab1e84..f75815875b4aa1a877a2723041abdb8b5c4ac7f5 100644 (file)
     $printicon = '';
     if ( $isuserframe and $mode != 'search') {
         if (has_capability('mod/glossary:manageentries', $context) or $glossary->allowprintview) {
-            $printicon = " <a title =\"". get_string("printerfriendly","glossary") . "\" target=\"printview\" href=\"print.php?id=$cm->id&amp;mode=$mode&amp;hook=$hook&amp;sortkey=$sortkey&amp;sortorder=$sortorder&amp;offset=$offset\"><img border=\"0\" src=\"print.gif\" alt=\"\" /></a>";
+            $printicon = " <a title =\"". get_string("printerfriendly","glossary") . "\" alt =\"". get_string("printerfriendly","glossary") . "\" target=\"printview\" href=\"print.php?id=$cm->id&amp;mode=$mode&amp;hook=$hook&amp;sortkey=$sortkey&amp;sortorder=$sortorder&amp;offset=$offset\"><img border=\"0\" src=\"print.gif\" alt=\"\" /></a>";
         }
     }
     print_heading(format_string($glossary->name).$printicon);