OSDN Git Service

BugTrack/2484 AutoTicketLink for JIRA: Support underscore key XX_X
[pukiwiki/pukiwiki.git] / plugin / calendar_read.inc.php
index f308344..5fa9ca2 100644 (file)
@@ -1,27 +1,24 @@
 <?php
-/////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
+// $Id: calendar_read.inc.php,v 1.9 2005/05/04 05:13:54 henoheno Exp $
+// Copyright (C)
+//   2003,2005 PukiWiki Developers Team
+//   2001-2002 Originally written by yu-ji
+// License: GPL v2 or (at your option) any later version
 //
-// $Id: calendar_read.inc.php,v 1.6 2003/03/08 12:32:06 panda Exp $
-//
+// Calendar_read plugin (needs calendar plugin)
 
 function plugin_calendar_read_convert()
 {
        global $command;
-       
-       $command = 'read';
-       
-       if (!file_exists(PLUGIN_DIR.'calendar.inc.php'))
-       {
-               return FALSE;
-       }
+
+       if (! file_exists(PLUGIN_DIR . 'calendar.inc.php')) return FALSE;
+
        require_once PLUGIN_DIR.'calendar.inc.php';
-       if (!function_exists('plugin_calendar_convert'))
-       {
-               return FALSE;
-       }
-       
+       if (! function_exists('plugin_calendar_convert')) return FALSE;
+
+       $command = 'read';
        $args = func_num_args() ? func_get_args() : array();
-       return call_user_func_array('plugin_calendar_convert',$args);
+       return call_user_func_array('plugin_calendar_convert', $args);
 }
 ?>