commented out www_edit method so that the generalized, internationalized one in Wobject.pm will be used.

This commit is contained in:
Matthew Wilson 2005-10-14 18:53:59 +00:00
parent 46c1c0d8a3
commit 5144b65842
9 changed files with 57 additions and 57 deletions

View file

@ -436,12 +436,12 @@ sub view {
#-------------------------------------------------------------------
sub www_edit {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
$self->getAdminConsole->setHelp("navigation add/edit","Asset_Navigation");
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("22","Asset_Navigation"));
}
#sub www_edit {
# my $self = shift;
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
# $self->getAdminConsole->setHelp("navigation add/edit","Asset_Navigation");
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("22","Asset_Navigation"));
#}
#-------------------------------------------------------------------