$string['back'] = '< Back';
$string['cacheexpire'] = 'Cache expire';
$string['cachecleared'] = 'Cached files are removed';
+$string['clicktohide'] = 'Click here to hide';
+$string['clicktoshow'] = 'Click here to show';
$string['close'] = 'Close';
$string['cleancache'] = 'Clean my cache files';
$string['copying'] = 'Copying';
}
$delete = '<a href="' . $this->baseurl . '&delete=' . $i->get_typename() . '">'
. $deletestr . '</a>' . "\n";
-
+
+ $hidetitle = $i->get_visible() ? get_string('clicktohide', 'repository') : get_string('clicktoshow', 'repository');
$hiddenshow = ' <a href="' . $this->baseurl . '&hide=' . $i->get_typename() . '">'
.'<img src="' . $CFG->pixpath . '/i/' . ($i->get_visible() ? 'hide' : 'show') . '.gif"'
- .' alt="' . get_string($i->get_visible() ? 'hide' : 'show') . '" />'
+ .' alt="' . $hidetitle . '" '
+ .' title="' . $hidetitle . '" />'
.'</a>' . "\n";
// display up/down link