mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-09 01:44:25 +03:00
31 lines
1.3 KiB
Smarty
31 lines
1.3 KiB
Smarty
|
<ul class="menu">
|
||
|
<li {if $sMenuSubItemSelect=='add'}class="active"{/if}>
|
||
|
<a href="{cfg name='path.root.web'}/{if $sMenuItemSelect=='add_blog'}topic{else}{$sMenuItemSelect}{/if}/add/">{$aLang.topic_menu_add}</a>
|
||
|
{if $sMenuSubItemSelect=='add'}
|
||
|
<ul class="sub-menu" >
|
||
|
<li {if $sMenuItemSelect=='topic'}class="active"{/if}><a href="{router page='topic'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_topic}</a></li>
|
||
|
<li {if $sMenuItemSelect=='question'}class="active"{/if}><a href="{router page='question'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_question}</a></li>
|
||
|
<li {if $sMenuItemSelect=='link'}class="active"{/if}><a href="{router page='link'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_link}</a></li>
|
||
|
<li {if $sMenuItemSelect=='photoset'}class="active"{/if}><a href="{router page='photoset'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_photoset}</a></li>
|
||
|
{hook run='menu_topic_action_add_item'}
|
||
|
<li ><a href="{router page='blog'}add/">{$aLang.blog_menu_create}</a></li>
|
||
|
</ul>
|
||
|
{/if}
|
||
|
</li>
|
||
|
|
||
|
<li {if $sMenuSubItemSelect=='saved'}class="active"{/if}>
|
||
|
<a href="{router page='topic'}saved/">{$aLang.topic_menu_saved}</a>
|
||
|
{if $sMenuSubItemSelect=='saved'}
|
||
|
<ul class="sub-menu" >
|
||
|
{hook run='menu_topic_action_saved_item'}
|
||
|
</ul>
|
||
|
{/if}
|
||
|
</li>
|
||
|
|
||
|
{hook run='menu_topic_action'}
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
|
||
|
|