Add label for create database input.

This commit is contained in:
Michal Čihař
2005-11-15 11:18:48 +00:00
parent 94355887ce
commit 7160f799bd
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ $Source$
* libraries/db_table_exists.lib.php, libraries/header_http.inc.php, * libraries/db_table_exists.lib.php, libraries/header_http.inc.php,
transformation_wrapper.php: Use define rather than variable for transformation_wrapper.php: Use define rather than variable for
conditional paths. conditional paths.
* libraries/display_create_database.lib.php: Add label for create database
input.
2005-11-14 Michal Čihař <michal@cihar.com> 2005-11-14 Michal Čihař <michal@cihar.com>
* libraries/sql_query_form.lib.php: Fix %f expansion (bug #1355776). * libraries/sql_query_form.lib.php: Fix %f expansion (bug #1355776).

View File

@@ -10,10 +10,10 @@ if ($is_create_db_priv) {
// The user is allowed to create a db // The user is allowed to create a db
?> ?>
<form method="post" action="db_create.php"><b> <form method="post" action="db_create.php"><b>
<?php echo $strCreateNewDatabase . '&nbsp;' . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?></b><br /> <?php echo '<label for="text_create_db">' . $strCreateNewDatabase . '</label>&nbsp;' . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?></b><br />
<?php echo PMA_generate_common_hidden_inputs('', '', 5); ?> <?php echo PMA_generate_common_hidden_inputs('', '', 5); ?>
<input type="hidden" name="reload" value="1" /> <input type="hidden" name="reload" value="1" />
<input type="text" name="db" value="<?php echo $db_to_create; ?>" maxlength="64" class="textfield" /> <input type="text" name="db" value="<?php echo $db_to_create; ?>" maxlength="64" class="textfield" id="text_create_db"/>
<?php <?php
if (PMA_MYSQL_INT_VERSION >= 40101) { if (PMA_MYSQL_INT_VERSION >= 40101) {
require_once('./libraries/mysql_charsets.lib.php'); require_once('./libraries/mysql_charsets.lib.php');