Finally Internationalized some of the www_edit screens for wobjects, by adding a generic www_edit generator in Wobject.pm.
Fixed a lot of the www_ methods in Survey.pm to return in styled pages instead of raw <p> tags without <html><head>etc</head><body></body>
This commit is contained in:
parent
aec5855a55
commit
944e18aed8
8 changed files with 59 additions and 43 deletions
|
|
@ -739,12 +739,12 @@ sub www_deleteTabConfirm {
|
|||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_edit {
|
||||
my $self = shift;
|
||||
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||
$self->getAdminConsole->setHelp("data form add/edit","Asset_DataForm");
|
||||
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("7","Asset_DataForm"));
|
||||
}
|
||||
#sub www_edit {
|
||||
# my $self = shift;
|
||||
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||
# $self->getAdminConsole->setHelp("data form add/edit","Asset_DataForm");
|
||||
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("7","Asset_DataForm"));
|
||||
#}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_editField {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue