-<script language="PHP"> @define("EWIKI_VERSION", "R1.01d");
+<?php
+@define("EWIKI_VERSION", "R1.01d");
/*
if ($pf_a = $ewiki_plugins["page_final"]) {
ksort($pf_a);
foreach ($pf_a as $pf) {
+ if ($action == 'edit' and $pf == 'ewiki_html_tag_balancer') {
+ continue; // balancer breaks htmlarea buttons
+ }
$pf($o, $id, $data, $action);
}
}
$do = "nop";
}
}
-
#-- auth only happens when enforced with _PROTECTED_MODE_XXL setting
# (authentication for inline images in violation of the WWW spirit)
#-- upload an image
if ($do == "upload"){
-
$id = ewiki_binary_save_image($upload_file["tmp_name"], "", $return=0, $add_meta);
@unlink($upload_file["tmp_name"]);
($title = trim($orig_name, "/")) && ($title = preg_replace("/[^-._\w\d]+/", "_", substr(substr($orig_name, strrpos($title, "/")), 0, 20)))
return($r);
}
-
-
-</script>
+?>
\ No newline at end of file