commit 2fee12690c12088aeef1decb48987677ab9eaed0
parent c17b972f709bb402b25d426d27093b4bf7a4112a
Author: dankert <devnull@localhost>
Date: Fri, 21 Jan 2011 23:05:16 +0100
Umstellung der Eingabemasken auf tabellenloses Layout...
Diffstat:
4 files changed, 144 insertions(+), 161 deletions(-)
diff --git a/themes/default/templates/group/rights.tpl.src.php b/themes/default/templates/group/rights.tpl.src.php
@@ -1,49 +1,50 @@
page
- window title:ACL name:x
+ window
list list:projects extract:true
row
- cell colspan:14
+ cell
fieldset title:var:projectname
- if empty:acls
- row
- cell
- text text:GLOBAL_NOT_FOUND
- if not:true empty:acls
- row
- cell class:help
- text text:GLOBAL_USER
- cell class:help
- text text:GLOBAL_NAME
- cell class:help
- text text:GLOBAL_LANGUAGE
-
- list list:show value:t
- cell class:help
- text key:var:t prefix:acl_ suffix:_abbrev title:message:acl_{t}
-
- list list:rights key:aclid value:acl extract:true
- row class:data
- cell
- if present:groupname
- image type:group
- text var:groupname maxlength:20
- if not:true present:username
- if not:true present:groupname
- image type:group
- text key:global_all
- set var:username
- set var:groupname
- cell
- image type:var:objecttype
- link action:index subaction:object id:var:objectid target:_top
- text var:objectname maxlength:20 title:message:select
- cell
- text var:languagename maxlength:20
+ if empty:acls
+ row
+ cell
+ text text:GLOBAL_NOT_FOUND
+ if not:true empty:acls
+ table
+ row
+ cell class:help
+ text text:GLOBAL_USER
+ cell class:help
+ text text:GLOBAL_NAME
+ cell class:help
+ text text:GLOBAL_LANGUAGE
+
+ list list:show value:t
+ cell class:help
+ text key:var:t prefix:acl_ suffix:_abbrev title:message:acl_{t}
- list list:show
- cell
- set var:var:list_value value:var:bits key:var:list_value
- checkbox name:var:list_value readonly:true
+ list list:rights key:aclid value:acl extract:true
+ row class:data
+ cell
+ if present:groupname
+ image type:group
+ text var:groupname maxlength:20
+ if not:true present:username
+ if not:true present:groupname
+ image type:group
+ text key:global_all
+ set var:username
+ set var:groupname
+ cell
+ image type:var:objecttype
+ link action:index subaction:object id:var:objectid target:_top
+ text var:objectname maxlength:20 title:message:select
+ cell
+ text var:languagename maxlength:20
+
+ list list:show
+ cell
+ set var:var:list_value value:var:bits key:var:list_value
+ checkbox name:var:list_value readonly:true
diff --git a/themes/default/templates/user/edit.tpl.src.php b/themes/default/templates/user/edit.tpl.src.php
@@ -10,55 +10,43 @@ page
row
cell colspan:2
fieldset title:message:NAME
- row
- cell
- text text:user_username
- cell
- input name:name size:20 class:name
- row
- cell colspan:2
+ part
+ label for:name
+ text text:user_username
+ input name:name size:20 class:name
+
fieldset title:message:ADDITIONAL_INFO
- row
- cell
- text text:user_fullname
- cell
- input name:fullname
- if true:config:security/user/show_admin_mail
- row
- cell
- text text:user_mail
- cell
- input name:mail
- row
- cell
- text text:user_desc
- cell
- input name:desc
- row
- cell
- text text:user_tel
- cell
- input name:tel
- row
- cell colspan:2
+ part
+ label for:fullname
+ text text:user_fullname
+ input name:fullname
+ if true:config:security/user/show_admin_mail
+ part
+ label for:mail
+ text text:user_mail
+ input name:mail
+ part
+ label for:desc
+ text text:user_desc
+ input name:desc
+ part
+ label for:tel
+ text text:user_tel
+ input name:tel
+
fieldset title:message:options
- row
-// cell colspan:2
- cell
- cell
- checkbox name:is_admin
- label for:is_admin
- text text:user_admin
- row
- cell
- text text:user_ldapdn
- cell
- input name:ldap_dn size:50
- row
- cell
- text text:user_style
- cell
- selectbox list:allstyles name:style default:config:interface/style/default
+ part
+ checkbox name:is_admin
+ label for:is_admin
+ text text:user_admin
+ part
+ label for:ldap_dn
+ text text:user_ldapdn
+ input name:ldap_dn size:50
+ part
+ label for:style
+ text text:user_style
+ selectbox list:allstyles name:style default:config:interface/style/default
row
cell colspan:2 class:act
button type:ok
diff --git a/themes/default/templates/user/pw.tpl.src.php b/themes/default/templates/user/pw.tpl.src.php
@@ -5,39 +5,32 @@ page
cell
text text:user_username
cell
- text var:name
+ text var:name class:name
row
cell colspan:2
fieldset title:message:USER_new_password
- row
- cell
- text text:USER_new_password
- cell
- password name:password1
- row
- cell
- text text:USER_new_password_repeat
- cell
- password name:password2
- row
- cell colspan:2
+ part
+ label for:password1
+ text text:USER_new_password
+ password name:password1
+ part
+ label for:password2
+ text text:USER_new_password_repeat
+ password name:password2
fieldset title:message:options
- if present:mail
- row
- cell colspan:2
- checkbox name:email
- label for:email
- text text:user_mail_new_password
- row
- cell colspan:2
- checkbox name:random
- label for:random
- text text:user_random_password
- row
- cell colspan:2
- checkbox name:timeout
- label for:timeout
- text text:user_password_timeout
+ if present:mail
+ part
+ checkbox name:email
+ label for:email
+ text text:user_mail_new_password
+ part
+ checkbox name:random
+ label for:random
+ text text:user_random_password
+ part
+ checkbox name:timeout
+ label for:timeout
+ text text:user_password_timeout
row
cell colspan:2 class:act
diff --git a/themes/default/templates/user/rights.tpl.src.php b/themes/default/templates/user/rights.tpl.src.php
@@ -1,52 +1,53 @@
page
- window title:ACL name:x
+ window
list list:projects extract:true
row
- cell colspan:14
+ cell colspan:2
fieldset title:var:projectname
- if empty:acls
- row
- cell
- text text:GLOBAL_NOT_FOUND
- if not:true empty:acls
- row
- cell class:help
- text text:GLOBAL_USER
- cell class:help
- text text:GLOBAL_NAME
- cell class:help
- text text:GLOBAL_LANGUAGE
+ if empty:acls
+ part
+ text text:GLOBAL_NOT_FOUND
+
+ if not:true empty:acls
+ table
+ row
+ cell class:help
+ text text:GLOBAL_USER
+ cell class:help
+ text text:GLOBAL_NAME
+ cell class:help
+ text text:GLOBAL_LANGUAGE
+
+ list list:show value:t
+ cell class:help
+ text key:var:t prefix:acl_ suffix:_abbrev title:message:acl_{t}
+
+ list list:rights key:aclid value:acl extract:true
+ row class:data
+ cell
+ if present:username
+ image type:user
+ text var:username maxlength:20
+ if present:groupname
+ image type:group
+ text var:groupname maxlength:20
+ if not:true present:username
+ if not:true present:groupname
+ image type:group
+ text key:global_all
+ set var:username
+ set var:groupname
+ cell
+ image type:var:objecttype
+ link action:index subaction:object id:var:objectid target:_top
+ text var:objectname maxlength:20 title:message:select
+ cell
+ text var:languagename maxlength:20
- list list:show value:t
- cell class:help
- text key:var:t prefix:acl_ suffix:_abbrev title:message:acl_{t}
-
- list list:rights key:aclid value:acl extract:true
- row class:data
- cell
- if present:username
- image type:user
- text var:username maxlength:20
- if present:groupname
- image type:group
- text var:groupname maxlength:20
- if not:true present:username
- if not:true present:groupname
- image type:group
- text key:global_all
- set var:username
- set var:groupname
- cell
- image type:var:objecttype
- link action:index subaction:object id:var:objectid target:_top
- text var:objectname maxlength:20 title:message:select
- cell
- text var:languagename maxlength:20
-
- list list:show
- cell
- set var:var:list_value value:var:bits key:var:list_value
- checkbox name:var:list_value readonly:true
+ list list:show
+ cell
+ set var:var:list_value value:var:bits key:var:list_value
+ checkbox name:var:list_value readonly:true