fixed a lineage problem and checked in the new shortcut system

This commit is contained in:
JT Smith 2005-02-04 22:06:46 +00:00
parent 1d8973dc8b
commit 12094333ec
9 changed files with 181 additions and 154 deletions

View file

@ -16,6 +16,7 @@ package WebGUI::Asset::Snippet;
use strict;
use WebGUI::Asset;
use WebGUI::Asset::Template;
use WebGUI::Macro;
use WebGUI::Session;
@ -134,7 +135,7 @@ sub view {
my $output = WebGUI::Macro::process($self->get("snippet"));
# if it's a javascript file this would break it
# $output = '<p>'.$self->getToolbar.'</p>'.$output if ($session{var}{adminOn});
return $output;
return WebGUI::Asset::Template->processRaw($output);
}
#-------------------------------------------------------------------