OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BugTrack2/55: Added two functions.
[pukiwiki/pukiwiki.git]
/
plugin
/
calendar_edit.inc.php
diff --git
a/plugin/calendar_edit.inc.php
b/plugin/calendar_edit.inc.php
index
a6aa6b4
..
878d332
100644
(file)
--- a/
plugin/calendar_edit.inc.php
+++ b/
plugin/calendar_edit.inc.php
@@
-1,27
+1,24
@@
<?php
<?php
-/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
// PukiWiki - Yet another WikiWikiWeb clone.
+// $Id: calendar_edit.inc.php,v 1.10 2005/05/04 05:07:51 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_edit.inc.php,v 1.6 2003/03/17 00:20:38 panda Exp $
-//
+// Calendar_ edit plugin (needs calendar plugin)
function plugin_calendar_edit_convert()
{
global $command;
function plugin_calendar_edit_convert()
{
global $command;
-
+
+ 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;
+
$command = 'edit';
$command = 'edit';
-
- 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;
- }
-
$args = func_num_args() ? func_get_args() : array();
$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);
}
?>
}
?>