Changeset 20 for trunk/services/templates
- Timestamp:
- Nov 17, 2005 3:00:00 AM (19 years ago)
- Location:
- trunk/services/templates
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/templates/admin_form.ihtml
r19 r20 3 3 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 4 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']; ?>" >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 8 9 9 <table> … … 13 13 </tr> 14 14 <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> 16 16 <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']); ?>" /> 18 18 </td> 19 19 </tr> 20 20 <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> 22 22 <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']); ?>" /> 24 24 </td> 25 25 </tr> 26 26 <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> 28 28 <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']); ?>" /> 30 30 </td> 31 31 </tr> 32 32 <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> 34 34 <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']); ?>" /> 36 36 </td> 37 37 </tr> 38 38 <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> 40 40 <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']); ?>" /> 42 42 </td> 43 43 </tr> 44 44 <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> 46 46 <td valign="top"> 47 <select name="user_type" >47 <select name="user_type" class="small"> 48 48 <?php printSetSelectForm('admin_tbl', 'user_type', $frm['user_type'], true); ?> 49 49 </select> -
trunk/services/templates/admin_list.ihtml
r19 r20 2 2 <?php $fv->printErrorMessages(); ?> 3 3 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> 4 <?php $carry_queries = array('search_query', 'filter_admin_user_type'); ?>5 4 <?php App::printHiddenSession(false); ?> 6 5 <div id="commandbox"> … … 8 7 <br /> 9 8 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, '—', city, '—', 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.")); ?>" /> 16 10 <input type="submit" name="list" value="<?php echo _("Search"); ?>" /> 17 11 </div> -
trunk/services/templates/lock.ihtml
r19 r20 18 18 <?php if ($lock->getSecondsElapsed() > $lock->timeout) { ?> 19 19 <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"); ?>" /> 21 21 <?php } ?> 22 22 23 <input type="submit" class="formsubmitbutton" name="cancel" value="<?php echo _("Cancel"); ?>" >23 <input type="submit" class="formsubmitbutton" name="cancel" value="<?php echo _("Cancel"); ?>" /> 24 24 </form> -
trunk/services/templates/log_list.ihtml
r19 r20 30 30 </table> 31 31 <?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."); ?>" /> 33 33 <input type="checkbox" name="search_grep"<?php frmChecked(getFormData('search_grep')) ?> /><span class="commandtext"><?php echo _("Use Grep"); ?></span> 34 34 <input type="submit" name="list" value="<?php echo _("Search"); ?>" class="formsubmitbutton" /> -
trunk/services/templates/login_form.ihtml
r19 r20 1 1 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 2 2 <?php App::printHiddenSession() ?> 3 <table border="0" cellspacing="0" cellpadding="4">3 <table> 4 4 <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> 7 9 </tr> 8 10 <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> 11 15 </tr> 12 16 <tr> 13 <td class="formlabel" align="right" valign="top"> </td>14 <td valign="top">< br /><input type="submit" class="formsubmitbutton" value="<?php echo _("Login"); ?>"></td>17 <td> </td> 18 <td valign="top"><input type="submit" value="<?php echo _("Login"); ?>" /></td> 15 19 </tr> 16 20 </table> -
trunk/services/templates/password.ihtml
r19 r20 3 3 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 4 4 <?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> 7 7 <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> 10 12 </tr> 11 13 <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> 14 18 </tr> 15 19 <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> 18 24 </tr> 19 25 <tr> 20 <td class="formlabel" align="right" valign="top"> </td>21 <td valign="top">< br /><input type="submit" class="formsubmitbutton" value="<?php echo _("Change password"); ?>" /></td>26 <td> </td> 27 <td valign="top"><input type="submit" value="<?php echo _("Change password"); ?>" /></td> 22 28 </tr> 23 29 </table> -
trunk/services/templates/versions_list.ihtml
r19 r20 1 1 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 2 2 <?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"); ?>" /> 4 4 <table class="list" border="0" cellspacing="0" cellpadding="4"> 5 5 <tr> … … 31 31 </table> 32 32 <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"); ?>" /> 34 34 </form>
Note: See TracChangeset
for help on using the changeset viewer.