fix cookies recall
This commit is contained in:
@@ -176,6 +176,13 @@ for ($i = 0; $i < $num_dbs; $i++) {
|
||||
<label for="radio_copy_dataonly"><?php echo $strDataOnly; ?></label> <br />
|
||||
<input type="checkbox" name="drop_if_exists" value="true" id="checkbox_drop" />
|
||||
<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"' : ''); ?>/>
|
||||
<label for="checkbox_switch"><?php echo $strSwitchToTable; ?></label>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user