$date - $fullname
";
+ echo "$date - $fullname
";
echo "\"wwwroot/mod/forum/$log->url\">";
if (!empty($CFG->filterall)) {
$post->subject = filter_text("$post->subject", $course->id);
@@ -1825,7 +1825,7 @@ function forum_print_search_form($course, $search="", $return=false, $type="") {
$output = "";
$output .= " |
";
diff --git a/mod/forum/restorelib.php b/mod/forum/restorelib.php
index d09764a377..f9571bcc0a 100644
--- a/mod/forum/restorelib.php
+++ b/mod/forum/restorelib.php
@@ -90,7 +90,7 @@
}
//Do some output
- echo "- ".get_string("modulename","forum")." \"".$forum->name."\"
";
+ echo "- ".get_string("modulename","forum")." \"".$forum->name."\"
";
backup_flush(300);
if ($newid) {
@@ -158,7 +158,7 @@
if (($i+1) % 50 == 0) {
echo ".";
if (($i+1) % 1000 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -232,7 +232,7 @@
if (($i+1) % 50 == 0) {
echo ".";
if (($i+1) % 1000 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -263,7 +263,7 @@
$temp_discussion->userid = $discussion->userid;
//Update discussion (only firstpost and userid will be changed)
$status = update_record("forum_discussions",$temp_discussion);
- //echo "Updated firstpost ".$old_firstpost." to ".$temp_discussion->firstpost."
"; //Debug
+ //echo "Updated firstpost ".$old_firstpost." to ".$temp_discussion->firstpost."
"; //Debug
} else {
$status = false;
}
@@ -319,7 +319,7 @@
if (($i+1) % 50 == 0) {
echo ".";
if (($i+1) % 1000 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -363,7 +363,7 @@
//Create temp post record
$temp_post->id = $post->id;
$temp_post->parent = $post->parent;
- //echo "Updated parent ".$old_parent." to ".$temp_post->parent."
"; //Debug
+ //echo "Updated parent ".$old_parent." to ".$temp_post->parent."
"; //Debug
//Update post (only parent will be changed)
$status = update_record("forum_posts",$temp_post);
}
@@ -466,7 +466,7 @@
if (($i+1) % 50 == 0) {
echo ".";
if (($i+1) % 1000 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -652,7 +652,7 @@
$status = true;
break;
default:
- echo "action (".$log->module."-".$log->action.") unknow. Not restored
"; //Debug
+ echo "action (".$log->module."-".$log->action.") unknow. Not restored
"; //Debug
break;
}
@@ -865,14 +865,14 @@
$post->message = addslashes($result);
$status = update_record("forum_posts",$post);
if ($CFG->debug>7) {
- echo "
".$content."
changed to".$result."
";
+ echo "
".$content."
changed to
".$result."
";
}
}
//Do some output
if (($i+1) % 5 == 0) {
echo ".";
if (($i+1) % 100 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -900,14 +900,14 @@
$forum->intro = addslashes($result);
$status = update_record("forum",$forum);
if ($CFG->debug>7) {
- echo "
".$content."
changed to".$result."
";
+ echo "
".$content."
changed to".$result."
";
}
}
//Do some output
if (($i+1) % 5 == 0) {
echo ".";
if (($i+1) % 100 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -936,14 +936,14 @@
$resource->alltext = addslashes($result);
$status = update_record("resource",$resource);
if ($CFG->debug>7) {
- echo "
".$content."
changed to".$result."
";
+ echo "
".$content."
changed to".$result."
";
}
}
//Do some output
if (($i+1) % 5 == 0) {
echo ".";
if (($i+1) % 100 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
@@ -971,14 +971,14 @@
$resource->summary = addslashes($result);
$status = update_record("resource",$resource);
if ($CFG->debug>7) {
- echo "
".$content."
changed to".$result."
";
+ echo "
".$content."
changed to".$result."
";
}
}
//Do some output
if (($i+1) % 5 == 0) {
echo ".";
if (($i+1) % 100 == 0) {
- echo "
";
+ echo "
";
}
backup_flush(300);
}
diff --git a/mod/forum/subscriber.html b/mod/forum/subscriber.html
index a78fa1ecb5..9417bbeb70 100644
--- a/mod/forum/subscriber.html
+++ b/mod/forum/subscriber.html
@@ -1,7 +1,7 @@
";
}
- echo "