> What I am trying to accomplish is simply put a link below the "Login" 
> button on the initial squirrel page.  I want the link to say something 
> like "Switch to secure conection" (reference www.myrealbox.com). 

Thijs recommended the use of a plugin, while that might work, you will
not learn any PHP or html. Another route would be to, edit
<squirrel-mair-dir>src/login.php and put(something like):

--------------------------------snip---------------------------------------

if(!strstr($HTTP_REFERER,"https")){
        echo "   <TR><TD ALIGN=\"center\"><br><a
href=\"https://www.myrealbox.com/\";>Connect Over SSL
(preferred)</a></TD></TR>";}

--------------------------------snip---------------------------------------

after the line that says '"</CENTER>\n";' but before the line that says
'do_hook('login_form');'

This route is also slightly sophisticated, because if they come along
from a link to https://something it will not display, but will if they
come any other way.

Good luck,

-- 
-------------------------------------------
| Caleb Phillips                          |
| The Studio Resource                     |
| IT Specialist                           |
|                                         |
| Handcrafted for you in Ximian Evolution |
-------------------------------------------


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to