From 6951a89497ed13f2ffb4be9f18cb370769a5d927 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 27 Oct 2003 08:31:28 +0000 Subject: [PATCH] Thomas Robb suggested a movehere image instead of the string. I made an image and I agree it looks/works a lot better. --- course/lib.php | 24 ++++++++++++++++-------- pix/movehere.gif | Bin 0 -> 230 bytes theme/cordoroyblue/pix/movehere.gif | Bin 0 -> 230 bytes 3 files changed, 16 insertions(+), 8 deletions(-) create mode 100755 pix/movehere.gif create mode 100755 theme/cordoroyblue/pix/movehere.gif diff --git a/course/lib.php b/course/lib.php index e2003bc18a..afee28df2b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -542,8 +542,10 @@ function print_section_block($heading, $course, $section, $mods, $modnames, $mod continue; } $modicon[] = ""; - $moddata[] = " -> wwwroot/course/mod.php?moveto=$mod->id\">$strmovehere"; + $moddata[] = "wwwroot/course/mod.php?moveto=$mod->id\">". + "pixpath/movehere.gif\" ". + " alt=\"$strmovehere\" border=\"0\">"; } $instancename = urldecode($modinfo[$modnumber]->name); $linkcss = $mod->visible ? "" : " class=\"dimmed\" "; @@ -568,8 +570,10 @@ function print_section_block($heading, $course, $section, $mods, $modnames, $mod } if ($ismoving) { $modicon[] = ""; - $moddata[] = " -> wwwroot/course/mod.php?movetosection=$section->id\">$strmovehere"; + $moddata[] = "wwwroot/course/mod.php?movetosection=$section->id\">". + "pixpath/movehere.gif\" ". + " alt=\"$strmovehere\" border=\"0\">"; } if ($isediting) { $editmenu = popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=$section->section&add=", @@ -626,8 +630,10 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, if ($mod->id == $USER->activitycopy) { continue; } - echo " -> id\">$strmovehere
\n"; + echo "id\">". + "pixpath/movehere.gif\" ". + " alt=\"$strmovehere\" border=\"0\">
\n"; } $instancename = urldecode($modinfo[$modnumber]->name); @@ -667,8 +673,10 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, } } if ($ismoving) { - echo " -> id\">$strmovehere\n"; + echo "id\">". + "pixpath/movehere.gif\" ". + " alt=\"$strmovehere\" border=\"0\">\n"; } echo "\n\n"; } diff --git a/pix/movehere.gif b/pix/movehere.gif new file mode 100755 index 0000000000000000000000000000000000000000..aaa4e5d9bcaee07adaefd6582f9169c2517bba3b GIT binary patch literal 230 zcmZ?wbhEHb3}6so*v!SCsj11q!4VY|)zHweapOiOC#RV+XFh)Xn1O-eKNtWR$UyNY z3nK#q7lRH+5M%}e%jAHQo~!p-ygpm)zJRIkQOA@em8&vN>|3~8(KGjc#k%)@>P|^U z<$LHnOJQ@ma3bfIO+$mw<27ORbDSNj1f%x5yis7#n0=bbkx@`0V$XveeM|v2BSm)9 z#2@Bzh-S>mNzLZS6RoN#ijXPo5bK`QD^<@V(KRW4ie#qutZE121=VvF3F&F7>1wYw SShZoL%JMB+w+RU{SOWkEdR6TJ literal 0 HcmV?d00001 diff --git a/theme/cordoroyblue/pix/movehere.gif b/theme/cordoroyblue/pix/movehere.gif new file mode 100755 index 0000000000000000000000000000000000000000..aaa4e5d9bcaee07adaefd6582f9169c2517bba3b GIT binary patch literal 230 zcmZ?wbhEHb3}6so*v!SCsj11q!4VY|)zHweapOiOC#RV+XFh)Xn1O-eKNtWR$UyNY z3nK#q7lRH+5M%}e%jAHQo~!p-ygpm)zJRIkQOA@em8&vN>|3~8(KGjc#k%)@>P|^U z<$LHnOJQ@ma3bfIO+$mw<27ORbDSNj1f%x5yis7#n0=bbkx@`0V$XveeM|v2BSm)9 z#2@Bzh-S>mNzLZS6RoN#ijXPo5bK`QD^<@V(KRW4ie#qutZE121=VvF3F&F7>1wYw SShZoL%JMB+w+RU{SOWkEdR6TJ literal 0 HcmV?d00001 -- 2.39.5