Commit 53ac8a39 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Inst. static pages: Change to switchboxes (Bug 1431569)"

parents bb9c7543 e5dc36d8
......@@ -78,9 +78,9 @@ $form = pieform(array(
'options' => $pageoptions
),
'pageusedefault' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('usedefault', 'admin'),
'description' => get_string('usedefaultdescription1', 'admin'),
'description' => get_string('usedefaultdescription2', 'admin'),
'defaultvalue' => (get_config_institution($institutionselector['defaultvalue'], 'sitepages_' . DEFAULTPAGE) == 'mahara' ? 1 : 0),
),
'pagetext' => array(
......
......@@ -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['usedefaultdescription1'] = 'Use the site\'s default text for this particular page type instead.';
$string['usedefaultdescription2'] = 'If set to "On", use the site\'s default text for the 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';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment