Ignore:
Timestamp:
Nov 17, 2005 3:00:00 AM (19 years ago)
Author:
scdev
Message:

Tons of little updates and bugfixes. CSS updates to templates and core css files. File upload ability to module_maker. Remade Upload interface to use setParam/getParam.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/templates/admin_form.ihtml

    r19 r20  
    33<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    44<?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']; ?>">
     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']; ?>" />
    88
    99<table>
     
    1313    </tr>
    1414    <tr>
    15         <td class="formlabel" align="right" valign="top"<?php $fv->err('username', ' class="error"') ?>><?php echo _("Username"); ?></td>
     15        <td class="right"><label for="username"<?php $fv->err('username', ' class="error"') ?>><?php echo _("Username"); ?></label></td>
    1616        <td valign="top">
    17             <input type="text" class="forminputtext" size="50" name="username" value="<?php echo oTxt($frm['username']); ?>">
     17            <input type="text" class="small" size="50" name="username" value="<?php echo oTxt($frm['username']); ?>" />
    1818        </td>
    1919    </tr>
    2020    <tr>
    21         <td class="formlabel" align="right" valign="top"<?php $fv->err('userpass', ' class="error"') ?>><?php echo _("Password"); ?></td>
     21        <td class="right"><label for="userpass"<?php $fv->err('userpass', ' class="error"') ?>><?php echo _("Password"); ?></label></td>
    2222        <td valign="top">
    23             <input type="password" class="forminputtext" size="50" name="userpass" value="<?php echo oTxt($frm['userpass']); ?>">
     23            <input type="password" class="small" size="50" name="userpass" value="<?php echo oTxt($frm['userpass']); ?>" />
    2424        </td>
    2525    </tr>
    2626    <tr>
    27         <td class="formlabel" align="right" valign="top"<?php $fv->err('first_name', ' class="error"') ?>><?php echo _("First name"); ?></td>
     27        <td class="right"><label for="first_name"<?php $fv->err('first_name', ' class="error"') ?>><?php echo _("First name"); ?></label></td>
    2828        <td valign="top">
    29             <input type="text" class="forminputtext" size="50" name="first_name" value="<?php echo oTxt($frm['first_name']); ?>">
     29            <input type="text" class="small" size="50" name="first_name" value="<?php echo oTxt($frm['first_name']); ?>" />
    3030        </td>
    3131    </tr>
    3232    <tr>
    33         <td class="formlabel" align="right" valign="top"<?php $fv->err('last_name', ' class="error"') ?>><?php echo _("Last name"); ?></td>
     33        <td class="right"><label for="last_name"<?php $fv->err('last_name', ' class="error"') ?>><?php echo _("Last name"); ?></label></td>
    3434        <td valign="top">
    35             <input type="text" class="forminputtext" size="50" name="last_name" value="<?php echo oTxt($frm['last_name']); ?>">
     35            <input type="text" class="small" size="50" name="last_name" value="<?php echo oTxt($frm['last_name']); ?>" />
    3636        </td>
    3737    </tr>
    3838    <tr>
    39         <td class="formlabel" align="right" valign="top"<?php $fv->err('email', ' class="error"') ?>><?php echo _("Email"); ?></td>
     39        <td class="right"><label for="email"<?php $fv->err('email', ' class="error"') ?>><?php echo _("Email"); ?></label></td>
    4040        <td valign="top">
    41             <input type="text" class="forminputtext" size="50" name="email" value="<?php echo oTxt($frm['email']); ?>">
     41            <input type="text" class="medium" size="50" name="email" value="<?php echo oTxt($frm['email']); ?>" />
    4242        </td>
    4343    </tr>
    4444    <tr>
    45         <td class="formlabel" align="right" valign="top"<?php $fv->err('user_type', ' class="error"') ?>><?php echo _("User type"); ?></td>
     45        <td class="right"><label for="user_type"<?php $fv->err('user_type', ' class="error"') ?>><?php echo _("User type"); ?></label></td>
    4646        <td valign="top">
    47             <select name="user_type">
     47            <select name="user_type" class="small">
    4848            <?php printSetSelectForm('admin_tbl', 'user_type', $frm['user_type'], true); ?>
    4949            </select>
Note: See TracChangeset for help on using the changeset viewer.