fix getEditTabs reference code, and then make Sku and CS to be in the same style
This commit is contained in:
parent
02635bf3c9
commit
59abc1231f
3 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue