openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f7f69ae9986d046b38db8998c032ce70bcb87271
parent 83601c79618e2cbf60fe19619a57d2e9a30d515c
Author: dankert <devnull@localhost>
Date:   Mon,  5 Mar 2007 23:40:26 +0100

Auswertung "prefix" und "suffix" vorgezogen.

Diffstat:
themes/default/include/html/text.inc.php | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/themes/default/include/html/text.inc.php b/themes/default/include/html/text.inc.php @@ -1,17 +1,18 @@ <?php + if ( isset($attr_prefix)&& isset($attr_key)) + $attr_key = $attr_prefix.$attr_key; + if ( isset($attr_suffix)&& isset($attr_key)) + $attr_key = $attr_key.$attr_suffix; + if(empty($attr_title)) if (!empty($attr_key)) - $attr_title = lang($attr_key).'_HELP'; + $attr_title = lang($attr_key.'_HELP'); else $attr_title = ''; ?><span class="<?php echo $attr_class ?>" title="<?php echo $attr_title ?>"><?php $attr_title = ''; - if ( isset($attr_prefix)&& isset($attr_key)) - $attr_key = $attr_prefix.$attr_key; - if ( isset($attr_suffix)&& isset($attr_key)) - $attr_key = $attr_key.$attr_suffix; - + if (!empty($attr_array)) { //geht nicht: