removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / linking / link_target_blank.php
diff --git a/mods/wiki/plugins/linking/link_target_blank.php b/mods/wiki/plugins/linking/link_target_blank.php
deleted file mode 100644 (file)
index b0f52f8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-#  this plugin chains into the url/link generation process and
-#  adds <a target="_blank"> for external http:// urls, which will
-#  make (most) browsers open the links in a new window
-
-
-
-$ewiki_plugins["link_final"][] = "ewiki_link_final_target_blank";
-
-
-function ewiki_link_final_target_blank(&$str, $type, $href, $title) {
-
-   if (is_array($type) && in_array("url", $type)) {
-      $str = str_replace('<a ', '<a target="_blank" ', $str);
-   }
-}
-
-
-?>
\ No newline at end of file