mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-9742 - changed tabs to spaces in a few places where there are one
or two
This commit is contained in:
parent
3ef1be377b
commit
a044c05ddb
24 changed files with 85 additions and 85 deletions
|
@ -257,18 +257,18 @@ class block_base {
|
|||
|
||||
//Accessibility: validation, can't have <div> inside <h2>, use <span>.
|
||||
$title = '<div class="title">';
|
||||
|
||||
|
||||
if (!empty($CFG->allowuserblockhiding)) {
|
||||
//Accessibility: added static 'alt' text for the +- icon.
|
||||
//TODO (nfreear): language string 'hide OR show block'
|
||||
$title .= '<div class="hide-show">'.
|
||||
'<a title="'.get_string('showhideblock','access').
|
||||
'" href="#" onclick="elementToggleHide(this, true, function(el) {'.
|
||||
'return findParentNode(el, \'DIV\', \'sideblock\'); '.
|
||||
'}, \''.$CFG->pixpath.'\' ); return false;">'.
|
||||
'<img src="'.$CFG->pixpath.'/spacer.gif" '.
|
||||
'id = "togglehide_inst'.$this->instance->id.'" '.
|
||||
'alt="'.get_string('showhideblock','access').'" class="hide-show-image" /></a></div>';
|
||||
'<a title="'.get_string('showhideblock','access').
|
||||
'" href="#" onclick="elementToggleHide(this, true, function(el) {'.
|
||||
'return findParentNode(el, \'DIV\', \'sideblock\'); '.
|
||||
'}, \''.$CFG->pixpath.'\' ); return false;">'.
|
||||
'<img src="'.$CFG->pixpath.'/spacer.gif" '.
|
||||
'id = "togglehide_inst'.$this->instance->id.'" '.
|
||||
'alt="'.get_string('showhideblock','access').'" class="hide-show-image" /></a></div>';
|
||||
}
|
||||
|
||||
//Accesssibility: added H2 (was in, weblib.php: print_side_block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue