selectable templates for auth

This commit is contained in:
JT Smith 2005-03-04 23:45:13 +00:00
parent 2a1db10c8b
commit ac877443ed
8 changed files with 122 additions and 19 deletions

View file

@ -561,6 +561,10 @@ Renders self->view based upon current style, subject to timeouts. Returns Privil
sub www_view {
my $self = shift;
return WebGUI::Privilege::noAccess() unless $self->canView;
if ($self->get("encryptPage") && $session{env}{HTTPS} ne "on") {
WebGUI::HTTP::setRedirect($self->getUrl);
return "";
}
$self->logView();
my $cache;
my $output;