$string['pageslinkingto']="Pages linking to this page";
$string['viewsmfor']="View sitemap for";
$string['smfor']="Sitemap for";
+$string['cannotchangepage']="This page cannot be changed.";
+$string['errversionsave']="Sorry, while you edited this page someone else did already save a changed version. Please go back to the previous screen and copy your changes to your computers clipboard to insert it again after you reload the edit screen.";
$string['uplinsect']="Upload into";
$string['invalidroot']="You are not authorized to access the current root page so no sitemap can be created.";
$string['thispageisntlinkedfromanywhereelse'] = 'This page isn\'t linked from anywhere else.';
if (!$all) {
return($o);
}
-
+ #### MOODLE CHANGE
+ $o.= "<br><br>";
#-- control line + other per-page info stuff
if ($pf_a = $ewiki_plugins["view_append"]) {
ksort($pf_a);
. "<hr noshade>"
. "<div align=\"right\">" . ewiki_t("PREVIEW") . "</div><hr noshade><br>\n"
. format_text($preview_text, $moodle_format)
- . "<hr noshade><br>"
+ . "<br><br><hr noshade><br>"
. "</div>"
);
#### END MOODLE CHANGES
}
-
-
-
-
-
function ewiki_control_links($id, &$data, $action) {
global $ewiki_plugins, $ewiki_ring, $ewiki_config;
#-- output text block
if (trim($s["para"])) {
if (!$s["block"]) {
- $s["para"] = "\n<p>\n" . ltrim($s["para"], "\n") . "</p>\n";
+ #### MOODLE CHANGES
+ global $ewiki_use_editor;
+ if(!$ewiki_use_editor) {
+ $s["para"] = "\n<p>\n" . ltrim($s["para"], "\n") . "</p>\n";
+ }
+ #### MOODLE CHANGES
}
#-- paragraph formation plugins
if ($pf_a = $GLOBALS["ewiki_plugins"]["format_para"]) {