summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/cflashclock.mod.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 12:53:32 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 12:53:32 +0000
commite5c765ac713664bdae99dac1c975f4a8b7999c32 (patch)
tree6958b6105333f9012250a1e9c14916b94530cf71 /frontends/php/include/classes/cflashclock.mod.php
parent600abf07f6952ce7f6a1e8417fb31e3202b55894 (diff)
- improved stricted PHP5 supporting (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3486 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cflashclock.mod.php')
-rw-r--r--frontends/php/include/classes/cflashclock.mod.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/classes/cflashclock.mod.php b/frontends/php/include/classes/cflashclock.mod.php
index dbfef8d3..8f359fd5 100644
--- a/frontends/php/include/classes/cflashclock.mod.php
+++ b/frontends/php/include/classes/cflashclock.mod.php
@@ -21,10 +21,13 @@
<?php
class CFlashClock extends CFlash
{
+ /*
var $timetype;
- var $src;
+ var $src;*/
function CFlashClock($width = 200, $height = 200, $timetype = TIME_TYPE_LOCAL, $url = NULL)
{
+ $this->timetype = null;
+
if(!is_numeric($width) || $width < 24) $width = 200;
if(!is_numeric($height) || $height< 24) $height = 200;