fixed some i18n problems and moved http related functions out of session and into their own class
This commit is contained in:
parent
e531d8d5b2
commit
f18f408efb
21 changed files with 444 additions and 211 deletions
|
|
@ -17,6 +17,7 @@ use HTTP::Cookies;
|
|||
use HTTP::Request::Common;
|
||||
use HTML::Entities;
|
||||
use WebGUI::HTMLForm;
|
||||
use WebGUI::HTTP;
|
||||
use WebGUI::Icon;
|
||||
use WebGUI::International;
|
||||
use WebGUI::Privilege;
|
||||
|
|
@ -297,7 +298,7 @@ sub www_view {
|
|||
}
|
||||
|
||||
if($var{header} ne "text/html") {
|
||||
$session{header}{mimetype} = $var{header};
|
||||
WebGUI::HTTP::setMimeType($var{header});
|
||||
return $var{content};
|
||||
} else {
|
||||
return $_[0]->processTemplate($_[0]->get("templateId"),\%var);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue