source: tags/2.0.2/services/templates/admin_form.ihtml @ 221

Last change on this file since 221 was 221, checked in by quinn, 18 years ago

Q - Fixed codebase css bug where class="error" was still being used for the FV. Fixed StrTime? bug.

File size: 2.3 KB
RevLine 
[1]1<?php $fv->printErrorMessages(); ?>
2
[185]3<form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>">
[1]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>
[1]10    <tr>
[19]11        <td>&nbsp;</td>
[22]12        <td><?php printSubmitButtons($frm['submit_buttons']); ?></td>
[1]13    </tr>
14    <tr>
[221]15        <td class="right"><label for="username"<?php $fv->err('username') ?>><?php echo _("Username"); ?></label></td>
[22]16        <td>
[20]17            <input type="text" class="small" size="50" name="username" value="<?php echo oTxt($frm['username']); ?>" />
[1]18        </td>
19    </tr>
20    <tr>
[221]21        <td class="right"><label for="userpass"<?php $fv->err('userpass') ?>><?php echo _("Password"); ?></label></td>
[22]22        <td>
[20]23            <input type="password" class="small" size="50" name="userpass" value="<?php echo oTxt($frm['userpass']); ?>" />
[1]24        </td>
25    </tr>
26    <tr>
[221]27        <td class="right"><label for="first_name"<?php $fv->err('first_name') ?>><?php echo _("First name"); ?></label></td>
[22]28        <td>
[20]29            <input type="text" class="small" size="50" name="first_name" value="<?php echo oTxt($frm['first_name']); ?>" />
[1]30        </td>
31    </tr>
32    <tr>
[221]33        <td class="right"><label for="last_name"<?php $fv->err('last_name') ?>><?php echo _("Last name"); ?></label></td>
[22]34        <td>
[20]35            <input type="text" class="small" size="50" name="last_name" value="<?php echo oTxt($frm['last_name']); ?>" />
[1]36        </td>
37    </tr>
38    <tr>
[221]39        <td class="right"><label for="email"<?php $fv->err('email') ?>><?php echo _("Email"); ?></label></td>
[22]40        <td>
[20]41            <input type="text" class="medium" size="50" name="email" value="<?php echo oTxt($frm['email']); ?>" />
[1]42        </td>
43    </tr>
44    <tr>
[221]45        <td class="right"><label for="user_type"<?php $fv->err('user_type') ?>><?php echo _("User type"); ?></label></td>
[22]46        <td>
[20]47            <select name="user_type" class="small">
[19]48            <?php printSetSelectForm('admin_tbl', 'user_type', $frm['user_type'], true); ?>
[1]49            </select>
50        </td>
51    </tr>
52    <tr>
[19]53        <td>&nbsp;</td>
[22]54        <td><?php printSubmitButtons($frm['submit_buttons']); ?></td>
[1]55    </tr>
56</table>
57</form>
Note: See TracBrowser for help on using the repository browser.