Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
5dc94ee8
Commit
5dc94ee8
authored
Mar 24, 2015
by
Son Nguyen
Committed by
Gerrit Code Review
Mar 24, 2015
Browse files
Merge "Text block: Change to switchbox (Bug #1431569)"
parents
3e7ab4da
4246c25c
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/text/lang/en.utf8/blocktype.text.php
View file @
5dc94ee8
...
...
@@ -31,4 +31,4 @@ $string['convertibleokmessage'] = array(
0
=>
'Successfully converted 1 "Note" block to "Text" block.'
,
1
=>
'Successfully converted %d "Note" blocks to "Text" blocks.'
);
$string
[
'
check
description'
]
=
'
If checked,
all "Note" blocks that do not use any advanced features
will be converted
into simple "Text" blocks'
;
$string
[
'
switch
description'
]
=
'
Convert
all "Note" blocks that do not use any advanced features into simple "Text" blocks
.
'
;
htdocs/blocktype/text/lib.php
View file @
5dc94ee8
...
...
@@ -179,10 +179,10 @@ class PluginBlocktypeText extends SystemBlocktype {
$convertibleblocksnumber
),
),
'convertcheckbox'
=>
array
(
'type'
=>
'
check
box'
,
'type'
=>
'
switch
box'
,
'defaultvalue'
=>
false
,
'title'
=>
get_string
(
'optionlegend'
,
'blocktype.text'
),
'description'
=>
get_string
(
'
check
description'
,
'blocktype.text'
),
'description'
=>
get_string
(
'
switch
description'
,
'blocktype.text'
),
),
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment