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
3a8422bf
Commit
3a8422bf
authored
Mar 16, 2015
by
Son Nguyen
Committed by
Gerrit Code Review
Mar 16, 2015
Browse files
Merge "Menus: Change checkboxes to switchboxes (Bug 1431569)"
parents
0157b4a0
34adee89
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/site/menu.php
View file @
3a8422bf
...
...
@@ -269,7 +269,7 @@ $activeurls = $activeurls ? unserialize($activeurls) : null;
$footerelements
=
array
();
foreach
(
$all
as
$k
=>
$v
)
{
$footerelements
[
$k
]
=
array
(
'type'
=>
'
check
box'
,
'type'
=>
'
switch
box'
,
'title'
=>
$v
[
'title'
],
'defaultvalue'
=>
in_array
(
$k
,
$active
),
'onclick'
=>
"getElement('footerlinks_
{
$k
}
_link').disabled = !this.checked;"
,
...
...
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