root/profile.lastvisitors/templates/ProfilelastVisitorSmall.tpl @ 282

Revision 282, 1.4 kB (checked in by MDMAN, 5 years ago)

new version with extra side for all visitors

Line 
1{if SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL == 1 && SHOW_LASTVISITOR_ALLUSERS == 1 && $visitorCount != 0 || SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL == 1 && SHOW_LASTVISITOR_ALLUSERS != 1 && $this->user->userID == $profileID && $visitorCount != 0 || SHOW_LASTVISITOR_SMALL == 1 && $this->user->getPermission('admin.profile.lastvisitor.canseeboxes') && $visitorCount != 0}
2<div id="userProfileOptions">
3        <div class="border">
4                <div class="containerHead">
5                        <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div>
6                        <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title_small{/lang}</h3>
7                        </div>
8                        <div class="pageMenu">
9                                <ul>
10                                        {foreach from=$visitors item=$besucher}
11                                                <li><a href="index.php?page=User&userID={$besucher["userID"]}"><strong>{$besucher["username"]}</strong>{if SHOW_LASTVISITOR_TIME == 1}<br><font size = 1> {@$besucher["time"]|time}</font>{/if}</a></li>
12                                        {/foreach}
13                                        {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount == SHOW_LASTVISITOR_AMOUNT}
14                                                {capture assign=searchHiddenFields}
15                                                        <input type="hidden" name="ProfileID" value="{$ProfileID}" />
16                                                {/capture}
17                                                <div class="{cycle}">
18                                                        <div class="fieldTitle"><a href="index.php?page=MorelastVisitors</a></div>     
19                                                        <div class="fieldValue">alle Besucher anzeigen</div>   
20                                                </div>
21                                        {/if}
22                                </ul>
23                        </div>
24                </div>
25        </div>
26{/if}
Note: See TracBrowser for help on using the browser.