User.pm: fixed a type Group->group should be group->get

Template documentation for EMS and another i18n label.
This commit is contained in:
Colin Kuskie 2006-02-20 20:37:27 +00:00
parent 9f4b73a946
commit a991401a6a
4 changed files with 95 additions and 2 deletions

View file

@ -945,7 +945,7 @@ sub view {
$eventFields{'description'} = $event->{'description'};
$eventFields{'price'} = $event->{'price'};
$eventFields{'purchase.url'} = $self->getUrl('func=addToCart;pid='.$event->{'productId'});
$eventFields{'purchase.label'} = "Add To Cart";
$eventFields{'purchase.label'} = $i18n->get('add to cart');
push (@events, {'event' => $self->processTemplate(\%eventFields, $event->{'templateId'}) });
}