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

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

Removed duplicate submit buttons from admins form.

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