first commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
st_theme_use_stylesheet('stCurrencyPlugin.css');
|
||||
$smarty->assign("form_start", form_tag('currency/addCurrency'));
|
||||
$smarty->assign("select_currency", select_tag("currency", options_for_select($currencies, $selected), array('onchange' => 'this.form.submit()')));
|
||||
$smarty->assign("save_button");
|
||||
$smarty->display("currency_pick.html");
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div id="st_component-st_currency_plugin-pick_currency">
|
||||
{$form_start}
|
||||
{$select_currency}
|
||||
<noscript>{$save_button}</noscript>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div id="pick">
|
||||
{$form_start}
|
||||
{$select_currency}
|
||||
<noscript>{$save_button}</noscript>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<ul class="pick-currency">
|
||||
<li>{__ text="Waluta" }</li>
|
||||
{foreach item=currency from=$currencies}
|
||||
<li{if $selected == $currency} class="active"{/if}><a href="{url_for_currency currency=$currency}" rel="nofollow">{$currency->getShortcut()}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user