summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/html.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-03-14 15:21:27 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-03-14 15:21:27 +0000
commit25036c9384fcec4d36f4cfc69fe2b86e4ef2c9c6 (patch)
tree01e08dad83c7671bb8a19b9c40f2f786b033d99e /frontends/php/include/html.inc.php
parentf35b829723124ac2c15defd1d5cce44b40b1c8ec (diff)
downloadzabbix-25036c9384fcec4d36f4cfc69fe2b86e4ef2c9c6.tar.gz
zabbix-25036c9384fcec4d36f4cfc69fe2b86e4ef2c9c6.tar.xz
zabbix-25036c9384fcec4d36f4cfc69fe2b86e4ef2c9c6.zip
- added "Data overview" for screens
- added "Triggers overview" for screens (Eugene) - added blinking into Trigger overview (Eugene) - added screen displaying in other screen (Eugene) - improved Overview table header, vertical text added (Eugene) - developed "ZABBIX Clock" module for screens (Eugene) - developed "ZABBIX server info" module for screens (Eugene) - developed "Triggers info" module for screens (Eugene) - developed "Host info" module for screens (Eugene) - improved screens displaying, added item alignment (Eugene) - improved ZABBIX server report (Eugene) - improved images configuration (Eugene) - added onserver image resizing for thumbs by php (Eugene) - developed acknowledges system (Eugene) - added icons displaying for maps (Eugene) - added maps displaying for maps (Eugene) - improved maps (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2699 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/html.inc.php')
-rw-r--r--frontends/php/include/html.inc.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php
index 2a67b47b..277668b7 100644
--- a/frontends/php/include/html.inc.php
+++ b/frontends/php/include/html.inc.php
@@ -23,6 +23,13 @@
define("SPACE","&nbsp;");
define("RARR","&rArr;");
+ function do_vertival_text($str)
+ {
+ for($i=0,$out = ""; $i<strlen($str); $i++) $out .= $str[$i].BR;
+ $str = $out;
+ return $str;
+ }
+
function bold($str)
{
if(is_array($str)){
@@ -38,7 +45,7 @@
function bfirst($str) // mark first symbol of string as bold
{
$res = bold($str[0]);
- for($i=1; $i<strlen($str); $i++) $res .= $str[$i];
+ for($i=1; $i<strlen($str); $i++) $res .= $str[$i];
$str = $res;
return $str;
}
@@ -99,7 +106,7 @@
}
}
- function table_begin($class="tborder")
+ function table_begin($class="tableinfo")
{
echo "<table class=\"$class\" border=0 width=\"100%\" bgcolor='#AAAAAA' cellspacing=1 cellpadding=3>";
echo "\n";