Open-AudIT
https://www.open-audit.org/phpBB3/

Minor Enhancement: Change Focus on ldap_login.php
https://www.open-audit.org/phpBB3/viewtopic.php?f=9&t=3157
Page 1 of 1

Author:  Chad [ Thu Feb 12, 2009 3:18 am ]
Post subject:  Minor Enhancement: Change Focus on ldap_login.php

Call me lazy, but I hate having to click in the "Login Name" input box every time I have to login to that page. So i added an onload focus event to that page. Basically added a name to the form and a body tag ...

<body onload="document.LoginForm.username.focus()">

patch against current svn attached.

Attachments:
ldap_login.php-focus.zip [592 Bytes]
Downloaded 331 times

Author:  Chad [ Mon Apr 06, 2009 10:39 am ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

Any chance of someone making this change to current svn? I change it when I upgrade, it's just annoying to remember to do it.

Are there any reasons for not doing this (Aside from no one commiting the energy to add this :P ) ?

Author:  NickBrown [ Mon Apr 06, 2009 7:04 pm ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

I'll do this soon ...

Author:  NickBrown [ Tue Apr 07, 2009 9:43 pm ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

This has been added to SVN 1147.

Author:  ef [ Tue Apr 07, 2009 9:58 pm ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

[quote="NickBrown"]This has been added to SVN 1147.
That wasn't a minor enhancement indeed... Clicking on User or Computer details now I have
[code]
Fatal error: Call to undefined function GetLdapConnection() in ...\ldap_details.php on line 20
[/code]

Author:  NickBrown [ Wed Apr 08, 2009 1:07 am ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

Oops. Looks like I didn't change my short tags to regular ones before committing to SVN. Can you replace each "<?" with "<?php" in ldap_details.php and let me know if it fixes the problem :oops:

Author:  ef [ Wed Apr 08, 2009 5:19 pm ]
Post subject:  Re: Minor Enhancement: Change Focus on ldap_login.php

Yes, short tags were causing the issue. Thanks.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/