fix - EMS Manage Events broken

Added new template variables for a link label and url that allows you to cancel registration and return to the EMS if you mistakenly tried to purchase something.
This commit is contained in:
Roy Johnson 2006-11-07 19:11:46 +00:00
parent 7ac7b2bc80
commit 3a8a832e63
4 changed files with 106 additions and 1 deletions

View file

@ -930,7 +930,9 @@ sub getRegistrationInfo {
$var{'form.updateProfile'} = WebGUI::Form::Checkbox($self->session,{name=>'updateProfile'});
$var{isLoggedIn} = 1 if ($self->session->user->userId ne '1');
$var{'form.email'} = WebGUI::Form::Email($self->session,{name=>'email'});
$var{'registration'} = 1;
$var{'registration'} = 1;
$var{'cancelRegistration.url'} = $self->getUrl('func=resetScratchCart');
$var{'cancelRegistration.url.label'} = $i18n->get('cancel registration');
return \%var;
}