{** * userRegistrationForm.tpl * * Copyright (c) 2000-2008 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Attendee self-registration page. * * $Id: userRegistrationForm.tpl,v 1.13 2008/04/04 17:06:55 asmecher Exp $ *} {assign var="pageTitle" value="schedConf.registration"} {include file="common/header.tpl"}
{include file="common/formErrors.tpl"} {if count($formLocales) > 1 && !$existingUser}
{fieldLabel name="formLocale" key="form.formLanguage"} {url|assign:"registerUrl" op="registration"} {form_language_chooser form="registration" url=$registerUrl} {translate key="form.formLanguage.description"}
{/if} {assign var="registrationAdditionalInformation" value=$schedConf->getLocalizedSetting('registrationAdditionalInformation')} {if $registrationAdditionalInformation}

{translate key="manager.registrationPolicies.registrationAdditionalInformation"}

{$registrationAdditionalInformation|nl2br}

{/if}

{translate key="schedConf.registration.conferenceFees"}

{assign var="registrationMethodAvailable" value=0} {assign var="isFirstRegistrationType" value=true} {iterate from=registrationTypes item=registrationType} {if $registrationType->getPublic()} {if $registrationType->getRegistrationTypeDescription()} {/if} {/if} {/iterate} {if $registrationTypes->wasEmpty()} {/if}
 
{translate key="schedConf.registration.type"} {translate key="schedConf.registration.cost"}
 
{$registrationType->getRegistrationTypeName()|escape} {if strtotime($registrationType->getOpeningDate()) < time() && strtotime($registrationType->getClosingDate()) > time()} {assign var="registrationMethodAvailable" value=1} getTypeId() || (!$registrationTypeId && $isFirstRegistrationType)}checked="checked" {/if} value="{$registrationType->getTypeId()|escape}" /> {$registrationType->getCost()|escape} {$registrationType->getCurrencyCodeAlpha()|escape} {translate key="schedConf.registration.typeCloses" closingDate=$registrationType->getClosingDate()|date_format:$dateFormatShort} {assign var="isFirstRegistrationType" value=false} {elseif strtotime($registrationType->getOpeningDate()) > time()} {$registrationType->getCost()|escape} {$registrationType->getCurrencyCodeAlpha()|escape} {translate key="schedConf.registration.typeFuture" openingDate=$registrationType->getOpeningDate()|date_format:$dateFormatShort} {else} {$registrationType->getCost()|escape} {$registrationType->getCurrencyCodeAlpha()|escape} {translate key="schedConf.registration.typeClosed" closingDate=$registrationType->getClosingDate()|date_format:$dateFormatShort} {/if}
{$registrationType->getRegistrationTypeDescription()|nl2br}
 
{translate key="schedConf.registration.noneAvailable"}
 

  
{translate key="schedConf.registration.feeCode.description"}

{if !$registrationMethodAvailable} {assign var="disableSnippet" value="disabled=\"disabled\""} {/if}

{translate key="schedConf.registration.account"}

{if $userLoggedIn} {url|assign:"logoutUrl" page="login" op="signOut" source=$requestUri} {url|assign:"profileUrl" page="user" op="profile"}

{translate key="schedConf.registration.loggedInAs" logoutUrl=$logoutUrl profileUrl=$profileUrl}

{translate key="user.name"} {$user->getFullName()|escape}
{translate key="user.email"} {$user->getEmail()|escape}
{translate key="user.phone"} {$user->getPhone()|escape}
{translate key="user.fax"} {$user->getFax()|escape}
{translate key="common.mailingAddress"} {$user->getMailingAddress()|strip_unsafe_html|nl2br}
{else} {url|assign:"loginUrl" page="login" op="index" source=$requestUri}

{translate key="schedConf.registration.createAccount.description" loginUrl=$loginUrl}

{if $captchaEnabled} {/if}
{fieldLabel name="username" required="true" key="user.username"}
{fieldLabel name="password" required="true" key="user.password"}
{translate key="user.account.passwordLengthRestriction" length=$minPasswordLength}
{fieldLabel name="password2" required="true" key="user.account.repeatPassword"}
{fieldLabel name="captcha" required="true" key="common.captchaField"}
{translate key="common.captchaField.description"}
{fieldLabel name="firstName" required="true" key="user.firstName"}
{fieldLabel name="middleName" key="user.middleName"}
{fieldLabel name="lastName" required="true" key="user.lastName"}
{fieldLabel name="initials" key="user.initials"}   {translate key="user.initialsExample"}
{fieldLabel name="affiliation" key="user.affiliation"}
{fieldLabel name="signature" key="user.signature"}
{fieldLabel name="email" required="true" key="user.email"}
{fieldLabel name="userUrl" key="user.url"}
{fieldLabel name="phone" key="user.phone"}
{fieldLabel name="fax" key="user.fax"}
{fieldLabel name="mailingAddress" key="common.mailingAddress"}
{fieldLabel name="country" key="common.country"}
{fieldLabel name="biography" key="user.biography"}
{translate key="user.biography.description"}
{/if}{* user is logged in *}

{translate key="schedConf.registration.specialRequests"}

{if $schedConfSettings.registrationName}

{translate key="manager.registrationPolicies.registrationContact"}

{if $schedConfSettings.registrationEmail}{/if} {if $schedConfSettings.registrationPhone}{/if} {if $schedConfSettings.registrationFax}{/if} {if $schedConfSettings.registrationMailingAddress}{/if}
{translate key="user.name"} {$schedConfSettings.registrationName|escape}
{translate key="about.contact.email"} {mailto address=$schedConfSettings.registrationEmail|escape encode="hex"}
{translate key="about.contact.phone"} {$schedConfSettings.registrationPhone|escape}
{translate key="about.contact.fax"} {$schedConfSettings.registrationFax|escape}
{translate key="common.mailingAddress"} {$schedConfSettings.registrationMailingAddress|nl2br}
{/if}{* if displaying reg manager info *}

{include file="common/footer.tpl"}