From: moodler Date: Mon, 27 Oct 2003 08:31:28 +0000 (+0000) Subject: Thomas Robb suggested a movehere image instead of the string. I made an image X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6951a89497ed13f2ffb4be9f18cb370769a5d927;p=moodle.git Thomas Robb suggested a movehere image instead of the string. I made an image and I agree it looks/works a lot better. --- 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 0000000000..aaa4e5d9bc Binary files /dev/null and b/pix/movehere.gif differ diff --git a/theme/cordoroyblue/pix/movehere.gif b/theme/cordoroyblue/pix/movehere.gif new file mode 100755 index 0000000000..aaa4e5d9bc Binary files /dev/null and b/theme/cordoroyblue/pix/movehere.gif differ