diff options
Diffstat (limited to 'frontends/php/include/html.inc.php')
| -rw-r--r-- | frontends/php/include/html.inc.php | 19 |
1 files changed, 7 insertions, 12 deletions
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)){ |
