RE: [SMARTY] RE: [PEAR] HTML Quickform passes values in URL
| From: | Vignesh M P N | Date: | Fri, 15 Dec 2006 20:07:58 +0000 |
| Subject: | RE: [SMARTY] RE: [PEAR] HTML Quickform passes values in URL | ||
| References: | 1 | Groups: | php.pear.general php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13648@lists.php.net to get a copy of this message | ||
No, this is not the actual code. I copy pasted the fragments relevant to my
question, in a hurry and so it looked clumsy like this. Yes, the echo
statement should be inside the php markers and that is how it is in the
actual code.
Thanks
Vignesh.
-----Original Message-----
From: Jochem Maas [mailto:jochem@iamjochem.com]
Sent: Friday, December 15, 2006 6:04 AM
To: Vignesh M P N
Cc: pear-general@lists.php.net; smarty-general@lists.php.net
Subject: Re: [SMARTY] RE: [PEAR] HTML Quickform passes values in URL
I don't have an answer for you but I noticed something weird in
the code you posted ...
Vignesh M P N wrote:
> Thanks for your input. I apologize for being unaware of the etiquette.
>
> Please find below the simplified code fragments from associated 3 files.
> Also the below snippets will explain what I meant by "fetch/echo".
...
>
>
> ==================
> tmpl_princ.php
> ==================
is this the actual code? why is the echo statement outside of the php
markers?
> <?
> function display_princ($conditions,$options,$stringcontent="")
> {
> ?>
> echo $stringcontent;
> <?
> }
> ?>
shouldn't it simply be this?:
function display_princ($conditions,$options,$stringcontent="")
{
echo $stringcontent;
}
>
>
> ==================
> Login.tpl
> ==================
> {$form.javascript}
>
> <form {$form.attributes}>
> {$form.hidden}
>
> <TABLE height=100% name="TblLogin" id="TblLogin" >
> <TR>
> <TD class="label">
> {$login.lusername.label}
> </TD>
> <TD>
> {$login.lusername.html}
> </TD>
> </TR>
> <TR>
> <TD class="label">
> {$login.lpasswd.label}
> </TD>
> <TD>
> {$login.lpasswd.html}
> </TD>
> </TR>
> <TR>
> <TD colspan=2>
> {$login.login.html}
> </TD>
> </TR>
> </TABLE>
>
>
> Thanks
> Vignesh.
>
> -----Original Message-----
> From: Alexey Borzov [mailto:borz_off@cs.msu.su]
> Sent: Thursday, December 14, 2006 1:34 PM
> To: Vignesh M P N
> Cc: pear-general@lists.php.net
> Subject: Re: [PEAR] HTML Quickform passes values in URL
>
> Hi,
>
> Vignesh M P N wrote:
>> Please let me know what I am missing here. Sorry I didn't provide any
code
>> fragments as they are huge.
>
> ...and that's precisely the reason you won't get any useful answers. Come
to
>
> think of it, you won't get any useful answers if you post "huge" code
> fragments,
> either.
>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php