removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / markup / table_colspan.php
diff --git a/mods/wiki/plugins/markup/table_colspan.php b/mods/wiki/plugins/markup/table_colspan.php
deleted file mode 100644 (file)
index 4d73cee..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/*
-   This markup extension, allows for following syntax to merge
-   neighboured table cells together:
-
-   | col1 | col2 | col3 |
-   | col2 || col2 and 3 |
-   ||| this occoupies the whole row |
-   | col1 | col2 | col3 |
-*/
-
-
-$ewiki_plugins["format_final"][] = "ewiki_table_colspan";
-function ewiki_table_colspan(&$html) {
-   $html = preg_replace(
-      '#(<td></td>\s*)+<td#e',
-      '"<td colspan=\"" . (1+((int)(strlen(preg_replace("/\s+/","","$0"))-3)/9)) . "\""',
-      $html
-   );
-}
-
-?>
\ No newline at end of file