Skip to content
GitLab
Menu
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
eca1c690
Commit
eca1c690
authored
Sep 05, 2013
by
Aaron Wells
Browse files
Move the "retractable?" checkboxes to the bottom of block config
Bug 1197154 Change-Id: Ib140076be0ee3b047c708722c3b71b6a40475780
parent
cc1a2812
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/lib.php
View file @
eca1c690
...
...
@@ -849,6 +849,9 @@ class BlockInstance {
'type'
=>
'hidden'
,
'value'
=>
$new
,
),
),
$elements
,
array
(
'retractable'
=>
array
(
'type'
=>
'checkbox'
,
'title'
=>
get_string
(
'retractable'
,
'view'
),
...
...
@@ -862,8 +865,7 @@ class BlockInstance {
'defaultvalue'
=>
$retractedonload
,
'disabled'
=>
!
$retractable
,
),
),
$elements
)
);
if
(
$new
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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