Размер файла: 6.74Kb
<form action="{$smarty.server.PHP_SELF}" method="post">
<table width="80%" border="1">
<tr>
<td colspan="2"><strong>Основные настройки</strong></td>
</tr>
<tr>
<td>Название сайта (например SmartExchanger)</td>
<td align="center"><input type="text" name="site_name" value="{$site_name}" size="30"></td>
</tr>
<tr>
<td>URL сайта (без http://)</td>
<td align="center"><input type="text" name="site_url" value="{$site_url}" size="30"></td>
</tr>
{*
<tr>
<td>Блокировка по IP админки(ваш IP сейчас: {$user_ip_now})</td>
<td align="center"><input type="text" name="block_on_ip" value="{$block_on_ip}" size="30"></td>
</tr>
<tr>
<td>Директория администратора(например: /admin)</td>
<td align="center"><input type="text" name="admin_dir" value="{$admin_dir}" size="30"></td>
</tr>
*}
<tr>
<td colspan="2"><strong>E-mail контакты</strong></td>
</tr>
<tr>
<td>E-mail администратора</td>
<td align="center"><input type="text" name="admin_email" value="{$admin_email}" size="30"></td>
</tr>
<tr>
<td>E-mail биллинга</td>
<td align="center"><input type="text" name="billing_email" value="{$billing_email}" size="30"></td>
</tr>
<tr>
<td>E-mail службы поддержки</td>
<td align="center"><input type="text" name="support_email" value="{$support_email}" size="30"></td>
</tr>
<tr>
<td>E-mail вебмастера</td>
<td align="center"><input type="text" name="webmaster_email" value="{$webmaster_email}" size="30"></td>
</tr>
{*
<tr>
<td colspan="2"><strong>Пользовательские настройки</strong></td>
</tr>
<tr>
<td>min. - max. login length</td>
<td align="center">
<input type="text" name="min_login_length" value="{$min_login_length}" size="3" style="text-align:center"> -
<input type="text" name="max_login_length" value="{$max_login_length}" size="3" style="text-align:center">
</td>
</tr>
<tr>
<td>min. - max. password length</td>
<td align="center">
<input type="text" name="min_password_length" value="{$min_password_length}" size="3" style="text-align:center"> -
<input type="text" name="max_password_length" value="{$max_password_length}" size="3" style="text-align:center">
</td>
</tr>
<tr>
<td>Timeout of client session (If there was no activity during this time there will be an autoexit)</td>
<td align="center">
<input type="text" name="client_session_timeout" value="{$client_session_timeout}" size="3" style="text-align:center"> minutes.
</td>
</tr>
<tr>
<td>Timeout of client login remember (days)</td>
<td align="center">
<input type="text" name="client_remember_login_timeout" value="{$client_remember_login_timeout}" size="3" style="text-align:center">
</td>
</tr>
<tr>
<td>max. clients logo width/heigth (pixels)</td>
<td align="center">
<input type="text" name="max_client_logo_width" value="{$max_client_logo_width}" size="3" style="text-align:center"> -
<input type="text" name="max_client_logo_height" value="{$max_client_logo_height}" size="3" style="text-align:center">
</td>
</tr>
<tr>
<td>max. size of client's logo (Kb)</td>
<td align="center">
<input type="text" name="client_logo_max_size" value="{$client_logo_max_size}" size="3" style="text-align:center">
</td>
</tr>
<tr>
<td>Client's logos path (concerning WWW site's path), without slash at the end.</td>
<td align="center"><input type="text" name="client_logo_dir" value="{$client_logo_dir}" size="30"></td>
<tr>
<tr>
<td>One more subscription discount(%).</td>
<td align="center"><input type="text" name="second_subscription_discount" value="{$second_subscription_discount}" size="3" maxlength="3" style="text-align:center"></td>
<tr>
<tr>
<td>One more subscription discount expiration(days).</td>
<td align="center"><input type="text" name="second_subscription_discount_expiration" value="{$second_subscription_discount_expiration}" size="3" maxlength="3" style="text-align:center"></td>
<tr>
<tr>
<td>One more subscription discount code vendor.</td>
<td align="center">
<select class="input1" name="second_subscription_vendor_id">
{html_options values=$disc_vendor_ids selected=$second_subscription_vendor_id output=$disc_vendor_names}
</select>
</td>
<tr>
<!--<tr>
<td>Count of records on list pages in user profile</td>
<td align="center">
<input type="text" name="client_items_per_page" value="{$client_items_per_page}" size="3" style="text-align:center">
</td>
</tr>-->
<tr>
<td colspan="2"><strong>Partner program options</strong></td>
</tr>
<tr>
<td>Default payout</td>
<td align="center"><input type="text" name="partner_default_payout_perc" value="{$partner_default_payout_perc}" size="3" style="text-align:center"> %</td>
</tr>
<tr>
<td colspan="2"><strong>Admin panel options</strong></td>
</tr>
<tr>
<td>Use WYSIWYG editor</td>
<td align="center"><input type="checkbox" name="use_wysiwyg" value=1 {if $use_wysiwyg}checked{/if}></td>
<tr>
<tr>
<td>WYSIWYG editor path (concerning WWW administrator's path), without slash at the end.</td>
<td align="center"><input type="text" name="html_editor_path" value="{$html_editor_path}" size="30"></td>
<tr>
<td>Count of records on list pages</td>
<td align="center"><input type="text" name="admin_items_per_page" value="{$admin_items_per_page}" size="3" style="text-align:center"></td>
</tr>
<tr>
<td>Pages in one block</td>
<td align="center"><input type="text" name="admin_pages_per_block" value="{$admin_pages_per_block}" size="3" style="text-align:center"></td>
</tr>
<tr>
<td>Time period for remember administrator login (hours)</td>
<td align="center"><input type="text" name="remember_login_timeout" value="{$remember_login_timeout}" size="3" maxlength=3 style="text-align:center"></td>
</tr>
<tr>
<td colspan="2"><strong>System options</strong></td>
</tr>
<tr>
<td>School categories path (part of URL)</td>
<td align="center"><input type="text" name="school_category_path" value="{$school_category_path}"></td>
</tr>
<tr>
<td>Thematic categories path (part of URL)</td>
<td align="center"><input type="text" name="thematic_category_path" value="{$thematic_category_path}"></td>
</tr>
<tr>
<td>Full categories tree path (part of URL)</td>
<td align="center"><input type="text" name="full_tree_category_path" value="{$full_tree_category_path}"></td>
</tr>
<tr>
<td>Error 404 URL</td>
<td align="center"><input type="text" name="error_404_url" value="{$error_404_url}" size=40></td>
</tr>
<tr>
<td>Error message</td>
<td align="center"><textarea cols=30 rows="3" name="invalid_request_msg">{$invalid_request_msg}</textarea></td>
</tr>
*}
<tr>
<td colspan="2" align="center"><input type="submit" name="submit" value="Сохранить настройки" onClick='{literal}if(confirm("Сохранить настройки?")){return true;}else{return false;}{/literal}'></td>
</tr>
</table>
</form>