removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / markup / rendering_null.php
diff --git a/mods/wiki/plugins/markup/rendering_null.php b/mods/wiki/plugins/markup/rendering_null.php
deleted file mode 100644 (file)
index a932a3f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
- # this plugin replaces the wiki rendering core with almost nothing, and
- # thus allows you to put plain HTML into all pages
- # (WikiWords however, will still render as usual)
-
-
-
-$ewiki_plugins["render"][0] = "ewiki_format_null";
-
-
-
-function ewiki_format_null ($content, $scan_links=1, $HTML=1, $HTML=1) {
-
-   global $ewiki_plugins, $ewiki_links;
-
-   $link_regex = "#[!~]?(
-\[[^<>[\]\n]+\] |
-\^[-".EWIKI_CHARS_U.EWIKI_CHARS_L."]{3,} |
-(?:[".EWIKI_CHARS_U."]+[".EWIKI_CHARS_L."]+){2,}[\w\d]*(:[\w\d]{3,})?
-)#";
-   $link_regex = str_replace(" ", "", strtr($link_regex, "\n", " "));
-   
-   $content = preg_replace_callback($link_regex, "ewiki_link_regex_callback", $content);
-
-   #-- call post processing plugins
-   foreach (@$ewiki_plugins["format_final"] as $pf) $pf($content);
-
-   return($content);
-
-}
-
-
-?>
\ No newline at end of file