removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / action / calendarlist.php
diff --git a/mods/wiki/plugins/action/calendarlist.php b/mods/wiki/plugins/action/calendarlist.php
deleted file mode 100644 (file)
index f6a4228..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-/*
-
-Displays all calendar entries for a page as an action plugin. 
-
-Requires the subpages plugin.
-
-by AndyFundinger
-
-*/
-
-$ewiki_plugins["action"]['calendarlist'] = "ewiki_action_calendar_list";
-$ewiki_t["en"]["NOCALENDAR"] = "There are no calendar entries for this page.";         
-
-
-function ewiki_action_calendar_list($id, $data, $action) {
-  $pages=ewiki_subpage_list($id,CALENDAR_NAME_SEP);
-  
-  foreach($pages as $pageId=>$uu){
-    if(! ewiki_isCalendarId($pageId)){
-      unset($pages[$pageId]);
-    }
-  }
-  
-  if(0==count($pages)){
-    return(ewiki_t("NOCALENDAR"));
-  }else{
-    //ksort($pages);
-    $o = '<div class="calendar_list"><small>'.ewiki_t('CALENDERFOR')." $id:</small><br />";
-    $o .= ewiki_list_pages($pages)."</div>\n";   
-  }
-  
-  return($o);
-}
-
-?>
\ No newline at end of file