summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>