added an empty style template and the ability to hide templates from forms and editing
This commit is contained in:
parent
016c33171e
commit
044b024011
5 changed files with 16 additions and 5 deletions
|
|
@ -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/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue