--- Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
> >
> > --- Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
> >
> >> >> > Hi. I have my website content going into a HTML frame. I would
> >> like
> >> >> to
> >> >> > have the SM login page
> >> >> > appear in it as well but then break out into a new window/tab when
> >> a
> >> >> user
> >> >> > logs in. I figure I
> >> >> > need to modify login.php but I don't know what to change. I need
> >> to
> >> >> add '
> >> >> > target = "_blank" '
> >> >> > to some page. Can anyone help?
> >> >>
> >> >> conf.pl -> 1. Organization Preferences -> 6. Top Frame
> >> >
> >> > Well I put in "_blank" for that option but the thing still opens in
> >> the
> >> > frame. I wonder
> >> > what's wrong here? It originally had "_top" as a value.
> >>
> >> Sorry. Misunderstood your question.
> >>
> >> Modify squirrelmail login form.
> >>
> >> <form action="redirect.php" target="_blank" ... other form
> >> attributes...>
> >
> > The following command does not yield any results:
> >
> > # grep -ir "form action" * | grep redirect
> >
> > What is the filename?
> >
> > I do however have this line in src/login.php:
> >
> > "\n" . addForm('redirect.php', 'post');
>
> addForm('redirect.php', 'post') is same thing as
>
> <form src="redirect.php" method="post">
>
> Only written in SquirrelMail form functions. SquirrelMail 1.4.x form
> functions don't support extra arguments. Create own login page or replace
> 'addForm('redirect.php', 'post')' with '<form src="redirect.php"
> method="post" target="_blank">'
>
> "\n" . '<form src="redirect.php" method="post" target="_blank">';
Sorry to linger on this point but using the above line does break out... but
into yet another
login page. It doesn't matter. Don't worry about it.
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users