Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27723 whitespace cleanup of admin directory

  • Loading branch information...
commit 6e9cd6698ece7cb31be56637f57e662318dbddca 1 parent a56c68e
@stronk7 stronk7 authored
View
4 admin/registration/confirmregistration.php
@@ -47,7 +47,7 @@
admin_externalpage_setup('registrationindex');
if (!empty($error) and $error == 'urlalreadyexist') {
- throw new moodle_exception('urlalreadyregistered', 'hub',
+ throw new moodle_exception('urlalreadyregistered', 'hub',
$CFG->wwwroot . '/' . $CFG->admin . '/registration/index.php');
}
@@ -85,7 +85,7 @@
echo $OUTPUT->footer();
} else {
- throw new moodle_exception('wrongtoken', 'hub',
+ throw new moodle_exception('wrongtoken', 'hub',
$CFG->wwwroot . '/' . $CFG->admin . '/registration/index.php');
}
View
4 admin/registration/index.php
@@ -148,12 +148,12 @@
$moodleorghub = $registrationmanager->get_registeredhub(HUB_MOODLEORGHUBURL);
if (!empty($moodleorghub)) {
$registeredonmoodleorg = true;
- }
+ }
echo $OUTPUT->heading(get_string('registeron', 'hub'), 3, 'main');
echo $renderer->registrationselector($registeredonmoodleorg);
- if (extension_loaded('xmlrpc')) {
+ if (extension_loaded('xmlrpc')) {
$hubs = $registrationmanager->get_registered_on_hubs();
if (!empty($hubs)) {
echo $OUTPUT->heading(get_string('registeredon', 'hub'), 3, 'main');
View
2  admin/report/spamcleaner/module.js
@@ -108,7 +108,7 @@ M.report_spamcleaner = {
context.Y = Y;
context.me = me;
if (Y.one("#removeall_btn")) {
- Y.on("click", context.del_all, "#removeall_btn");
+ Y.on("click", context.del_all, "#removeall_btn");
}
});
}
View
2  admin/roles/module.js
@@ -138,7 +138,7 @@ M.core_role.init_cap_table_filter = function(Y, tableid, contextid) {
lastheading = null;
this.setFilterCookieValue(filtertext);
-
+
this.button.set('disabled', (filtertext == ''));
this.table.all('tr').each(function(row){
View
6 admin/settings/courses.php
@@ -139,7 +139,7 @@
400 => '400',
500 => '500');
$temp->add(new admin_setting_configselect('backup/backup_auto_keep', get_string('keep'), get_string('backupkeephelp'), 1, $keepoptoins));
-
+
$temp->add(new admin_setting_heading('automatedsettings', get_string('automatedsettings','backup'), ''));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_users', get_string('users'), get_string('backupusershelp'), 1));
@@ -152,8 +152,8 @@
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_userscompletion', get_string('generaluserscompletion','backup'), get_string('configgeneraluserscompletion','backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_logs', get_string('logs'), get_string('backuplogshelp'), 0));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_histories', get_string('generalhistories','backup'), get_string('configgeneralhistories','backup'), 0));
-
-
+
+
//$temp->add(new admin_setting_configcheckbox('backup/backup_auto_messages', get_string('messages', 'message'), get_string('backupmessageshelp','message'), 0));
//$temp->add(new admin_setting_configcheckbox('backup/backup_auto_blogs', get_string('blogs', 'blog'), get_string('backupblogshelp','blog'), 0));
View
4 admin/webservice/service_user_settings.php
@@ -33,7 +33,7 @@
admin_externalpage_setup('externalserviceusersettings');
//define nav bar
-$PAGE->set_url('/' . $CFG->admin . '/webservice/service_user_settings.php',
+$PAGE->set_url('/' . $CFG->admin . '/webservice/service_user_settings.php',
array('id' => $serviceid, 'userid' => $userid));
$node = $PAGE->settingsnav->find('externalservices', navigation_node::TYPE_SETTING);
if ($node) {
@@ -62,7 +62,7 @@
$serviceuserinfo->id = $serviceuser->serviceuserid;
$serviceuserinfo->iprestriction = $settingsformdata->iprestriction;
$serviceuserinfo->validuntil = $settingsformdata->validuntil;
-
+
$webservicemanager->update_ws_authorised_user($serviceuserinfo);
//TODO: assign capability
View
4 admin/webservice/testclient.php
@@ -37,7 +37,7 @@
$PAGE->navbar->ignore_active(true);
$PAGE->navbar->add(get_string('administrationsite'));
$PAGE->navbar->add(get_string('development', 'admin'));
-$PAGE->navbar->add(get_string('testclient', 'webservice'),
+$PAGE->navbar->add(get_string('testclient', 'webservice'),
new moodle_url('/' . $CFG->admin . '/webservice/testclient.php'));
if (!empty($function)) {
$PAGE->navbar->add($function);
@@ -169,4 +169,4 @@
$mform->display();
echo $OUTPUT->footer();
die;
-}
+}
View
2  admin/webservice/tokens.php
@@ -94,7 +94,7 @@
die;
break;
- case 'delete':
+ case 'delete':
$token = $webservicemanager->get_created_by_user_ws_token($USER->id, $tokenid);
//Delete the token
Please sign in to comment.
Something went wrong with that request. Please try again.