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
|
|
@ -93,7 +93,7 @@ Defaults to "Page". Specify the namespace to build the list for.
|
|||
|
||||
sub getList {
|
||||
my $namespace = $_[0] || "Page";
|
||||
return WebGUI::SQL->buildHashRef("select templateId,name from template where namespace=".quote($namespace)." order by name");
|
||||
return WebGUI::SQL->buildHashRef("select templateId,name from template where namespace=".quote($namespace)." and showInForms=1 order by name");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue