 |
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 |
geoB Smarty Regular
Joined: 09 Sep 2010 Posts: 46
|
Posted: Wed Dec 14, 2011 12:49 am Post subject: Undocumented feature? class="something" in custom |
|
|
I may have stumbled on an undocumented feature of custom functions. I wanted to apply a style to functions like and discovered to my amazement is that I just needed to add the clause. So something like | Code: | | {html_options class="something" ...} | works just fine.
Thanks!
George |
|
| Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7045 Location: Lincoln Nebraska, USA
|
|
| Back to top |
|
geoB Smarty Regular
Joined: 09 Sep 2010 Posts: 46
|
Posted: Wed Dec 14, 2011 3:15 am Post subject: |
|
|
I guess I "discovered" the meaning of | Quote: | | All parameters that are not in the list above are printed as name/value-pairs inside the <select> tag. |
g |
|
| 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
|