source: trunk/services/templates/admin_form.ihtml @ 435

Last change on this file since 435 was 435, checked in by anonymous, 11 years ago

Removed duplicate submit buttons from admins form.

File size: 2.1 KB
Line 
1<?php $fv->printErrorMessages(); ?>
2
3<form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" class="sc-form">
4<?php $app->printHiddenSession(); ?>
5<input type="hidden" name="op" value="<?php echo $frm['new_op']; ?>" />
6<input type="hidden" name="admin_id" value="<?php echo $frm['admin_id']; ?>" />
7<input type="hidden" name="old_username" value="<?php echo $frm['old_username']; ?>" />
8
9<table>
10    <tr class="sc-form-row">
11        <td class="sc-right"><label for="username" class="<?php $fv->err('username'); ?>"><?php echo _("Username"); ?></label></td>
12        <td>
13            <input type="text" class="sc-small" size="50" name="username" value="<?php echo oTxt($frm['username']); ?>" />
14        </td>
15    </tr>
16    <tr class="sc-form-row">
17        <td class="sc-right"><label for="userpass" class="<?php $fv->err('userpass'); ?>"><?php echo _("Password"); ?></label></td>
18        <td>
19            <input type="password" class="sc-small" size="50" name="userpass" value="<?php echo oTxt($frm['userpass']); ?>" />
20        </td>
21    </tr>
22    <tr class="sc-form-row">
23        <td class="sc-right"><label for="first_name" class="<?php $fv->err('first_name'); ?>"><?php echo _("First name"); ?></label></td>
24        <td>
25            <input type="text" class="sc-small" size="50" name="first_name" value="<?php echo oTxt($frm['first_name']); ?>" />
26        </td>
27    </tr>
28    <tr class="sc-form-row">
29        <td class="sc-right"><label for="last_name" class="<?php $fv->err('last_name'); ?>"><?php echo _("Last name"); ?></label></td>
30        <td>
31            <input type="text" class="sc-small" size="50" name="last_name" value="<?php echo oTxt($frm['last_name']); ?>" />
32        </td>
33    </tr>
34    <tr class="sc-form-row">
35        <td class="sc-right"><label for="email" class="<?php $fv->err('email'); ?>"><?php echo _("Email"); ?></label></td>
36        <td>
37            <input type="text" class="sc-medium" size="50" name="email" value="<?php echo oTxt($frm['email']); ?>" />
38        </td>
39    </tr>
40    <tr class="sc-form-row">
41        <td>&nbsp;</td>
42        <td><?php printSubmitButtons($frm['submit_buttons']); ?></td>
43    </tr>
44</table>
45</form>
Note: See TracBrowser for help on using the repository browser.