openrat-cms

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

commit 9bed95bcb89e4cde5341e0cacea0100ff98ebe47
parent 5f85f64731a9460b2663f82a3e43b06f5d5063b4
Author: dankert <devnull@localhost>
Date:   Thu,  1 Jun 2006 20:22:37 +0200

Implementiert: "kopieren, verschieben, l?schen"

Diffstat:
themes/default/templates/folder/edit.tpl.src.php | 40++++++++++++++++++++++++++++++++++++++++
themes/default/templates/folder/select.tpl.src.php | 36+++++++++++-------------------------
themes/default/templates/folder/show.tpl.src.php | 2+-
3 files changed, 52 insertions(+), 26 deletions(-)

diff --git a/themes/default/templates/folder/edit.tpl.src.php b/themes/default/templates/folder/edit.tpl.src.php @@ -0,0 +1,40 @@ +page + form action:folder subaction:multiple + hidden name:ids + hidden name:type + + window name:bla title:titelso widths:5%,75% + row + cell class:help + text raw:_ + cell class:help + text text:GLOBAL_NAME + + list list:objectlist extract:true + row + cell class:fx + image type:icon + text var:name + text raw:_ + + if present:folder + row + cell class:fx + selectbox name:targetobjectid list:folder + + if present:ask_filename + row + cell class:fx + input name:filename + + if present:ask_commit + row + cell class:fx + checkbox name:commit + + row + cell class:act colspan:2 + button type:ok + + dummy + diff --git a/themes/default/templates/folder/select.tpl.src.php b/themes/default/templates/folder/select.tpl.src.php @@ -1,5 +1,5 @@ page - form action:folder subaction:multiple + form action:folder subaction:edit window name:bla title:titelso widths:5%,75% row cell class:help @@ -13,7 +13,7 @@ page row cell class:fx if true:writable - checkbox prefix:obj name:id + checkbox name:id if false:writable text raw:_ @@ -31,26 +31,12 @@ RAW END row cell class:fx colspan:2 - radio name:type value:move - text raw:_ - text text:GLOBAL_MOVE - newline - radio name:type value:copy - text raw:_ - text text:GLOBAL_COPY - newline - radio name:type value:link - text raw:_ - text text:GLOBAL_LINK - newline - radio name:type value:archive - text raw:_ - text text:GLOBAL_ARCHIVE - newline - radio name:type value:delete - text raw:_ - text text:GLOBAL_DELETE - newline + + list list:actionlist extract:true + radio name:type value:type + text raw:_ + text var:type + newline row cell class:act colspan:2 button type:ok @@ -67,19 +53,19 @@ RAW <!-- function mark() { -<?php foreach( $object as $id=>$z ) { ?> +<?php foreach( array_keys($object) as $id ) { ?> document.forms[0].obj<?php echo $id ?>.checked=true; <?php } ?> } function unmark() { -<?php foreach( $object as $id=>$z ) { ?> +<?php foreach( array_keys($object) as $id ) { ?> document.forms[0].obj<?php echo $id ?>.checked=false; <?php } ?> } function flip() { -<?php foreach( $object as $id=>$z ) { ?> +<?php foreach( array_keys($object) as $id ) { ?> if (document.forms[0].obj<?php echo $id ?>.checked==false) document.forms[0].obj<?php echo $id ?>.checked=true; else document.forms[0].obj<?php echo $id ?>.checked=false; diff --git a/themes/default/templates/folder/show.tpl.src.php b/themes/default/templates/folder/show.tpl.src.php @@ -1,4 +1,4 @@ -page +page class:main window widths:75%,25% row cell colspan:7 class:help