Well, when giving the flexibility to the user to change the look of a
program, it is impossible to track wether the user leaves your program copy
right code in the template... so, if the {copyright} variable doesnt exist,
just display the copy right info.. if {copyright} exists, replace it...
simple...

Regards,
Kunal Jhunjhunwala
----- Original Message -----
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: "php-list" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 3:57 AM
Subject: Re: [PHP] phplib


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> * and then Kunal Jhunjhunwala blurted....
> > hey...
> > i was wondering, is there any way to check wether the replacing of a
> > variable failed or no? example :
> > {one}
> >
> > $t->set_var("one", "1");
> >
> > I want to know wether one was replaced by 1.. or wether the term "one"
> > exists at all in the template.. any ideas on how to find this out?
>
> No. Not AFAIK
> What are the circumstances Kunal?
>
> - --
>
> Nick Wilson
>
> Tel: +45 3325 0688
> Fax: +45 3325 0677
> Web: www.explodingnet.com
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE8VH7vHpvrrTa6L5oRAttnAJ0cE6ispcu22bd+mnnuN8PEljOx+QCfUKvE
> 69/xTQAg2jM28XU2rglVFtQ=
> =EUJK
> -----END PGP SIGNATURE-----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to