Changeset 28 for trunk/services


Ignore:
Timestamp:
Dec 7, 2005 8:51:24 AM (18 years ago)
Author:
scdev
Message:
 
Location:
trunk/services
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/login.php

    r27 r28  
    55 */
    66
     7// We may want to use the add/edit interface from another script, so this
     8// allows us to remember which page we came from so we can go back there.
    79if (getFormData('boomerang', false) && isset($_SERVER['HTTP_REFERER'])) {
    8     // We remember which page we came from so we can go back there.
    9     App::setBoomerangURL($_SERVER['HTTP_REFERER']);
     10    App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'login');
    1011}
    1112App::sslOn();
     
    1920    if ($auth->login($frm['username'], $frm['password'])) {
    2021        App::raiseMsg(_("You are now logged in."), MSG_SUCCESS, __FILE__, __LINE__);
    21         App::dieBoomerangURL();
     22        App::dieBoomerangURL('login');
    2223        App::logMsg(sprintf('%s %s successfully logged-in.', $auth->getVal('auth_name'), $frm['username']), LOG_INFO, __FILE__, __LINE__);
    2324    } else {
  • trunk/services/templates/lock.ihtml

    r27 r28  
    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" 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" name="cancel" value="<?php echo _("Cancel"); ?>" />
    2424</form>
  • trunk/services/templates/log_list.ihtml

    r27 r28  
    3232    <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>
    34     <input type="submit" name="list" value="<?php echo _("Search"); ?>" class="formsubmitbutton" />
     34    <input type="submit" name="list" value="<?php echo _("Search"); ?>" />
    3535</div>
    3636
  • trunk/services/templates/versions_diff.ihtml

    r27 r28  
    2020    ?>
    2121    <tr>
    22         <td class="padleft nowrap formlabel"<?php echo $style; ?>><?php echo $k; ?></td>
     22        <td class="padleft nowrap"<?php echo $style; ?>><label><?php echo $k; ?></label></td>
    2323        <td class="padleft"><?php echo $v_d; ?></td>
    2424        <td class="padleft"><?php echo $v_c; ?></td>
  • trunk/services/templates/versions_list.ihtml

    r27 r28  
    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" 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" name="op" value="<?php echo _("Cancel"); ?>" />
    3434</form>
  • trunk/services/templates/versions_view.ihtml

    r27 r28  
    1313    ?>
    1414    <tr>
    15         <td class="padleft nowrap formlabel"<?php echo $style; ?>><?php echo $k; ?></td>
     15        <td class="padleft nowrap"<?php echo $style; ?>><label><?php echo $k; ?></label></td>
    1616        <td class="padleft"><?php echo $v_d; ?></td>
    1717    </tr>
Note: See TracChangeset for help on using the changeset viewer.