Re: Re[2]: [SMARTY] Giving users the chance to create their own skins
| From: | Valerio Santinelli | Date: | Wed, 19 Mar 2003 20:52:42 +0000 |
| Subject: | Re: Re[2]: [SMARTY] Giving users the chance to create their own skins | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8754@lists.php.net to get a copy of this message | ||
Katana wrote:
>> Yes, you could be right about letting them play with the full
>> Smarty syntax, but I'm worrying they could break something. I
>> should give another read to the docs about how to disable {php}
>> tags and other potentially dangerous stuff in the templates.
> There is a safe_mode for smarty, and it disables {php} (and other
> features, rtfm for the rest of it)
I do know about it Katana. My main concern was to see if anybody ever
attempted giving users complete control over templates and see how they did
it. I just feel that giving users a tool that's way too powerful can cause
them to make more mess than good. What I could not have been clear about is
that in my case template designers could be almost anybody able to write
some html.
--
c'ya!
Valerio Santinelli
tanis@mediacom.it
HateSeed Gaming Magazine http://www.hateseed.com/
My Lab http://tanis.hateseed.com/
In Flames Italia http://www.inflames.it/
One Man Crew http://www.onemancrew.org/