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.

Location:
trunk/services/templates
Files:
6 edited
1 moved

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>
  • trunk/services/templates/admin_list.ihtml

    r19 r20  
    22<?php $fv->printErrorMessages(); ?>
    33<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    4 <?php $carry_queries = array('search_query', 'filter_admin_user_type'); ?>
    54<?php App::printHiddenSession(false); ?>
    65<div id="commandbox">
     
    87    <br />
    98   
    10     <input type="text" class="forminputtext" size="20" name="search_query" value="<?php echo getFormData('search_query'); ?>" title="<?php echo oTxt(_("Fields searched: Admin id, Username, Userpass, First name, Last name, Email, User type, Login abuse exempt, Blocked, Blocked reason, Abuse warning level, Seconds online, Last login datetime, Last access datetime, Last login ip, Added by user id, Modified by user id, Added datetime, Modified datetime.")); ?>" />
    11 <!--
    12     <select name="filter_<##>">
    13         <?php // printSelectForm('<##>_tbl', "CONCAT(<##>_id, '&mdash;', city, '&mdash;', title)", '<##>_id', getFormData('filter_<##>'), array('Any <##>'), 'ORDER BY <##> ASC'); ?>
    14     </select>
    15  -->
     9    <input type="text" class="small" size="20" name="search_query" value="<?php echo getFormData('search_query'); ?>" title="<?php echo oTxt(_("Fields searched: Admin id, Username, Userpass, First name, Last name, Email, User type, Login abuse exempt, Blocked, Blocked reason, Abuse warning level, Seconds online, Last login datetime, Last access datetime, Last login ip, Added by user id, Modified by user id, Added datetime, Modified datetime.")); ?>" />
    1610    <input type="submit" name="list" value="<?php echo _("Search"); ?>" />
    1711</div>
  • trunk/services/templates/lock.ihtml

    r19 r20  
    1818    <?php if ($lock->getSecondsElapsed() > $lock->timeout) { ?>
    1919    <p><?php printf(_("You can force unlock the record if you believe the editing session has expired. You might want to confirm with before doing this."), $lock->getEditor()) ?></p>
    20     <input type="submit" class="formsubmitbutton" name="unlock" value="<?php echo _("Unlock"); ?>">
     20    <input type="submit" class="formsubmitbutton" name="unlock" value="<?php echo _("Unlock"); ?>" />
    2121    <?php } ?>
    2222
    23     <input type="submit" class="formsubmitbutton" name="cancel" value="<?php echo _("Cancel"); ?>">
     23    <input type="submit" class="formsubmitbutton" name="cancel" value="<?php echo _("Cancel"); ?>" />
    2424</form>
  • trunk/services/templates/log_list.ihtml

    r19 r20  
    3030    </table>
    3131<?php } ?>
    32     <input type="text" class="forminputtext" size="20" name="search_query" value="<?php echo oTxt(getFormData('search_query')); ?>" title="<?php echo _("All lines in currently viewed log file are searched."); ?>" />
     32    <input type="text" class="small" size="20" name="search_query" value="<?php echo oTxt(getFormData('search_query')); ?>" title="<?php echo _("All lines in currently viewed log file are searched."); ?>" />
    3333    <input type="checkbox" name="search_grep"<?php frmChecked(getFormData('search_grep')) ?> /><span class="commandtext"><?php echo _("Use Grep"); ?></span>
    3434    <input type="submit" name="list" value="<?php echo _("Search"); ?>" class="formsubmitbutton" />
  • trunk/services/templates/login_form.ihtml

    r19 r20  
    11<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    22<?php App::printHiddenSession() ?>
    3 <table border="0" cellspacing="0" cellpadding="4">
     3<table>
    44    <tr>
    5         <td class="formlabel" align="right" valign="top"><?php echo _("Username"); ?></td>
    6         <td valign="top"><input type="text" class="forminputtext" size="25" name="username" value="<?php echo oTxt($frm['username']); ?>"></td>
     5        <td class="right"><label for="username"><?php echo _("Username"); ?></label></td>
     6        <td valign="top">
     7            <input type="text" class="medium" size="20" name="username" value="<?php echo oTxt($frm['username']); ?>" />
     8        </td>
    79    </tr>
    810    <tr>
    9         <td class="formlabel" align="right" valign="top"><?php echo _("Password"); ?></td>
    10         <td valign="top"><input type="password" class="forminputtext" size="25" name="password" value="<?php echo oTxt($frm['password']); ?>"></td>
     11        <td class="right"><label for="password"><?php echo _("Password"); ?></label></td>
     12        <td valign="top">
     13            <input type="password" class="medium" size="20" name="password" value="<?php echo oTxt($frm['password']); ?>" />
     14        </td>
    1115    </tr>
    1216    <tr>
    13         <td class="formlabel" align="right" valign="top">&nbsp;</td>
    14         <td valign="top"><br /><input type="submit" class="formsubmitbutton" value="<?php echo _("Login"); ?>"></td>
     17        <td>&nbsp;</td>
     18        <td valign="top"><input type="submit" value="<?php echo _("Login"); ?>" /></td>
    1519    </tr>
    1620</table>
  • trunk/services/templates/password.ihtml

    r19 r20  
    33<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    44<?php App::printHiddenSession() ?>
    5 <input type="hidden" name="op" value="update_password">
    6 <table border="0" cellspacing="0" cellpadding="4">
     5<input type="hidden" name="op" value="update_password" />
     6<table>
    77    <tr>
    8         <td class="formlabel" align="right" valign="top"<?php $fv->err('oldpassword', ' class="error"') ?>><?php echo _("Old password"); ?></td>
    9         <td valign="top"><input type="password" class="forminputtext" size="25" name="oldpassword" /></td>
     8        <td class="right"><label for="oldpassword"<?php $fv->err('oldpassword', ' class="error"') ?>><?php echo _("Old password"); ?></label></td>
     9        <td valign="top">
     10            <input type="text" class="medium" size="50" name="oldpassword" />
     11        </td>
    1012    </tr>
    1113    <tr>
    12         <td class="formlabel" align="right" valign="top"<?php $fv->err('newpassword', ' class="error"') ?>><?php echo _("New password"); ?></td>
    13         <td valign="top"><input type="password" class="forminputtext" size="25" name="newpassword" /></td>
     14        <td class="right"><label for="newpassword"<?php $fv->err('newpassword', ' class="error"') ?>><?php echo _("New password"); ?></label></td>
     15        <td valign="top">
     16            <input type="password" class="medium" size="50" name="newpassword" />
     17        </td>
    1418    </tr>
    1519    <tr>
    16         <td class="formlabel" align="right" valign="top"<?php $fv->err('newpassword2', ' class="error"') ?>><?php echo _("New password again"); ?></td>
    17         <td valign="top"><input type="password" class="forminputtext" size="25" name="newpassword2" /></td>
     20        <td class="right"><label for="newpassword2"<?php $fv->err('newpassword2', ' class="error"') ?>><?php echo _("New password again"); ?></label></td>
     21        <td valign="top">
     22            <input type="password" class="medium" size="50" name="newpassword2" />
     23        </td>
    1824    </tr>
    1925    <tr>
    20         <td class="formlabel" align="right" valign="top">&nbsp;</td>
    21         <td valign="top"><br /><input type="submit" class="formsubmitbutton" value="<?php echo _("Change password"); ?>" /></td>
     26        <td>&nbsp;</td>
     27        <td valign="top"><input type="submit" value="<?php echo _("Change password"); ?>" /></td>
    2228    </tr>
    2329</table>
  • trunk/services/templates/versions_list.ihtml

    r19 r20  
    11<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    22<?php App::printHiddenSession() ?>
    3 <input type="submit" class="formsubmitbutton" name="op" value="<?php echo _("Cancel"); ?>">
     3<input type="submit" class="formsubmitbutton" name="op" value="<?php echo _("Cancel"); ?>" />
    44<table class="list" border="0" cellspacing="0" cellpadding="4">
    55<tr>
     
    3131</table>
    3232<div class="help"><?php printf(_("When there are more than %s versions, those over %s days old are deleted."), $version->record_version_min_qty, $version->record_version_min_days); ?></div>
    33 <input type="submit" class="formsubmitbutton" name="op" value="<?php echo _("Cancel"); ?>">
     33<input type="submit" class="formsubmitbutton" name="op" value="<?php echo _("Cancel"); ?>" />
    3434</form>
Note: See TracChangeset for help on using the changeset viewer.