diff options
Diffstat (limited to 'frontends/php/include/html.inc.php')
-rw-r--r-- | frontends/php/include/html.inc.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php index 277668b7..61ec6dca 100644 --- a/frontends/php/include/html.inc.php +++ b/frontends/php/include/html.inc.php @@ -23,13 +23,6 @@ define("SPACE"," "); define("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)){ @@ -45,7 +38,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,$max=strlen($str); $i<$max; $i++) $res .= $str[$i]; $str = $res; return $str; } |