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
|
|
@ -341,12 +341,12 @@ sub view {
|
|||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_edit {
|
||||
my $self = shift;
|
||||
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||
$self->getAdminConsole->setHelp("http proxy add/edit","Asset_HttpProxy");
|
||||
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("2","Asset_HttpProxy"));
|
||||
}
|
||||
#sub www_edit {
|
||||
# my $self = shift;
|
||||
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||
# $self->getAdminConsole->setHelp("http proxy add/edit","Asset_HttpProxy");
|
||||
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("2","Asset_HttpProxy"));
|
||||
#}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue