I tried these lines:
home\sites\default\themes\default\templates\layout.tpl
{if $I->loggedIn()}
{if $canCreateTopicInAtleastOneCategory}
<li class="codo_topics_new_topic hidden-xs codo_tooltip" data-placement="bottom" data-toggle="tooltip" title="{_t('Add new Topic')}>
<a class="codo_nav_icon" href="#" onclick="codo_create_topic()">
<i class="icon-new-topic"></i>
</a>
</li>
{/if}
home\sites\default\locale\en_US\en_US.php
'your previous draft will be discarded.' => 'your previous draft will be discarded.',
'Add new Topic' => 'Add new Topic',
I tried these lines:
#### home\sites\default\themes\default\templates\layout.tpl
````
{if $I-&gt;loggedIn()}
{if $canCreateTopicInAtleastOneCategory}
&lt;li class="codo_topics_new_topic hidden-xs codo_tooltip" data-placement="bottom" data-toggle="tooltip" title="{_t('Add new Topic')}&gt;
&lt;a class="codo_nav_icon" href="#" onclick="codo_create_topic()"&gt;
&lt;i class="icon-new-topic"&gt;&lt;/i&gt;
&lt;/a&gt;
&lt;/li&gt;
{/if}
````
####home\sites\default\locale\en_US\en_US.php
````
'your previous draft will be discarded.' =&gt; 'your previous draft will be discarded.',
'Add new Topic' =&gt; 'Add new Topic',
````
NguoiAnPhu.com
Powered by Codoforum 4.3
(https://github.com/nguoianphu/codoforums-vietnam).