From ff8889d8cf0d51184be425c38e2250ebc57762d1 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 8 Jan 2007 20:38:03 +0000 Subject: [PATCH] MDL-7861 still some icons left ;grr previous commid had wrong MDL id --- mod/glossary/lib.php | 2 +- mod/hotpot/index.php | 2 +- mod/quiz/editlib.php | 16 ++++++++-------- theme/cornflower/footer.html | 2 +- userpix/index.php | 4 ++-- userpix/upgrade.php | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index f8fa08358b..6e825008fd 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -910,7 +910,7 @@ function glossary_print_entry_approval($cm, $entry, $mode,$align="right",$insid if ($insidetable) { echo '
'; } - echo ''.get_string('approve','glossary').''; + echo ''.get_string('approve','glossary').''; if ($insidetable) { echo '
'; } diff --git a/mod/hotpot/index.php b/mod/hotpot/index.php index 1898666c90..1d15ee6e9f 100644 --- a/mod/hotpot/index.php +++ b/mod/hotpot/index.php @@ -307,7 +307,7 @@ // Show the zoom boxes if ($displaysection==$hotpot->section) { $strshowall = get_string('showall'.$course->format); - $printsection .= '
'.$strshowall.'
'; + $printsection .= '
'.$strshowall.'
'; } else { $strshowone = get_string('showonly'.preg_replace('|s$|', '', $course->format, 1), '', $hotpot->section); $printsection .= '
'.$strshowone.'
'; diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php index 5cfc20dc10..7d5ebcd503 100644 --- a/mod/quiz/editlib.php +++ b/mod/quiz/editlib.php @@ -212,15 +212,15 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r echo '
'; if ($count > 1) { echo "id&sesskey=$USER->sesskey\">pixpath/t/up.gif\" border=\"0\" alt=\"$strmoveup\" />"; + src=\"$CFG->pixpath/t/up.gif\" class=\"iconsmall\" alt=\"$strmoveup\" />"; } echo ' '; if ($count < $lastindex) { echo "id&sesskey=$USER->sesskey\">pixpath/t/down.gif\" border=\"0\" alt=\"$strmovedown\" />"; + src=\"$CFG->pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strmovedown\" />"; echo "id&sesskey=$USER->sesskey\"> - pixpath/t/delete.gif\" border=\"0\" alt=\"$strremove\" />"; + pixpath/t/delete.gif\" class=\"iconsmall\" alt=\"$strremove\" />"; } echo ''; echo ' '; @@ -236,13 +236,13 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r echo ""; if ($count != 0) { echo "id&sesskey=$USER->sesskey\">pixpath/t/up.gif\" border=\"0\" alt=\"$strmoveup\" />"; + src=\"$CFG->pixpath/t/up.gif\" class=\"iconsmall\" alt=\"$strmoveup\" />"; } echo ""; echo ""; if ($count < $lastindex-1) { echo "id&sesskey=$USER->sesskey\">pixpath/t/down.gif\" border=\"0\" alt=\"$strmovedown\" />"; + src=\"$CFG->pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strmovedown\" />"; } echo ""; @@ -272,15 +272,15 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r if ($question->qtype != 'random') { echo " - pixpath/t/preview.gif\" border=\"0\" alt=\"$strpreview\" />"; + pixpath/t/preview.gif\" class=\"iconsmall\" alt=\"$strpreview\" />"; } if ($canedit) { echo "wwwroot/question/question.php?id=$qnum$context\"> - pixpath/t/edit.gif\" border=\"0\" alt=\"$stredit\" />"; + pixpath/t/edit.gif\" class=\"iconsmall\" alt=\"$stredit\" />"; } if ($allowdelete) { echo "id&sesskey=$USER->sesskey\"> - pixpath/t/removeright.gif\" border=\"0\" alt=\"$strremove\" />"; + pixpath/t/removeright.gif\" class=\"iconsmall\" alt=\"$strremove\" />"; } echo ""; diff --git a/theme/cornflower/footer.html b/theme/cornflower/footer.html index a2f239082a..c47adbd0fd 100644 --- a/theme/cornflower/footer.html +++ b/theme/cornflower/footer.html @@ -10,7 +10,7 @@ ?> -

+

diff --git a/userpix/index.php b/userpix/index.php index 9e4e5e3885..865c162447 100644 --- a/userpix/index.php +++ b/userpix/index.php @@ -27,10 +27,10 @@ "title=\"$fullname\">"; if ($CFG->slasharguments) { // Use this method if possible for better caching echo ''.$fullname.''; + ' style="border:0px; width:100px; height:100px" alt="'.$fullname.'" />'; } else { echo ''.$fullname.''; + ' style="border:0px; width:100px; height:100px" alt="'.$fullname.'" />'; } echo " \n"; } diff --git a/userpix/upgrade.php b/userpix/upgrade.php index 8c0ae933cc..c423181cb5 100644 --- a/userpix/upgrade.php +++ b/userpix/upgrade.php @@ -24,10 +24,10 @@ "title=\"$fullname\">"; if ($CFG->slasharguments) { // Use this method if possible for better caching echo ''.$fullname.''; + ' style="border:0px; width:100px; height:100px" alt="'.$fullname.'" />'; } else { echo ''.$fullname.''; + ' style="border:0px; width:100px; height:100px" alt="'.$fullname.'" />'; } echo " \n"; } -- 2.39.5