154 lines
6.0 KiB
Plaintext
Executable File
154 lines
6.0 KiB
Plaintext
Executable File
{include file=$header_admin title='Настройки сайта' h1='Настройки сайта'}
|
||
<form action="" method="post">
|
||
<table class="table">
|
||
<tr>
|
||
<td>Модуль по умолчанию</td><td><input type="text" name="default_mod" class="form-control" value="{$global_settings.default_mod}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Модуль по умолчанию после автоизации</td><td><input type="text" name="default_mod_auth" class="form-control" value="{$global_settings.default_mod_auth}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Логотип</td>
|
||
<td>
|
||
<input type="file" name="logo" class="form-control" value="{$global_settings.logo}">
|
||
{if $global_settings.logo}
|
||
<img src="/img/logo/{$global_settings.logo}">
|
||
{/if}
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Первая страница</td><td><input type="text" name="main_page" class="form-control" value="{$global_settings.main_page}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Показывать h1 на главной</td><td><input type="text" name="show_h1" class="form-control" value="{$global_settings.show_h1}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Имя сайта</td><td><input type="text" name="site_name" class="form-control" value="{$global_settings.site_name}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Показывать новости на главной странице</td><td><input type="text" name="show_news_main_page" class="form-control" value="{$global_settings.show_news_main_page}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Показывать слайдер на главной странице</td><td><input type="text" name="show_slider" class="form-control" value="{$global_settings.show_slider}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Алиас категории новостей</td><td><input type="text" name="cat_alias_news" class="form-control" value="{$global_settings.cat_alias_news}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Количество новостей на главной</td><td><input type="text" name="news_limit" class="form-control" value="{$global_settings.news_limit}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Редактор по умолчанию</td><td><input type="text" name="editor" class="form-control" value="{$global_settings.editor}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>Капча при авторизации</td><td><input type="text" name="capcha_auth" class="form-control" value="{$global_settings.capcha_auth}"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td>Ленивая загрузка</td><td><input type="text" name="lazyload" class="form-control" value="{$global_settings.lazyload}"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td>Показывать описания страниц в категориях</td><td><input type="text" name="show_description_in_cat" class="form-control" value="{$global_settings.show_description_in_cat}"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td>Кеширование страниц</td><td><input type="text" name="cachePage" class="form-control" value="{$global_settings.cachePage}"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td>Почта для обратной связи</td><td><input type="text" name="email" class="form-control" value="{$global_settings.email}"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td>Способ отображения страниц в админке</td>
|
||
<td>
|
||
<select class="form-control" name="typepage">
|
||
<option value=1>Иконки</option>
|
||
<option value=2 {if $global_settings.typepage==2} selected{/if}>Список</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Кто может писать в обратную связь</td>
|
||
<td>
|
||
<select class="form-control" name="otzyv">
|
||
<option value=1>Все</option>
|
||
<option value=2 {if $global_settings.otzyv==2} selected{/if}>Только зарегистрированные</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<!-- tr>
|
||
<td>Автоматическое добавление поисковых запросов</td>
|
||
<td>
|
||
<select class="form-control" name="autoseo">
|
||
<option value=1>Да</option>
|
||
<option value=0 {if $global_settings.autoseo==0} selected{/if}>Нет</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr -->
|
||
<tr>
|
||
<td>Шаблон</td>
|
||
<td>
|
||
<select class="form-control" name="templ">
|
||
<option value=''>По умолчанию</option>
|
||
{section name=customer loop=$templates_list}{if $templates_list[customer]}
|
||
<option value='{$templates_list[customer]}' {if $global_settings.templ==$templates_list[customer]} selected{/if}>{$templates_list[customer]}</option>
|
||
{/if}{/section}
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>h1 в модуле Page</td>
|
||
<td>
|
||
<select class="form-control" name="h1_page">
|
||
<option value='0'>Не показывать</option>
|
||
<option value='1' {if $global_settings.h1_page==1} selected{/if}>Показывать</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Код подтверждения Яндекс-Вебмастер</td>
|
||
<td>
|
||
<input type="text" name="yawebmaster" class="form-control" value="{$global_settings.yawebmaster}"></td>
|
||
</tr>
|
||
<tr>
|
||
<td>ИД счетчика Яндекс метрики</td>
|
||
<td>
|
||
<input type="text" name="yametrika" class="form-control" value="{$global_settings.yametrika}"></td>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Ссылка на страницу VK</td>
|
||
<td>
|
||
<input type="text" name="link_vk" class="form-control" value="{$global_settings.link_vk}"></td>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Ссылка на страницу Facebook</td>
|
||
<td>
|
||
<input type="text" name="link_fb" class="form-control" value="{$global_settings.link_fb}"></td>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Ссылка на страницу Instagram</td>
|
||
<td>
|
||
<input type="text" name="link_instagramm" class="form-control" value="{$global_settings.link_instagramm}"></td>
|
||
</td>
|
||
<tr>
|
||
<td>Проверять https?</td>
|
||
<td>
|
||
<select class="form-control" name="check_https">
|
||
<option value="0">Нет</option>
|
||
<option value="1" {if $global_settings.check_https=="1"} selected{/if}>Да</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
</tr>
|
||
<td><input type="submit" class="btn btn-success" name='ok' value="Сохранить"></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
{include file=$footer_admin} |