commit c7c15549a6b65f85b3e8f7617c8ff8b72faf0f3f
parent d5c363fab4add4d75559ecc43f4bced7879786f0
Author: dankert <devnull@localhost>
Date: Sat, 18 Dec 2004 02:18:19 +0100
Formular-Beginn ueber Methode Html::form()
Diffstat:
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/themes/default/pages/html/tree/menu.tpl.php b/themes/default/pages/html/tree/menu.tpl.php
@@ -6,7 +6,7 @@
<tr>
<td class="menu">
- <?php echo Html::form( array('action'=>'index','subaction'=>'project','target'=>'_parent','method'=>'get','name'=>'') ) ?>
+ <?php echo Html::form( 'index','project','-',array('target'=>'_parent','method'=>'get') ) ?>
<table>
<tr>
<td>
diff --git a/themes/default/pages/html/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php
@@ -4,8 +4,7 @@
<center>
-<form action="<?php echo $self ?>" method="post" target="_self">
-<input type="hidden" name="subaction" value="save" />
+<?php echo Html::form('user','form',$userid) ?>
<table class="main" width="90%" cellspacing="0" cellpadding="4">
diff --git a/themes/default/pages/html/user/profile.tpl.php b/themes/default/pages/html/user/profile.tpl.php
@@ -4,8 +4,7 @@
<center>
-<form action="<?php echo $self ?>" method="post" target="_self">
-<input type="hidden" name="subaction" value="saveprofile">
+<?php echo Html::form('user','saveprofile',$userid) ?>
<?php
$table_title_text = lang('GLOBAL_USER');