From 3f8cf5f0da75fa8312c173e9e2c1e1e843811091 Mon Sep 17 00:00:00 2001 From: artem Date: Fri, 20 Jun 2008 08:42:25 +0000 Subject: - [DEV-137] changes in users profile system (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5782 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/html.inc.php | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'frontends/php/include/html.inc.php') diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php index 5771e868..db6d95f4 100644 --- a/frontends/php/include/html.inc.php +++ b/frontends/php/include/html.inc.php @@ -36,33 +36,28 @@ return $str; } - function bfirst($str) // mark first symbol of string as bold - { + function bfirst($str){ +// mark first symbol of string as bold $res = bold($str[0]); for($i=1,$max=strlen($str); $i<$max; $i++) $res .= $str[$i]; $str = $res; return $str; } - function nbsp($str) - { + function nbsp($str){ return str_replace(" ",SPACE,$str); } - function url1_param($parameter) - { - if(isset($_REQUEST[$parameter])) - { + function url1_param($parameter){ + if(isset($_REQUEST[$parameter])){ return "$parameter=".$_REQUEST[$parameter]; } - else - { + else{ return ""; } } - function prepare_url(&$var, $varname=null) - { + function prepare_url(&$var, $varname=null){ $result = ""; if(is_array($var)){ -- cgit