Skip to content

Commit

Permalink
Merge branch 'wip-MDL-35833-stable24' of git://github.com/phalacee/mo…
Browse files Browse the repository at this point in the history
…odle into MOODLE_24_STABLE
  • Loading branch information
Sam Hemelryk committed Dec 23, 2012
2 parents 3f89793 + 73dd2ee commit b09c5ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/dock.js
Expand Up @@ -936,7 +936,7 @@ M.core_dock.genericblock.prototype = {
}, this); }, this);
// Add a close icon // Add a close icon
// Must set the image src seperatly of we get an error with XML strict headers // Must set the image src seperatly of we get an error with XML strict headers
var closeicon = Y.Node.create('<span class="hidepanelicon" tabindex="0"><img alt="" /></span>'); var closeicon = Y.Node.create('<span class="hidepanelicon" tabindex="0"><img alt="'+M.str.block.hidepanel+'" title="'+M.str.block.hidedockpanel+'" /></span>');
closeicon.one('img').setAttribute('src', M.util.image_url('t/dockclose', 'moodle')); closeicon.one('img').setAttribute('src', M.util.image_url('t/dockclose', 'moodle'));
closeicon.on('forceclose|click', this.hide, this); closeicon.on('forceclose|click', this.hide, this);
closeicon.on('dock:actionkey',this.hide, this, {actions:{enter:true,toggle:true}}); closeicon.on('dock:actionkey',this.hide, this, {actions:{enter:true,toggle:true}});
Expand Down
2 changes: 2 additions & 0 deletions lang/en/block.php
Expand Up @@ -39,6 +39,8 @@
$string['defaultweight_help'] = 'The default weight allows you to choose roughly where you want the block to appear in the chosen region, either at the top or the bottom. The final location is calculated from all the blocks in that region (for example, only one block can actually be at the top). This value can be overridden on specific pages if required.'; $string['defaultweight_help'] = 'The default weight allows you to choose roughly where you want the block to appear in the chosen region, either at the top or the bottom. The final location is calculated from all the blocks in that region (for example, only one block can actually be at the top). This value can be overridden on specific pages if required.';
$string['deletecheck'] = 'Delete {$a} block?'; $string['deletecheck'] = 'Delete {$a} block?';
$string['deleteblockcheck'] = 'Are you sure that you want to delete this block titled {$a}?'; $string['deleteblockcheck'] = 'Are you sure that you want to delete this block titled {$a}?';
$string['hidedockpanel'] = 'Hide the dock panel';
$string['hidepanel'] = 'Hide panel';
$string['moveblockhere'] = 'Move block here'; $string['moveblockhere'] = 'Move block here';
$string['movingthisblockcancel'] = 'Moving this block ({$a})'; $string['movingthisblockcancel'] = 'Moving this block ({$a})';
$string['onthispage'] = 'On this page'; $string['onthispage'] = 'On this page';
Expand Down
2 changes: 1 addition & 1 deletion lib/outputrequirementslib.php
Expand Up @@ -407,7 +407,7 @@ protected function find_module($component) {
$module = array('name' => 'core_dock', $module = array('name' => 'core_dock',
'fullpath' => '/blocks/dock.js', 'fullpath' => '/blocks/dock.js',
'requires' => array('base', 'node', 'event-custom', 'event-mouseenter', 'event-resize'), 'requires' => array('base', 'node', 'event-custom', 'event-mouseenter', 'event-resize'),
'strings' => array(array('addtodock', 'block'),array('undockitem', 'block'),array('undockall', 'block'),array('thisdirectionvertical', 'langconfig'))); 'strings' => array(array('addtodock', 'block'),array('undockitem', 'block'),array('undockall', 'block'),array('thisdirectionvertical', 'langconfig'),array('hidedockpanel', 'block'),array('hidepanel', 'block')));
break; break;
case 'core_message': case 'core_message':
$module = array('name' => 'core_message', $module = array('name' => 'core_message',
Expand Down

0 comments on commit b09c5ac

Please sign in to comment.