{if $__wcf->user->userID}
{if PACKAGE_ID}
<li id="userMenu" class="dropdown">
- <a class="dropdownToggle" data-toggle="userMenu">{@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(32)}</a>
+ <a href="#" class="dropdownToggle jsTooltip" title="{$__wcf->user->username}">{@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(32)}</a>
<ul class="dropdownMenu" data-dropdown-alignment-horizontal="right">
- {* TODO: this was copied straight from the frontend *}
- <li><a href="{link controller='User' object=$__wcf->user forceFrontend=true}{/link}" class="box32">
- <div>{@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(32)}</div>
-
- <div class="containerHeadline">
- <h3>{$__wcf->user->username}</h3>
- <small>{lang}wcf.user.myProfile{/lang}</small>
- </div>
- </a></li>
+ <li><a href="{link controller='User' object=$__wcf->user forceFrontend=true}{/link}">{lang}wcf.user.myProfile{/lang}</small></a></li>
{if $__wcf->getUserProfileHandler()->canEditOwnProfile()}<li><a href="{link controller='User' object=$__wcf->user forceFrontend=true}editOnInit=true#about{/link}">{lang}wcf.user.editProfile{/lang}</a></li>{/if}
<li><a href="{link controller='Settings' forceFrontend=true}{/link}">{lang}wcf.user.menu.settings{/lang}</a></li>
</li>
<li id="jumpToPage" class="dropdown">
- <a href="{link forceFrontend=true}{/link}" class="dropdownToggle" data-toggle="jumpToPage"><span class="icon icon32 fa-home"></span> <span>{lang}wcf.global.jumpToPage{/lang}</span></a>
+ <a href="{link forceFrontend=true}{/link}" class="dropdownToggle jsTooltip" title="{lang}wcf.global.jumpToPage{/lang}"><span class="icon icon32 fa-home"></span></a>
<ul class="dropdownMenu" data-dropdown-alignment-horizontal="right">
{foreach from=$__wcf->getFrontendMenu()->getMenuItemNodeList() item=_menuItem}
{if !$_menuItem->getMenuItem()->parentItemID && $_menuItem->getMenuItem()->getPage()}
{if $__wcf->session->getPermission('admin.configuration.package.canUpdatePackage') && $__wcf->getAvailableUpdates()}
<li>
- <a href="{link controller='PackageUpdate'}{/link}"><span class="icon icon32 fa-refresh"></span> <span>{lang}wcf.acp.package.updates{/lang}</span> <span class="badge badgeUpdate">{#$__wcf->getAvailableUpdates()}</span></a>
+ <a href="{link controller='PackageUpdate'}{/link}" class="jsTooltip" title="{lang}wcf.acp.package.updates{/lang}"><span class="icon icon32 fa-refresh"></span> <span class="badge badgeUpdate">{#$__wcf->getAvailableUpdates()}</span></a>
</li>
{/if}
{/if}
<li id="woltlab" class="dropdown">
- <a class="dropdownToggle" data-toggle="woltlab"><span class="icon icon32 fa-info"></span> <span>WoltLab®</span></a>
+ <a href="#" class="dropdownToggle jsTooltip" title="WoltLab®"><span class="icon icon32 fa-info"></span></a>
<ul class="dropdownMenu" data-dropdown-alignment-horizontal="right">
<li><a class="externalURL" href="{@$__wcf->getPath()}acp/dereferrer.php?url={"https://www.woltlab.com"|rawurlencode}"{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}>{lang}wcf.acp.index.woltlab.website{/lang}</a></li>
{event name='menuItems'}
</ul>
-</nav>
\ No newline at end of file
+</nav>