Re: admin login interface
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 17.8.2005 15:14 Uhr, [email protected] wrote: > hey folks, > in furture you never need to move the mouse or press tab > to focus the username input form. it's just a tiny patch to enhance > the usability. Applied, committed andn checked out on freeflux thanks a lot for the patch chregu > > best regards Sven > > > --- login.html.orig 2005-08-17 12:52:37.000000000 +0000 +++ > login.html 2005-08-17 12:56:31.000000000 +0000 @@ -14,7 +14,7 @@ > > </head> > > -<body> +<body onload="document.login.username.focus()"> <div > id="top"><p class="logo">Flux CMS</p><?php print > bx_helpers_config::getOption('sitename');?> <br class="clr"/></div> > <div id="container" > @@ -34,7 +34,7 @@ if (isset($_GET['back']) && > $_GET['back']) { print '<form method="post" > action="'.$_GET['back'].'">'; } else { - print '<form > method="post" > action="'.str_replace("?logout","",htmlspecialchars(bx_helpers_uri::getRequestUri())).'">'; > + print '<form method="post" > action="'.str_replace("?logout","",htmlspecialchars(bx_helpers_uri::getRequestUri())).'" > name="login">'; } -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms