openrat-cms

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

commit 10475070571dc02198b6daf2b2719fa8b2605bee
parent aafaf59b0bdc4d212b88e7673446f3086d78cac3
Author: dankert <devnull@localhost>
Date:   Mon,  4 Oct 2004 22:19:38 +0200

Action im Formular

Diffstat:
themes/default/pages/html/template/list.tpl.php | 73+++++++++++++++++++++++++++++++++++++------------------------------------
1 file changed, 37 insertions(+), 36 deletions(-)

diff --git a/themes/default/pages/html/template/list.tpl.php b/themes/default/pages/html/template/list.tpl.php @@ -1,37 +1,38 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="subaction" value="add"> - -<table class="main" width="50%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo lang('TEMPLATES') ?></th> -</tr> - -<?php $f1=true; - $fx=''; - foreach( $templates as $id=>$e ) - { - $fx = fx( $fx ); ?> -<tr> -<td class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><?php echo $e['name'] ?></a></td> -</tr> -<?php } ?> - -<tr> -<td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> - -</table> - -</form> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); -//--></script> -</center> +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<form action="<?php echo $self ?>" method="post" target="_self"> +<input type="hidden" name="action" value="template"> +<input type="hidden" name="subaction" value="add"> + +<table class="main" width="50%" cellspacing="0" cellpadding="4"> + +<tr> + <th colspan="2"><?php echo lang('TEMPLATES') ?></th> +</tr> + +<?php $f1=true; + $fx=''; + foreach( $templates as $id=>$e ) + { + $fx = fx( $fx ); ?> +<tr> +<td class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><?php echo $e['name'] ?></a></td> +</tr> +<?php } ?> + +<tr> +<td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> +</tr> + +</table> + +</form> + +<script name="JavaScript" type="text/javascript"><!-- +document.forms[0].name.focus(); +//--></script> +</center> <?php include( $tpl_dir.'footer.tpl.php') ?> \ No newline at end of file