lots of help and other misc. fixes.

This commit is contained in:
Matthew Wilson 2005-12-03 20:07:04 +00:00
parent 16da1e3180
commit fc96c0bcfb
16 changed files with 476 additions and 597 deletions

View file

@ -447,19 +447,19 @@ sub www_displayStock {
}
#-------------------------------------------------------------------
=head2 www_edit ( )
#=head2 www_edit ( )
Web facing method which is the default edit page
#Web facing method which is the default edit page
=cut
#=cut
sub www_edit {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
$self->getAdminConsole->setHelp("stock_list_add_edit","Asset_StockData");
return $self->getAdminConsole->render($self->getEditForm->print,
WebGUI::International::get("edit_title","Asset_StockData"));
}
#sub www_edit {
# my $self = shift;
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
# $self->getAdminConsole->setHelp("stock list add/edit","Asset_StockData");
# return $self->getAdminConsole->render($self->getEditForm->print,
# WebGUI::International::get("edit_title","Asset_StockData"));
#}
#-------------------------------------------------------------------
=head2 www_view ( )