diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php
index 305466f9471..4b675fd308f 100644
--- a/auth/mnet/auth.php
+++ b/auth/mnet/auth.php
@@ -234,9 +234,9 @@ class auth_plugin_mnet
$remoteuser = (object) $mnetrequest->response;
} else {
foreach ($mnetrequest->error as $code => $errormessage) {
- $message .= "ERROR $code:
$errormessage
";
+ $message .= "ERROR $code:
$errormessage
";
}
- error("RPC auth/mnet/user_authorise:
$message");
+ error("RPC auth/mnet/user_authorise:
$message");
}
if (empty($remoteuser) or empty($remoteuser->username)) {
diff --git a/auth/radius/auth.php b/auth/radius/auth.php
index abe23e310cb..c173eaeb242 100644
--- a/auth/radius/auth.php
+++ b/auth/radius/auth.php
@@ -45,35 +45,35 @@ class auth_plugin_radius {
require_once 'Auth/RADIUS.php';
// Added by Clive on 7th May for test purposes
- // printf("Username: $username
");
- // printf("Password: $password
");
- // printf("host: $this->config->host
");
- // printf("nasport: $this->config->nasport
");
- // printf("secret: $this->config->secret
");
+ // printf("Username: $username
");
+ // printf("Password: $password
");
+ // printf("host: $this->config->host
");
+ // printf("nasport: $this->config->nasport
");
+ // printf("secret: $this->config->secret
");
$rauth = new Auth_RADIUS_PAP($username, $password);
$rauth->addServer($this->config->host, $this->config->nasport, $this->config->secret);
if (!$rauth->start()) {
- printf("Radius start: %s
\n", $rauth->getError());
+ printf("Radius start: %s
\n", $rauth->getError());
exit;
}
$result = $rauth->send();
if (PEAR::isError($result)) {
- printf("Radius send failed: %s
\n", $result->getMessage());
+ printf("Radius send failed: %s
\n", $result->getMessage());
exit;
} else if ($result === true) {
- // printf("Radius Auth succeeded
\n");
+ // printf("Radius Auth succeeded
\n");
return true;
} else {
- // printf("Radius Auth rejected
\n");
+ // printf("Radius Auth rejected
\n");
return false;
}
// get attributes, even if auth failed
if (!$rauth->getAttributes()) {
- printf("Radius getAttributes: %s
\n", $rauth->getError());
+ printf("Radius getAttributes: %s
\n", $rauth->getError());
} else {
$rauth->dumpAttributes();
}
diff --git a/auth/shibboleth/config.html b/auth/shibboleth/config.html
index a20e9d2fe14..b019837ae65 100755
--- a/auth/shibboleth/config.html
+++ b/auth/shibboleth/config.html
@@ -49,7 +49,7 @@
convert_data and $config->convert_data != '' and !is_readable($config->convert_data)) {
- echo '
';
+ echo '
';
print_string("auth_shib_convert_data_warning", "auth");
echo '';
}
diff --git a/backup/backuplib.php b/backup/backuplib.php
index 987d000eaed..231b187496e 100644
--- a/backup/backuplib.php
+++ b/backup/backuplib.php
@@ -1943,7 +1943,7 @@
$status = zip_files($files, "$basedir/$name");
- //echo "
Status: ".$status; //Debug
+ //echo "
Status: ".$status; //Debug
return $status;
}
diff --git a/backup/restorelib.php b/backup/restorelib.php
index e050059b712..ad62c8aaf3d 100644
--- a/backup/restorelib.php
+++ b/backup/restorelib.php
@@ -6111,14 +6111,14 @@
fwrite ($restorelog_file,"");
fwrite ($restorelog_file,$stylesheetshtml);
fwrite ($restorelog_file,"".$course_header->course_shortname." Restored ");
- fwrite ($restorelog_file,"
The following changes were made during the Restoration of this Course.
");
- fwrite ($restorelog_file,"The Course ShortName is now - ".$course_header->course_shortname." The FullName is now - ".$course_header->course_fullname."
");
+ fwrite ($restorelog_file,"
The following changes were made during the Restoration of this Course.
");
+ fwrite ($restorelog_file,"The Course ShortName is now - ".$course_header->course_shortname." The FullName is now - ".$course_header->course_fullname."
");
$startdate = addslashes($course_header->course_startdate);
$date = usergetdate($startdate);
fwrite ($restorelog_file,"The Originating Courses Start Date was " .$date['weekday'].", ".$date['mday']." ".$date['month']." ".$date['year']."");
$startdate += $restore->course_startdateoffset;
$date = usergetdate($startdate);
- fwrite ($restorelog_file," This Courses Start Date is now " .$date['weekday'].", ".$date['mday']." ".$date['month']." ".$date['year']."
");
+ fwrite ($restorelog_file," This Courses Start Date is now " .$date['weekday'].", ".$date['mday']." ".$date['month']." ".$date['year']."
");
if ($status) {
return $restorelog_file;
@@ -6139,8 +6139,8 @@
$status = check_dir_exists($dest_dir, true, true);
$restorelog_file = fopen("$dest_dir/restorelog.html","a");
//Write the footer to close the logging file
- fwrite ($restorelog_file,"
This file was written to directly by each modules restore process.");
- fwrite ($restorelog_file,"
Log complete.