removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / markup / braceabbr.php
diff --git a/mods/wiki/plugins/markup/braceabbr.php b/mods/wiki/plugins/markup/braceabbr.php
deleted file mode 100644 (file)
index 01fb5f3..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-/*
-   As seen in »Textile«, this plugin provides markup for <abbr> using:
-   "TEA(The Explained Abbreviaton)" in any page.
-*/
-
-$ewiki_plugins["format_source"][] = "ewiki_format_src_brace_abbr";
-
-function ewiki_format_src_brace_abbr(&$src) {
-   
-   $src = preg_replace(
-      "/\b([A-Z]{2,10})\s?\([^([\])]{5,50}\)/se", 
-      " '<abbr title=\"~[' . urlencode(stripslashes('$2')) .
-        ']\">$1</abbr>' ",
-      $src
-   );
-}
-
-?>
\ No newline at end of file