openrat-cms

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

commit 3ffd688b6b94edc25fac68142adcad40ef8a3b9d
parent b0399f43d2efb08c6cdd15342115a5db801f7296
Author: dankert <devnull@localhost>
Date:   Thu, 11 Sep 2008 20:55:22 +0200

Aenderungen fuer Edit-Mode.

Diffstat:
themes/default/templates/page/prop.tpl.src.php | 75++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
themes/default/templates/pageelement/edit.tpl.src.php | 123++++++++++++++++++++++++++++++++++++++++---------------------------------------
2 files changed, 129 insertions(+), 69 deletions(-)

diff --git a/themes/default/templates/page/prop.tpl.src.php b/themes/default/templates/page/prop.tpl.src.php @@ -1,23 +1,80 @@ -page - - form - window icon:page widths:40%,60% +page + + form + window icon:folder widths:40%,60% row cell text text:global_name - cell + cell class:name input name:name size:50 class:name row cell text text:global_filename - cell + cell class:filename input name:filename class:filename row cell text text:global_description cell inputarea name:description class:description - row - cell colspan:2 class:act - button type:ok + 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 file:icon_template + text var:template_name + if empty:template_url + image file:icon_template + text var:template_name + 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 + 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 + row + cell colspan:2 class:act + button type:ok + focus field:name \ No newline at end of file diff --git a/themes/default/templates/pageelement/edit.tpl.src.php b/themes/default/templates/pageelement/edit.tpl.src.php @@ -30,48 +30,50 @@ page // editor type:wiki name:text inputarea class:longtext name:text rows:25 cols:70 - fieldset title:message:help - table - cell - text text:config:editor/text-markup/strong-begin - text text:message:text_markup_strong - text text:config:editor/text-markup/strong-end - newline - text text:config:editor/text-markup/emphatic-begin - text text:message:text_markup_emphatic - text text:config:editor/text-markup/emphatic-end - cell - text text:config:editor/text-markup/list-numbered - text text:message:text_markup_numbered_list - newline - text text:config:editor/text-markup/list-numbered - text text::... - newline - cell - text text:config:editor/text-markup/list-unnumbered - text text:message:text_markup_unnumbered_list - newline - text text:config:editor/text-markup/list-unnumbered - text text::... - newline - cell - text text:config:editor/text-markup/table-cell-sep - text text:message:text_markup_table - text text:config:editor/text-markup/table-cell-sep - text text::... - text text:config:editor/text-markup/table-cell-sep - text text::... - text text:config:editor/text-markup/table-cell-sep - newline - text text:config:editor/text-markup/table-cell-sep - text text::... - text text:config:editor/text-markup/table-cell-sep - text text::... - text text:config:editor/text-markup/table-cell-sep - text text::... - text text:config:editor/text-markup/table-cell-sep - newline - + + if true:mode:edit + fieldset title:message:help + table + cell + text text:config:editor/text-markup/strong-begin + text text:message:text_markup_strong + text text:config:editor/text-markup/strong-end + newline + text text:config:editor/text-markup/emphatic-begin + text text:message:text_markup_emphatic + text text:config:editor/text-markup/emphatic-end + cell + text text:config:editor/text-markup/list-numbered + text text:message:text_markup_numbered_list + newline + text text:config:editor/text-markup/list-numbered + text text::... + newline + cell + text text:config:editor/text-markup/list-unnumbered + text text:message:text_markup_unnumbered_list + newline + text text:config:editor/text-markup/list-unnumbered + text text::... + newline + cell + text text:config:editor/text-markup/table-cell-sep + text text:message:text_markup_table + text text:config:editor/text-markup/table-cell-sep + text text::... + text text:config:editor/text-markup/table-cell-sep + text text::... + text text:config:editor/text-markup/table-cell-sep + newline + text text:config:editor/text-markup/table-cell-sep + text text::... + text text:config:editor/text-markup/table-cell-sep + text text::... + text text:config:editor/text-markup/table-cell-sep + text text::... + text text:config:editor/text-markup/table-cell-sep + newline + if value:var:type equals:link @@ -99,26 +101,27 @@ page selectbox list:items name:text focus field:text - if present:release + if true:mode:edit + if present:release + if present:publish + row + cell colspan:2 + fieldset title:message:options + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + label for:release + text text:GLOBAL_RELEASE + if present:publish row - cell colspan:2 - fieldset title:message:options - - if present:release - row - cell colspan:2 class:fx - checkbox name:release - label for:release - text text:GLOBAL_RELEASE - - if present:publish - row - cell colspan:2 class:fx - checkbox name:publish - label for:publish - text text:PAGE_PUBLISH_AFTER_SAVE - + cell colspan:2 class:fx + checkbox name:publish + label for:publish + text text:PAGE_PUBLISH_AFTER_SAVE + row cell colspan:2 class:act button type:ok