1 <ul class="sidebarBoxList">
2 {foreach from=$birthdayUserProfiles item=birthdayUserProfile}
4 <a href="{link controller='User' object=$birthdayUserProfile}{/link}">{@$birthdayUserProfile->getAvatar()->getImageTag(32)}</a>
6 <div class="sidebarBoxHeadline">
7 <h3><a href="{link controller='User' object=$birthdayUserProfile}{/link}" class="userLink" data-user-id="{@$birthdayUserProfile->userID}">{$birthdayUserProfile->username}</a></h3>
8 <small>{$birthdayUserProfile->getBirthday()}</small>
14 {if $birthdayUserProfiles|count >= 10}
15 <a class="jsTodaysBirthdays button small more jsOnly">{lang}wcf.global.button.showAll{/lang}</a>
17 <script data-relocate="true">
20 var $todaysBirthdays = null;
21 $('.jsTodaysBirthdays').click(function() {
22 if ($todaysBirthdays === null) {
23 $todaysBirthdays = new WCF.User.List('wcf\\data\\user\\UserBirthdayAction', '{lang}wcf.dashboard.box.com.woltlab.wcf.user.todaysBirthdays{/lang} ({@TIME_NOW|date})', { date: '{@TIME_NOW|date:'Y-m-d'}' });
25 $todaysBirthdays.open();