61 lines
2.3 KiB
Smarty
61 lines
2.3 KiB
Smarty
{include file='admin_header.tpl'}
|
|
<table class='tabs' cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td class='tab'> </td>
|
|
<td class='tab2' NOWRAP><a href='admin_ats_tracking_prices.php'>{$header_ats_tracking.edit_tariffs}</a></td>
|
|
<td class='tab0'> </td>
|
|
<td class='tab1' NOWRAP><a href='admin_ats_tracking_settings.php'>{$header_ats_tracking.settings}</a></td>
|
|
<td class='tab3'> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h2>{lang_print id='655'} {* SETTINGS *}</h2>
|
|
{$admin_ats_tracking_settings.description}
|
|
<table cellspacing="0" cellpadding="0" width="100%" style="margin-bottom: 10px;">
|
|
{foreach from=$aErrors item='sError'}
|
|
<tr>
|
|
<td class="error">
|
|
<img border="0" class="icon" src="../images/icons/error16.gif"/>
|
|
{$sError}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
<br><br>
|
|
<form method="post" action="{$page}.php"/>
|
|
{foreach item='aSection' from=$aSettings}
|
|
<table cellspacing="0" cellpadding="0" width="600">
|
|
<tr>
|
|
<td class="header" colspan="2">{$aSection.0.plugin_name}</td>
|
|
</tr>
|
|
{foreach item='aItem' from=$aSection}
|
|
<tr>
|
|
<td class="setting2" width="200">
|
|
{$aItem.setting_name}
|
|
</td>
|
|
<td class="setting2">
|
|
{if $aItem.setting_code == 'currency'}
|
|
<select name='values[{$aItem.setting_id}]' >
|
|
<option value="USD" {if $aItem.setting_value == "USD"} selected {/if}>USD</option>
|
|
<option value="EUR" {if $aItem.setting_value == "EUR"} selected {/if}>EUR</option>
|
|
<option value="GBP" {if $aItem.setting_value == "GBP"} selected {/if}>GBP</option>
|
|
<option value="YEN" {if $aItem.setting_value == "YEN"} selected {/if}>YEN</option>
|
|
<option value="CAD" {if $aItem.setting_value == "CAD"} selected {/if}>CAD</option>
|
|
</select>
|
|
{elseif $aItem.setting_type == 'text_2'}
|
|
<input type="text" size="10" maxlenght="10" value="{$aItem.setting_value.0}" name="values[{$aItem.setting_id}][0]" class="text" />
|
|
x<input type="text" size="10" maxlength="10" value="{$aItem.setting_value.1}" name="values[{$aItem.setting_id}][1]" class="text" />
|
|
{else}
|
|
<input type="text" size="30" maxlength="30" value="{$aItem.setting_value}" name="values[{$aItem.setting_id}]" class="text"/>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
<br />
|
|
{/foreach}
|
|
<br>
|
|
<input type="hidden" name="task" value="edit_settings">
|
|
<input type="submit" class='button' value="{lang_print id='173'}"/>
|
|
</form>
|
|
{include file='admin_footer.tpl'} |