openrat-cms

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

commit 5a4c7ea406d3642bf1fed5660c8c12b24f3696df
parent afcf3b088454e369610fc8e84f05e9fb012f4054
Author: dankert <devnull@localhost>
Date:   Sat, 22 Jan 2011 00:42:49 +0100

Umstellung der Eingabemasken auf tabellenloses Layout...

Diffstat:
themes/default/templates/folder/prop.tpl.src.php | 85++++++++++++++++++++++++++++++++++++++-----------------------------------------
themes/default/templates/folder/pub.tpl.src.php | 57++++++++++++++++++++++++++-------------------------------
themes/default/templates/page/prop.tpl.src.php | 118++++++++++++++++++++++++++++++++++++-------------------------------------------
themes/default/templates/pageelement/archive.tpl.src.php | 111++++++++++++++++++++++++++++++++++++++++---------------------------------------
themes/default/templates/pageelement/diff.tpl.src.php | 78+++++++++++++++++++++++++++++++++++++++---------------------------------------
5 files changed, 216 insertions(+), 233 deletions(-)

diff --git a/themes/default/templates/folder/prop.tpl.src.php b/themes/default/templates/folder/prop.tpl.src.php @@ -1,53 +1,50 @@ page form - window name:objectName title:global_prop icon:folder widths:35%,65% width:70% - row - cell - text text:global_name - cell class:name + window + fieldset title:message:GLOBAL_PROP + part + label for:name + text text:global_name input name:name size:50 class:name - row - cell - text text:global_filename - cell class:filename + + part + label for:filename + text text:global_filename input name:filename class:filename - row - cell - text text:global_description - cell + + part + label for:description + text text:global_description inputarea name:description class:description - row - cell colspan:2 - fieldset title:message:additional_info - if false:mode:edit - label for:full_filename - text key:FULL_FILENAME - text var:full_filename - newline - label for:objectid - text key:id - text var:objectid - row - cell colspan:3 - fieldset title:message:PROP_USERINFO - part class:label - text text:global_created - image icon:el_date - date date:var:create_date - image icon:user - user user:var:create_user - - newline - part class:label - image icon:el_date - date date:var:lastchange_date - image icon:user - user user:var:lastchange_user - + fieldset title:message:additional_info + if false:mode:edit + label for:full_filename + text key:FULL_FILENAME + text var:full_filename + newline + label for:objectid + text key:id + text var:objectid + + fieldset title:message:PROP_USERINFO + part + label for:create_user + text text:global_created + image icon:el_date + date date:var:create_date + image icon:user + user user:var:create_user + + part + label for:lastchange_user + 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 - button type:ok + + button type:ok focus field:name \ No newline at end of file diff --git a/themes/default/templates/folder/pub.tpl.src.php b/themes/default/templates/folder/pub.tpl.src.php @@ -1,42 +1,37 @@ page form window - row - cell - if present:pages - if present:subdirs - checkbox name:pages - label for:pages - text raw:_ - text text:global_pages - newline - if present:files - if true:subdirs - checkbox name:files - label for:files - text raw:_ - text text:global_files - newline - row - cell - fieldset title:message:options - row - cell - if present:subdirs + if present:pages + if present:subdirs + checkbox name:pages + label for:pages + text raw:_ + text text:global_pages + newline + if present:files + if true:subdirs + checkbox name:files + label for:files + text raw:_ + text text:global_files + newline + + fieldset title:message:options + if present:subdirs + part checkbox name:subdirs label for:subdirs text raw:_ text text:GLOBAL_PUBLISH_WITH_SUBDIRS - newline - if present:clean + if present:clean + part checkbox name:clean label for:clean text raw:_ text text:global_CLEAN_AFTER_PUBLISH newline - row - cell class:help - text text:GLOBAL_MUCH_TIME - row - cell class:act - button type:ok- \ No newline at end of file + + text text:GLOBAL_MUCH_TIME class:help + newline + + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/page/prop.tpl.src.php b/themes/default/templates/page/prop.tpl.src.php @@ -1,83 +1,73 @@ page form - window icon:folder widths:40%,60% + window row - cell - text text:global_name + cell + label for:name + text text:global_name cell class:name input name:name size:50 class:name row - cell - text text:global_filename + cell + label for:filename + text text:global_filename cell class:filename input name:filename class:filename row - cell - text text:global_description + cell + label for:description + text text:global_description cell inputarea name:description class:description row cell colspan:2 fieldset title:message:additional_info - row - cell - text text:global_full_filename - cell class:filename - text var:full_filename - row - cell - text text:global_template - cell - if present:template_url - link url:var:template_url target:cms_main - image icon:template - text var:template_name - if empty:template_url - image file:icon_template - text var:template_name - newline - if false:mode:edit - link class:action action:page subaction:changetemplate - image icon:template - text key:menu_page_changetemplate - row - cell - text key:FILE_MIMETYPE - cell class:filename - text var:mime_type - row - cell - text key:id - cell - text var:objectid - row - cell colspan:2 + part + label for:full_filename + text text:global_full_filename + text var:full_filename class:filename + + part + label for:template_name + text text:global_template + if present:template_url + link url:var:template_url target:cms_main + image icon:template + text var:template_name + if empty:template_url + image file:icon_template + text var:template_name + newline + if false:mode:edit + link class:action action:page subaction:changetemplate + image icon:template + text key:menu_page_changetemplate + part + label for:mime_type + text key:FILE_MIMETYPE + text var:mime_type class:filename + + 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:create_date + text text:global_created + image icon:el_date + date date:var:create_date + image icon:user + user user:var:create_user + part + label for:lastchange_date + 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 button type:ok diff --git a/themes/default/templates/pageelement/archive.tpl.src.php b/themes/default/templates/pageelement/archive.tpl.src.php @@ -1,62 +1,63 @@ page form - window widths:5%,5%,5%,15%,15%,35%,10%,10% - row - cell class:help - text text:GLOBAL_NR - cell class:help colspan:2 - if present:compareid - text text:GLOBAL_COMPARE - cell class:help - text text:DATE - cell class:help - text text:GLOBAL_USER - cell class:help - text text:GLOBAL_VALUE - cell class:help - text text:GLOBAL_STATE - cell class:help - text text:GLOBAL_ACTION - - if empty:el + window + table widths:5%,5%,5%,15%,15%,35%,10%,10% row - cell colspan:8 - text text:GLOBAL_NOT_FOUND - - list list:el extract:true - row class:data - cell - text var:lfd_nr - cell + cell class:help + text text:GLOBAL_NR + cell class:help colspan:2 if present:compareid - radio name:compareid value:var:id - cell - if present:compareid - radio name:withid value:var:id - cell - date date:var:date - cell - text var:user - cell - text var:value - cell - if true:var:public - text key:GLOBAL_PUBLIC type:strong - else - if present:releaseUrl - link url:var:releaseUrl title:message:GLOBAL_RELEASE_DESC - text key:GLOBAL_RELEASE type:strong - else - text key:GLOBAL_INACTIVE type:emphatic - - cell - if true:var:active - text key:GLOBAL_ACTIVE type:emphatic - else - if present:useUrl - link url:var:useUrl title:message:GLOBAL_USE_DESC - text key:GLOBAL_USE - + text text:GLOBAL_COMPARE + cell class:help + text text:DATE + cell class:help + text text:GLOBAL_USER + cell class:help + text text:GLOBAL_VALUE + cell class:help + text text:GLOBAL_STATE + cell class:help + text text:GLOBAL_ACTION + + if empty:el + row + cell colspan:8 + text text:GLOBAL_NOT_FOUND + + list list:el extract:true + row class:data + cell + text var:lfd_nr + cell + if present:compareid + radio name:compareid value:var:id + cell + if present:compareid + radio name:withid value:var:id + cell + date date:var:date + cell + text var:user + cell + text var:value + cell + if true:var:public + text key:GLOBAL_PUBLIC type:strong + else + if present:releaseUrl + link url:var:releaseUrl title:message:GLOBAL_RELEASE_DESC + text key:GLOBAL_RELEASE type:strong + else + text key:GLOBAL_INACTIVE type:emphatic + + cell + if true:var:active + text key:GLOBAL_ACTIVE type:emphatic + else + if present:useUrl + link url:var:useUrl title:message:GLOBAL_USE_DESC + text key:GLOBAL_USE + if present:compareid row cell colspan:8 class:act diff --git a/themes/default/templates/pageelement/diff.tpl.src.php b/themes/default/templates/pageelement/diff.tpl.src.php @@ -1,44 +1,44 @@ page form - window - row - cell - cell - text type:emphatic text:GLOBAL_COMPARE - text raw:_ - date date:var:date_left - cell - cell - // cell colspan:2 - text type:emphatic text:GLOBAL_WITH - text raw:_ - date date:var:date_right - row - cell colspan:4 - fieldset + window - list list:diff extract:true - row class:diff - if present:left - cell width:5% class:line - text value:arrayvar:left:line type:tt - cell width:45% class:arrayvar:left:type - text value:arrayvar:left:text - else - cell colspan:2 class:help width:50% + fieldset + table + row + cell + cell + text type:emphatic text:GLOBAL_COMPARE text raw:_ - if present:right - cell width:5% class:line - text value:arrayvar:right:line type:tt - cell width:45% class:arrayvar:right:type - text value:arrayvar:right:text - else - cell colspan:2 class:help width:50% - text raw:_ - - set var:left - set var:right - row - cell colspan:4 class:act - button text:BUTTON_BACK + date date:var:date_left + cell + cell + text type:emphatic text:GLOBAL_WITH + text raw:_ + date date:var:date_right + row + cell colspan:4 + + list list:diff extract:true + row class:diff + if present:left + cell width:5% class:line + text value:arrayvar:left:line type:tt + cell width:45% class:arrayvar:left:type + text value:arrayvar:left:text + else + cell colspan:2 class:help width:50% + text raw:_ + if present:right + cell width:5% class:line + text value:arrayvar:right:line type:tt + cell width:45% class:arrayvar:right:type + text value:arrayvar:right:text + else + cell colspan:2 class:help width:50% + text raw:_ + + set var:left + set var:right + + button text:BUTTON_BACK \ No newline at end of file