[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-plugins
Subject:    [SM-PLUGINS] (no subject)
From:       "Kris Warner" <kriswarner () solidaritymail ! com>
Date:       2007-11-19 20:05:15
Message-ID: 50770.71.116.55.188.1195502715.squirrel () www ! solidaritymail ! com
[Download RAW message or body]



Hello.
 I have the squirrelmail login page embedded into a custom
login page.  I also have the login_auto plugin enabled, but that will
only show in redirect.php or login.php.  Is there a way to embed the
login_auto in a custom form?  I checked out the readme and also
looked through the list - couldn't find anything about this.
 

Here is the code I use to embed the login in my custom page:

<body onload="squirrelmail_loginpage_onload()">
<form method="post"
action="/mail/src/redirect.php" name="login">
<input type="hidden" name="js_autodetect_results"
value="0">
<b>Username:</b><br>
<input type="text" name="login_username"
size="18">
<b>Password:</b><br>
<input type="password" name="secretkey"
size="18">
<br>
<input
type="submit" value="Sign In"><br>
</form>
 
 and this is in the <head> section:
 <head>
 <script language="JavaScript"
type="text/javascript">
 <!--
   function
squirrelmail_loginpage_onload() {
    
document.forms[0].js_autodetect_results.value = '1';
   }

-->
 </script>
 </head>

Using
squirrelmail 1.4.11

 Thanks


-----------------------------------------
Sign up for free at
http://www.solidaritymail.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic