openrat-cms

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

commit c2ed6bb746b3a4e29d4c59a7586de309987e8d35
parent 9763ad41b2c3a071eab6423da9b85f07c6b59492
Author: dankert <devnull@localhost>
Date:   Wed, 19 Jul 2006 22:26:04 +0200

In Element "text" Attribut "textvar" erg?nzt.

Diffstat:
themes/default/include/elements.ini.php | 2+-
themes/default/include/html/text.inc.php | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/themes/default/include/elements.ini.php b/themes/default/include/elements.ini.php @@ -31,7 +31,7 @@ selectbox=list:*,name:*,default,onchange,title,class listbox =list:*,name:*,default,onchange,title,class set = var:*,value:* table = class,width:100%,space:0px,padding:0px,widths -text = title,class,var,text,raw,maxlength +text = title,class,var,text,textvar,raw,maxlength upload = name:*,class:upload user = user window = title,name,icon,widths,width:85% \ No newline at end of file diff --git a/themes/default/include/html/text.inc.php b/themes/default/include/html/text.inc.php @@ -13,6 +13,8 @@ } elseif (!empty($attr_text)) $tmp_text = lang($attr_text); + elseif (!empty($attr_textvar)) + $tmp_text = lang($$attr_textvar); elseif (!empty($attr_var)) $tmp_text = isset($$attr_var)?htmlentities($$attr_var):'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw))