commit 8efd49506ba38429625af7f6732501b0a15d7d90
parent 2fee12690c12088aeef1decb48987677ab9eaed0
Author: dankert <devnull@localhost>
Date: Sat, 22 Jan 2011 00:20:12 +0100
Umstellung der Eingabemasken auf tabellenloses Layout...
Diffstat:
6 files changed, 90 insertions(+), 118 deletions(-)
diff --git a/action/GroupAction.ini.php b/action/GroupAction.ini.php
@@ -40,4 +40,4 @@ users=users,adduser
edit=edit,remove
memberships=users
rights=rights
-menu=listing,add,users,adduser,edit,remove,users,rights-
\ No newline at end of file
+menu=listing,edit,users,remove,rights+
\ No newline at end of file
diff --git a/themes/default/templates/file/prop.tpl.src.php b/themes/default/templates/file/prop.tpl.src.php
@@ -39,86 +39,63 @@ page
text key:DELETE
row
cell colspan:2
- fieldset title:message:additional_info
- if false:mode:edit
- row
- cell
- text text:global_full_filename
- cell class:filename
- text var:full_filename
- row
- cell
- text text:FILE_SIZE
- cell
- text var:size
- row
- cell
- text text:FILE_mimetype
- cell class:filename
- text var:mimetype
-
- row
- cell
- cell
- link class:action action:file subaction:size
- text key:menu_file_size
- row
- cell
- text text:message:id
- cell
- text var:objectid
- row
- cell
- text text:CACHE_FILENAME
- cell class:filename
- if present:cache_filename
- text var:cache_filename
- if present:cache_filename
- row
- cell
- cell
- image icon:el_date
- date date:var:cache_filemtime
- row
- cell
- text text:FILE_PAGES
- cell
- table
- list list:pages extract:true
- row
- cell
- link url:var:url target:cms_main
- image type:page
- text var:name
- if empty:pages
- text text:GLOBAL_NOT_FOUND
- row
- cell colspan:2
+ if false:mode:edit
+ fieldset title:message:additional_info
+ part
+ label for:full_filename
+ text text:global_full_filename
+ text var:full_filename
+
+ part
+ label for:size
+ text text:FILE_SIZE
+ text var:size
+
+ part
+ label for:mimetype
+ text text:FILE_mimetype
+ text var:mimetype
+
+ link class:action action:file subaction:size
+ text key:menu_file_size
+
+ part
+ text text:message:id
+ text var:objectid
+
+ if present:cache_filename
+ part
+ text text:CACHE_FILENAME
+ text var:cache_filename
+ image icon:el_date
+ date date:var:cache_filemtime
+
+ part
+ label for:pages
+ text text:FILE_PAGES
+ table
+ list list:pages extract:true
+ row
+ cell
+ link url:var:url target:cms_main
+ image type:page
+ text var:name
+ if empty:pages
+ text text:GLOBAL_NOT_FOUND
fieldset title:message:prop_userinfo
- row
- cell
- text text:global_created
- cell
- table
- row
- cell
- image icon:el_date
- date date:var:create_date
- cell
- image icon:user
- user user:var:create_user
- row
- cell
- text text:global_lastchange
- cell
- table
- row
- cell
- image icon:el_date
- date date:var:lastchange_date
- cell
- image icon:user
- user user:var:lastchange_user
+ part
+ text text:global_created
+ image icon:el_date
+ date date:var:create_date
+ image icon:user
+ user user:var:create_user
+
+ part
+ text text:global_lastchange
+ image icon:el_date
+ date date:var:lastchange_date
+ image icon:user
+ user user:var:lastchange_user
diff --git a/themes/default/templates/group/edit.tpl.src.php b/themes/default/templates/group/edit.tpl.src.php
@@ -10,5 +10,9 @@ page
row
cell colspan:2 class:act
button type:ok
+
+ if false:mode:edit
+ link class:action action:group subaction:remove
+ text key:menu_group_remove
focus field:name
diff --git a/themes/default/templates/group/listing.tpl.src.php b/themes/default/templates/group/listing.tpl.src.php
@@ -6,3 +6,7 @@ page
link url:var:url target:cms_main
image file:icon_group
text var:name
+ row
+ cell
+ link class:action action:group subaction:add
+ text key:menu_group_add+
\ No newline at end of file
diff --git a/themes/default/templates/group/remove.tpl.src.php b/themes/default/templates/group/remove.tpl.src.php
@@ -10,15 +10,13 @@ page
row
cell colspan:2
fieldset title:message:options
- row
- cell colspan:2
- checkbox name:confirm
- label for:confirm
- text text:GLOBAL_DELETE
+ part
+ checkbox name:confirm
+ label for:confirm
+ text text:GLOBAL_DELETE
row
cell colspan:2 class:help
text text:GROUP_DELETE_DESC
-
row
cell colspan:2 class:act
button type:ok
diff --git a/themes/default/templates/link/prop.tpl.src.php b/themes/default/templates/link/prop.tpl.src.php
@@ -16,38 +16,26 @@ page
row
cell colspan:2
fieldset title:message:additional_info
- row
- cell
- text key:id
- cell
- text var:objectid
- row
- cell colspan:2
+ part
+ label for:objectid
+ text key:id
+ text var:objectid
+
fieldset title:message:prop_userinfo
- row
- cell
- text text:global_created
- cell
- table
- row
- cell
- image icon:el_date
- date date:var:create_date
- cell
- image icon:user
- user user:var:create_user
- row
- cell
- text text:global_lastchange
- cell
- table
- row
- cell
- image icon:el_date
- date date:var:lastchange_date
- cell
- image icon:user
- user user:var:lastchange_user
+ part
+ label for:
+ text text:global_created
+ image icon:el_date
+ date date:var:create_date
+ image icon:user
+ user user:var:create_user
+ part
+ label for:
+ text text:global_lastchange
+ image icon:el_date
+ date date:var:lastchange_date
+ image icon:user
+ user user:var:lastchange_user
row
cell colspan:2 class:act