From 071007ed1c0d42b209236be4538471232047de82 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 8 Mar 2015 14:09:04 +0100 Subject: [PATCH] Fixed missing rank image --- .../templates/dashboardBoxStaffOnlineSidebar.tpl | 11 ++++++++++- com.woltlab.wcf/templates/userPanel.tpl | 11 ++++++++++- wcfsetup/install/files/acp/templates/userList.tpl | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl b/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl index ecaa9c76fb..745c9be486 100644 --- a/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl +++ b/com.woltlab.wcf/templates/dashboardBoxStaffOnlineSidebar.tpl @@ -5,7 +5,16 @@

{$userOnline->username}

- {if MODULE_USER_RANK && $userOnline->getUserTitle()} {$userOnline->getUserTitle()}{/if} + {if MODULE_USER_RANK} + + {if $userOnline->getUserTitle()} + {$userOnline->getUserTitle()} + {/if} + {if $userOnline->getRank() && $userOnline->getRank()->rankImage} + {@$userOnline->getRank()->getImage()} + {/if} + + {/if}
{/foreach} diff --git a/com.woltlab.wcf/templates/userPanel.tpl b/com.woltlab.wcf/templates/userPanel.tpl index 96bfb5811a..08cf1497b2 100644 --- a/com.woltlab.wcf/templates/userPanel.tpl +++ b/com.woltlab.wcf/templates/userPanel.tpl @@ -22,7 +22,16 @@

{$__wcf->user->username}

- {if MODULE_USER_RANK && $__wcf->getUserProfileHandler()->getUserTitle()}

{$__wcf->getUserProfileHandler()->getUserTitle()}

{/if} + {if MODULE_USER_RANK} +

+ {if $__wcf->getUserProfileHandler()->getUserTitle()} + {$__wcf->getUserProfileHandler()->getUserTitle()} + {/if} + {if $__wcf->getUserProfileHandler()->getRank() && $__wcf->getUserProfileHandler()->getRank()->rankImage} + {@$__wcf->getUserProfileHandler()->getRank()->getImage()} + {/if} +

+ {/if}