Просмотр файла templates/admin_add_form.tpl

Размер файла: 932B
{include file="admin_add_form_jscheck.tpl"}

{if $js_function}
	{$js_function}
{/if}

<form action="{$smarty.server.PHP_SELF}" method="post" id="data_form" onSubmit="return CheckForm();" enctype="multipart/form-data">

<input type="hidden" name="id" value="{$id}">
<blockquote>
<table border="0" width="{$table_width}">
{include file="admin_add_form_table.tpl"}
{if $form_additional_params}
 <tr>
    <td colspan=2>{$form_additional_params}</td>
    <td></td>
 </tr>
{/if}
 <tr>
    <td>&nbsp;</td>
    <td>
    {if not $buttons.deny_save}
    <input type="submit" name="subm" value="{if $id>0}Сохранить{else}Добавить{/if}" size="50">&nbsp;&nbsp;
    {/if}
    <input type="button" name="cancel" value="Отмена" onClick="document.location.href='{if $index_page}{$index_page}{else}./index.php?l_pager{/if}';"></td>
  </tr>
</table>
</form>
</blockquote>
{if $additional_info}
	{$additional_info}
{/if}