From: <var...@us...> - 2009-01-19 21:18:24
|
Revision: 6418 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6418&view=rev Author: vargenau Date: 2009-01-19 21:18:18 +0000 (Mon, 19 Jan 2009) Log Message: ----------- timezone argument not implemented Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2009-01-19 21:16:25 UTC (rev 6417) +++ trunk/lib/plugin/CurrentTime.php 2009-01-19 21:18:18 UTC (rev 6418) @@ -71,8 +71,7 @@ // Establish default values for each of this plugin's arguments. function getDefaultArguments() { - return array('timezone' => '', - 'format' => '%Y-%m-%d %T'); + return array('format' => '%Y-%m-%d %T'); } function run($dbi, $argstr, &$request, $basepage) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-01-20 08:45:49
|
Revision: 6420 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6420&view=rev Author: vargenau Date: 2009-01-20 08:45:36 +0000 (Tue, 20 Jan 2009) Log Message: ----------- svn propset svn:keywords Id Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Property Changed: ---------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2009-01-19 22:08:41 UTC (rev 6419) +++ trunk/lib/plugin/CurrentTime.php 2009-01-20 08:45:36 UTC (rev 6420) @@ -1,5 +1,5 @@ <?php // -*-php-*- -rcs_id('$Id: CurrentTime.php 6185 2008-08-22 11:40:14Z vargenau $'); +rcs_id('$Id$'); /* * Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent * Property changes on: trunk/lib/plugin/CurrentTime.php ___________________________________________________________________ Added: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-01-23 12:39:40
|
Revision: 6430 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6430&view=rev Author: vargenau Date: 2009-01-23 12:33:28 +0000 (Fri, 23 Jan 2009) Log Message: ----------- No need for a span Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2009-01-22 17:03:37 UTC (rev 6429) +++ trunk/lib/plugin/CurrentTime.php 2009-01-23 12:33:28 UTC (rev 6430) @@ -84,7 +84,7 @@ $format = '%T'; } - return HTML::span(strftime($format, time())); + return HTML::raw(strftime($format, time())); } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-09-10 14:21:57
|
Revision: 9064 http://sourceforge.net/p/phpwiki/code/9064 Author: vargenau Date: 2014-09-10 14:21:54 +0000 (Wed, 10 Sep 2014) Log Message: ----------- Remove trailing cruft message in CurrentTime plugin Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2014-09-10 14:11:56 UTC (rev 9063) +++ trunk/lib/plugin/CurrentTime.php 2014-09-10 14:21:54 UTC (rev 9064) @@ -64,6 +64,11 @@ return array('format' => '%Y-%m-%d %T'); } + function handle_plugin_args_cruft($argstr, $args) + { + return; + } + function run($dbi, $argstr, &$request, $basepage) { extract($this->getArgs($argstr, $request)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2021-09-30 14:27:24
|
Revision: 10607 http://sourceforge.net/p/phpwiki/code/10607 Author: vargenau Date: 2021-09-30 14:27:23 +0000 (Thu, 30 Sep 2021) Log Message: ----------- lib/plugin/CurrentTime.php: do not use extract, only one argument Modified Paths: -------------- trunk/lib/plugin/CurrentTime.php Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2021-09-30 13:36:50 UTC (rev 10606) +++ trunk/lib/plugin/CurrentTime.php 2021-09-30 14:27:23 UTC (rev 10607) @@ -79,7 +79,8 @@ */ function run($dbi, $argstr, &$request, $basepage) { - extract($this->getArgs($argstr, $request)); + $args = $this->getArgs($argstr, $request); + $format = $args['format']; if ($format == 'date') { $format = '%Y-%m-%d'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |