Standard look to forms on table operations page.

This commit is contained in:
Michal Čihař
2010-05-31 14:18:37 +02:00
parent 168824b38f
commit ad71c5b0ce

View File

@@ -157,7 +157,7 @@ if (isset($_REQUEST['submitoptions'])) {
$reread_info = true; $reread_info = true;
unset($table_alters); unset($table_alters);
foreach (PMA_DBI_get_warnings() as $warning) { foreach (PMA_DBI_get_warnings() as $warning) {
// In MariaDB 5.1.44, when altering a table from Maria to MyISAM // In MariaDB 5.1.44, when altering a table from Maria to MyISAM
// and if TRANSACTIONAL was set, the system reports an error; // and if TRANSACTIONAL was set, the system reports an error;
// I discussed with a Maria developer and he agrees that this // I discussed with a Maria developer and he agrees that this
// should not be reported with a Level of Error, so here // should not be reported with a Level of Error, so here
@@ -194,7 +194,7 @@ if (isset($_REQUEST['submit_partition']) && ! empty($_REQUEST['partition_operati
if ($reread_info) { if ($reread_info) {
// to avoid showing the old value (for example the AUTO_INCREMENT) after // to avoid showing the old value (for example the AUTO_INCREMENT) after
// a change, clear the cache // a change, clear the cache
PMA_Table::$cache = array(); PMA_Table::$cache = array();
$page_checksum = $checksum = $delay_key_write = 0; $page_checksum = $checksum = $delay_key_write = 0;
require './libraries/tbl_info.inc.php'; require './libraries/tbl_info.inc.php';
} }
@@ -260,6 +260,8 @@ unset($columns);
<option value="asc"><?php echo __('Ascending'); ?></option> <option value="asc"><?php echo __('Ascending'); ?></option>
<option value="desc"><?php echo __('Descending'); ?></option> <option value="desc"><?php echo __('Descending'); ?></option>
</select> </select>
</fieldset>
<fieldset class="tblFooters">
<input type="submit" name="submitorderby" value="<?php echo __('Go'); ?>" /> <input type="submit" name="submitorderby" value="<?php echo __('Go'); ?>" />
</fieldset> </fieldset>
</form> </form>