fix cookies recall
This commit is contained in:
@@ -21,6 +21,8 @@ $Source$
|
|||||||
tbl_properties_structure.php3: Show multi submits result after headers
|
tbl_properties_structure.php3: Show multi submits result after headers
|
||||||
and tabs from originating place.
|
and tabs from originating place.
|
||||||
* lang/czech: Updated.
|
* lang/czech: Updated.
|
||||||
|
* tbl_properties_operations.php3: Not only remember, but also recall state
|
||||||
|
of checkbox for move to newly created table (see Garvin's entry above).
|
||||||
|
|
||||||
2003-04-01 Marc Delisle <lem9@users.sourceforge.net>
|
2003-04-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html: clarify about wildcard database
|
* Documentation.html: clarify about wildcard database
|
||||||
|
@@ -176,6 +176,13 @@ for ($i = 0; $i < $num_dbs; $i++) {
|
|||||||
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label> <br />
|
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label> <br />
|
||||||
<input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
|
<input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
|
||||||
<label for="checkbox_drop"><?php echo $strStrucDrop; ?></label> <br />
|
<label for="checkbox_drop"><?php echo $strStrucDrop; ?></label> <br />
|
||||||
|
<?php
|
||||||
|
if (isset($_COOKIE) && isset($_COOKIE['pma_switch_to_new']) && $_COOKIE['pma_switch_to_new'] == 'true') {
|
||||||
|
$pma_switch_to_new = 'true';
|
||||||
|
} elseif (isset($HTTP_COOKIE_VARS) && isset($HTTP_COOKIE_VARS['pma_switch_to_new']) && $HTTP_COOKIE_VARS['pma_switch_to_new'] == 'true') {
|
||||||
|
$pma_switch_to_new = 'true';
|
||||||
|
}
|
||||||
|
?>
|
||||||
<input type="checkbox" name="switch_to_new" value="true" id="checkbox_switch" <?php echo ((isset($pma_switch_to_new) && $pma_switch_to_new == 'true') ? 'checked="checked"' : ''); ?>/>
|
<input type="checkbox" name="switch_to_new" value="true" id="checkbox_switch" <?php echo ((isset($pma_switch_to_new) && $pma_switch_to_new == 'true') ? 'checked="checked"' : ''); ?>/>
|
||||||
<label for="checkbox_switch"><?php echo $strSwitchToTable; ?></label>
|
<label for="checkbox_switch"><?php echo $strSwitchToTable; ?></label>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user