From 87949e3f48c945682b46877c291282e403048823 Mon Sep 17 00:00:00 2001 From: ROZARD Date: Wed, 30 Nov 2016 00:36:30 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=B1=D0=B1?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B4=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Изменения для тестирования --- engine/skins/default/tpl/news/add.tpl | 10 +++++----- engine/skins/default/tpl/news/edit.tpl | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/engine/skins/default/tpl/news/add.tpl b/engine/skins/default/tpl/news/add.tpl index 07e96e79..dae6030d 100644 --- a/engine/skins/default/tpl/news/add.tpl +++ b/engine/skins/default/tpl/news/add.tpl @@ -43,7 +43,7 @@ function changeActive(name) { } } - +{{ includ_bb }}
@@ -83,13 +83,13 @@ function changeActive(name) { - {{ quicktags }}
{{ smilies }}
+ {% if (not includ_bb) %}{{ quicktags }}
{{ smilies }}
{% else %}
{% endif %} {% if (flags.edit_split) %} -
+
{{ DisplayTextForm({'type' : 'textarea', class : '', name : 'ng_news_content_short' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% if (flags.extended_more) %}
{{ lang.addnews['editor.divider'] }}:  
{% endif %} -
+
{{ DisplayTextForm({'type' : 'textarea', id : '', class : '', name : 'ng_news_content_full' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% else %} -
+
{{ DisplayTextForm({'type' : 'textarea', id : '', class : '', name : 'ng_news_content' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% endif %} diff --git a/engine/skins/default/tpl/news/edit.tpl b/engine/skins/default/tpl/news/edit.tpl index a534c238..74c3942a 100644 --- a/engine/skins/default/tpl/news/edit.tpl +++ b/engine/skins/default/tpl/news/edit.tpl @@ -43,7 +43,7 @@ function changeActive(name) { } } - +{{ includ_bb }}
@@ -95,13 +95,13 @@ function changeActive(name) { - {{ quicktags }}
{{ smilies }}
+ {% if (not includ_bb) %}{{ quicktags }}
{{ smilies }}
{% else %}
{% endif %} {% if (flags.edit_split) %} -
+
{{ DisplayTextForm({'type' : 'textarea', class : '', name : 'ng_news_content_short' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% if (flags.extended_more) %}
{{ lang.editnews['editor.divider'] }}:  
{% endif %} -
+
{{ DisplayTextForm({'type' : 'textarea', id : '', class : '', name : 'ng_news_content_full' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% else %} -
+
{{ DisplayTextForm({'type' : 'textarea', id : '', class : '', name : 'ng_news_content' , 'options' : 'style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive(\'short\');" onfocus="changeActive(\'short\');" rows="10" tabindex="2"' }) }}
{% endif %}