commit c70312571930f887cc5fc3082d3df25fc7d18d70
parent a9d1ea32dc887ea744dc4c71d801659648654d8d
Author: dankert <devnull@localhost>
Date: Thu, 29 Oct 2009 20:47:55 +0100
Bild hat nun ein Attribut \"notice\".
Diffstat:
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/themes/default/include/elements.ini.php b/themes/default/include/elements.ini.php
@@ -18,7 +18,7 @@ hidden = name:*,default
editor = name:*,type:*
else =
if = equals,value,not,empty,present,contains,greaterthan,lessthan,true,false
-image = config,file,url,icon,align:left,type,elementtype,fileext,tree
+image = config,file,url,icon,align:left,type,elementtype,fileext,tree,notice
input = class:text,default:,type:text,index,name:*,prefix,value,size:40,maxlength:256,onchange:,readonly:false
inputarea= name,rows:10,cols:40,value,index,onchange,prefix,class:inputarea,default:
insert = file,script,inline:false
diff --git a/themes/default/include/html/image.inc.php b/themes/default/include/html/image.inc.php
@@ -15,6 +15,11 @@
$attr_size = '16x16';
/* #END-IF# */
+/* #IF-ATTR notice# */
+ $attr_tmp_image_file = $image_dir.'notice_'.$attr_notice.IMG_ICON_EXT;
+ $attr_size = '16x16';
+/* #END-IF# */
+
/* #IF-ATTR tree# */
$attr_tmp_image_file = $image_dir.'tree_'.$attr_tree.IMG_EXT;
$attr_size = '18x18';
diff --git a/themes/default/templates/profile/groups.tpl.src.php b/themes/default/templates/profile/groups.tpl.src.php
@@ -1,5 +1,13 @@
page
window icon:user name:user_groups
+ if empty:groups
+ row
+ cell class:help
+ newline
+ image notice:warning
+ text key:NOT_FOUND
+ newline
+ newline
list list:groups value:group
row
cell