-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.tpl
31 lines (28 loc) · 1.2 KB
/
index.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{**
* plugins/generic/listOfAttendees/content.tpl
*
* Copyright (c) 2013 Péter Fankhauser
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Display List of Attendees content
*
* $Id$
*}
{assign var="pageTitleTranslated" value=$title}
{include file="common/header.tpl"}
<ul id="listOfAttendees">
{foreach from=$attendees item=attendee}
<li>
{assign var="profileImage" value=$attendee->getSetting('profileImage')}
{if $profileImage}
<img height="{$profileImage.height|escape}" width="{$profileImage.width|escape}" alt="{translate key="user.profile.profileImage"}" src="{$sitePublicFilesDir}/{$profileImage.uploadName}" />
{/if}
{$attendee->getFirstName()|escape} {$attendee->getMiddleName()|escape} {$attendee->getLastName()|escape}
{if $attendee->getAffiliation()}<br />{$attendee->getAffiliation()|escape|nl2br}{/if}
{if $attendee->getCountry()}<br />{assign var=countryCode value=$attendee->getCountry()}{assign var=country value=$countries.$countryCode}{$country|escape}{/if}
{if $attendee->getUrl()}<br /><a href="{$attendee->getUrl()|escape:"quotes"}">Website</a>{/if}
<div class="separator"></div>
</li>
{/foreach}
</ul>
{include file="common/footer.tpl"}