fixed a bug in cache control

fixed a bug in snippet
added more of the default 7.0 content
This commit is contained in:
JT Smith 2006-04-26 18:34:58 +00:00
parent 3bc44928b3
commit 4f0727ba40
3 changed files with 126 additions and 3 deletions

View file

@ -172,7 +172,7 @@ sub view {
my $output = $self->get("snippet");
WebGUI::Macro::process($self->session,\$output);
$output = $self->getToolbar.$output if ($self->session->var->get("adminOn") && !$calledAsWebMethod);
unless ($self->getValue("processAsTemplate")) {
if ($self->getValue("processAsTemplate")) {
$output = WebGUI::Asset::Template->processRaw($self->session, $output);
}
if (!$self->session->var->isAdminOn && $self->get("cacheTimeout") > 10) {