Skip to content

Commit

Permalink
Merge branch 'MDL-45169-master' of git://github.com/FMCorz/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Apr 23, 2014
2 parents ecb98f6 + 8aa64ba commit d4f0e34
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions lib/editor/atto/plugins/image/lang/en/atto_image.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@
$string['presentationoraltrequired'] = 'Images must have a description, except if the description is marked as not necessary.';
$string['preview'] = 'Preview';
$string['saveimage'] = 'Save image';
$string['size'] = 'Size';
$string['width'] = 'Width';
1 change: 1 addition & 0 deletions lib/editor/atto/plugins/image/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function atto_image_strings_for_js() {
'height',
'presentation',
'presentationoraltrequired',
'size',
'width',
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var CSS = {
'<br/>' +

// Add the size entry boxes.
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">Size</label>' +
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">{{get_string "size" component}}</label>' +
'<div id="{{elementid}}_{{CSS.INPUTSIZE}}" class="{{CSS.INPUTSIZE}}">' +
'<label class="accesshide" for="{{elementid}}_{{CSS.INPUTWIDTH}}">{{get_string "width" component}}</label>' +
'<input type="text" class="{{CSS.INPUTWIDTH}} input-mini" id="{{elementid}}_{{CSS.INPUTWIDTH}}" size="4"/> x ' +
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var CSS = {
'<br/>' +

// Add the size entry boxes.
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">Size</label>' +
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">{{get_string "size" component}}</label>' +
'<div id="{{elementid}}_{{CSS.INPUTSIZE}}" class="{{CSS.INPUTSIZE}}">' +
'<label class="accesshide" for="{{elementid}}_{{CSS.INPUTWIDTH}}">{{get_string "width" component}}</label>' +
'<input type="text" class="{{CSS.INPUTWIDTH}} input-mini" id="{{elementid}}_{{CSS.INPUTWIDTH}}" size="4"/> x ' +
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/atto/plugins/image/yui/src/button/js/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ var CSS = {
'<br/>' +

// Add the size entry boxes.
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">Size</label>' +
'<label class="sameline" for="{{elementid}}_{{CSS.INPUTSIZE}}">{{get_string "size" component}}</label>' +
'<div id="{{elementid}}_{{CSS.INPUTSIZE}}" class="{{CSS.INPUTSIZE}}">' +
'<label class="accesshide" for="{{elementid}}_{{CSS.INPUTWIDTH}}">{{get_string "width" component}}</label>' +
'<input type="text" class="{{CSS.INPUTWIDTH}} input-mini" id="{{elementid}}_{{CSS.INPUTWIDTH}}" size="4"/> x ' +
Expand Down

0 comments on commit d4f0e34

Please sign in to comment.