made the "insert-new-row" feature sticky
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2002-03-30 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* libraries/zip.lib.php3: optimized a bit.
|
||||
* confic.inc.php3: reordered some directives.
|
||||
* tbl_change.php3: made the "insert-new-row" feature sticky.
|
||||
|
||||
2002-03-29 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* sql.php3, lines 456-457: swap form fields position for consistency
|
||||
|
@@ -500,7 +500,11 @@ if (isset($primary_key)) {
|
||||
<?php
|
||||
echo ' ' . $strInsertAsNewRow . "\n";
|
||||
}
|
||||
echo "\n"
|
||||
echo "\n";
|
||||
|
||||
// Defines whether "insert a new row after the current insert" should be
|
||||
// checked or not (keep this choice sticky)
|
||||
$checked = (!empty($message)) ? ' checked="checked"' : '';
|
||||
?>
|
||||
</td>
|
||||
<td valign="middle">
|
||||
@@ -509,7 +513,7 @@ echo "\n"
|
||||
<td valign="middle" nowrap="nowrap">
|
||||
<input type="radio" name="after_insert" value="back" checked="checked" tabindex="<?php echo $fields_cnt+4; ?>" /><?php echo $strAfterInsertBack; ?><br />
|
||||
<?php echo $strOr; ?><br />
|
||||
<input type="radio" name="after_insert" value="new_insert" tabindex="<?php echo $fields_cnt+5; ?>" /><?php echo $strAfterInsertNewInsert . "\n"; ?>
|
||||
<input type="radio" name="after_insert" value="new_insert"<?php echo $checked; ?> tabindex="<?php echo $fields_cnt+5; ?>" /><?php echo $strAfterInsertNewInsert . "\n"; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
Reference in New Issue
Block a user