2009-05-08 23:24:43 +03:00
|
|
|
<ul class="menu">
|
|
|
|
<li {if $sMenuSubItemSelect=='add'}class="active"{/if}>
|
2010-02-08 04:10:30 +02:00
|
|
|
<a href="{cfg name='path.root.web'}/{if $sMenuItemSelect=='add_blog'}topic{else}{$sMenuItemSelect}{/if}/add/">{$aLang.topic_menu_add}</a>
|
2009-05-08 23:24:43 +03:00
|
|
|
{if $sMenuSubItemSelect=='add'}
|
|
|
|
<ul class="sub-menu" >
|
2010-02-08 04:10:30 +02:00
|
|
|
<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><a href="{router page='blog'}add/">{$aLang.blog_menu_create}</a></li>
|
2009-05-08 23:24:43 +03:00
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li {if $sMenuSubItemSelect=='saved'}class="active"{/if}>
|
2010-02-08 04:10:30 +02:00
|
|
|
<a href="{router page='topic'}saved/">{$aLang.topic_menu_saved}</a>
|
2009-05-08 23:24:43 +03:00
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li {if $sMenuSubItemSelect=='published'}class="active"{/if}>
|
2010-02-08 04:10:30 +02:00
|
|
|
<a href="{router page='topic'}published/">{$aLang.topic_menu_published}</a>
|
2009-05-08 23:24:43 +03:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|