git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 284a8b9c authored by Mike Sheldon's avatar Mike Sheldon

Merge branch 'master' of gitorious.org:~Elleo/foocorp/elleos-librefm

parents 81e7e9d6 6c5cf702
{include file='header.tpl'}
<h2 property="dc:title">{t}Profile deleted{/t}</h2>
<p>{t}Your account has been deleted.{/t}</p>
{include file='footer.tpl'}
{include file='header.tpl'}
<h2>Admin panel</h2>
<hr>
{if isset($sent)}
<b>{t}Email was sent successfully!{/t}</b><br/ >
{/if}
<b>{t}Requests for invites{/t}</b>
<ul id="invites">
{section name=i loop=$emails}
{if ($emails[i].status == '0')}
<li>
<dl>
<dt><a href="admin.php?action=invite&email={$emails[i].email|stripslashes|urlencode}">
{$emails[i].email|stripslashes}</a></dt>
</dl>
</li>
{/if}
{/section}
</ul><br />
<b>{t}Invited people{/t}</b>
<ul id="invitees">
{section name=i loop=$emails}
{if ($emails[i].status == '1')}
<li>
<dl>
<dt><a href="admin.php?action=invite&email={$emails[i].email|stripslashes|urlencode}">
{$emails[i].email|stripslashes}</a></dt>
</dl>
</li>
{/if}
{/section}
</ul>
{include file='footer.tpl'}
{include file='header.tpl'}
{if isset($errors)}
<div id="errors">
{section loop=$errors name=error}
<p>{$errors[error]}</p>
{/section}
</div>
{/if}
<div about="{$id}" typeof="mo:Record" class="haudio">
<div class="vcard">
<form action='' method='post'>
<div><h3><label for='name'>{t}Album Name{/t}</h3>
<div class='formHelp'>{t}The name of the album{/t}</div>
<input type='text' name='name' id='name' value='{$name|escape:'htmlall'}' />
</div>
<div><h3><label for='image'>{t}Cover Image{/t}</h3>
<div class='formHelp'>{t}Address linking to the album's cover image{/t}</div>
<input type='text' name='image' id='image' value='{$image|escape:'htmlall'}' />
</div>
<br />
<p><input type='submit' name='submit' value='{t}Create Album{/t}' /></p>
</form>
</div>
</div>
{include file='footer.tpl'}
<h2>
<span rel="foaf:maker" rev="foaf:made" class="contributor">
<a about="{$artist->id}" typeof="mo:MusicArtist" property="foaf:name" class="url fn org"
rel="foaf:page" rev="foaf:primaryTopic" href="{$artist->getURL()}">{$artist->name}</a>
</span>
&#8212;
<span class="album" property="dc:title" rel="foaf:page" rev="foaf:primaryTopic" resource="">{$name}</span>
</h2>
{include file='header.tpl'}
<div about="{$id}" typeof="mo:Record" class="haudio">
<div{if $album->image != false} rel="foaf:depiction"{/if}>
<img class="albumart" {if $album->image == false} src="{$img_url}/qm160.png"{else} src="{$album->image}"{/if}
alt="{$album->name|escape:'html':'UTF-8'}" title="{$album->name|escape:'html':'UTF-8'}" width="160" />
</div>
<ul id="tracks" rel="mo:track">
{section name=i loop=$tracks}
<li about="{$tracks[i]->id}" typeof="mo:Track" class="item">
<a class="fn url" href="{$tracks[i]->getURL()}" rel="foaf:page" property="dc:title">{$tracks[i]->name}</a>
</li>
{/section}
{if $add_track_link}<li><a href='{$add_track_link}'><strong>[{t}Add new track{/t}]</strong></a></li>{/if}
</ul>
</div>
<div class="cleaner">&nbsp;</div>
{include file='footer.tpl'}
{include file='header.tpl'}
{include file='tc-all.inc'}
{include file='footer.tpl'}
<h2 class="fn org" property="foaf:name" rel="foaf:page" rev="foaf:primaryTopic" resource="">{$name|escape:'html':'UTF-8'}{if $manage_link} <a href="{$manage_link}"><small>[{t}Edit{/t}]</small></a>{/if}</h2>
{include file='header.tpl'}
{if isset($errors)}
<div id="errors">
{section loop=$errors name=error}
<p>{$errors[error]}</p>
{/section}
</div>
{/if}
<div about="{$id}" typeof="mo:MusicArtist">
<div class="vcard">
<form action='' method='post'>
<div><h3><label for='homepage'>Home Page</h3>
<div class='formHelp'>A link to the {$name|escape:'htmlall'}'s website.</div>
<input type='text' name='homepage' id='homepage' value='{$homepage|escape:'htmlall'}' />
</div>
<div><h3><label for='bio_summary'>Short Biography</h3>
<div class='formHelp'>Provide a short summary of {$name|escape:'htmlall'}'s biography.</div>
<textarea name='bio_summary' id='bio_summary'>{$bio_summary|escape:'html':'UTF-8'}</textarea>
</div>
<div><h3><label for='bio_content'>Full Biography</h3>
<div class='formHelp'>Provide a more detailed biography of {$name|escape:'htmlall'}.</div>
<textarea name='bio_content' id='bio_content'>{$bio_content|escape:'html':'UTF-8'}</textarea>
</div>
<div><h3><label for='image'>Image</h3>
<div class='formHelp'>Provide a link to an image of {$name|escape:'htmlall'}, this should be no larger than 256x256 pixels. If you need somewhere to upload your image we recommend <a href='http://imgur.com'>Imgur</a>, <a href='http://www.flickr.com'>Flickr</a> or <a href='http://www.archive.org'>Archive.org</a>.</div>
<input type='text' name='image' id='image' value='{$image|escape:'htmlall'}' />
</div>
<div><h3><label for='flattr_uid'>Flattr Username</h3>
<div class='formHelp'>If you have a <a href='http://flattr.com'>flattr account</a> simply enter your flattr username and we'll automatically put flattr buttons on your artist and track pages. This way your fans will be able to show their appreciation with the occasional tip.</div>
<input type='text' name='flattr_uid' id='flattr_uid' value='{$flattr_uid|escape:'htmlall'}' />
</div>
<br />
<p><input type='submit' name='submit' value='Update' /></p>
</div>
<ul>
{section name=i loop=$albums}
{if $albums[i]->name}
<li about="{$albums[i]->id}" property="dc:title" content="{$albums[i]->name|escape:'html':'UTF-8'}" typeof="mo:Record" class="haudio">
<a rel="foaf:page" href="{$albums[i]->getURL()}">{$albums[i]->name|escape:'html':'UTF-8'}</a>
</li>
{/if}
{/section}
</ul>
<br />
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
{if ($logged_in)}
{if $creating}
{if $already_exists}
{if !empty($managers)}
{t}We already have an artist by that name and they're already managed by:{/t}
<ul>
{section name=i loop=$managers}
<li><a href='{$managers[i]->getURL()}'>{$managers[i]->name}</a></li>
{/section}
</ul>
<p>{t escape=no}If you believe these users shouldn't be managing this artist please <a href='http://bugs.foocorp.net/projects/librefm/'>raise a support ticket in our bug tracker</a> and we'll check in to it.{/t}</p>
<p>{t escape=no}Otherwise please <a href='{$base_url}/artist-signup.php'>try again</a> with a new artist name.{/t}</p>
{else}
{t escape=no artisturl=$artist->getURL()}We already have an artist by that name, but they're currently not being managed by anyone. Does <a href='%1' target='_blank'>this</a> look like you?{/t}
<form method='post' action=''>
<input type='hidden' value='{$artist->name}' name='artist_name' />
<input type='submit' value="{t}Yes, that's me!{/t}" name='confirm_artist' /><br /><br />
<input type='submit' value="{t}No, that's not me.{/t}" name='reject_artist' />
</form>
{/if}
{/if}
{elseif $created}
{t escape=no managementurl=$artist->getManagementURL()}Awesome, you're all ready to start sharing your music! To get started head over to your <a href='%1'>artist management page</a> and start filling in a few details about yourself.{/t}
{elseif $too_popular}
{t escape=no}Wow, you're pretty popular! To make sure you're really associated with this band we're going to have to do some extra checks before enabling your artist account. If you're on Jamendo we'll typically send you a message there to check, otherwise we'll try to send an e-mail to the address on your band's website. Once that's all sorted we'll send you an e-mail letting you know that your account is ready for you!{/t}
{else}
{if $reject_artist}
<center><p><b>{t}Sorry, in that case you'll have to pick a new name.{/t}</b></p></center>
{/if}
<form method='post' action=''>
<label for="artist_name"><b>{t}Artist name:{/t}</b><br />{t}To start off just let us know the name that you like to perform under:{/t}</label><input type='text' name='artist_name' id='artist_name' /><br /><br />
<input type="submit" value="{t}Create artist account{/t}" />
</form>
{/if}
{else}
{t escape=no}Before creating an artist account you first need to <a href='{$base_url}/register.php'>register</a> or <a href='{$base_url}/login.php'>log in</a> with a normal Libre.fm account.{/t}
{/if}
{include file='footer.tpl'}
{include file='header.tpl'}
<div about="{$id}" typeof="mo:MusicArtist">
{if !empty($tagcloud)}
<h3 style='text-align: center; clear: left;'>{t}Popular tags other people used to describe this artist{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$tagcloud}
<li style='font-size:{$tagcloud[i].size}'><a href='/tag/{$tagcloud[i].tag|urlencode}' title='{t uses=$tagcloud[i].count}This tag was used %1 times{/t}' rel='tag'>{$tagcloud[i].tag}</a></li>
{/section}
</ul>
{/if}
{if !empty($mytags)}
<h3 style='text-align: center; clear: left;'>{t}Tags you've used for this artist{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$mytags}
<li>{$mytags[i].tag},</li>
{/section}
</ul>
{/if}
<br />
<form action='' method='post'>
<b><label for='tags'>{t}Add tags:{/t}</label></b><br />
<br />
<input type='text' name='tags' id='tags' /><br />
<br />
<input type='submit' name='tag' id='tag' value='{t}Tag{/t}' />
</form>
{literal}
<script type='text/javascript'>
$(document).ready(function(){
$("#tags").placeholdr({placeholderText: "{/literal}{t}e.g. guitar, violin, female vocals, piano{/t}{literal}"});
});
</script>
{/literal}
<br />
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
{if $flattr_uid}
{include file='flattr.tpl'}
{/if}
<div about="{$id}" typeof="mo:MusicArtist">
<div class="vcard">
{if $streamable}
<div id='player-container'>
{include file='player.tpl'}
<script type="text/javascript">
$(document).ready(function() {ldelim}
{if isset($this_user)}
playerInit(false, "{$this_user->getScrobbleSession()}", "{$this_user->getWebServiceSession()}", "{$radio_session}");
{else}
playerInit(false, false, false, "{$radio_session}");
{/if}
{rdelim});
</script>
</div>
{/if}
{if $image}
<center><p id='artist_image' style='float: left; width: 256px;'>
<img style='max-height: 256px; max-width: 256px;' src="{$image|escape:'htmlall'}" /><br />
{if $homepage}<a href="{$homepage|escape:'htmlall'}">{$name|escape:'html':'UTF-8'}'s homepage</a>{/if}
</p></center><br />
{else}
{if $homepage}<p style='clear: left;'><a href="{$homepage|escape:'htmlall'}">{t name=$name|escape:'html':'UTF-8'}%1's homepage{/t}</a></P>{/if}
{/if}
{if $bio_summary}
<div class="note" id="bio" property="bio:olb" datatype="" style='clear: left;'>
<h4>{t}Biography{/t}</h4>
<p>{$bio_summary}</p>
{if $bio_content}
<a href='#' onclick='$("#show_more_bio").toggle(500); $("#bio_content").toggle(500);' id='show_more_bio'>{t}Show more...{/t}</a>
<p id='bio_content' style='display: none;'>{$bio_content}</p>
{/if}
</div>
{/if}
</div>
{if $flattr_uid}
<div class="flattr" style="float: right; padding-right: 2em;">
<a class="FlattrButton" style="display:none;"
title="{$name|escape:'htmlall'}"
rev="flattr;uid:{$flattr_uid|escape:'htmlall'};category:audio;tags:music,creative commons,free,libre.fm;"
{if $bio_summary}
href="{$url}">{$bio_summary|escape:'htmlall'}</a>
{else}
href="{$url}">{$name|escape:'htmlall'} makes their music freely available on Libre.fm for you to listen to, share and remix however you like.</a>
{/if}
</div>
{/if}
<h3>{t}Albums{/t}</h3>
<ul>
{section name=i loop=$albums}
{if $albums[i]->name}
<li about="{$albums[i]->id}" property="dc:title" content="{$albums[i]->name|escape:'html':'UTF-8'}" typeof="mo:Record" class="haudio">
<a rel="foaf:page" href="{$albums[i]->getURL()}">{$albums[i]->name|escape:'html':'UTF-8'}</a>
</li>{/if}
{/section}
{if $add_album_link}<li><a href='{$add_album_link}'><strong>[{t}Add new album{/t}]</strong></a></li>{/if}
</ul>
<br />
{if !empty($similarArtists)}
<h3 style='text-align: center; clear: left;'>{t}Similar free artists{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$similarArtists}
<li style='font-size:{$similarArtists[i].size}'><a href='{$similarArtists[i].url}'>{$similarArtists[i].artist}</a></li>
{/section}
</ul>
{/if}
<br />
{if !empty($tagcloud)}
<h3 style='text-align: center; clear: left;'>{t}Tags used to describe this artist{/t}</h3>
<ul class="tagcloud">
{section name=i loop=$tagcloud}
<li style='font-size:{$tagcloud[i].size}'><a href='/tag/{$tagcloud[i].tag|urlencode}' title='{t uses=$tagcloud[i].count}This tag was used %1 times{/t}' rel='tag'>{$tagcloud[i].tag}</a></li>
{/section}
</ul>
{/if}
<br />
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
<h2 property="dc:title">{t}Remove your profile{/t}</h2>
<p><strong>Confirmation mail has been sent to email on file for {$this_user->name}. Thank you.</strong></p>
{include file='footer.tpl'}
{include file='header.tpl'}
{if $newform}
<h2 property="dc:title">{t}Create a group{/t}</h2>
<form action="{$base_url}/edit_group.php" method="post">
<p style="display:center">
<label for="new">{t}Address for the group:{/t}</label><br />
<b>{$base_url}/group/</b><input id="new" name="new" size="12" /></p>
<p>Please remember that Libre.fm is focused on freedom, so try to
create groups that can help that goal. Also be mindful of the power of
words and the importance of framing the issues we discuss and work on
in the best possible terms.</p>
<p>
<input name="group" value="new" type="hidden" />
<input type="submit" value=" {t}Create{/t} " />
</p>
</form>
{else}
<h2 property="dc:title">{t}Edit your group{/t}</h2>
<p><strong>{t}The form below is still very experimental. Using this may wreck your group!{/t}</strong></p>
<form action="{$base_url}/edit_group.php" method="post" class="notcrazy">
<table>
<tr>
<th align="right" valign="top"><label for="fullname">{t}Full name:{/t}</label></th>
<td><input name="fullname" id="fullname" value="{$fullname|escape:'html':'UTF-8'}" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<th align="right" valign="top"><label for="homepage">{t}Website address:{/t}</label></th>
<td><input name="homepage" id="homepage" value="{$homepage|escape:'html':'UTF-8'}" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<th align="right" valign="top"><label for="avatar_uri">{t}Logo address:{/t}</label></th>
<td><input name="avatar_uri" id="avatar_uri" value="{$avatar_uri|escape:'html':'UTF-8'}" /></td>
<td><a href="#dfn_avatar_uri" rel="glossary">{t}What's this?{/t}</a></td>
</tr>
<tr>
<th align="right" valign="top"><label for="bio">{t}Description:{/t}</label></th>
<td><textarea name="bio" id="bio" rows="6" cols="30" style="width:100%;min-width:20em">{$bio|escape:'html':'UTF-8'}</textarea></td>
<td>&nbsp;</td>
</tr>
<tr>
<th align="right" valign="top"><label for="owner">Leader:</label></th>
<td>
<select name="owner" id="owner">
{foreach from=$members item=me}
<option {if $me->name==$owner->name}selected="selected"{/if}
value="{$me->name|escape:'html':'UTF-8'}"
>{$me->fullname|escape:'html':'UTF-8'} ({$me->name|escape:'html':'UTF-8'})</option>
{/foreach}
</select>
</td>
<td><a href="#dfn_owner" rel="glossary">What's this?</a> <strong>Important!</strong></td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="Change" />
<input name="submit" value="1" type="hidden" />
<input name="group" value="{$group|escape:'html':'UTF-8'}" type="hidden" />
</td>
</tr>
</table>
</form>
<h3>Help</h3>
<dl>
<dt id="dfn_avatar_uri">Logo address</dt>
<dd>{t}The web address for a picture to represent your group on libre.fm. It should
not be more than 80x80 pixels. (64x64 is best.){/t}</dd>
<dt id="dfn_owner">Leader</dt>
<dd>{t}The group leader 'owns' the group and is able to make changes to the group.
A group can only have one leader, so if you make someone else the leader, you will
no longer be able to edit this group. You will not be able to undo this change!{/t}</dd>
</dl>
{/if}
{include file='footer.tpl'}
{include file='header.tpl'}
{$details|escape:'htmlall'}
{include file='footer.tpl'}
{include file='header.tpl'}
<h2>{t}Explore popular artists{/t}</h2>
<ul id="topartists" class="listcloud">
{section name=popular loop=$topartists}
<li>
<dl>
<dt><a href="{$topartists[popular].artisturl}">
{$topartists[popular].artist|stripslashes}</a></dt>
<dd>{$topartists[popular].c} gobbles</dd>
</dl>
</li>
{/section}
</ul>
<div class="cleaner">&nbsp;</div>
{include file='footer.tpl'}
{if $flattr_uid}
<div class="flattr" style="float: right; padding-right: 2em;">
<a class="FlattrButton" style="display:none;"
title="{$name|escape:'htmlall'}"
rev="flattr;uid:{$flattr_uid|escape:'htmlall'};category:audio;tags:music,creative commons,free,libre.fm;"
{if $bio_summary}
href="{$url}">{$bio_summary|escape:'htmlall'}</a>
{else}
href="{$url}">{$name|escape:'htmlall'} makes their music freely available on Libre.fm for you to listen to, share and remix however you like.</a>
{/if}
</div>
{/if}
{literal}
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
{/literal}
......@@ -15,14 +15,14 @@
<li><a href="http://identi.ca/group/librefm/join">{t}Join our blog{/t}</a></li>
<li><a href="http://turtle.libre.fm/">{t}Recent tracks{/t}</a></li>
</ul>
<p>{t escape=no}Powered by <a href="https://savannah.gnu.org/projects/librefm/">GNU FM{/t}</a></p>
<p>{t escape=no}Powered by <a href="http://gnu.org/software/fm">GNU FM{/t}</a></p>
<p>{t escape=no}A <a href='http://foocorp.net'>FooCorp</a> thing. Since 1997 the good people of FooCorp have been making entertaining things for the web.{/t}</p>
<p><a href='http://foocorp.net/cat.html'>FOO 200</a></p>
<p>{t}Visit other autonomo.us sites like:{/t} <a href="http://identi.ca">Identi.ca</a>, <a href="http://wikidot.org">Wikidot</a>, <a href="http://filmaster.com">filmaster</a>.</p>
<p>{t escape=no}Hosted by <a href='http://www.bytemark.co.uk'>Bytemark</a> and the <a href='http://www.isc.org'>Internet Software Consortium</a>, with help from <a href='http://corehost.us/stopsopa.html'>corehost</a>.{/t}</p>
<p>{t escape=no}Hosted by <a href='http://www.bytemark.co.uk'>Bytemark</a> and the <a href='http://www.isc.org'>Internet Systems Consortium</a>, with help from <a href='http://corehost.us/stopsopa.html'>corehost</a>.{/t}</p>
</div>
</div>
......
{include file='header.tpl'}
<h2 property="dc:title">{t}All Groups{/t}</h2>
<div about="#groups" typeof="foaf:Group" property="foaf:name" content="{t}All Groups{/t}">
<ul rel="foaf:member" class="userlist">
{foreach from=$groups item=g}
<li about="{$g->id}" typeof="foaf:Group" class="vcard">
<span rel="foaf:depiction"><img src="{$g->getAvatar()|escape:'html':'UTF-8'}" alt="avatar" class="photo" width="48" height="48" /></span>
<a class="fn org url"
rel="foaf:homepage" rev="foaf:primaryTopic" href="{$g->getURL()|escape:'html':'UTF-8'}"
property="foaf:name">{$g->fullname|escape:'html':'UTF-8'}</a>
&mdash;
<span class="note" property="dc:description">{t members='$g->count}%1 members{/t}</span>
</li>
{/foreach}
</ul>
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
<h2 property="dc:title">{t}Group:{/t} {$fullname|escape:'html':'UTF-8'}</h2>
<div about="{$id}" typeof="foaf:Group">
<div class="group vcard">
<div class="avatar" rel="foaf:depiction">
<img src="{$avatar|escape:'html':'UTF-8'}" alt="avatar" class="photo" width="64" height="64" />
</div>
{if $logged_in}
{if $ismember}
{if $isowner}
<a class="edit" href="{$link_edit}">[{t}edit{/t}]</a>
{else}
<form class="edit" action="{$link}" method="get"><div><input type="hidden" name="action" value="leave" /><input type="submit" value=" {t}leave{/t} " /></div></form>
{/if}
{else}
<form class="edit" action="{$link}" method="get"><div><input type="hidden" name="action" value="join" /><input type="submit" value=" {t}join{/t} " /></div></form>
{/if}
{/if}
<dl>
<dt>
<span class="fn org" property="foaf:name">{$fullname|escape:'html':'UTF-8'}</span>
(<span class="nickname" property="foaf:nick">{$group|escape:'html':'UTF-8'}</span>)
</dt>
<dd>{if $homepage}<a class="url" rel="foaf:page" href="{$homepage|escape:'html':'UTF-8'}">{$homepage|escape:'html':'UTF-8'}</a>{/if}</dd>
<dd class="note" property="dc:abstract">{$bio|escape:'html':'UTF-8'}</dd>
</dl>
<hr style="border: 1px solid transparent; clear: both;" rel="foaf:homepage" rev="foaf:primaryTopic" resource="" />
</div>
<ul rel="foaf:member" class="userlist">
{foreach from=$userlist item=me}
<li>{include file='miniprofile.tpl'}</li>
{/foreach}
</ul>
</div>
<!-- Column break -->
</div></div><div class="yui-u" id="sidebar"><div style="padding: 10px;">
<h3>{t}Top artists{/t}</h3>
<ul class="tagcloud" about="{$id}">
{section name=i loop=$group_tagcloud}
<li style="font-size:{$group_tagcloud[i].size}"><a
href="{$group_tagcloud[i].pageurl|escape:'html':'UTF-8'}" rel="{if $group_tagcloud[i].size|substr:-5 ==
'large'}foaf:interest {/if}tag">{$group_tagcloud[i].artist|escape:"html":"UTF-8"}</a></li>
{/section}
</ul>
{include file='footer.tpl'}
{include file='header.tpl'}
<h2>Invite</h2>
{if isset($errors)}
<p id='errors'>{$errors}</p>
{/if}
{if isset($sent)}
<p>{t}Your invitation has been sent, pretty soon your friend should be thanking you profusely.{/t}</p>
{else}
<div id='invite'>
<form action='' method='post'>
<fieldset>
<p>{t escape=no}Do you have an awesome friend you'd like to share <a href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</a> with? Just enter his/her email address and we'll sort them out with an invitation code.{/t}</p>
<label for='email'>{t}Invitee's E-mail:{/t}<span>{t}must be valid!{/t}</span></label>
<input id='email' name='email' type='text' value='' />
<input type='submit' name='invite' value='{t}Let them in!{/t}'/>
</fieldset>
</form>
</div>
{/if}
{include file='footer.tpl'}
<form method='get' action=''>
<label for='lang'>{t}Preferred language:{/t} </label>
<select name='lang' id='lang' onchange='this.form.submit()'>
<optgroup label="{t}Please select your language{/t}">
<option {if $lang_selector_array.en_US}selected="selected"{/if} value='en_US'>English</option>
<option {if $lang_selector_array.ca_ES}selected="selected"{/if} value='ca_ES'>Català</option>