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

@@ -8,6 +8,7 @@ phpMyAdmin - ChangeLog
- bug #3340151 [export] Working SQL query exports error page
- bug #3353649 [interface] "Create an index on X columns" form not validated
- bug #3350790 [interface] JS error in Table->Structure->Index->Edit
- bug #3353811 [interface] Info message has "error" class
3.4.3.1 (2011-07-02)
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5

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>