<?php @ini_set("display_errors", "1"); @ini_set("display_startup_errors", "1"); require_once "include/dbcommon.php"; require_once "include/calendar_table_variables.php"; require_once 'include/xtempl.php'; require_once 'classes/editpage.php'; require_once "classes/searchclause.php"; add_nocache_headers(); if (!EditPage::processEditPageSecurity($strTableName)) { return; } EditPage::handleBrokenRequest(); // render all necessary layouts $layout = new TLayout("edit_basic_left", "CityBlueWave", "MobileBlueWave"); $layout->version = 2; $layout->blocks["top"] = array(); $layout->containers["fields"] = array(); $layout->container_properties["fields"] = array(); $layout->containers["fields"][] = array("name" => "editheader", "block" => "editheader", "substyle" => 2); $layout->containers["fields"][] = array("name" => "message", "block" => "message_block", "substyle" => 1); $layout->containers["fields"][] = array("name" => "editfields_simple", "block" => "", "substyle" => 1); $layout->containers["fields"][] = array("name" => "editbuttons", "block" => "editbuttons", "substyle" => 2); $layout->skins["fields"] = "fields"; $layout->blocks["top"][] = "fields"; $layout->skins["details"] = "empty"; $layout->blocks["top"][] = "details"; $page_layouts["calendar_table_edit"] = $layout; $layout->skinsparams = array(); $layout->skinsparams["empty"] = array("button" => "button1");