Standard look to all forms on database properties page.

This commit is contained in:
Michal Čihař
2010-05-31 14:17:50 +02:00
parent 9d0b7a0987
commit 168824b38f

View File

@@ -380,6 +380,8 @@ if (!$is_information_schema) {
<input type="text" name="comment" class="textfield" size="30" <input type="text" name="comment" class="textfield" size="30"
value="<?php value="<?php
echo htmlspecialchars(PMA_getDBComment($db)); ?>" /> echo htmlspecialchars(PMA_getDBComment($db)); ?>" />
</fieldset>
<fieldset class="tblFooters">
<input type="submit" value="<?php echo __('Go'); ?>" /> <input type="submit" value="<?php echo __('Go'); ?>" />
</fieldset> </fieldset>
</form> </form>
@@ -422,6 +424,8 @@ if (!$is_information_schema) {
echo 'INSERT INTO ... SELECT'; echo 'INSERT INTO ... SELECT';
//} //}
echo ')'; ?> echo ')'; ?>
</fieldset>
<fieldset class="tblFooters">
<input type="submit" value="<?php echo __('Go'); ?>" onclick="return confirmLink(this, 'CREATE DATABASE ... <?php echo __('and then'); ?> DROP DATABASE <?php echo PMA_jsFormat($db); ?>')" /> <input type="submit" value="<?php echo __('Go'); ?>" onclick="return confirmLink(this, 'CREATE DATABASE ... <?php echo __('and then'); ?> DROP DATABASE <?php echo PMA_jsFormat($db); ?>')" />
</fieldset> </fieldset>
</form> </form>
@@ -599,6 +603,8 @@ if (!$is_information_schema) {
. ' </legend>' . "\n" . ' </legend>' . "\n"
. PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, . PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION,
'db_collation', 'select_db_collation', $db_collation, false, 3) 'db_collation', 'select_db_collation', $db_collation, false, 3)
. '</fieldset>'
. '<fieldset class="tblFooters">'
. ' <input type="submit" name="submitcollation"' . ' <input type="submit" name="submitcollation"'
. ' value="' . __('Go') . '" />' . "\n" . ' value="' . __('Go') . '" />' . "\n"
. '</fieldset>' . "\n" . '</fieldset>' . "\n"