Commit 3de0dccd authored by Aaron Wells's avatar Aaron Wells Committed by Gerrit Code Review

Merge "Bug 1604601: Remove instances of "If set to 'On'""

parents ad6b929a f86476bd
......@@ -50,7 +50,7 @@ $form = array(
'type' => 'switchbox',
'class' => 'last',
'title' => get_string('updategroups', 'admin'),
'description' => get_string('updategroupsdescription1', 'admin'),
'description' => get_string('updategroupsdescription2', 'admin'),
'defaultvalue' => false,
),
'progress_meter_token' => array(
......
......@@ -90,21 +90,21 @@ $siteoptionform = array(
'dropdownmenu' => array(
'type' => 'switchbox',
'title' => get_string('dropdownmenu', 'admin'),
'description' => get_string('dropdownmenudescription1', 'admin'),
'description' => get_string('dropdownmenudescription2', 'admin'),
'defaultvalue' => get_config('dropdownmenu'),
'disabled' => in_array('dropdownmenu', $OVERRIDDEN),
),
'homepageinfo' => array(
'type' => 'switchbox',
'title' => get_string('homepageinfo1', 'admin'),
'description' => get_string('homepageinfodescription2', 'admin'),
'description' => get_string('homepageinfodescription3', 'admin'),
'defaultvalue' => get_config('homepageinfo'),
'disabled' => in_array('homepageinfo', $OVERRIDDEN),
),
'registration_sendweeklyupdates' => array(
'type' => 'switchbox',
'title' => get_string('sendweeklyupdates', 'admin'),
'description' => get_string('sendweeklyupdatesdescription1', 'admin'),
'description' => get_string('sendweeklyupdatesdescription2', 'admin'),
'defaultvalue' => get_config('registration_sendweeklyupdates'),
'help' => true,
'disabled' => in_array('registration_sendweeklyupdates', $OVERRIDDEN),
......
......@@ -80,7 +80,7 @@ $form = pieform(array(
'pageusedefault' => array(
'type' => 'switchbox',
'title' => get_string('usedefault', 'admin'),
'description' => get_string('usedefaultdescription2', 'admin'),
'description' => get_string('usedefaultdescription3', 'admin'),
'defaultvalue' => (get_config_institution($institutionelement['defaultvalue'], 'sitepages_' . DEFAULTPAGE) == 'mahara' ? 1 : 0),
),
'pagetext' => array(
......
......@@ -326,14 +326,14 @@ if ($institution || $add) {
$elements['registerallowed'] = array(
'type' => 'switchbox',
'title' => get_string('registrationallowed', 'admin'),
'description' => get_string('registrationalloweddescription4', 'admin'),
'description' => get_string('registrationalloweddescription5', 'admin'),
'defaultvalue' => $data->registerallowed,
'help' => true,
);
$elements['registerconfirm'] = array(
'type' => 'switchbox',
'title' => get_string('registrationconfirm', 'admin'),
'description' => get_string('registrationconfirmdescription2', 'admin'),
'description' => get_string('registrationconfirmdescription3', 'admin'),
'disabled' => get_config('requireregistrationconfirm') == true,
'defaultvalue' => $data->registerconfirm,
);
......@@ -384,7 +384,7 @@ if ($institution || $add) {
$elements['deletelogo'] = array(
'type' => 'switchbox',
'title' => get_string('deletelogo', 'admin'),
'description' => get_string('deletelogodescription1', 'admin'),
'description' => get_string('deletelogodescription2', 'admin'),
);
}
if (empty($data->name) || $data->name != 'mahara') {
......@@ -417,12 +417,12 @@ if ($institution || $add) {
'type' => 'switchbox',
'class' => 'nojs-hidden-inline',
'title' => get_string('resetcolours', 'admin'),
'description' => get_string('resetcoloursdesc1', 'admin'),
'description' => get_string('resetcoloursdesc2', 'admin'),
);
$elements['dropdownmenu'] = array(
'type' => 'switchbox',
'title' => get_string('dropdownmenu', 'admin'),
'description' => get_string('dropdownmenudescriptioninstitution1','admin'),
'description' => get_string('dropdownmenudescriptioninstitution2','admin'),
'defaultvalue' => $data->dropdownmenu,
'help' => true,
);
......@@ -432,7 +432,7 @@ if ($institution || $add) {
$elements['skins'] = array(
'type' => 'switchbox',
'title' => get_string('skins', 'admin'),
'description' => get_string('skinsinstitutiondescription1', 'admin'),
'description' => get_string('skinsinstitutiondescription2', 'admin'),
'defaultvalue' => $data->skins,
);
}
......@@ -467,7 +467,7 @@ if ($institution || $add) {
$elements['licensemandatory'] = array(
'type' => 'switchbox',
'title' => get_string('licensemandatory', 'admin'),
'description' => get_string('licensemandatorydescription','admin'),
'description' => get_string('licensemandatorydescription1','admin'),
'defaultvalue' => $data->licensemandatory,
);
$elements['licensedefault'] = license_form_el_basic(null, true);
......@@ -487,7 +487,7 @@ if ($institution || $add) {
$elements['updateuserquotas'] = array(
'type' => 'switchbox',
'title' => get_string('updateuserquotas', 'artefact.file'),
'description' => get_string('updateinstitutionuserquotasdesc1', 'admin'),
'description' => get_string('updateinstitutionuserquotasdesc2', 'admin'),
);
}
else {
......@@ -502,7 +502,7 @@ if ($institution || $add) {
$elements['allowinstitutionpublicviews'] = array(
'type' => 'switchbox',
'title' => get_string('allowinstitutionpublicviews', 'admin'),
'description' => get_string('allowinstitutionpublicviewsdescription1','admin'),
'description' => get_string('allowinstitutionpublicviewsdescription2','admin'),
'defaultvalue' => get_config('allowpublicviews') && $data->allowinstitutionpublicviews,
'disabled' => get_config('allowpublicviews') == false,
'help' => true,
......
......@@ -95,7 +95,7 @@ class PluginBlocktypeFolder extends MaharaCoreBlocktype {
'folderdownloadzip' => array(
'type' => 'switchbox',
'title' => get_string('downloadfolderzip', 'artefact.file'),
'description' => get_string('downloadfolderzipdescription2', 'artefact.file'),
'description' => get_string('downloadfolderzipdescription3', 'artefact.file'),
'defaultvalue' => get_config_plugin('blocktype', 'folder', 'folderdownloadzip'),
),
),
......
......@@ -33,9 +33,9 @@ $string['cannotdisplayslideshow'] = 'Cannot display slideshow.';
$string['gallerysettings'] = 'Gallery settings';
$string['useslimbox2'] = 'Use Slimbox 2';
$string['useslimbox2desc1'] = 'If set to "On", Slimbox 2 will be used in your gallery. When you click on images in your gallery, they will open in an overlay on the current page.';
$string['useslimbox2desc2'] = 'Use Slimbox 2 in your gallery. When you click on images in your gallery, they will open in an overlay on the current page.';
$string['photoframe'] = 'Use photo frame';
$string['photoframedesc1'] = 'If set to "On", a frame will be rendered around the thumbnail of each photo in the gallery.';
$string['photoframedesc2'] = 'Show a frame around the thumbnail of each photo in the gallery.';
$string['previewwidth'] = 'Maximum photo width';
$string['previewwidthdesc'] = 'Set the maximum width to which the photos will be resized when viewed with Slimbox 2.';
......
......@@ -450,13 +450,13 @@ class PluginBlocktypeGallery extends MaharaCoreBlocktype {
'useslimbox2' => array(
'type' => 'switchbox',
'title' => get_string('useslimbox2', 'blocktype.file/gallery'),
'description' => get_string('useslimbox2desc1', 'blocktype.file/gallery'),
'description' => get_string('useslimbox2desc2', 'blocktype.file/gallery'),
'defaultvalue' => get_config_plugin('blocktype', 'gallery', 'useslimbox2'),
),
'photoframe' => array(
'type' => 'switchbox',
'title' => get_string('photoframe', 'blocktype.file/gallery'),
'description' => get_string('photoframedesc1', 'blocktype.file/gallery'),
'description' => get_string('photoframedesc2', 'blocktype.file/gallery'),
'defaultvalue' => get_config_plugin('blocktype', 'gallery', 'photoframe'),
),
'previewwidth' => array(
......
......@@ -42,20 +42,20 @@ $string['Date'] = 'Date';
$string['resizeonupload'] = 'Resize images on upload';
$string['resizeonuploaddescription'] = 'Automatically resize large images on upload';
$string['resizeonuploaduseroption1'] = 'User option';
$string['resizeonuploaduseroptiondescription2'] = 'If set to "On", show users the option to enable or disable automatic resizing of large images when uploading.';
$string['resizeonuploaduseroptiondescription3'] = 'Show users the option to enable or disable automatic resizing of large images when uploading.';
$string['resizeonuploadenable1'] = 'Resize large images automatically';
$string['resizeonuploadenablefilebrowser1'] = 'Automatic resizing of images larger than %sx%s px (recommended)';
$string['resizeonuploadmaxwidth'] = 'Maximum width';
$string['resizeonuploadmaxheight'] = 'Maximum height';
$string['resizeonuploadenabledescription2'] = 'If set to "On", large images will be resized on upload if they exceed the maximum width and height settings.';
$string['resizeonuploadenabledescription3'] = 'Resize large images on upload if they exceed the maximum width and height settings.';
$string['defaultagreement'] = 'Default agreement';
$string['defaultquota'] = 'Default quota';
$string['defaultquotadescription'] = 'You can set the amount of disk space that new users will have as their quota here.';
$string['defaultuserquota'] = 'Default user quota';
$string['updateuserquotas'] = 'Update user quotas';
$string['updateuserquotasdesc1'] = 'If set to "On", the default quota you choose above will be applied to all existing users.';
$string['updateuserquotasdesc2'] = 'Apply the default quota you choose above to all existing users.';
$string['institutionoverride1'] = 'Institutional override';
$string['institutionoverridedescription1'] = 'If set to "On", you allow institution administrators to set user file quotas and have default quotas for each institution.';
$string['institutionoverridedescription2'] = 'Allow institution administrators to set user file quotas and have default quotas for each institution.';
$string['maxquotaenabled'] = 'Enforce a sitewide maximum quota';
$string['maxquota'] = 'Maximum quota';
$string['maxquotatoolow'] = 'The maximum quota cannot be lower than the default quota.';
......@@ -65,7 +65,7 @@ $string['maxquotadescription'] = 'You can set the maximum quota that an administ
$string['defaultgroupquota'] = 'Default group quota';
$string['defaultgroupquotadescription'] = 'You can set the amount of disk space that new groups can use in their files area.';
$string['updategroupquotas'] = 'Update group quotas';
$string['updategroupquotasdesc1'] = 'If set to "On", the default quota you choose above will be applied to all existing groups.';
$string['updategroupquotasdesc2'] = 'Apply the default quota you choose above to all existing groups.';
$string['deletingfailed'] = 'Deleting failed: the file or folder does not exist any more';
$string['deletefile?'] = 'Are you sure you want to delete this file?';
$string['deletefolder?'] = 'Are you sure you want to delete this folder?';
......@@ -194,7 +194,7 @@ $string['textlinktouser'] = 'Edit profile of %s';
$string['quotanotifylimittitle1'] = 'Quota notification threshold';
$string['quotanotifylimitdescr1'] = 'When a user\'s file upload quota is filled to this percentage, they (and the site administrators) will be sent a notification to let them know they are nearing their upload limit. They can then either delete files to free up space or contact their administrator to have their quota increased.';
$string['quotanotifyadmin1'] = 'Site administrator notification';
$string['quotanotifyadmindescr2'] = 'If set to "On", site administrators are notified when users reach the notification threshold.';
$string['quotanotifyadmindescr3'] = 'Notify site administrators when users reach the notification threshold.';
$string['useroverquotathreshold'] = 'User %s has arrived at %s%% percent of their %s quota. ';
// File types
......@@ -323,7 +323,7 @@ $string['filepermission.republish'] = 'Publish';
$string['zipdownloadheading'] = 'Folder downloads';
$string['downloadfolderzip'] = 'Download folders as a zip file';
$string['downloadfolderzipblock'] = 'Show download link';
$string['downloadfolderzipdescription2'] = 'If set to "On", users can download a folder displayed via the "Folder" block as a zip file.';
$string['downloadfolderzipdescription3'] = 'Allow users to download a folder displayed via the "Folder" block as a zip file.';
$string['downloadfolderzipdescriptionblock'] = 'If checked, users can download the folder as a zip file.';
$string['downloadfolderziplink'] = 'Download folder content as a zip file';
$string['folderdownloadnofolderfound'] = 'Unable to find the folder with ID %d';
......
......@@ -1480,7 +1480,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
),
'updateuserquotas' => array(
'title' => get_string('updateuserquotas', 'artefact.file'),
'description' => get_string('updateuserquotasdesc1', 'artefact.file'),
'description' => get_string('updateuserquotasdesc2', 'artefact.file'),
'type' => 'switchbox',
)
),
......@@ -1519,7 +1519,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
$elements['userquotafieldset']['elements']['quotanotifyadmin'] = array(
'type' => 'switchbox',
'title' => get_string('quotanotifyadmin1', 'artefact.file'),
'description' => get_string('quotanotifyadmindescr2', 'artefact.file'),
'description' => get_string('quotanotifyadmindescr3', 'artefact.file'),
'defaultvalue' => get_config_plugin('artefact', 'file', 'quotanotifyadmin'),
);
......@@ -1528,7 +1528,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
'type' => 'switchbox',
'title' => get_string('institutionoverride1', 'artefact.file'),
'defaultvalue' => $override,
'description' => get_string('institutionoverridedescription1', 'artefact.file')
'description' => get_string('institutionoverridedescription2', 'artefact.file')
);
$defaultgroupquota = get_config_plugin('artefact', 'file', 'defaultgroupquota');
......@@ -1550,7 +1550,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
),
'updategroupquotas' => array(
'title' => get_string('updategroupquotas', 'artefact.file'),
'description' => get_string('updategroupquotasdesc1', 'artefact.file'),
'description' => get_string('updategroupquotasdesc2', 'artefact.file'),
'type' => 'switchbox',
)
),
......@@ -1622,13 +1622,13 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
'type' => 'switchbox',
'title' => get_string('resizeonuploadenable1', 'artefact.file'),
'defaultvalue' => $resizeonuploadenable,
'description' => get_string('resizeonuploadenabledescription2', 'artefact.file'),
'description' => get_string('resizeonuploadenabledescription3', 'artefact.file'),
),
'resizeonuploaduseroption' => array(
'title' => get_string('resizeonuploaduseroption1', 'artefact.file'),
'type' => 'switchbox',
'defaultvalue' => $resizeonuploaduseroption,
'description' => get_string('resizeonuploaduseroptiondescription2', 'artefact.file'),
'description' => get_string('resizeonuploaduseroptiondescription3', 'artefact.file'),
),
'resizeonuploadmaxwidth' => array(
'type' => 'text',
......
......@@ -86,7 +86,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['usedefaultdescription2'] = 'If set to "On", use the site\'s default text for the selected page type.';
$string['usedefaultdescription3'] = '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';
......@@ -236,7 +236,7 @@ $string['Value'] = 'Value';
$string['datathatwillbesent'] = 'Data that will be sent';
$string['datathathavebeensent'] = 'Data that has been sent';
$string['sendweeklyupdates'] = 'Send weekly updates?';
$string['sendweeklyupdatesdescription1'] = 'If set to "On", your site will send weekly updates to mahara.org with some statistics about your site.';
$string['sendweeklyupdatesdescription2'] = 'Allow your site to send weekly updates to mahara.org with some statistics about your site.';
$string['Register'] = 'Register';
$string['registrationcancelled'] = 'You can choose to register at any time by going to the <a href="%sadmin/registersite.php">site registration page</a>.';
$string['registrationfailedtrylater'] = 'Registration failed with error code %s. Please try again later.';
......@@ -336,7 +336,7 @@ $string['advanced'] = 'Advanced';
$string['allowpublicviews'] = 'Allow public pages';
$string['allowpublicviewsdescription1'] = 'Users can create portfolio pages that are accessible to the public rather than only to logged-in users.';
$string['allowinstitutionpublicviews'] = 'Allow institution public pages';
$string['allowinstitutionpublicviewsdescription1'] = 'If set to "On", users belonging to this institution will be able to create portfolio pages that are accessible to the public rather than only to registered users.';
$string['allowinstitutionpublicviewsdescription2'] = 'Allow users belonging to this institution to create portfolio pages that are accessible to the public rather than only to registered users.';
$string['allowpublicprofiles'] = 'Allow public profiles';
$string['allowpublicprofilesdescription1'] = 'Users can set their profile pages to be accessible to the public rather than only to registered users.';
$string['allowanonymouspages'] = 'Allow anonymous pages';
......@@ -348,8 +348,8 @@ $string['loggedinprofileviewaccessdescription1'] = 'A user\'s profile page will
$string['antispam'] = 'Anti-spam';
$string['antispamdescription'] = 'The type of anti-spam measures used on publicly visible forms';
$string['dropdownmenu'] = 'Drop-down navigation';
$string['dropdownmenudescription1'] = 'If set to "On", the main Mahara navigation will use a drop-down format for the sub-navigation.';
$string['dropdownmenudescriptioninstitution1'] = 'If set to "On", the main navigation will use a drop-down menu.';
$string['dropdownmenudescription2'] = 'The main Mahara navigation will use a drop-down format for the sub-navigation.';
$string['dropdownmenudescriptioninstitution2'] = 'The main navigation will use a drop-down menu.';
$string['commentsortorder'] = 'Comment sort order';
$string['commentsortorderdescription'] = 'Set the sort order for artefact comments when viewed on a page.';
$string['commentthreaded'] = 'Threaded comments';
......@@ -373,7 +373,7 @@ $string['Everyone'] = 'Everyone';
$string['generatesitemap1'] = 'Sitemap';
$string['generatesitemapdescription'] = 'Generate sitemap files from publicly accessible pages, groups and forum topics';
$string['homepageinfo1'] = 'Show homepage / dashboard information';
$string['homepageinfodescription2'] = 'If set to "On", information about Mahara and how it is used will be displayed on the Mahara homepage. Registered users will have the option to disable it for their dashboard.';
$string['homepageinfodescription3'] = 'Show information about Mahara and how it is used on the Mahara homepage. Registered users will have the option to disable it for their dashboard.';
$string['institutionautosuspend'] = 'Auto-suspend expired institutions';
$string['institutionautosuspenddescription1'] = 'Automatically suspend expired institutions.';
$string['institutionexpirynotification'] = 'Warning time for institution expiry';
......@@ -430,7 +430,7 @@ $string['siteoptionspagedescription'] = 'Here you can set some global options th
$string['siteoptionsset'] = 'Site options have been updated.';
$string['sitethemedescription'] = 'The default theme for the site. If your theme is not listed, check the error log.';
$string['skins'] = 'Page skins';
$string['skinsinstitutiondescription1'] = 'If set to "On", the members of this institution can use "skins" on their pages.';
$string['skinsinstitutiondescription2'] = 'Members of this institution can use "skins" on their pages.';
$string['smallviewheaders'] = 'Small page headers';
$string['smallviewheadersdescription1'] = 'Display a small header and site navigation when viewing or editing portfolio pages.';
$string['spamhaus1'] = 'Spamhaus URL blacklist';
......@@ -697,7 +697,7 @@ $string['uploadcsvfailedusersexceedmaxallowed'] = 'No users have been added beca
$string['updateusers'] = 'Update users';
$string['updateusersdescription'] = 'If your CSV file contains the usernames of users who are already members of the institution you have specified, their details will be overwritten with data from the file. Use with care.';
$string['updategroups'] = 'Update groups';
$string['updategroupsdescription1'] = 'If set to "On", the information in the CSV file will overwrite any details of groups whose group shortname is in the CSV file. Use with care.';
$string['updategroupsdescription2'] = 'The information in the CSV file will overwrite any details of groups whose group shortname is in the CSV file. Use with care.';
$string['csvfileprocessedsuccessfully'] = 'Your CSV file was processed successfully.';
$string['nousersadded'] = 'No users were added.';
$string['nogroupsadded'] = 'No groups were added.';
......@@ -916,15 +916,15 @@ $string['institutionlanguagedescription'] = 'The default language for users in t
$string['defaultlangforinstitution'] = '%s default';
$string['institutionupdatedsuccessfully'] = 'Institution updated successfully.';
$string['registrationallowed'] = 'Registration allowed';
$string['registrationalloweddescription4'] = 'If set to "On", people can register for this institution using the registration form. If registration is off, non-members cannot request membership of the institution and members cannot leave the institution or delete their user accounts themselves.';
$string['registrationalloweddescription5'] = 'People can register for this institution using the registration form. If registration is off, non-members cannot request membership of the institution and members cannot leave the institution or delete their user accounts themselves.';
$string['registrationconfirm'] = 'Confirm registration';
$string['registrationconfirmdescription2'] = 'If set to "On", registration must be approved by an institution administrator. If you cannot change this option, the site administrator requires all institutions to have this option turned on.';
$string['registrationconfirmdescription3'] = 'Registration must be approved by an institution administrator. If you cannot change this option, the site administrator requires all institutions to have this option turned on.';
$string['defaultmembershipperiod'] = 'Default membership period';
$string['defaultmembershipperioddescription'] = 'How long new members remain associated with the institution.';
$string['showonlineusers'] = 'Show online users';
$string['showonlineusersdescription'] = 'The online users to show to members of this institution. If users are allowed to be in multiple institutions and these have different settings, the most permissive institution settings will be used.';
$string['licensemandatory'] = 'Require license information';
$string['licensemandatorydescription'] = 'If set to "On", users will be required to select a license when creating artefacts. Otherwise, they will be able to leave the license field blank.';
$string['licensemandatorydescription1'] = 'Users will be required to select a license when creating artefacts. Otherwise, they will be able to leave the license field blank.';
$string['licensedefault'] = 'Default license';
$string['licensedefaultdescription'] = 'The default license for content created or uploaded by institution members. Users can override this on their account settings page and on the individual items.';
$string['licensedefaultmandatory'] = 'If users are required to choose a license, you need to choose a default license here. If you do not want to choose a default license, do not make it required for users.';
......@@ -932,7 +932,7 @@ $string['licensedefaultmandatory'] = 'If users are required to choose a license,
$string['Logo'] = 'Logo';
$string['logodescription'] = 'You can upload an image here that will be displayed to your institution\'s members in place of the standard header logo. For best results, this image should have the same dimensions as the site logo in your institution\'s theme. As each theme can have a different header height, no exact dimensions can be provided.';
$string['deletelogo'] = 'Delete logo';
$string['deletelogodescription1'] = 'If set to "Yes", revert to the standard header logo for your institution\'s theme.';
$string['deletelogodescription2'] = 'Revert to the standard header logo for your institution\'s theme.';
$string['customtheme'] = 'Custom theme configuration';
$string['customtheme.background'] = 'Header background';
$string['customtheme.backgroundfg'] = 'Text on header background';
......@@ -948,7 +948,7 @@ $string['customtheme.sidebarlink'] = 'Sidebar link';
$string['customtheme.rowbg'] = 'Row background';
$string['customstylesforinstitution'] = 'Custom styles for %s';
$string['resetcolours'] = 'Reset colours';
$string['resetcoloursdesc1'] = 'If set to "On", restore the default colours.';
$string['resetcoloursdesc2'] = 'Restore the default colours.';
$string['authenticatedby'] = 'Authentication method';
$string['authenticatedbydescription'] = 'How this user authenticates to Mahara';
......@@ -1038,7 +1038,7 @@ $string['Lockedfields'] = 'Locked fields';
$string['disabledlockedfieldhelp1'] = 'Note: If you cannot change one of the options, the profile fields are locked in the institution settings for "%s". These profile fields are locked at the site level and cannot be unlocked here.';
$string['defaultinstitutionquotadescription'] = 'You can set the amount of disk space new users in this institution will have as their quota.';
$string['updateinstitutionuserquotasdesc1'] = 'If set to "On", the default quota you choose above will be applied to all existing members.';
$string['updateinstitutionuserquotasdesc2'] = 'Apply the default quota you choose above to all existing members.';
// pending institution registrations
$string['approve'] = 'Approve';
......
......@@ -12,4 +12,4 @@
defined('INTERNAL') || die();
$string['exactusersearch'] = 'Exact user searches';
$string['exactusersearchdescription1'] = 'If set to "On", results from the "Search users" box and "Find friends" page are only returned for users whose profile fields match entire search terms.';
$string['exactusersearchdescription2'] = 'Results from the "Search users" box and "Find friends" page are only returned for users whose profile fields match entire search terms.';
......@@ -42,7 +42,7 @@ class PluginSearchInternal extends PluginSearch {
'elements' => array(
'exactusersearch' => array(
'title' => get_string('exactusersearch', 'search.internal'),
'description' => get_string('exactusersearchdescription1', 'search.internal'),
'description' => get_string('exactusersearchdescription2', 'search.internal'),
'help' => true,
'type' => 'switchbox',
'defaultvalue' => get_config_plugin('search', 'internal', 'exactusersearch'),
......
Markdown is supported
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