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
53ac8a39
Commit
53ac8a39
authored
Mar 18, 2015
by
Son Nguyen
Committed by
Gerrit Code Review
Mar 18, 2015
Browse files
Merge "Inst. static pages: Change to switchboxes (Bug 1431569)"
parents
bb9c7543
e5dc36d8
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/admin/users/institutionpages.php
View file @
53ac8a39
...
...
@@ -78,9 +78,9 @@ $form = pieform(array(
'options'
=>
$pageoptions
),
'pageusedefault'
=>
array
(
'type'
=>
'
check
box'
,
'type'
=>
'
switch
box'
,
'title'
=>
get_string
(
'usedefault'
,
'admin'
),
'description'
=>
get_string
(
'usedefaultdescription
1
'
,
'admin'
),
'description'
=>
get_string
(
'usedefaultdescription
2
'
,
'admin'
),
'defaultvalue'
=>
(
get_config_institution
(
$institutionselector
[
'defaultvalue'
],
'sitepages_'
.
DEFAULTPAGE
)
==
'mahara'
?
1
:
0
),
),
'pagetext'
=>
array
(
...
...
htdocs/lang/en.utf8/admin.php
View file @
53ac8a39
...
...
@@ -80,7 +80,7 @@ $string['staticpages'] = 'Static pages';
$string
[
'institutionstaticpages'
]
=
'Institution static pages'
;
$string
[
'staticpageinstitutionbad'
]
=
"You can't access and/or edit static pages for institution '%s'"
;
$string
[
'usedefault'
]
=
'Use site default'
;
$string
[
'usedefaultdescription
1
'
]
=
'
U
se the site\'s default text for th
is particular
page type
instead
.'
;
$string
[
'usedefaultdescription
2
'
]
=
'
If set to "On", u
se the site\'s default text for th
e selected
page type.'
;
$string
[
'staticpagesdescription'
]
=
'Edit the content of static pages in Mahara (Home, Terms and Conditions, etc.)'
;
$string
[
'menus'
]
=
'Menus'
;
$string
[
'menusdescription'
]
=
'Manage the links and files within the "Links and resources" and footer menus'
;
...
...
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