~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to frontends/php/include/classes/cflashclock.mod.php

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Haas
  • Date: 2009-10-10 12:21:16 UTC
  • mfrom: (1.1.10 upstream) (8.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091010122116-44k2zdq57rb40i6z
Tags: 1:1.6.6-2
* debian/po/ja.po updated (Closes: #548651)
* debian/po/cs.po updated (Closes: #548675)
* debian/po/sv.po updated (Closes: #548796)
* debian/po/de.po updated (Closes: #549248)
* debian/po/it.po updated (Closes: #549579)
* debian/po/pt.po updated (Closes: #550087)
* debian/po/ru.po updated (Closes: #550102)
* debian/po/es.po updated (Closes: #550173)
* debian/po/fr.po updated (Closes: #550315)
* Manpages for zabbix_server and zabbix_agent added (Closes: #496696)
* Added hint about the difference of the zabbix_agent.conf and
  zabbix_agentd.conf in each config file as a comment. (Closes: #548701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
/* 
 
2
/*
3
3
** ZABBIX
4
4
** Copyright (C) 2000-2005 SIA Zabbix
5
5
**
30
30
 
31
31
                        if(!is_numeric($width) || $width < 24) $width = 200;
32
32
                        if(!is_numeric($height) || $height< 24) $height = 200;
33
 
                        
 
33
 
34
34
                        $this->src = "images/flash/zbxclock.swf?analog=1&smooth=1";
35
35
                        if(!is_null($url))      $this->src .= "&url=".urlencode($url);
36
36
 
49
49
                        if($this->timetype == TIME_TYPE_SERVER)
50
50
                                $this->setSrc($this->src.'&timestamp='.(time() + date('Z')));
51
51
 
52
 
                        return parent::BodyToString();  
 
52
                        return parent::BodyToString();
53
53
                }
54
54
        }
55
55
?>