|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
clams Smarty n00b
Joined: 05 Aug 2014 Posts: 1
|
Posted: Tue Aug 05, 2014 7:09 pm Post subject: Smarty or PHP coder question |
|
|
I got a script with .tpl templates and in smarty language. I want to add search field to the form, but there is no physical form on the server, it seems. Is this in mysql. The .tlp files all look weird to me: I guess 'Smarty'.
Can anyone help or recommend a coder.
The HTML output
<!-- START field_types:base/search/list.tpl -->
<select name='{$id}[equal]' class="searchList" id="{$id}">
<option value="">[[Miscellaneous!Any:raw]] [[FormFieldCaptions!{$caption}:raw]]</option>
{foreach from=$list_values item=list_value}
<option value='{$list_value.id|escape}' {if $list_value.id == $value.equal}selected="selected"{/if} >{tr mode="raw" domain="Property_$id"}{$list_value.caption}{/tr}</option>
{/foreach}
</select>
Thaks Guys! |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Wed Aug 06, 2014 11:59 am Post subject: |
|
|
Yes, it looks like Smarty.
And it is all in front of your eyes. Please read documentation for more information. |
|
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
|