Общие настройки системы: добавлена подсветка CodeMirror для настроек почты, пагинации и хлебных крошек, переработана верстка таблиц для улучшения читаемости.
This commit is contained in:
@@ -66,7 +66,7 @@ SETTINGS_BREAD_BOX = "Контейнер «хлебных крошек»:<br><
|
||||
SETTINGS_BREAD_MAIN = "Показывать первый элемент: Главная страница:<br><small>Да/Нет</small>"
|
||||
SETTINGS_BREAD_HOST = "Добавлять адрес хоста в url:<br><small>Да/Нет</small>"
|
||||
SETTINGS_BREAD_SEPPARATOR = "Разделитель между ссылками:<br><small>Пример: <li> → </li></small>"
|
||||
SETTINGS_BREAD_SEPP_USE = "Показывать:<br><small>Да/Нет</small>"
|
||||
SETTINGS_BREAD_SEPP_USE = "Показывать разделитель между ссылками:<br><small>Да/Нет</small>"
|
||||
SETTINGS_BREAD_BOX_LINK = "Контейнер для ссылки:<br><small>Пример: <li>%s</li></small>"
|
||||
SETTINGS_BREAD_LINK_TPL = "Шаблон ссылки<br /><small>Используются теги: [name], [link], [count]</small>"
|
||||
SETTINGS_BREAD_BOX_LASTLINK = "Показывать последний элемент:<br><small>Да/Нет</small>"
|
||||
@@ -80,7 +80,7 @@ SETTINGS_USE_DOCTIME = "Использовать дату публикаци
|
||||
SETTINGS_INFO = "Дополнительно"
|
||||
SETTINGS_MAIN_SETTINGS = "Общие настройки системы"
|
||||
SETTINGS_MAIN_MAIL = "Настройки почты"
|
||||
SETTINGS_MAIN_PAGENAVI = "Настройки вывода постраничной навигации"
|
||||
SETTINGS_MAIN_PAGENAVI = "Настройки вывода постраничной навигации в админ-панели и модулях, не использующих <a class='link white' onmouseover=\"this.style.color='grey'\" onmouseout=\"this.style.color='white'\" href='index.php?do=settings&action=paginations&cp={$sess}'>шаблоны пагинации</a>"
|
||||
SETTINGS_NAME = "Параметр"
|
||||
SETTINGS_VALUE = "Значение"
|
||||
SETTINGS_EDITOR_CKEDITOR = "CKEditor"
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
<td>{#SETTINGS_EMAIL_NAME#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="mail_from_name" id="mail_from_name" value="{$row.mail_from_name}" style="width: 250px;" class="mousetrap">
|
||||
<input type="text" name="mail_from_name" id="mail_from_name" value="{$row.mail_from_name}" style="width: 250px;" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -284,127 +284,117 @@
|
||||
|
||||
<div class="widget first">
|
||||
<div class="head"><h5 class="iFrames">{#SETTINGS_MAIN_PAGENAVI#}</h5></div>
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
|
||||
<col width="300" />
|
||||
<col />
|
||||
<col width="300" />
|
||||
<col />
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
|
||||
<col width="25%" />
|
||||
<col width="75%" />
|
||||
<thead>
|
||||
<tr>
|
||||
<td>{#SETTINGS_NAME#}</td>
|
||||
<td>{#SETTINGS_VALUE#}</td>
|
||||
<td>{#SETTINGS_NAME#}</td>
|
||||
<td>{#SETTINGS_VALUE#}</td>
|
||||
<td><div class="pr12">{#SETTINGS_VALUE#}</div></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{#SETTINGS_NAVI_BOX#}</td>
|
||||
<td colspan="3">
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="navi_box" id="navi_box" value="{$row.navi_box|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="navi_box" name="navi_box" style="width: 100%; height: 50px;">{$row.navi_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_LINK_BOX#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="link_box" id="link_box" value="{$row.link_box|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_ACTIVE_LINK_BOX#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="active_box" id="active_box" value="{$row.active_box|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="link_box" name="link_box" style="width: 100%; height: 50px;">{$row.link_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_ACTIVE_LINK_BOX#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="active_box" name="active_box" style="width: 100%; height: 50px;">{$row.active_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_TOTAL_BOX#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="total_box" id="total_box" value="{$row.total_box|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_PAGE_BEFORE#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="total_label" id="total_label" value="{$row.total_label|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="total_box" name="total_box" style="width: 100%; height: 50px;">{$row.total_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_BEFORE#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="total_label" name="total_label" style="width: 100%; height: 50px;">{$row.total_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_SEPARATOR#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="separator_label" id="separator_label" value="{$row.separator_label|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_PAGE_SEPAR#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="separator_box" id="separator_box" value="{$row.separator_box|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="separator_label" name="separator_label" style="width: 100%; height: 50px;">{$row.separator_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_SEPAR#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="separator_box" name="separator_box" style="width: 100%; height: 50px;">{$row.separator_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_START#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="start_label" id="start_label" value="{$row.start_label|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_PAGE_END#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="end_label" id="end_label" value="{$row.end_label|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="start_label" name="start_label" style="width: 100%; height: 50px;">{$row.start_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_END#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="end_label" name="end_label" style="width: 100%; height: 50px;">{$row.end_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_NEXT#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="next_label" id="next_label" value="{$row.next_label|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_PAGE_PREV#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="prev_label" id="prev_label" value="{$row.prev_label|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="next_label" name="next_label" style="width: 100%; height: 50px;">{$row.next_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_PAGE_PREV#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="prev_label" name="prev_label" style="width: 100%; height: 50px;">{$row.prev_label|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="widget first">
|
||||
<div class="head"><h5 class="iFrames">{#SETTINGS_MAIN_BREADCRUMBS#}</h5></div>
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
|
||||
<col width="300" />
|
||||
<col />
|
||||
<col width="300" />
|
||||
<col />
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
|
||||
<col width="25%" />
|
||||
<col width="75%" />
|
||||
<thead>
|
||||
<tr>
|
||||
<td>{#SETTINGS_NAME#}</td>
|
||||
<td><div class="pr12">{#SETTINGS_VALUE#}</div></td>
|
||||
<td>{#SETTINGS_NAME#}</td>
|
||||
<td><div class="pr12">{#SETTINGS_VALUE#}</div></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -416,6 +406,8 @@
|
||||
<input type="radio" name="bread_show_main" value="0"{if $row.bread_show_main==0} checked{/if} /><label style="cursor: pointer;">{#SETTINGS_NO#}</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_HOST#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
@@ -426,9 +418,9 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_BOX#}</td>
|
||||
<td colspan="3">
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="bread_box" id="bread_box" value="{$row.bread_box|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="bread_box" name="bread_box" style="width: 100%; height: 50px;">{$row.bread_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -436,25 +428,19 @@
|
||||
<td>{#SETTINGS_BREAD_BOX_LINK#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="bread_link_box" id="bread_link_box" value="{$row.bread_link_box|escape|stripslashes}" class="mousetrap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>{#SETTINGS_BREAD_LINK_TPL#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="bread_link_template" id="bread_link_template" value="{$row.bread_link_template|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="bread_link_box" name="bread_link_box" style="width: 100%; height: 50px;">{$row.bread_link_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_SELF_BOX#}</td>
|
||||
<td>{#SETTINGS_BREAD_LINK_TPL#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="bread_self_box" id="bread_self_box" value="{$row.bread_self_box|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="bread_link_template" name="bread_link_template" style="width: 100%; height: 50px;">{$row.bread_link_template|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_BOX_LASTLINK#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
@@ -463,14 +449,15 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_SEPPARATOR#}</td>
|
||||
<td>{#SETTINGS_BREAD_SELF_BOX#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<input type="text" name="bread_sepparator" id="bread_sepparator" value="{$row.bread_sepparator|escape|stripslashes}" class="mousetrap">
|
||||
<textarea class="mousetrap" id="bread_self_box" name="bread_self_box" style="width: 100%; height: 50px;">{$row.bread_self_box|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_SEPP_USE#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
@@ -479,9 +466,15 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{#SETTINGS_BREAD_SEPPARATOR#}</td>
|
||||
<td>
|
||||
<div class="pr12">
|
||||
<textarea class="mousetrap" id="bread_sepparator" name="bread_sepparator" style="width: 100%; height: 50px;">{$row.bread_sepparator|escape|stripslashes}</textarea>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div class="rowElem" id="saveBtn">
|
||||
@@ -598,4 +591,28 @@ function openLinkWindowSelect(target,doc) {ldelim}
|
||||
|
||||
{include file="$codemirror_connect"}
|
||||
{include file="$codemirror_editor" textarea_id='message_forbidden' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}
|
||||
{include file="$codemirror_editor" textarea_id='hidden_text' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}
|
||||
{include file="$codemirror_editor" textarea_id='hidden_text' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}
|
||||
|
||||
{* Подключение CodeMirror для настроек Почты *}
|
||||
{include file="$codemirror_editor" textarea_id='mail_new_user' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}
|
||||
{include file="$codemirror_editor" textarea_id='mail_signature' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}
|
||||
|
||||
{* Подключение CodeMirror для PAGENAVI *}
|
||||
{include file="$codemirror_editor" textarea_id='navi_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='link_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='active_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='total_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='total_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='separator_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='separator_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='start_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='end_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='next_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='prev_label' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
|
||||
{* Подключение CodeMirror для BREADCRUMBS *}
|
||||
{include file="$codemirror_editor" textarea_id='bread_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='bread_link_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='bread_link_template' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='bread_self_box' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
{include file="$codemirror_editor" textarea_id='bread_sepparator' ctrls='$("#settings").ajaxSubmit(sett_options);' height='50'}
|
||||
Reference in New Issue
Block a user