diff options
Diffstat (limited to 'frontends/php/include/html.inc.php')
| -rw-r--r-- | frontends/php/include/html.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php index b2c729d2..8d7f6e41 100644 --- a/frontends/php/include/html.inc.php +++ b/frontends/php/include/html.inc.php @@ -19,6 +19,22 @@ **/ ?> <?php + define("BR","<br/>\n"); + define("SPACE"," "); + + function bold($str) + { + if(is_array($str)) + { + foreach($str as $key => $val) + if(is_string($val)) + $str[$key] = "<b>$val</b>"; + return $str; + } + if(is_string($str)) + return "<b>$str</b>"; + } + function nbsp($str) { return str_replace(" "," ",$str);; |
