summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/html.inc.php
diff options
context:
space:
mode:
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"," ");
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)){
@@ -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";