commit 5b68cb788fd2092d56f877af1c8d5848c4683b18
parent 3df4a01308a1b27e4a3f89d5b49e70a2a18eaabb
Author: dankert <devnull@localhost>
Date: Tue, 15 Feb 2011 21:42:20 +0100
Fix: Darstellung von tabellearischen Inhalten.
Diffstat:
12 files changed, 151 insertions(+), 114 deletions(-)
diff --git a/themes/default/templates/folder/show.tpl.src.php b/themes/default/templates/folder/show.tpl.src.php
@@ -1,12 +1,6 @@
page class:main
window
table
- if present:up_url
- row
- cell width:50% colspan:8
- link url:var:up_url target:cms_main
- image type:folder
- text raw:__.._____________
row class:headline
cell class:help
text key:GLOBAL_TYPE
@@ -15,13 +9,20 @@ page class:main
cell class:help
text key:GLOBAL_LASTCHANGE
- list list:object extract:true
+ if present:up_url
row class:data
+ cell url:var:up_url
+ image type:folder
+ text raw:..
cell
- link url:var:url target:cms_main title:var:desc class:var:class
- image type:var:icon
- text var:name
- text raw:_
+ text raw:
+
+ list list:object extract:true
+ row class:data
+ cell url:var:url title:var:desc class:var:class
+ image type:var:icon
+ text var:name
+ text raw:_
cell
date date:var:date
diff --git a/themes/default/templates/group/listing.tpl.src.php b/themes/default/templates/group/listing.tpl.src.php
@@ -1,12 +1,17 @@
page
- window icon:group name:GLOBAL_GROUPS width:70%
- list list:el extract:true
- row class:data
+ window
+ table
+ row class:headline
cell
- link url:var:url target:cms_main
+ text key:name
+
+ list list:el extract:true
+
+ row class:data
+ cell url:var:url
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
+ 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/rights.tpl.src.php b/themes/default/templates/group/rights.tpl.src.php
@@ -13,7 +13,7 @@ page
text text:GLOBAL_NOT_FOUND
if not:true empty:acls
table
- row
+ row class:headline
cell class:help
text text:GLOBAL_USER
cell class:help
@@ -39,7 +39,7 @@ page
set var:groupname
cell
image type:var:objecttype
- link action:index subaction:object id:var:objectid target:_top
+ link action:var:objecttype subaction: id:var:objectid
text var:objectname maxlength:20 title:message:select
cell
text var:languagename maxlength:20
diff --git a/themes/default/templates/language/listing.tpl.src.php b/themes/default/templates/language/listing.tpl.src.php
@@ -1,30 +1,35 @@
page
window icon:language
- list list:el extract:true
- row class:data
+ table
+ row class:headline
cell
- if present:url
- link url:var:url target:cms_main
- image file:icon_language
- text var:name maxlength:25
- else
- text var:name maxlength:25
-
+ text key:name
cell
- text var:isocode
-
+ text raw:
cell
- if present:default_url
- link url:var:default_url target:cms_main_main
- text text:GLOBAL_make_default
- else
- text text:GLOBAL_is_default
+ text raw:
cell
- if present:select_url
- link url:var:select_url target:config:interface/frames/top
+ text raw:
+ list list:el extract:true
+
+ row class:data
+ cell url:var:url
+ image file:icon_language
+ text var:name maxlength:25
+
+ cell
+ text var:isocode
+
+ cell url:var:default_url
+ if present:default_url
+ text text:GLOBAL_make_default
+ else
+ text text:GLOBAL_is_default
+ cell url:var:select_url
+ if present:select_url
text text:GLOBAL_select
- else
- text text:GLOBAL_selected
- set var:select_url
- set var:default_url
- -
\ No newline at end of file
+ else
+ text text:GLOBAL_selected
+ set var:select_url
+ set var:default_url
+ +
\ No newline at end of file
diff --git a/themes/default/templates/model/listing.tpl.src.php b/themes/default/templates/model/listing.tpl.src.php
@@ -1,25 +1,28 @@
page
window icon:group name:GLOBAL_MODELS widths:50%,25%,25%
- list list:el extract:true
- row class:data
+ table
+ row class:headline
cell
- if present:url
- link url:var:url target:cms_main
+ text key:name
+ cell
+ text raw:
+ cell
+ text raw:
+ list list:el extract:true
+ row class:data
+ cell url:var:url
+ link target:cms_main
image file:icon_model
text var:name maxlength:25
- else
- text var:name maxlength:25
- cell
- if present:default_url
- link url:var:default_url target:cms_main_main
+ cell url:var:default_url
+ if present:default_url
text text:GLOBAL_make_default
- else
- text text:GLOBAL_is_default
- cell
- if present:select_url
- link url:var:select_url target:config:interface/frames/top
+ else
+ text text:GLOBAL_is_default
+ cell url:var:select_url
+ if present:select_url
text text:GLOBAL_select
- else
- text text:GLOBAL_selected
- set var:select_url
- set var:default_url
+ else
+ text text:GLOBAL_selected
+ set var:select_url
+ set var:default_url
diff --git a/themes/default/templates/pageelement/archive.tpl.src.php b/themes/default/templates/pageelement/archive.tpl.src.php
@@ -3,7 +3,7 @@ page
window
fieldset
table widths:5%,5%,5%,15%,15%,35%,10%,10%
- row
+ row class:headline
cell class:help
text text:GLOBAL_NR
cell class:help colspan:2
diff --git a/themes/default/templates/project/listing.tpl.src.php b/themes/default/templates/project/listing.tpl.src.php
@@ -1,11 +1,16 @@
page
window icon:project name:GLOBAL_PROJECTS width:70%
- list list:el extract:true
- row class:data
+ table
+ row class:headline
cell
- link url:var:url target:cms_main
+ text key:name
+ cell
+ text key:GLOBAL_SELECT
+
+ list list:el extract:true
+ row class:data
+ cell url:var:url
image file:icon_project
text value:var:name maxlength:30
- cell
- link url:var:use_url target:config:interface/frames/top
+ cell url:var:use_url
text key:GLOBAL_SELECT
diff --git a/themes/default/templates/template/el.tpl.src.php b/themes/default/templates/template/el.tpl.src.php
@@ -1,19 +1,24 @@
page
- window name:TEMPLATE_ELEMENTS
- list list:el extract:true
- row class:data
+ window
+ table
+ row class:headline
cell
- link url:var:url title:var:desc
+ text key:name
+ cell
+ text key:type
+ list list:el extract:true
+ row class:data
+ cell url:var:url
image elementtype:var:type
text var:name
- cell
- text key:var:type prefix:EL_
-
- row
- cell
- link class:action action:template subaction:addel
- text key:menu_template_addel
- if empty:el
+ cell
+ text key:var:type prefix:EL_
+
row
- cell colspan:2
- text key:GLOBAL_NOT_FOUND-
\ No newline at end of file
+ cell class:data
+ link class:action action:template subaction:addel
+ text key:menu_template_addel
+ if empty:el
+ row
+ cell colspan:2
+ text key:GLOBAL_NOT_FOUND+
\ No newline at end of file
diff --git a/themes/default/templates/template/listing.tpl.src.php b/themes/default/templates/template/listing.tpl.src.php
@@ -1,19 +1,18 @@
page
window name:GLOBAL_TEMPLATES
- list list:templates extract:true
- row class:data
+ table
+ row class:headline
cell
- link url:var:url target:cms_main
+ text key:name
+ list list:templates extract:true
+ row class:data
+ cell url:var:url
text var:name
if empty:templates
- row
- cell class:help
- text text:GLOBAL_NO_TEMPLATES_AVAILABLE_DESC
+ text text:GLOBAL_NO_TEMPLATES_AVAILABLE_DESC
- row
- cell
- link class:action action:template subaction:add
- text key:menu_template_add
+ link class:action action:template subaction:add
+ text key:menu_template_add
diff --git a/themes/default/templates/template/pages.tpl.src.php b/themes/default/templates/template/pages.tpl.src.php
@@ -1,8 +1,13 @@
page
window icon:template name:pages
- list list:pages value:name key:pageid
- row
+ table
+ row class:headline
cell
- image icon:page
- link action:main subaction:page id:var:pageid target:cms_main
- text var:name
+ text key:name
+
+ list list:pages value:name key:pageid
+ row class:data
+ cell
+ image icon:page
+ link action:main subaction:page id:var:pageid target:cms_main
+ text var:name
diff --git a/themes/default/templates/user/listing.tpl.src.php b/themes/default/templates/user/listing.tpl.src.php
@@ -1,18 +1,27 @@
page
window icon:user name:GLOBAL_USERS width:70%
- list list:el extract:true
- row class:data
+ table
+ row class:headline
cell
- link url:var:url target:cms_main title:desc
- image type:user
- text var:name
+ image type:user
+ text key:name
cell
- text value:var:fullname
- if true:var:isAdmin
- text raw:_(
- text key:USER_ADMIN
- text raw:)
+ text raw:
cell
- link target:_top action:index subaction:switchuser id:var:userid
- text key:LOGIN
+ text key:LOGIN
+
+ list list:el extract:true
+ row class:data
+ cell url:var:url
+ image type:user
+ text var:name
+ cell url:var:url
+ text value:var:fullname
+ if true:var:isAdmin
+ text raw:_(
+ text key:USER_ADMIN
+ text raw:)
+ cell
+ link target:_top action:index subaction:switchuser id:var:userid
+ text key:LOGIN
\ No newline at end of file
diff --git a/themes/default/templates/user/rights.tpl.src.php b/themes/default/templates/user/rights.tpl.src.php
@@ -13,7 +13,7 @@ page
if not:true empty:acls
table
- row
+ row class:headline
cell class:help
text text:GLOBAL_USER
cell class:help
@@ -42,7 +42,7 @@ page
set var:groupname
cell
image type:var:objecttype
- link action:index subaction:object id:var:objectid target:_top
+ link action:var:objecttype subaction: id:var:objectid
text var:objectname maxlength:20 title:message:select
cell
text var:languagename maxlength:20