mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Global: Allow localization of custom links in the menu
To do this, add the "@" symbol to the beginning of the link name
This commit is contained in:
parent
e65d6231a1
commit
18cb0fe5b5
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@
|
||||||
n:foreach="OPENVK_ROOT_CONF['openvk']['preferences']['menu']['links'] as $menuItem"
|
n:foreach="OPENVK_ROOT_CONF['openvk']['preferences']['menu']['links'] as $menuItem"
|
||||||
href="{$menuItem['url']}"
|
href="{$menuItem['url']}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="link">{$menuItem["name"]}</a>
|
class="link">{strpos($menuItem["name"], "@") === 0 ? tr(substr($menuItem["name"], 1)) : $menuItem["name"]}</a>
|
||||||
<div id="_groupListPinnedGroups">
|
<div id="_groupListPinnedGroups">
|
||||||
<div n:if="$thisUser->getPinnedClubCount() > 0" class="menu_divider"></div>
|
<div n:if="$thisUser->getPinnedClubCount() > 0" class="menu_divider"></div>
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in a new issue