Fix for bug #3353811 - Info message has "error" class

This commit is contained in:
Rouslan Placella
2011-07-04 19:04:04 +01:00
parent 2ec0de3a9f
commit 39cb4d4798
2 changed files with 5 additions and 6 deletions

View File

@@ -161,7 +161,9 @@ if (isset($_REQUEST['create_index'])) {
}
?>
</legend>
<?php
PMA_Message::notice(__('("PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!)'))->display();
?>
<div class="formelement">
<label for="input_index_name"><?php echo __('Index name:'); ?></label>
<input type="text" name="index[Key_name]" id="input_index_name" size="25"
@@ -176,11 +178,7 @@ if (isset($_REQUEST['create_index'])) {
<?php echo PMA_showMySQLDocu('SQL-Syntax', 'ALTER_TABLE'); ?>
</div>
<br class="clearfloat" />
<?php
PMA_Message::error(__('("PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!)'))->display();
?>
<br class="clearfloat" /><br />
<table>
<thead>