]> git.mjollnir.org Git - moodle.git/commitdiff
Accessibility: fix, use $CFG->pixpath, clearer image-names (Martin D post 10/3, OU...
authornfreear <nfreear>
Fri, 10 Mar 2006 17:02:22 +0000 (17:02 +0000)
committernfreear <nfreear>
Fri, 10 Mar 2006 17:02:22 +0000 (17:02 +0000)
calendar/lib.php
pix/a/r_next.gif [new file with mode: 0644]
pix/a/r_previous.gif [new file with mode: 0644]

index 5d80571a83ba3e7ae2cd0b54f43ca24d535702e6..d41e212c1efb9ab820557d997aeb1c369cfce23b 100644 (file)
@@ -614,8 +614,8 @@ function calendar_top_controls($type, $data) {
     $data['y'] = $date['year'];
 
     //Accessibility: calendar block controls, replaced <table> with <div>.
-    $nexttext = '<img src="'. $CFG->wwwroot .'/pix/a/em1_greater.gif" alt="'.get_string('monthnext','access').'" class="resize" />'; ///'<span class="resize">M <b>&gt;&gt; &lt;&lt;</b></span>'; ///&gt;
-    $prevtext = '<img src="'. $CFG->wwwroot .'/pix/a/em1_lesser.gif" alt="'.get_string('monthprev','access').'" class="resize" />'; ///&lt;
+    $nexttext = '<img src="'. $CFG->pixpath .'/a/r_next.gif" alt="'.get_string('monthnext','access').'" class="resize" />';
+    $prevtext = '<img src="'. $CFG->pixpath .'/a/r_previous.gif" alt="'.get_string('monthprev','access').'" class="resize" />';
 
     switch($type) {
         case 'frontpage':
diff --git a/pix/a/r_next.gif b/pix/a/r_next.gif
new file mode 100644 (file)
index 0000000..dcb4a8a
Binary files /dev/null and b/pix/a/r_next.gif differ
diff --git a/pix/a/r_previous.gif b/pix/a/r_previous.gif
new file mode 100644 (file)
index 0000000..cc15624
Binary files /dev/null and b/pix/a/r_previous.gif differ