Use notice box for cookie information.

This commit is contained in:
Michal Čihař
2005-11-23 14:29:12 +00:00
parent 331fb423ef
commit 8ddefe075b
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,8 @@ $Source$
* Documentation.html, config.default.php, libraries/common.lib.php: * Documentation.html, config.default.php, libraries/common.lib.php:
Configurable default connection collation (RFE #1025969). Configurable default connection collation (RFE #1025969).
* css/phpmyadmin.css.php, libraries/auth/cookie.auth.lib.php: Use * css/phpmyadmin.css.php, libraries/auth/cookie.auth.lib.php: Use
fieldsets on login form (RFE #1364546). fieldsets on login form (RFE #1364546), use notice box for cookie
information.
2005-11-22 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-11-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* added test/theme.php: for testing themes * added test/theme.php: for testing themes

View File

@@ -172,7 +172,6 @@ echo sprintf( $GLOBALS['strWelcome'],
<form method="post" action="index.php" name="login_form"<?php echo $autocomplete; ?> target="_top" class="login"> <form method="post" action="index.php" name="login_form"<?php echo $autocomplete; ?> target="_top" class="login">
<fieldset> <fieldset>
<legend><?php echo $GLOBALS['strLogin']; ?></legend> <legend><?php echo $GLOBALS['strLogin']; ?></legend>
<p><?php echo '(' . $GLOBALS['strCookiesRequired'] . ')'; ?></p>
<?php if ($GLOBALS['cfg']['AllowArbitraryServer']) { ?> <?php if ($GLOBALS['cfg']['AllowArbitraryServer']) { ?>
<div class="item"> <div class="item">
@@ -260,6 +259,8 @@ echo sprintf( $GLOBALS['strWelcome'],
</fieldset> </fieldset>
</form> </form>
<div class="notice"><?php echo $GLOBALS['strCookiesRequired']; ?></div>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
<!-- <!--
var uname = document.forms['login_form'].elements['pma_username']; var uname = document.forms['login_form'].elements['pma_username'];