fix getEditTabs reference code, and then make Sku and CS to be in the same style

This commit is contained in:
Colin Kuskie 2008-07-10 20:34:09 +00:00
parent 02635bf3c9
commit 59abc1231f
3 changed files with 10 additions and 4 deletions

View file

@ -872,7 +872,7 @@ Please see the example below for adding 1 tab.
sub getEditTabs {
my $self = shift;
my $i18n = WebGUI::International->new($self->session,"myNamespace");
return (['myTab', $i18n->get('myTabName'), 9]);
return ($self->SUPER::getEditTabs, ['myTab', $i18n->get('myTabName'), 9]);
}
=cut

View file

@ -197,7 +197,7 @@ Not to be modified, just defines a new tab.
sub getEditTabs {
my $self = shift;
my $i18n = WebGUI::International->new($self->session,"Asset_Sku");
return (['shop', $i18n->get('shop'), 9]);
return ($self->SUPER::getEditTabs(), ['shop', $i18n->get('shop'), 9]);
}
#-------------------------------------------------------------------

View file

@ -816,11 +816,17 @@ sub getContentLastModified {
}
#-------------------------------------------------------------------
=head2 getEditTabs
Add a tab for the mail interface.
=cut
sub getEditTabs {
my $self = shift;
my $i18n = WebGUI::International->new($self->session,"Asset_Collaboration");
return (['mail', $i18n->get('mail'), 9]);
return ($self->SUPER::getEditTabs(), ['mail', $i18n->get('mail'), 9]);
}
#-------------------------------------------------------------------