 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
gdboling Smarty Rookie
Joined: 20 Feb 2004 Posts: 31
|
Posted: Wed Apr 28, 2004 2:44 pm Post subject: Using Config Files |
|
|
I've read several posts here talking about the propor use for Config files. But I didn't get a solid answer that I am looking for so I am going to ask some more about.
I understand that config files should not be used to store colors and basic CSS things. We should use CSS for this. But what things like
- Error Messages
- Form Labels
For example
| Code: |
<form method="..">
{if $error eq "true"}<label class="error">{#errormessage#}</label>{/if}
<label class="someclass">{#username#}</label>
......
</form>
|
Is this good practice, bad practice, ??
Thanks for any suggestions. _________________ Gregg |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|