finished session changes to Commerce

This commit is contained in:
Colin Kuskie 2006-01-13 23:33:48 +00:00
parent 991f4bea9f
commit 1f55efc92d
8 changed files with 46 additions and 27 deletions

View file

@ -46,7 +46,8 @@ sub init {
#-------------------------------------------------------------------
sub name {
my $i18n = WebGUI::International->new($self->session, 'CommerceShippingByPrice');
my ($session) = @_;
my $i18n = WebGUI::International->new($session, 'CommerceShippingByPrice');
return $i18n->get('title');
}

View file

@ -46,7 +46,8 @@ sub init {
#-------------------------------------------------------------------
sub name {
my $i18n = WebGUI::International->new($self->session, 'CommerceShippingByWeight');
my ($session) = @_;
my $i18n = WebGUI::International->new($session, 'CommerceShippingByWeight');
return $i18n->get('title');
}

View file

@ -42,7 +42,8 @@ sub init {
#-------------------------------------------------------------------
sub name {
my $i18n = WebGUI::International->new($self->session, 'CommerceShippingPerTransaction');
my ($session) = @_;
my $i18n = WebGUI::International->new($session, 'CommerceShippingPerTransaction');
return $i18n->get('title');
}