Navigation Menu

Skip to content

Commit

Permalink
Новые бб коды
Browse files Browse the repository at this point in the history
Изменения для тестирования
  • Loading branch information
ROZARD committed Nov 29, 2016
1 parent 3554bb2 commit 87949e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions engine/skins/default/tpl/news/add.tpl
Expand Up @@ -43,7 +43,7 @@ function changeActive(name) {
}
}
</script>

{{ includ_bb }}
<form name="DATA_tmp_storage" action="" id="DATA_tmp_storage">
<input type="hidden" name="area" value="" />
</form>
Expand Down Expand Up @@ -83,13 +83,13 @@ function changeActive(name) {
<td><input type="text" class="important" size="79" id="newsTitle" name="title" value="" tabindex="1" /></td>
</tr>
<tr>
<td valign="top" colspan=3>{{ quicktags }}<br /> {{ smilies }}<br />
<td valign="top" colspan=3>{% if (not includ_bb) %}{{ quicktags }}<br /> {{ smilies }}<br />{% else %}<br />{% endif %}
{% if (flags.edit_split) %}
<div id="container.content.short" class="contentActive"><textarea style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive('short');" onfocus="changeActive('short');" name="ng_news_content_short" id="ng_news_content_short" rows="10" tabindex="2"></textarea></div>
<div id="container.content.short" class="contentActive">{{ 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"' }) }}</div>
{% if (flags.extended_more) %} <table cellspacing="2" cellpadding="0" width="100%"><tr><td nowrap>{{ lang.addnews['editor.divider'] }}: &nbsp;</td><td style="width: 90%"><input tabindex="2" type="text" name="content_delimiter" style="width: 99%;" value=""/></td></tr></table>{% endif %}
<div id="container.content.full" class="contentInactive"><textarea style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive('full');" onfocus="changeActive('full');" name="ng_news_content_full" id="ng_news_content_full" rows="10" tabindex="2"></textarea></div>
<div id="container.content.full" class="contentInactive">{{ 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"' }) }}</div>
{% else %}
<div id="container.content" class="contentActive"><textarea style="width: 99%; padding: 1px; margin: 1px;" name="ng_news_content" id="ng_news_content" rows="10" tabindex="2"></textarea></div>
<div id="container.content" class="contentActive">{{ 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"' }) }}</div>
{% endif %}
</td>
</tr>
Expand Down
10 changes: 5 additions & 5 deletions engine/skins/default/tpl/news/edit.tpl
Expand Up @@ -43,7 +43,7 @@ function changeActive(name) {
}
}
</script>

{{ includ_bb }}
<!-- Hidden SUGGEST div -->
<div id="suggestWindow" class="suggestWindow">
<table id="suggestBlock" cellspacing="0" cellpadding="0" width="100%"></table>
Expand Down Expand Up @@ -95,13 +95,13 @@ function changeActive(name) {
<td><input type="text" class="important" size="79" id="newsTitle" name="title" value="{{ title }}" tabindex="1" /></td>
</tr>
<tr>
<td valign="top" colspan=3>{{ quicktags }}<br /> {{ smilies }}<br />
<td valign="top" colspan=3>{% if (not includ_bb) %}{{ quicktags }}<br /> {{ smilies }}<br />{% else %}<br />{% endif %}
{% if (flags.edit_split) %}
<div id="container.content.short" class="contentActive"><textarea style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive('short');" onfocus="changeActive('short');" name="ng_news_content_short" id="ng_news_content_short" rows="10" tabindex="2">{{ content.short }}</textarea></div>
<div id="container.content.short" class="contentActive">{{ 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"' }) }}</div>
{% if (flags.extended_more) %} <table cellspacing="2" cellpadding="0" width="100%"><tr><td nowrap>{{ lang.editnews['editor.divider'] }}: &nbsp;</td><td style="width: 90%"><input tabindex="2" type="text" name="content_delimiter" style="width: 99%;" value="{{ content.delimiter }}"/></td></tr></table>{% endif %}
<div id="container.content.full" class="contentInactive"><textarea style="width: 99%; padding: 1px; margin: 1px;" onclick="changeActive('full');" onfocus="changeActive('full');" name="ng_news_content_full" id="ng_news_content_full" rows="10" tabindex="2">{{ content.full }}</textarea></div>
<div id="container.content.full" class="contentInactive">{{ 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"' }) }}</div>
{% else %}
<div id="container.content" class="contentActive"><textarea style="width: 99%; padding: 1px; margin: 1px;" name="ng_news_content" id="ng_news_content" rows="10" tabindex="2">{{ content.short }}</textarea></div>
<div id="container.content" class="contentActive">{{ 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"' }) }}</div>
{% endif %}
</td>
</tr>
Expand Down

0 comments on commit 87949e3

Please sign in to comment.