removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / page / aboutplugins.php
diff --git a/mods/wiki/plugins/page/aboutplugins.php b/mods/wiki/plugins/page/aboutplugins.php
deleted file mode 100644 (file)
index 49d8bc4..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-
-#--  show infos about registered plugins (even internal plugins)
-#
-
-
-$ewiki_plugins["page"]["AboutPlugins"] = "ewiki_page_aboutplugins";
-
-
-
-function ewiki_page_aboutplugins($id, $data, $action) {
-
-   global $ewiki_plugins;
-
-   $o = ewiki_make_title($id, $id, 2);
-
-   #-- plugin types
-   foreach (array("page", "action", "mpi") as $pclass) {
-
-      $o .= "<u>$pclass plugins</u><br />\n";
-
-      switch ($pclass) {
-         case "page":
-            $o .= "dynamically generated pages<br />\n";
-            break;
-         case "action":
-            $o .= "can be activated on each (real) page<br />\n";
-            break;
-         case "mpi":
-            $o .= "the markup plugins can be utilized to integrate dynamic content into pages<small> (loaded on demand, so rarely shown here)</small><br />\n";
-            break;
-         default:
-      }
-
-      if ($pf_a = $ewiki_plugins[$pclass]) {
-          ksort($pf_a);
-         if ($pclass=="action") {
-            $pf_a = array_merge($pf_a, $ewiki_plugins["action_always"]);
-         }
-         foreach ($pf_a as $i=>$pf) {
-
-            switch ($pclass) {
-               case "page":
-                  $i = '<a href="'.ewiki_script("",$i).'">'.$i.'</a>';
-                  break;
-               case "action":
-                  $i = '<a href="'.ewiki_script($i,"Notepad").'">'.$i.'</a>';
-                  break;
-               case "mpi":
-                  $i = '<a href="'.ewiki_script("mpi/$i").'">&lt;?plugin '.$i.'?&gt;</a>';
-                  break;
-               default:
-            }
-
-            $o .= "· <b>$i</b> <small>via $pf</small><br />\n";
-
-         }
-      }
-
-      $o .= "<br />\n";
-
-   }
-
-   #-- task plugins
-   $o .= "<u>task plugins</u> (core stuff)<br />\n";
-   $o .= "enhance the wiki engine internally, with widely varying functionality enhancements or changes<br />\n";
-   foreach ($ewiki_plugins as $i=>$a) {
-      if (is_array($a)) {
-         foreach ($a as $n=>$pf) {
-
-            if (is_int($n)) {
-
-               $o .= "· <b><tt>$i</tt></b> <small>via $pf</small><br />\n";
-
-            }
-         }
-      }
-   }
-   $o .= "<br />\n";
-
-
-   return($o);
-
-}
-
-
-?>
\ No newline at end of file