Moodle

Icons for "Restore" and "Import" are the same - restore.gif

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Themes
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

While creating some custom icons for a dark background theme, I noticed that the icon referenced in the course administration menu for restore and import are the same. It seems that icons using different icons (perhaps using different colors) would seem more appropriate.

Issue Links

Activity

Hide
Carlos Alexandre S. da Fonseca added a comment -

Very easy to change this

go to file blocks/admin/block_admin.php, in the function "function get_content()", change the line (+/-147):
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" class="icon" alt="" />';

to:
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/import.gif" class="icon" alt="" />';

Show
Carlos Alexandre S. da Fonseca added a comment - Very easy to change this go to file blocks/admin/block_admin.php, in the function "function get_content()", change the line (+/-147): $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" class="icon" alt="" />'; to: $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/import.gif" class="icon" alt="" />';
Hide
Carlos Alexandre S. da Fonseca added a comment -

A patch to change the icon, don't forget to backup blocks/admin/block_admin.php first

Show
Carlos Alexandre S. da Fonseca added a comment - A patch to change the icon, don't forget to backup blocks/admin/block_admin.php first
Hide
David Mudrak added a comment -

Urs, can you make a new icon for Import? I could fix 1.9 and 2.0 then.

Show
David Mudrak added a comment - Urs, can you make a new icon for Import? I could fix 1.9 and 2.0 then.

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated: