1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
|
--- C:/Dokumente und Einstellungen/Administrator/Desktop/templates/header.tpl Thu Oct 07 19:47:35 2010
+++ C:/Dokumente und Einstellungen/Administrator/Desktop/templates/header_patched.tpl Thu Oct 07 20:28:39 2010
@@ -17,17 +17,7 @@
<div id="userMenu">
<ul>
{if $this->user->userID != 0}
- <li id="userMenuLogout"><a href="index.php?action=UserLogout&t={@SECURITY_TOKEN}{@SID_ARG_2ND}"><img src="{icon}logoutS.png{/icon}" alt="" /> <span>{lang}wbb.header.userMenu.logout{/lang}</span></a></li>
- <li id="userMenuProfileEdit"><a href="index.php?form=UserProfileEdit{@SID_ARG_2ND}"><img src="{icon}editS.png{/icon}" alt="" /> <span>{lang}wbb.header.userMenu.profile{/lang}</span></a></li>
- {if MODULE_PM == 1 && $this->user->getPermission('user.pm.canUsePm')}
- <li {if $this->user->pmUnreadCount} class="new"{/if} id="userMenuPm"><a href="index.php?page=PMList{@SID_ARG_2ND}"><img src="{icon}pm{if $this->user->pmUnreadCount}Full{else}Empty{/if}S.png{/icon}" alt="" /> <span>{lang}wbb.header.userMenu.pm{/lang}{if $this->user->pmUnreadCount} ({#$this->user->pmUnreadCount}){/if}</span></a>{if $this->user->pmTotalCount >= $this->user->getPermission('user.pm.maxPm')} <span class="pmBoxFull">{lang}wcf.pm.userMenu.mailboxIsFull{/lang}</span>{/if}</li>
- {/if}
-
- {if $additionalUserMenuItems|isset}{@$additionalUserMenuItems}{/if}
-
- {if $this->user->getPermission('admin.general.canUseAcp')}
- <li id="userMenuACP"><a href="acp/index.php?packageID={@PACKAGE_ID}"><img src="{icon}acpS.png{/icon}" alt="" /> <span>{lang}wbb.header.userMenu.acp{/lang}</span></a></li>
- {/if}
+ {include file='userPanel'}
{else}
<li id="userMenuLogin" class="options"><a href="index.php?form=UserLogin{@SID_ARG_2ND}" id="loginButton"><img src="{icon}loginS.png{/icon}" alt="" id="loginButtonImage" /> <span>{lang}wbb.header.userMenu.login{/lang}</span></a></li>
|