![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$menu_item = "Sections" | |
$section_id = checkNumeric($_GET["section_id"]) | |
$site_id = checkNumeric($_GET["site_id"]) | |
$section = new Section() | |
$allowDelete = false | |
if($section_id) | else |
$section | section_type = "Content" |
$form = new AutoForm($section) | |
$form | allowDelete = $allowDelete |
$templateSelect = new TemplateSelectFieldRenderer($form, "default_template", "Default Template", "site") | |
$roleList = new CheckListFieldRenderer($form, "default_role", "Default Role", SiteRole::getRolesArray()) | |
$siteSelect = new RelatedItemSelectFieldRenderer($form, "site_id", "Site", Site, "ORDER BY site_name", "site_name", "site_id") | |
$identifierSelect = new CMSItemSelectFieldRenderer($form, "default_page", "Default Page", null) | |
$permissionsList = Settings::createPermissionsFieldRenderer($form, "default_permissions", "Default Permissions") | |
$types = SectionContentManagerMap::getRegisteredTypes() | |
$typeSelect = $form->dropdown("section_type", "Section Type", array_combine($types, $types)) | |
if($method=="POST") | $script = $form->writeScript() |
$tabs = sectionTabs($section_id) | |
$allowDelete = false |
Definition at line 45 of file section_form.inc.
$form = new AutoForm($section) |
Definition at line 64 of file section_form.inc.
$identifierSelect = new CMSItemSelectFieldRenderer($form, "default_page", "Default Page", null) |
Definition at line 74 of file section_form.inc.
$menu_item = "Sections" |
Definition at line 39 of file section_form.inc.
$permissionsList = Settings::createPermissionsFieldRenderer($form, "default_permissions", "Default Permissions") |
Definition at line 75 of file section_form.inc.
$roleList = new CheckListFieldRenderer($form, "default_role", "Default Role", SiteRole::getRolesArray()) |
Definition at line 71 of file section_form.inc.
if ( $method=="POST") $script = $form->writeScript() |
Definition at line 88 of file section_form.inc.
Definition at line 44 of file section_form.inc.
$section_id = checkNumeric($_GET["section_id"]) |
Definition at line 41 of file section_form.inc.
$site_id = checkNumeric($_GET["site_id"]) |
Definition at line 42 of file section_form.inc.
$siteSelect = new RelatedItemSelectFieldRenderer($form, "site_id", "Site", Site, "ORDER BY site_name", "site_name", "site_id") |
Definition at line 73 of file section_form.inc.
$tabs = sectionTabs($section_id) |
Definition at line 90 of file section_form.inc.
$templateSelect = new TemplateSelectFieldRenderer($form, "default_template", "Default Template", "site") |
Definition at line 69 of file section_form.inc.
$types = SectionContentManagerMap::getRegisteredTypes() |
Definition at line 77 of file section_form.inc.
Definition at line 78 of file section_form.inc.
$form allowDelete = $allowDelete |
Definition at line 65 of file section_form.inc.
if ( $section_id) else |
Definition at line 58 of file section_form.inc.
$section section_type = "Content" |
Definition at line 61 of file section_form.inc.