Skip to content

Commit

Permalink
Accessibility: fix, use $CFG->pixpath, clearer image-names (Martin D …
Browse files Browse the repository at this point in the history
…post 10/3, OU-Bugz: 718)
  • Loading branch information
nfreear committed Mar 10, 2006
1 parent 3034bd2 commit 892f55b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
Binary file added pix/a/r_next.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/a/r_previous.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 892f55b

Please sign in to comment.