[adminer-svn] SF.net SVN: adminer:[1282] trunk
Database management in a single PHP file
Brought to you by:
jakubvrana
From: <jak...@us...> - 2009-12-18 17:49:32
|
Revision: 1282 http://adminer.svn.sourceforge.net/adminer/?rev=1282&view=rev Author: jakubvrana Date: 2009-12-18 17:49:21 +0000 (Fri, 18 Dec 2009) Log Message: ----------- Move Login button to customization Modified Paths: -------------- trunk/adminer/include/adminer.inc.php trunk/adminer/include/auth.inc.php trunk/editor/include/adminer.inc.php Modified: trunk/adminer/include/adminer.inc.php =================================================================== --- trunk/adminer/include/adminer.inc.php 2009-12-18 17:39:48 UTC (rev 1281) +++ trunk/adminer/include/adminer.inc.php 2009-12-18 17:49:21 UTC (rev 1282) @@ -50,8 +50,9 @@ <tr><th><?php echo lang('Password'); ?><td><input type="password" name="password"> </table> <?php + echo "<p><input type='submit' value='" . lang('Login') . "'>\n"; if ($this->permanentLogin()) { - echo "<p>" . checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n"; + echo checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n"; } } Modified: trunk/adminer/include/auth.inc.php =================================================================== --- trunk/adminer/include/auth.inc.php 2009-12-18 17:39:48 UTC (rev 1281) +++ trunk/adminer/include/auth.inc.php 2009-12-18 17:49:21 UTC (rev 1282) @@ -81,9 +81,10 @@ : ""))), null); echo "<form action='' method='post'>\n"; $adminer->loginForm($username); - echo "<p>\n"; + echo "<div>"; hidden_fields($_POST, array("server", "username", "password")); // expired session - echo "<input type='submit' value='" . lang('Login') . "'>\n</form>\n"; + echo "</div>\n"; + echo "</form>\n"; page_footer("auth"); } Modified: trunk/editor/include/adminer.inc.php =================================================================== --- trunk/editor/include/adminer.inc.php 2009-12-18 17:39:48 UTC (rev 1281) +++ trunk/editor/include/adminer.inc.php 2009-12-18 17:49:21 UTC (rev 1282) @@ -31,8 +31,9 @@ <tr><th><?php echo lang('Password'); ?><td><input type="password" name="password"> </table> <?php + echo "<p><input type='submit' value='" . lang('Login') . "'>\n"; if ($this->permanentLogin()) { - echo "<p>" . checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n"; + echo checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n"; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |