added an empty style template and the ability to hide templates from forms and editing

This commit is contained in:
JT Smith 2004-02-22 18:10:14 +00:00
parent 016c33171e
commit 044b024011
5 changed files with 16 additions and 5 deletions

View file

@ -95,6 +95,8 @@ sub process {
$templateId = $session{setting}{adminStyleId};
} elsif ($session{scratch}{personalStyleId} ne "") {
$templateId = $session{scratch}{personalStyleId};
} elsif ($session{page}{useEmptyStyle}) {
$templateId = 6;
}
my $type = lc($session{setting}{siteicon});
$type =~ s/.*\.(.*?)$/$1/;