removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / aview / backlinks.php
diff --git a/mods/wiki/plugins/aview/backlinks.php b/mods/wiki/plugins/aview/backlinks.php
deleted file mode 100644 (file)
index f314538..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-#
-#  this plugin prints the "pages linking to" below a page (the same
-#  information the "links/" action does)
-#
-# altered to use ewiki_get_backlinks() by AndyFundinger.
-
-$ewiki_plugins["view_append"][] = "ewiki_view_append_backlinks";
-
-function ewiki_view_append_backlinks($id, $data, $action) {
-    $pages = ewiki_get_backlinks($id);
-    
-    $o="";
-    foreach ($pages as $id) {
-        $o .= ' <a href="'.ewiki_script("",$id).'">'.$id.'</a>';
-    }
-    ($o) && ($o = "<div class=\"wiki_backlinks\"><small>Backlinks:</small><br />$o</div>\n");
-    
-    return($o);
-}
-
-
-?>
\ No newline at end of file