1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/synio/modals/modal.write.tpl
Denis Shakhov e0ed66df89 Topics
2013-05-06 13:19:40 +07:00

41 lines
1.4 KiB
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Модальное с меню "Создать"
*
* @styles css/modals.css
*}
{extends file='modals/modal_base.tpl'}
{block name='modal_options'}
{assign var='noModalTitle' value=true}
{assign var='noModalFooter' value=true}
{/block}
{block name='modal_id'}modal-write{/block}
{block name='modal_class'}modal-write js-modal-default{/block}
{block name='modal_content'}
{strip}
<ul class="write-list">
{if $iUserCurrentCountTopicDraft}
<li class="write-item-type-draft">
<a href="{router page='topic'}saved/" class="write-item-image"></a>
<a href="{router page='topic'}saved/" class="write-item-link">{$iUserCurrentCountTopicDraft} {$iUserCurrentCountTopicDraft|declension:$aLang.draft_declension:'russian'}</a>
</li>
{/if}
<li class="write-item-type-topic">
<a href="{router page='topic'}add" class="write-item-image"></a>
<a href="{router page='topic'}add" class="write-item-link">{$aLang.block_create_topic_topic}</a>
</li>
<li class="write-item-type-blog">
<a href="{router page='blog'}add" class="write-item-image"></a>
<a href="{router page='blog'}add" class="write-item-link">{$aLang.block_create_blog}</a>
</li>
<li class="write-item-type-message">
<a href="{router page='talk'}add" class="write-item-image"></a>
<a href="{router page='talk'}add" class="write-item-link">{$aLang.block_create_talk}</a>
</li>
{hook run='write_item' isPopup=true}
</ul>
{/strip}
{/block}