Changeset 28 for trunk/services
- Timestamp:
- Dec 7, 2005 8:51:24 AM (18 years ago)
- Location:
- trunk/services
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/login.php
r27 r28 5 5 */ 6 6 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. 7 9 if (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'); 10 11 } 11 12 App::sslOn(); … … 19 20 if ($auth->login($frm['username'], $frm['password'])) { 20 21 App::raiseMsg(_("You are now logged in."), MSG_SUCCESS, __FILE__, __LINE__); 21 App::dieBoomerangURL( );22 App::dieBoomerangURL('login'); 22 23 App::logMsg(sprintf('%s %s successfully logged-in.', $auth->getVal('auth_name'), $frm['username']), LOG_INFO, __FILE__, __LINE__); 23 24 } else { -
trunk/services/templates/lock.ihtml
r27 r28 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" 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" name="cancel" value="<?php echo _("Cancel"); ?>" /> 24 24 </form> -
trunk/services/templates/log_list.ihtml
r27 r28 32 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 <input type="submit" name="list" value="<?php echo _("Search"); ?>" class="formsubmitbutton"/>34 <input type="submit" name="list" value="<?php echo _("Search"); ?>" /> 35 35 </div> 36 36 -
trunk/services/templates/versions_diff.ihtml
r27 r28 20 20 ?> 21 21 <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> 23 23 <td class="padleft"><?php echo $v_d; ?></td> 24 24 <td class="padleft"><?php echo $v_c; ?></td> -
trunk/services/templates/versions_list.ihtml
r27 r28 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" 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" name="op" value="<?php echo _("Cancel"); ?>" /> 34 34 </form> -
trunk/services/templates/versions_view.ihtml
r27 r28 13 13 ?> 14 14 <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> 16 16 <td class="padleft"><?php echo $v_d; ?></td> 17 17 </tr>
Note: See TracChangeset
for help on using the changeset viewer.