mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
Fixes #280: Пропал topic_type в шаблонах добавления топика
This commit is contained in:
parent
57146ce444
commit
37696bd607
|
@ -6,6 +6,9 @@
|
|||
|
||||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}link{/block}
|
||||
|
||||
{block name='add_topic_form_text_before'}
|
||||
<p><label for="topic_link_url">{$aLang.topic_link_create_url}:</label>
|
||||
<input type="text" id="topic_link_url" name="topic_link_url" value="{$_aRequest.topic_link_url}" class="width-full" />
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}photoset{/block}
|
||||
|
||||
{block name='add_topic_header_after'}
|
||||
{include file='modals/modal.photoset_add_photo.tpl'}
|
||||
{/block}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
|
||||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}question{/block}
|
||||
|
||||
{block name='add_topic_form_text_before'}
|
||||
<div class="poll-add">
|
||||
<label>{$aLang.topic_question_create_answers}:</label>
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
{* Скрытые поля *}
|
||||
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
|
||||
<input type="hidden" name="topic_type" value="topic" />
|
||||
<input type="hidden" name="topic_type" value="{block name='add_topic_type'}topic{/block}" />
|
||||
|
||||
|
||||
{* Кнопки *}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
|
||||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}link{/block}
|
||||
|
||||
{block name='add_topic_form_text_before'}
|
||||
<p><label for="topic_link_url">{$aLang.topic_link_create_url}:</label>
|
||||
<input type="text" id="topic_link_url" name="topic_link_url" value="{$_aRequest.topic_link_url}" class="width-full" />
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}photoset{/block}
|
||||
|
||||
{block name='add_topic_header_after'}
|
||||
{include file='modals/modal.photoset_add_photo.tpl'}
|
||||
{/block}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
|
||||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}question{/block}
|
||||
|
||||
{block name='add_topic_form_text_before'}
|
||||
<div class="poll-add">
|
||||
<label>{$aLang.topic_question_create_answers}:</label>
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
{* Скрытые поля *}
|
||||
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
|
||||
<input type="hidden" name="topic_type" value="topic" />
|
||||
<input type="hidden" name="topic_type" value="{block name='add_topic_type'}topic{/block}" />
|
||||
|
||||
|
||||
{* Кнопки *}
|
||||
|
|
|
@ -44,7 +44,11 @@
|
|||
</ul>
|
||||
|
||||
<ul class="topic-info">
|
||||
<li class="topic-info-author"><a rel="author" href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
|
||||
<li class="topic-info-author">
|
||||
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" class="avatar" /></a>
|
||||
<a rel="author" href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
|
||||
</li>
|
||||
|
||||
{hook run='topic_preview_show_info' topic=$oTopic}
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in a new issue