From: Marcel Werk Date: Sun, 8 Mar 2015 13:09:04 +0000 (+0100) Subject: Fixed missing rank image X-Git-Tag: 2.1.2~71 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=071007ed1c0d42b209236be4538471232047de82;p=GitHub%2FWoltLab%2FWCF.git Fixed missing rank image --- 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}