mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
* Исправлено именование некоторых файлов * Оптимизация стилей * Оптимизация шаблонов * Мелкие исправления
44 lines
1.5 KiB
Smarty
44 lines
1.5 KiB
Smarty
{**
|
||
* Модальное с меню "Создать"
|
||
*
|
||
* @styles css/modals.css
|
||
*}
|
||
|
||
{extends file='modals/modal_base.tpl'}
|
||
|
||
{block name='modal_id'}modal-write{/block}
|
||
{block name='modal_class'}modal-write js-modal-default{/block}
|
||
|
||
{block name='modal_header_after'}
|
||
<header class="modal-header">
|
||
<a href="#" class="modal-close" data-type="modal-close"></a>
|
||
</header>
|
||
{/block}
|
||
|
||
{block name='modal_content'}
|
||
{strip}
|
||
<ul class="write-list">
|
||
{if $iUserCurrentCountTopicDraft}
|
||
<li class="write-item-type-draft">
|
||
<a href="{router page='topic'}drafts/" class="write-item-image"></a>
|
||
<a href="{router page='topic'}drafts/" 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}
|
||
|
||
{block name='modal_footer'}{/block} |