<!--BREADCRUMBS-->
<div class="breadcrumb_container">{$breadcrumbs}</div>
<!--HEADER-->
<div class="module_header">
<span class="header_tab">{API->get_label label_id='lbl_setting_admin_panel'}</span>
</div>
<!--BODY-->
<div class="module_body">
<!--RESULTS-->
<div id="results">{$message} </div>
<!--CONTENT-->
<form action="index.php" method="post" name="edit_settings">
<div align="center">
<table border="0" cellspacing="0" cellpadding="3" class="center" style="text-align:left;" >
<thead>
<tr>
<th>Label</th>
<th>Value</th>
</tr>
</thead>
<tbody>
{foreach key=id item=setting from=$settings name=loop}
<tr>
<td>{$setting.label}</td>
<td>
{if $setting.ref != ''}
{API->get_setting_options id=$id}
{else}
<input type="text" name="{$id}" id="{$id}" value="{$setting.value}" size="30" />
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<input type="hidden" name="f" value="edit_settings" />
<input type="hidden" name="module_id" value="SettingsAdmin" />
<input type="hidden" name="file_location" value="{$file_location}" />
<br />
<br />
<input class="button" type="submit" name="save" value="Save" />
<input class="button" type="button" name="reset" onclick="{$smarty.session.current_breadcrumb.onclick}" value="Reset" />
<br />
<br />
</form>
</div>