openrat-cms

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

commit 85ce34218edefb1f6c5cd3de5402791bf95857fd
parent 4a51eae509f71194bcec687494e2a57c80d3bf2f
Author: dankert <devnull@localhost>
Date:   Tue,  5 Oct 2010 00:31:25 +0200

Icon in Fieldsets anzeigen.

Diffstat:
themes/default/include/elements.ini.php | 2+-
themes/default/include/html/fieldset.inc.php | 4++--
themes/default/templates/index/showlogin.tpl.src.php | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/default/include/elements.ini.php b/themes/default/include/elements.ini.php @@ -9,6 +9,7 @@ char = type:* checkbox = default:false,readonly:false,name:* date = date dummy = +fieldset = title,icon focus = field:* form = action,subaction,id,name:,target:_self,method:post,enctype:application/x-www-form-urlencoded frame = file,name,scrolling @@ -23,7 +24,6 @@ input = class:text,default:,type:text,index,name:*,prefix,value,size:40,maxle inputarea= name,rows:10,cols:40,value,index,onchange,prefix,class:inputarea,default: insert = file,script,inline:false label = for:*,value -fieldset = title link = title:,config,target:_self,var,url,class:,action,subaction,id,var1,value1,var2,value2,var3,value3,var4,value4,var5,value5,accesskey,name,anchor list = list:*,extract:false,key:list_key,value:list_value logo = name:* diff --git a/themes/default/include/html/fieldset.inc.php b/themes/default/include/html/fieldset.inc.php @@ -1 +1 @@ -<fieldset><?php if(isset($attr_title)) { ?><legend><?php echo encodeHtml($attr_title) ?></legend><?php } ?>- \ No newline at end of file +<fieldset><?php if(isset($attr_title)) { ?><legend><?php if(isset($attr_icon)) { ?><image src="<?php echo $image_dir.'icon_'.$attr_icon.IMG_ICON_EXT ?>" align="left" border="0"><?php } ?><?php echo encodeHtml($attr_title) ?></legend><?php } ?>+ \ No newline at end of file diff --git a/themes/default/templates/index/showlogin.tpl.src.php b/themes/default/templates/index/showlogin.tpl.src.php @@ -82,7 +82,7 @@ page row row cell colspan:2 - fieldset title:message:DATABASE + fieldset title:message:DATABASE icon:database cell text key:DATABASE cell