commit a1bae8bf4f3c018fe3bb32cb99e0f57ea122a8bd
parent feddca5cbadaacc37de335f22a22ca1312049e46
Author: dankert <devnull@localhost>
Date: Wed, 11 Jan 2006 23:26:18 +0100
Vorlagen f?r neue Template-Engine
Diffstat:
2 files changed, 93 insertions(+), 0 deletions(-)
diff --git a/themes/default/templates/page/element.tpl.src.php b/themes/default/templates/page/element.tpl.src.php
@@ -0,0 +1,37 @@
+insert file:header
+
+window name:x title:TEMPLATE_ELEMENTS widths:30%,50%,20%
+ if empty:el invert:true
+ row
+ cell class:help
+ text text:PAGE_ELEMENT_NAME
+ cell class:help
+ text text:PAGE_ELEMENT_VALUE
+ cell class:help
+ text text:GLOBAL_ARCHIVE
+ if empty:el
+ row
+ cell
+ text text:GLOBAL_NOT_FOUND
+ list list:el extract:true
+ row
+ cell class:fx
+ link url:url title:desc
+ image type:type align:left
+ text var:name
+ cell class:fx
+ text var:value
+ text raw:_
+ cell class:fx
+ link url:archive_url
+ text text:GLOBAL_ARCHIVE
+ text raw:_(
+ text var:archive_count
+ text raw:)
+ row
+ cell class:help colspan:3
+ text text:PAGE_ELEMENTS_DESC
+ row
+ cell colspan:3
+ text raw:_
+insert file:footer+
\ No newline at end of file
diff --git a/themes/default/templates/page/form.tpl.src.php b/themes/default/templates/page/form.tpl.src.php
@@ -0,0 +1,54 @@
+insert file:header
+ form action:page subaction:saveform
+ window title:TEMPLATE_ELEMENTS name:TEMPLATE_ELEMENTS widths:30%,5%,65%
+
+ if empty:el
+ row
+ cell colspan:4 class:fx
+ text text:GLOBAL_NOT_FOUND
+ if empty:el invert:true
+ row
+ cell class:help
+ text text:PAGE_ELEMENT_NAME
+ cell class:help
+ text text:GLOBAL_CHANGE
+ cell class:help
+ text text:GLOBAL_VALUE
+
+ list list:el extract:true
+ row
+ cell class:fx
+ image type:type
+ text var:name
+ cell class:fx
+ checkbox name:id prefix:saveid default:false readonly:false
+ cell class:fx
+ if var:type contains:text,date,number
+ input index:true type:text name:id prefix:id value:value size:40 maxlength:255 onchange:onchange
+ if var:type value:longtext
+ inputarea index:true name:id prefix:id rows:7 cols:50 onchange:onchange value:value
+ if var:type contains:select,link,list
+ selectbox name:id list:list default:value
+
+ if true:release
+ row
+ cell class:fx
+ text raw:_
+ cell class:fx colspan:2
+ checkbox name:release default:true
+ text raw:_
+ text text:GLOBAL_RELEASE
+ if true:publish
+ row
+ cell class:fx
+ text raw:_
+ cell class:fx colspan:2
+ checkbox name:publish default:false
+ text raw:_
+ text text:PAGE_PUBLISH_AFTER_SAVE
+
+ row
+ cell class:act colspan:4
+ button type:ok
+
+insert file:footer+
\ No newline at end of file