summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-04 00:24:59 -0400
committerspiderr <spider@viovio.com>2013-04-04 00:24:59 -0400
commit426aa57e5f8c0dfb093a34d31bd2e0d95a14a12c (patch)
tree94844ed7d0d42e3d2080822f2164f2abc2ef7981
parentd25dea1c62f69d67a3bbd3636b5740f1f044360b (diff)
downloadusers-426aa57e5f8c0dfb093a34d31bd2e0d95a14a12c.tar.gz
users-426aa57e5f8c0dfb093a34d31bd2e0d95a14a12c.tar.bz2
users-426aa57e5f8c0dfb093a34d31bd2e0d95a14a12c.zip
tweak users menu
-rw-r--r--templates/menu_users.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_users.tpl b/templates/menu_users.tpl
index 1802a55..ca98388 100644
--- a/templates/menu_users.tpl
+++ b/templates/menu_users.tpl
@@ -6,7 +6,7 @@
{if $gBitUser->isRegistered()}
<li><a class="item" href="{$gBitSystem->getConfig('users_login_homepage',"`$smarty.const.USERS_PKG_URL`my.php")}">{booticon iname="icon-circle-arrow-right" iexplain="My Personal Page" ilocation=$location}</a></li>
{if $gBitUser->hasPermission( 'p_users_view_user_homepage' )}
- <li><a class="item" href="{$smarty.const.USERS_PKG_URL}index.php?home={$gBitUser->mInfo.login}">{booticon iname="icon-home" iexplain="My Homepage" ilocation=$location}</a></li>
+ <li><a class="item" href="{$gBitUser->getDisplayUrl()}">{booticon iname="icon-home" iexplain="My Profile" ilocation=$location}</a></li>
{/if}
{if $gBitUser->hasPermission( 'p_users_edit_user_homepage' )}
<li><a class="item" href="{$smarty.const.USERS_PKG_URL}edit_personal_page.php">{booticon iname="icon-edit" iexplain="Edit My Homepage" ilocation=$location}</a></li>