Changeset 28
- Timestamp:
- Dec 7, 2005 8:51:24 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin.inc.css
r27 r28 54 54 font-size: 70%; 55 55 max-width: 25em; 56 font-weight: bold; 56 57 /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */ 57 58 /*float: right;*/ -
trunk/lib/Auth_SQL.inc.php
r27 r28 550 550 App::raiseMsg($msg, $type, $file, $line); 551 551 } 552 App::setBoomerangURL(absoluteMe()); 552 // Login scripts must have the same 'login' tag for boomerangURL verification/manipulation. 553 App::setBoomerangURL(absoluteMe(), 'login'); 553 554 App::dieURL($this->_params['login_url']); 554 555 } -
trunk/lib/PEdit.inc.php
r27 r28 282 282 ?> 283 283 <div class="pedit_buttons"> 284 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Save"); ?>" />285 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Cancel"); ?>" />284 <input type="submit" name="op" value="<?php echo _("Save"); ?>" /> 285 <input type="submit" name="op" value="<?php echo _("Cancel"); ?>" /> 286 286 </div> 287 287 <?php … … 306 306 ?> 307 307 <div class="pedit_buttons"> 308 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Save"); ?>" />309 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Cancel"); ?>" />308 <input type="submit" name="op" value="<?php echo _("Save"); ?>" /> 309 <input type="submit" name="op" value="<?php echo _("Cancel"); ?>" /> 310 310 </div> 311 311 </form> … … 315 315 ?> 316 316 <div class="pedit_buttons"> 317 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Cancel"); ?>" />317 <input type="submit" name="op" value="<?php echo _("Cancel"); ?>" /> 318 318 </div> 319 319 </form> … … 323 323 ?> 324 324 <div class="pedit_buttons"> 325 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Edit"); ?>" />326 <input class="formsubmitbutton"type="submit" name="op" value="<?php echo _("Versions"); ?>" />325 <input type="submit" name="op" value="<?php echo _("Edit"); ?>" /> 326 <input type="submit" name="op" value="<?php echo _("Versions"); ?>" /> 327 327 </div> 328 328 </form> -
trunk/lib/RecordLock.inc.php
r27 r28 348 348 <?php if ($this->getSecondsElapsed() > $this->getParam('timeout')) { ?> 349 349 <p><?php printf(_("You can forcibly unlock the record if you believe the editing session has expired. You might want to confirm with %s before doing this."), $this->getEditor()) ?></p> 350 <input type="submit" class="formsubmitbutton"name="unlock" value="<?php echo _("Unlock"); ?>" />350 <input type="submit" name="unlock" value="<?php echo _("Unlock"); ?>" /> 351 351 <?php } ?> 352 352 353 <input type="submit" class="formsubmitbutton"name="cancel" value="<?php echo _("Cancel"); ?>" />353 <input type="submit" name="cancel" value="<?php echo _("Cancel"); ?>" /> 354 354 </form> 355 355 <?php -
trunk/lib/TemplateGlue.inc.php
r27 r28 173 173 if ('allone' == $flag) { 174 174 // Print a cell with multidimentioal array checkboxes. 175 ?><td><input type="checkbox" name="dbcol[<?php echo $db_col; ?>][<?php echo $item; ?>]"<?php echo $checked; ?> /> <?php echo oTxt($item); ?> </td> 176 <?php 177 } else { 175 $html_name = 'dbcol[' . $db_col . '][' . $item . ']'; 176 } else { 178 177 // Print a cell with basic named checkboxes. 179 ?><td><input type="checkbox" name="<?php echo $db_col; ?>[<?php echo $item; ?>]"<?php echo $checked; ?> /> <?php echo oTxt($item); ?> </td> 180 <?php 181 } 178 $html_name = $db_col . '[' . $item . ']'; 179 } 180 ?><td><input type="checkbox" name="<?php echo $html_name ?>" id="<?php echo $html_name ?>"<?php echo $checked; ?> /><label for="<?php echo $html_name ?>"><?php echo oTxt($item); ?></label></td> 181 <?php 182 182 } 183 183 if ($col_cnt < $columns) { … … 250 250 } 251 251 // Print a cell with basic named checkboxes. 252 ?><td><input type="radio" name="<?php echo $db_col; ?>" value="<?php echo $item ?>"<?php echo $checked; ?> /> <?php echo oTxt($item); ?> </td>252 ?><td><input type="radio" name="<?php echo $db_col; ?>" id="<?php echo $db_col; ?>" value="<?php echo $item ?>"<?php echo $checked; ?> /><label for="<?php echo $db_col ?>"><?php echo oTxt($item); ?></label></td> 253 253 <?php 254 254 } … … 366 366 $col_cnt = 0; 367 367 ?> 368 <table border="0" cellspacing="0" cellpadding="0" class="formcheckboxes">368 <table border="0" cellspacing="0" cellpadding="0"> 369 369 <tr> 370 370 <?php … … 394 394 395 395 // Print a cell with basic named checkboxes. 396 ?><td><input type="checkbox" name="<?php echo $val_column; ?>[<?php echo $box[$val_column]; ?>]"<?php echo $checked; ?> /></td><td><?php echo oTxt($box[$key_column]); ?></td> 397 <?php 396 $html_name = $val_column . '[' . $box[$val_column] . ']'; 397 ?> 398 <td><input type="checkbox" name="<?php echo $html_name ?>" id="<?php echo $html_name ?>"<?php echo $checked; ?> /></td> 399 <td><label for="<?php echo $html_name ?>" class="normal"><?php echo oTxt($box[$key_column]); ?></label></td> 400 <?php /// FIXME: class=normal? 398 401 } 399 402 -
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.