From: <var...@us...> - 2012-09-28 15:36:26
|
Revision: 8310 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8310&view=rev Author: vargenau Date: 2012-09-28 15:36:17 +0000 (Fri, 28 Sep 2012) Log Message: ----------- php_closing_tag [PSR-2] The closing ?> tag MUST be omitted from files containing only PHP. Modified Paths: -------------- trunk/themes/Hawaiian/lib/random.php Property Changed: ---------------- trunk/themes/Hawaiian/lib/random.php Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2012-09-28 15:32:08 UTC (rev 8309) +++ trunk/themes/Hawaiian/lib/random.php 2012-09-28 15:36:17 UTC (rev 8310) @@ -1,6 +1,4 @@ -<?php // $Id$ -/** - */ +<?php class randomImage { /** * Usage: @@ -51,4 +49,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Property changes on: trunk/themes/Hawaiian/lib/random.php ___________________________________________________________________ Deleted: svn:keywords - Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-11-14 13:42:40
|
Revision: 8429 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8429&view=rev Author: vargenau Date: 2012-11-14 13:42:29 +0000 (Wed, 14 Nov 2012) Log Message: ----------- Remove useless semicolon Modified Paths: -------------- trunk/themes/Hawaiian/lib/random.php Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2012-11-14 13:25:55 UTC (rev 8428) +++ trunk/themes/Hawaiian/lib/random.php 2012-11-14 13:42:29 UTC (rev 8429) @@ -35,8 +35,6 @@ } } -; - class imageSet extends fileSet { /** @@ -49,8 +47,6 @@ } } -; - // Local Variables: // mode: php // tab-width: 8 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-06 17:08:18
|
Revision: 9200 http://sourceforge.net/p/phpwiki/code/9200 Author: vargenau Date: 2014-10-06 17:08:10 +0000 (Mon, 06 Oct 2014) Log Message: ----------- Remove commented code Modified Paths: -------------- trunk/themes/Hawaiian/lib/random.php Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2014-10-06 14:39:41 UTC (rev 9199) +++ trunk/themes/Hawaiian/lib/random.php 2014-10-06 17:08:10 UTC (rev 9200) @@ -27,9 +27,6 @@ function pickRandom() { $this->filename = $this->imageList[array_rand($this->imageList)]; - //trigger_error(sprintf(_("random image chosen: %s"), - // $this->filename), - // E_USER_NOTICE); //debugging return $this->filename; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2017-08-10 14:13:18
|
Revision: 10025 http://sourceforge.net/p/phpwiki/code/10025 Author: vargenau Date: 2017-08-10 14:13:16 +0000 (Thu, 10 Aug 2017) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/themes/Hawaiian/lib/random.php Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2017-08-10 14:12:30 UTC (rev 10024) +++ trunk/themes/Hawaiian/lib/random.php 2017-08-10 14:13:16 UTC (rev 10025) @@ -30,7 +30,7 @@ * $imgSet = new randomImage($WikiTheme->file("images/pictures")); * $imgFile = "pictures/" . $imgSet->filename; */ - function randomImage($dirname) + function __construct($dirname) { $this->filename = ""; // Pick up your filename here. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |