--
-- Host: localhost    Database: mollychc_zxfc
-- ------------------------------------------------------


--
-- Current Database: `mollychc_zxfc`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mollychc_zxfc` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `mollychc_zxfc`;

--
-- Table structure for table `zcx_access_actiondom`
--

CREATE TABLE `zcx_access_actiondom` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_actiondom`
--


--
-- Table structure for table `zcx_access_actions`
--

CREATE TABLE `zcx_access_actions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_actions`
--


--
-- Table structure for table `zcx_access_category`
--

CREATE TABLE `zcx_access_category` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_category`
--


--
-- Table structure for table `zcx_access_context`
--

CREATE TABLE `zcx_access_context` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_context`
--

INSERT INTO `zcx_access_context` VALUES (1,'web','modUserGroup',0,9999,3),(2,'mgr','modUserGroup',1,0,2),(3,'web','modUserGroup',1,0,2);

--
-- Table structure for table `zcx_access_elements`
--

CREATE TABLE `zcx_access_elements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_elements`
--


--
-- Table structure for table `zcx_access_media_source`
--

CREATE TABLE `zcx_access_media_source` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_media_source`
--


--
-- Table structure for table `zcx_access_menus`
--

CREATE TABLE `zcx_access_menus` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_menus`
--


--
-- Table structure for table `zcx_access_permissions`
--

CREATE TABLE `zcx_access_permissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `template` int(10) unsigned NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `value` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `template` (`template`),
  KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=215 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_permissions`
--

INSERT INTO `zcx_access_permissions` VALUES (1,1,'about','perm.about_desc',1),(2,1,'access_permissions','perm.access_permissions_desc',1),(3,1,'actions','perm.actions_desc',1),(4,1,'change_password','perm.change_password_desc',1),(5,1,'change_profile','perm.change_profile_desc',1),(6,1,'charsets','perm.charsets_desc',1),(7,1,'class_map','perm.class_map_desc',1),(8,1,'components','perm.components_desc',1),(9,1,'content_types','perm.content_types_desc',1),(10,1,'countries','perm.countries_desc',1),(11,1,'create','perm.create_desc',1),(12,1,'credits','perm.credits_desc',1),(13,1,'customize_forms','perm.customize_forms_desc',1),(14,1,'dashboards','perm.dashboards_desc',1),(15,1,'database','perm.database_desc',1),(16,1,'database_truncate','perm.database_truncate_desc',1),(17,1,'delete_category','perm.delete_category_desc',1),(18,1,'delete_chunk','perm.delete_chunk_desc',1),(19,1,'delete_context','perm.delete_context_desc',1),(20,1,'delete_document','perm.delete_document_desc',1),(21,1,'delete_eventlog','perm.delete_eventlog_desc',1),(22,1,'delete_plugin','perm.delete_plugin_desc',1),(23,1,'delete_propertyset','perm.delete_propertyset_desc',1),(24,1,'delete_snippet','perm.delete_snippet_desc',1),(25,1,'delete_template','perm.delete_template_desc',1),(26,1,'delete_tv','perm.delete_tv_desc',1),(27,1,'delete_role','perm.delete_role_desc',1),(28,1,'delete_user','perm.delete_user_desc',1),(29,1,'directory_chmod','perm.directory_chmod_desc',1),(30,1,'directory_create','perm.directory_create_desc',1),(31,1,'directory_list','perm.directory_list_desc',1),(32,1,'directory_remove','perm.directory_remove_desc',1),(33,1,'directory_update','perm.directory_update_desc',1),(34,1,'edit_category','perm.edit_category_desc',1),(35,1,'edit_chunk','perm.edit_chunk_desc',1),(36,1,'edit_context','perm.edit_context_desc',1),(37,1,'edit_document','perm.edit_document_desc',1),(38,1,'edit_locked','perm.edit_locked_desc',1),(39,1,'edit_plugin','perm.edit_plugin_desc',1),(40,1,'edit_propertyset','perm.edit_propertyset_desc',1),(41,1,'edit_role','perm.edit_role_desc',1),(42,1,'edit_snippet','perm.edit_snippet_desc',1),(43,1,'edit_template','perm.edit_template_desc',1),(44,1,'edit_tv','perm.edit_tv_desc',1),(45,1,'edit_user','perm.edit_user_desc',1),(46,1,'element_tree','perm.element_tree_desc',1),(47,1,'empty_cache','perm.empty_cache_desc',1),(48,1,'error_log_erase','perm.error_log_erase_desc',1),(49,1,'error_log_view','perm.error_log_view_desc',1),(50,1,'export_static','perm.export_static_desc',1),(51,1,'file_create','perm.file_create_desc',1),(52,1,'file_list','perm.file_list_desc',1),(53,1,'file_manager','perm.file_manager_desc',1),(54,1,'file_remove','perm.file_remove_desc',1),(55,1,'file_tree','perm.file_tree_desc',1),(56,1,'file_update','perm.file_update_desc',1),(57,1,'file_upload','perm.file_upload_desc',1),(58,1,'file_view','perm.file_view_desc',1),(59,1,'flush_sessions','perm.flush_sessions_desc',1),(60,1,'frames','perm.frames_desc',1),(61,1,'help','perm.help_desc',1),(62,1,'home','perm.home_desc',1),(63,1,'import_static','perm.import_static_desc',1),(64,1,'languages','perm.languages_desc',1),(65,1,'lexicons','perm.lexicons_desc',1),(66,1,'list','perm.list_desc',1),(67,1,'load','perm.load_desc',1),(68,1,'logout','perm.logout_desc',1),(69,1,'logs','perm.logs_desc',1),(70,1,'menu_reports','perm.menu_reports_desc',1),(71,1,'menu_security','perm.menu_security_desc',1),(72,1,'menu_site','perm.menu_site_desc',1),(73,1,'menu_support','perm.menu_support_desc',1),(74,1,'menu_system','perm.menu_system_desc',1),(75,1,'menu_tools','perm.menu_tools_desc',1),(76,1,'menu_user','perm.menu_user_desc',1),(77,1,'menus','perm.menus_desc',1),(78,1,'messages','perm.messages_desc',1),(79,1,'namespaces','perm.namespaces_desc',1),(80,1,'new_category','perm.new_category_desc',1),(81,1,'new_chunk','perm.new_chunk_desc',1),(82,1,'new_context','perm.new_context_desc',1),(83,1,'new_document','perm.new_document_desc',1),(84,1,'new_static_resource','perm.new_static_resource_desc',1),(85,1,'new_symlink','perm.new_symlink_desc',1),(86,1,'new_weblink','perm.new_weblink_desc',1),(87,1,'new_document_in_root','perm.new_document_in_root_desc',1),(88,1,'new_plugin','perm.new_plugin_desc',1),(89,1,'new_propertyset','perm.new_propertyset_desc',1),(90,1,'new_role','perm.new_role_desc',1),(91,1,'new_snippet','perm.new_snippet_desc',1),(92,1,'new_template','perm.new_template_desc',1),(93,1,'new_tv','perm.new_tv_desc',1),(94,1,'new_user','perm.new_user_desc',1),(95,1,'packages','perm.packages_desc',1),(96,1,'policy_delete','perm.policy_delete_desc',1),(97,1,'policy_edit','perm.policy_edit_desc',1),(98,1,'policy_new','perm.policy_new_desc',1),(99,1,'policy_save','perm.policy_save_desc',1),(100,1,'policy_view','perm.policy_view_desc',1),(101,1,'policy_template_delete','perm.policy_template_delete_desc',1),(102,1,'policy_template_edit','perm.policy_template_edit_desc',1),(103,1,'policy_template_new','perm.policy_template_new_desc',1),(104,1,'policy_template_save','perm.policy_template_save_desc',1),(105,1,'policy_template_view','perm.policy_template_view_desc',1),(106,1,'property_sets','perm.property_sets_desc',1),(107,1,'providers','perm.providers_desc',1),(108,1,'publish_document','perm.publish_document_desc',1),(109,1,'purge_deleted','perm.purge_deleted_desc',1),(110,1,'remove','perm.remove_desc',1),(111,1,'remove_locks','perm.remove_locks_desc',1),(112,1,'resource_duplicate','perm.resource_duplicate_desc',1),(113,1,'resourcegroup_delete','perm.resourcegroup_delete_desc',1),(114,1,'resourcegroup_edit','perm.resourcegroup_edit_desc',1),(115,1,'resourcegroup_new','perm.resourcegroup_new_desc',1),(116,1,'resourcegroup_resource_edit','perm.resourcegroup_resource_edit_desc',1),(117,1,'resourcegroup_resource_list','perm.resourcegroup_resource_list_desc',1),(118,1,'resourcegroup_save','perm.resourcegroup_save_desc',1),(119,1,'resourcegroup_view','perm.resourcegroup_view_desc',1),(120,1,'resource_quick_create','perm.resource_quick_create_desc',1),(121,1,'resource_quick_update','perm.resource_quick_update_desc',1),(122,1,'resource_tree','perm.resource_tree_desc',1),(123,1,'save','perm.save_desc',1),(124,1,'save_category','perm.save_category_desc',1),(125,1,'save_chunk','perm.save_chunk_desc',1),(126,1,'save_context','perm.save_context_desc',1),(127,1,'save_document','perm.save_document_desc',1),(128,1,'save_plugin','perm.save_plugin_desc',1),(129,1,'save_propertyset','perm.save_propertyset_desc',1),(130,1,'save_role','perm.save_role_desc',1),(131,1,'save_snippet','perm.save_snippet_desc',1),(132,1,'save_template','perm.save_template_desc',1),(133,1,'save_tv','perm.save_tv_desc',1),(134,1,'save_user','perm.save_user_desc',1),(135,1,'search','perm.search_desc',1),(136,1,'settings','perm.settings_desc',1),(137,1,'source_save','perm.source_save_desc',1),(138,1,'source_delete','perm.source_delete_desc',1),(139,1,'source_edit','perm.source_edit_desc',1),(140,1,'source_view','perm.source_view_desc',1),(141,1,'sources','perm.sources_desc',1),(142,1,'steal_locks','perm.steal_locks_desc',1),(143,1,'tree_show_element_ids','perm.tree_show_element_ids_desc',1),(144,1,'tree_show_resource_ids','perm.tree_show_resource_ids_desc',1),(145,1,'undelete_document','perm.undelete_document_desc',1),(146,1,'unpublish_document','perm.unpublish_document_desc',1),(147,1,'unlock_element_properties','perm.unlock_element_properties_desc',1),(148,1,'usergroup_delete','perm.usergroup_delete_desc',1),(149,1,'usergroup_edit','perm.usergroup_edit_desc',1),(150,1,'usergroup_new','perm.usergroup_new_desc',1),(151,1,'usergroup_save','perm.usergroup_save_desc',1),(152,1,'usergroup_user_edit','perm.usergroup_user_edit_desc',1),(153,1,'usergroup_user_list','perm.usergroup_user_list_desc',1),(154,1,'usergroup_view','perm.usergroup_view_desc',1),(155,1,'view','perm.view_desc',1),(156,1,'view_category','perm.view_category_desc',1),(157,1,'view_chunk','perm.view_chunk_desc',1),(158,1,'view_context','perm.view_context_desc',1),(159,1,'view_document','perm.view_document_desc',1),(160,1,'view_element','perm.view_element_desc',1),(161,1,'view_eventlog','perm.view_eventlog_desc',1),(162,1,'view_offline','perm.view_offline_desc',1),(163,1,'view_plugin','perm.view_plugin_desc',1),(164,1,'view_propertyset','perm.view_propertyset_desc',1),(165,1,'view_role','perm.view_role_desc',1),(166,1,'view_snippet','perm.view_snippet_desc',1),(167,1,'view_sysinfo','perm.view_sysinfo_desc',1),(168,1,'view_template','perm.view_template_desc',1),(169,1,'view_tv','perm.view_tv_desc',1),(170,1,'view_user','perm.view_user_desc',1),(171,1,'view_unpublished','perm.view_unpublished_desc',1),(172,1,'workspaces','perm.workspaces_desc',1),(173,2,'add_children','perm.add_children_desc',1),(174,2,'copy','perm.copy_desc',1),(175,2,'create','perm.create_desc',1),(176,2,'delete','perm.delete_desc',1),(177,2,'list','perm.list_desc',1),(178,2,'load','perm.load_desc',1),(179,2,'move','perm.move_desc',1),(180,2,'publish','perm.publish_desc',1),(181,2,'remove','perm.remove_desc',1),(182,2,'save','perm.save_desc',1),(183,2,'steal_lock','perm.steal_lock_desc',1),(184,2,'undelete','perm.undelete_desc',1),(185,2,'unpublish','perm.unpublish_desc',1),(186,2,'view','perm.view_desc',1),(187,3,'load','perm.load_desc',1),(188,3,'list','perm.list_desc',1),(189,3,'view','perm.view_desc',1),(190,3,'save','perm.save_desc',1),(191,3,'remove','perm.remove_desc',1),(192,4,'add_children','perm.add_children_desc',1),(193,4,'create','perm.create_desc',1),(194,4,'copy','perm.copy_desc',1),(195,4,'delete','perm.delete_desc',1),(196,4,'list','perm.list_desc',1),(197,4,'load','perm.load_desc',1),(198,4,'remove','perm.remove_desc',1),(199,4,'save','perm.save_desc',1),(200,4,'view','perm.view_desc',1),(201,5,'create','perm.create_desc',1),(202,5,'copy','perm.copy_desc',1),(203,5,'list','perm.list_desc',1),(204,5,'load','perm.load_desc',1),(205,5,'remove','perm.remove_desc',1),(206,5,'save','perm.save_desc',1),(207,5,'view','perm.view_desc',1),(208,6,'load','perm.load_desc',1),(209,6,'list','perm.list_desc',1),(210,6,'view','perm.view_desc',1),(211,6,'save','perm.save_desc',1),(212,6,'remove','perm.remove_desc',1),(213,6,'view_unpublished','perm.view_unpublished_desc',1),(214,6,'copy','perm.copy_desc',1);

--
-- Table structure for table `zcx_access_policies`
--

CREATE TABLE `zcx_access_policies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` mediumtext,
  `parent` int(10) unsigned NOT NULL DEFAULT '0',
  `template` int(10) unsigned NOT NULL DEFAULT '0',
  `class` varchar(255) NOT NULL DEFAULT '',
  `data` text,
  `lexicon` varchar(255) NOT NULL DEFAULT 'permissions',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `parent` (`parent`),
  KEY `class` (`class`),
  KEY `template` (`template`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_policies`
--

INSERT INTO `zcx_access_policies` VALUES (1,'Resource','MODX Resource Policy with all attributes.',0,2,'','{\"add_children\":true,\"create\":true,\"copy\":true,\"delete\":true,\"list\":true,\"load\":true,\"move\":true,\"publish\":true,\"remove\":true,\"save\":true,\"steal_lock\":true,\"undelete\":true,\"unpublish\":true,\"view\":true}','permissions'),(2,'Administrator','Context administration policy with all permissions.',0,1,'','{\"about\":true,\"access_permissions\":true,\"actions\":true,\"change_password\":true,\"change_profile\":true,\"charsets\":true,\"class_map\":true,\"components\":true,\"content_types\":true,\"countries\":true,\"create\":true,\"credits\":true,\"customize_forms\":true,\"dashboards\":true,\"database\":true,\"database_truncate\":true,\"delete_category\":true,\"delete_chunk\":true,\"delete_context\":true,\"delete_document\":true,\"delete_eventlog\":true,\"delete_plugin\":true,\"delete_propertyset\":true,\"delete_role\":true,\"delete_snippet\":true,\"delete_template\":true,\"delete_tv\":true,\"delete_user\":true,\"directory_chmod\":true,\"directory_create\":true,\"directory_list\":true,\"directory_remove\":true,\"directory_update\":true,\"edit_category\":true,\"edit_chunk\":true,\"edit_context\":true,\"edit_document\":true,\"edit_locked\":true,\"edit_plugin\":true,\"edit_propertyset\":true,\"edit_role\":true,\"edit_snippet\":true,\"edit_template\":true,\"edit_tv\":true,\"edit_user\":true,\"element_tree\":true,\"empty_cache\":true,\"error_log_erase\":true,\"error_log_view\":true,\"export_static\":true,\"file_create\":true,\"file_list\":true,\"file_manager\":true,\"file_remove\":true,\"file_tree\":true,\"file_update\":true,\"file_upload\":true,\"file_view\":true,\"flush_sessions\":true,\"frames\":true,\"help\":true,\"home\":true,\"import_static\":true,\"languages\":true,\"lexicons\":true,\"list\":true,\"load\":true,\"logout\":true,\"logs\":true,\"menus\":true,\"menu_reports\":true,\"menu_security\":true,\"menu_site\":true,\"menu_support\":true,\"menu_system\":true,\"menu_tools\":true,\"menu_user\":true,\"messages\":true,\"namespaces\":true,\"new_category\":true,\"new_chunk\":true,\"new_context\":true,\"new_document\":true,\"new_document_in_root\":true,\"new_plugin\":true,\"new_propertyset\":true,\"new_role\":true,\"new_snippet\":true,\"new_static_resource\":true,\"new_symlink\":true,\"new_template\":true,\"new_tv\":true,\"new_user\":true,\"new_weblink\":true,\"packages\":true,\"policy_delete\":true,\"policy_edit\":true,\"policy_new\":true,\"policy_save\":true,\"policy_template_delete\":true,\"policy_template_edit\":true,\"policy_template_new\":true,\"policy_template_save\":true,\"policy_template_view\":true,\"policy_view\":true,\"property_sets\":true,\"providers\":true,\"publish_document\":true,\"purge_deleted\":true,\"remove\":true,\"remove_locks\":true,\"resource_duplicate\":true,\"resourcegroup_delete\":true,\"resourcegroup_edit\":true,\"resourcegroup_new\":true,\"resourcegroup_resource_edit\":true,\"resourcegroup_resource_list\":true,\"resourcegroup_save\":true,\"resourcegroup_view\":true,\"resource_quick_create\":true,\"resource_quick_update\":true,\"resource_tree\":true,\"save\":true,\"save_category\":true,\"save_chunk\":true,\"save_context\":true,\"save_document\":true,\"save_plugin\":true,\"save_propertyset\":true,\"save_role\":true,\"save_snippet\":true,\"save_template\":true,\"save_tv\":true,\"save_user\":true,\"search\":true,\"settings\":true,\"sources\":true,\"source_delete\":true,\"source_edit\":true,\"source_save\":true,\"source_view\":true,\"steal_locks\":true,\"tree_show_element_ids\":true,\"tree_show_resource_ids\":true,\"undelete_document\":true,\"unlock_element_properties\":true,\"unpublish_document\":true,\"usergroup_delete\":true,\"usergroup_edit\":true,\"usergroup_new\":true,\"usergroup_save\":true,\"usergroup_user_edit\":true,\"usergroup_user_list\":true,\"usergroup_view\":true,\"view\":true,\"view_category\":true,\"view_chunk\":true,\"view_context\":true,\"view_document\":true,\"view_element\":true,\"view_eventlog\":true,\"view_offline\":true,\"view_plugin\":true,\"view_propertyset\":true,\"view_role\":true,\"view_snippet\":true,\"view_sysinfo\":true,\"view_template\":true,\"view_tv\":true,\"view_unpublished\":true,\"view_user\":true,\"workspaces\":true}','permissions'),(3,'Load Only','A minimal policy with permission to load an object.',0,3,'','{\"load\":true}','permissions'),(4,'Load, List and View','Provides load, list and view permissions only.',0,3,'','{\"load\":true,\"list\":true,\"view\":true}','permissions'),(5,'Object','An Object policy with all permissions.',0,3,'','{\"load\":true,\"list\":true,\"view\":true,\"save\":true,\"remove\":true}','permissions'),(6,'Element','MODX Element policy with all attributes.',0,4,'','{\"add_children\":true,\"create\":true,\"delete\":true,\"list\":true,\"load\":true,\"remove\":true,\"save\":true,\"view\":true,\"copy\":true}','permissions'),(7,'Content Editor','Context administration policy with limited, content-editing related Permissions, but no publishing.',0,1,'','{\"change_profile\":true,\"class_map\":true,\"countries\":true,\"edit_document\":true,\"frames\":true,\"help\":true,\"home\":true,\"load\":true,\"list\":true,\"logout\":true,\"menu_reports\":true,\"menu_site\":true,\"menu_support\":true,\"menu_tools\":true,\"menu_user\":true,\"resource_duplicate\":true,\"resource_tree\":true,\"save_document\":true,\"source_view\":true,\"tree_show_resource_ids\":true,\"view\":true,\"view_document\":true,\"new_document\":true,\"delete_document\":true}','permissions'),(8,'Media Source Admin','Media Source administration policy.',0,5,'','{\"create\":true,\"copy\":true,\"load\":true,\"list\":true,\"save\":true,\"remove\":true,\"view\":true}','permissions'),(9,'Media Source User','Media Source user policy, with basic viewing and using - but no editing - of Media Sources.',0,5,'','{\"load\":true,\"list\":true,\"view\":true}','permissions'),(10,'Developer','Context administration policy with most Permissions except Administrator and Security functions.',0,0,'','{\"about\":true,\"change_password\":true,\"change_profile\":true,\"charsets\":true,\"class_map\":true,\"components\":true,\"content_types\":true,\"countries\":true,\"create\":true,\"credits\":true,\"customize_forms\":true,\"dashboards\":true,\"database\":true,\"delete_category\":true,\"delete_chunk\":true,\"delete_context\":true,\"delete_document\":true,\"delete_eventlog\":true,\"delete_plugin\":true,\"delete_propertyset\":true,\"delete_snippet\":true,\"delete_template\":true,\"delete_tv\":true,\"delete_role\":true,\"delete_user\":true,\"directory_chmod\":true,\"directory_create\":true,\"directory_list\":true,\"directory_remove\":true,\"directory_update\":true,\"edit_category\":true,\"edit_chunk\":true,\"edit_context\":true,\"edit_document\":true,\"edit_locked\":true,\"edit_plugin\":true,\"edit_propertyset\":true,\"edit_role\":true,\"edit_snippet\":true,\"edit_template\":true,\"edit_tv\":true,\"edit_user\":true,\"element_tree\":true,\"empty_cache\":true,\"error_log_erase\":true,\"error_log_view\":true,\"export_static\":true,\"file_create\":true,\"file_list\":true,\"file_manager\":true,\"file_remove\":true,\"file_tree\":true,\"file_update\":true,\"file_upload\":true,\"file_view\":true,\"frames\":true,\"help\":true,\"home\":true,\"import_static\":true,\"languages\":true,\"lexicons\":true,\"list\":true,\"load\":true,\"logout\":true,\"logs\":true,\"menu_reports\":true,\"menu_site\":true,\"menu_support\":true,\"menu_system\":true,\"menu_tools\":true,\"menu_user\":true,\"menus\":true,\"messages\":true,\"namespaces\":true,\"new_category\":true,\"new_chunk\":true,\"new_context\":true,\"new_document\":true,\"new_static_resource\":true,\"new_symlink\":true,\"new_weblink\":true,\"new_document_in_root\":true,\"new_plugin\":true,\"new_propertyset\":true,\"new_role\":true,\"new_snippet\":true,\"new_template\":true,\"new_tv\":true,\"new_user\":true,\"packages\":true,\"property_sets\":true,\"providers\":true,\"publish_document\":true,\"purge_deleted\":true,\"remove\":true,\"resource_duplicate\":true,\"resource_quick_create\":true,\"resource_quick_update\":true,\"resource_tree\":true,\"save\":true,\"save_category\":true,\"save_chunk\":true,\"save_context\":true,\"save_document\":true,\"save_plugin\":true,\"save_propertyset\":true,\"save_snippet\":true,\"save_template\":true,\"save_tv\":true,\"save_user\":true,\"search\":true,\"settings\":true,\"source_delete\":true,\"source_edit\":true,\"source_save\":true,\"source_view\":true,\"sources\":true,\"tree_show_element_ids\":true,\"tree_show_resource_ids\":true,\"undelete_document\":true,\"unpublish_document\":true,\"unlock_element_properties\":true,\"view\":true,\"view_category\":true,\"view_chunk\":true,\"view_context\":true,\"view_document\":true,\"view_element\":true,\"view_eventlog\":true,\"view_offline\":true,\"view_plugin\":true,\"view_propertyset\":true,\"view_role\":true,\"view_snippet\":true,\"view_sysinfo\":true,\"view_template\":true,\"view_tv\":true,\"view_user\":true,\"view_unpublished\":true,\"workspaces\":true}','permissions'),(11,'Context','A standard Context policy that you can apply when creating Context ACLs for basic read/write and view_unpublished access within a Context.',0,6,'','{\"load\":true,\"list\":true,\"view\":true,\"save\":true,\"remove\":true,\"copy\":true,\"view_unpublished\":true}','permissions');

--
-- Table structure for table `zcx_access_policy_template_groups`
--

CREATE TABLE `zcx_access_policy_template_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_policy_template_groups`
--

INSERT INTO `zcx_access_policy_template_groups` VALUES (1,'Admin','All admin policy templates.'),(2,'Object','All Object-based policy templates.'),(3,'Resource','All Resource-based policy templates.'),(4,'Element','All Element-based policy templates.'),(5,'MediaSource','All Media Source-based policy templates.');

--
-- Table structure for table `zcx_access_policy_templates`
--

CREATE TABLE `zcx_access_policy_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `template_group` int(10) unsigned NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  `lexicon` varchar(255) NOT NULL DEFAULT 'permissions',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_policy_templates`
--

INSERT INTO `zcx_access_policy_templates` VALUES (1,1,'AdministratorTemplate','Context administration policy template with all permissions.','permissions'),(2,3,'ResourceTemplate','Resource Policy Template with all attributes.','permissions'),(3,2,'ObjectTemplate','Object Policy Template with all attributes.','permissions'),(4,4,'ElementTemplate','Element Policy Template with all attributes.','permissions'),(5,5,'MediaSourceTemplate','Media Source Policy Template with all attributes.','permissions'),(6,2,'ContextTemplate','Context Policy Template with all attributes.','permissions');

--
-- Table structure for table `zcx_access_resource_groups`
--

CREATE TABLE `zcx_access_resource_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_resource_groups`
--


--
-- Table structure for table `zcx_access_resources`
--

CREATE TABLE `zcx_access_resources` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_resources`
--


--
-- Table structure for table `zcx_access_templatevars`
--

CREATE TABLE `zcx_access_templatevars` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `target` varchar(100) NOT NULL DEFAULT '',
  `principal_class` varchar(100) NOT NULL DEFAULT 'modPrincipal',
  `principal` int(10) unsigned NOT NULL DEFAULT '0',
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  `policy` int(10) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `target` (`target`),
  KEY `principal_class` (`principal_class`),
  KEY `principal` (`principal`),
  KEY `authority` (`authority`),
  KEY `policy` (`policy`),
  KEY `context_key` (`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_access_templatevars`
--


--
-- Table structure for table `zcx_actiondom`
--

CREATE TABLE `zcx_actiondom` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `set` int(11) NOT NULL DEFAULT '0',
  `action` int(11) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `xtype` varchar(100) NOT NULL DEFAULT '',
  `container` varchar(255) NOT NULL DEFAULT '',
  `rule` varchar(100) NOT NULL DEFAULT '',
  `value` text NOT NULL,
  `constraint` varchar(255) NOT NULL DEFAULT '',
  `constraint_field` varchar(100) NOT NULL DEFAULT '',
  `constraint_class` varchar(100) NOT NULL DEFAULT '',
  `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `for_parent` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `set` (`set`),
  KEY `action` (`action`),
  KEY `name` (`name`),
  KEY `active` (`active`),
  KEY `for_parent` (`for_parent`),
  KEY `rank` (`rank`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_actiondom`
--


--
-- Table structure for table `zcx_actions`
--

CREATE TABLE `zcx_actions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `namespace` varchar(100) NOT NULL DEFAULT 'core',
  `controller` varchar(255) NOT NULL,
  `haslayout` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `lang_topics` text NOT NULL,
  `assets` text NOT NULL,
  `help_url` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `namespace` (`namespace`),
  KEY `controller` (`controller`)
) ENGINE=MyISAM AUTO_INCREMENT=78 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_actions`
--

INSERT INTO `zcx_actions` VALUES (1,'core','welcome',1,'welcome,configcheck','',''),(2,'core','system',0,'','',''),(3,'core','browser',0,'file','',''),(4,'core','context/create',1,'context,setting,access,policy,user','','Contexts'),(5,'core','context/update',1,'context,setting,access,policy,user','','Contexts'),(6,'core','context/view',1,'context','','Contexts'),(7,'core','element',1,'element','',''),(8,'core','element/chunk',1,'chunk,category,propertyset,element','','Chunks'),(9,'core','element/chunk/create',1,'chunk,category,propertyset,element','','Chunks'),(10,'core','element/chunk/update',1,'chunk,category,propertyset,element','','Chunks'),(11,'core','element/plugin',1,'plugin,category,system_events,propertyset,element','','Plugins'),(12,'core','element/plugin/create',1,'plugin,category,system_events,propertyset,element','','Plugins'),(13,'core','element/plugin/update',1,'plugin,category,system_events,propertyset,element','','Plugins'),(14,'core','element/snippet',1,'snippet,propertyset,element','','Snippets'),(15,'core','element/snippet/create',1,'snippet,propertyset,element','','Snippets'),(16,'core','element/snippet/update',1,'snippet,propertyset,element','','Snippets'),(17,'core','element/template',1,'template,propertyset,element','','Templates'),(18,'core','element/template/create',1,'template,propertyset,element','','Templates'),(19,'core','element/template/update',1,'template,propertyset,element','','Templates'),(20,'core','element/template/tvsort',1,'template,tv,propertyset,element','',''),(21,'core','element/tv',1,'tv,propertyset,element','','Template+Variables'),(22,'core','element/tv/create',1,'tv,tv_widget,propertyset,element','','Template+Variables'),(23,'core','element/tv/update',1,'tv,tv_widget,propertyset,element','','Template+Variables'),(24,'core','element/view',1,'element','',''),(25,'core','resource',1,'','',''),(26,'core','security/usergroup/create',1,'user,access,policy,context','','User+Groups'),(27,'core','security/usergroup/update',1,'user,access,policy,context','','User+Groups'),(28,'core','resource/data',1,'resource','','Resource'),(29,'core','resource/empty_recycle_bin',1,'resource','',''),(30,'core','resource/update',1,'resource','','Resource'),(31,'core','security',1,'user','',''),(32,'core','security/role',1,'user','','Roles'),(33,'core','security/user/create',1,'user,setting,access','','Users'),(34,'core','security/user/update',1,'user,setting,access','','Users'),(35,'core','security/login',1,'login','',''),(36,'core','system/refresh_site',1,'','',''),(37,'core','system/phpinfo',1,'','',''),(38,'core','resource/tvs',0,'','',''),(39,'core','system/file',1,'file','',''),(40,'core','system/file/edit',1,'file','',''),(41,'core','security/access/policy/update',1,'user,policy','','Policies'),(42,'core','workspaces/package/view',1,'workspace,namespace','','Package+Management'),(43,'core','security/access/policy/template/update',1,'user,policy','','PolicyTemplates'),(44,'core','security/forms/profile/update',1,'formcustomization,user,access,policy','','Form+Customization+Profiles'),(45,'core','security/forms/set/update',1,'formcustomization,user,access,policy','','Form+Customization+Sets'),(46,'core','system/dashboards/update',1,'dashboards,user','','Dashboards'),(47,'core','system/dashboards/create',1,'dashboards,user','','Dashboards'),(48,'core','system/dashboards/widget/update',1,'dashboards,user','','Dashboard+Widgets'),(49,'core','system/dashboards/widget/create',1,'dashboards,user','','Dashboard+Widgets'),(50,'core','source/create',1,'sources,namespace','','Media+Sources'),(51,'core','source/update',1,'sources,namespace','','Media+Sources'),(52,'core','system/file/create',1,'file','',''),(53,'core','system/dashboards',1,'about','','Dashboards'),(54,'core','search',1,'','',''),(55,'core','resource/create',1,'resource','','Resource'),(56,'core','security/user',1,'user','','Users'),(57,'core','security/permission',1,'user,access,policy','','Security'),(58,'core','security/resourcegroup/index',1,'resource,user,access','','Resource+Groups'),(59,'core','security/forms',1,'formcustomization,user,access,policy','','Customizing+The+Manager'),(60,'core','system/import',1,'import','',''),(61,'core','system/import/html',1,'import','',''),(62,'core','element/propertyset/index',1,'element,category,propertyset','','Properties+and+Property+Sets'),(63,'core','source/index',1,'sources,namespace','','Media+Sources'),(64,'core','resource/site_schedule',1,'resource','',''),(65,'core','system/logs/index',1,'manager_log','',''),(66,'core','system/event',1,'system_events','',''),(67,'core','system/info',1,'system_info','',''),(68,'core','help',1,'about','',''),(69,'core','workspaces',1,'workspace','','Package+Management'),(70,'core','system/settings',1,'setting','','Settings'),(71,'core','workspaces/lexicon',1,'package_builder,lexicon,namespace','','Internationalization'),(72,'core','system/contenttype',1,'content_type','','Content+Types'),(73,'core','context',1,'context','','Contexts'),(74,'core','system/action',1,'action,menu,namespace','','Actions+and+Menus'),(75,'core','workspaces/namespace',1,'workspace,package_builder,lexicon,namespace','','Namespaces'),(76,'core','security/profile',1,'user','',''),(77,'core','security/message',1,'messages','','');

--
-- Table structure for table `zcx_actions_fields`
--

CREATE TABLE `zcx_actions_fields` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `action` int(11) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `type` varchar(100) NOT NULL DEFAULT 'field',
  `tab` varchar(255) NOT NULL DEFAULT '',
  `form` varchar(255) NOT NULL DEFAULT '',
  `other` varchar(255) NOT NULL DEFAULT '',
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `action` (`action`),
  KEY `type` (`type`),
  KEY `tab` (`tab`)
) ENGINE=MyISAM AUTO_INCREMENT=77 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_actions_fields`
--

INSERT INTO `zcx_actions_fields` VALUES (1,30,'modx-resource-settings','tab','','modx-panel-resource','',0),(2,30,'modx-resource-main-left','tab','','modx-panel-resource','',1),(3,30,'id','field','modx-resource-main-left','modx-panel-resource','',0),(4,30,'pagetitle','field','modx-resource-main-left','modx-panel-resource','',1),(5,30,'longtitle','field','modx-resource-main-left','modx-panel-resource','',2),(6,30,'description','field','modx-resource-main-left','modx-panel-resource','',3),(7,30,'introtext','field','modx-resource-main-left','modx-panel-resource','',4),(8,30,'modx-resource-main-right','tab','','modx-panel-resource','',2),(9,30,'template','field','modx-resource-main-right','modx-panel-resource','',0),(10,30,'alias','field','modx-resource-main-right','modx-panel-resource','',1),(11,30,'menutitle','field','modx-resource-main-right','modx-panel-resource','',2),(12,30,'link_attributes','field','modx-resource-main-right','modx-panel-resource','',3),(13,30,'hidemenu','field','modx-resource-main-right','modx-panel-resource','',4),(14,30,'published','field','modx-resource-main-right','modx-panel-resource','',5),(15,30,'modx-page-settings','tab','','modx-panel-resource','',3),(16,30,'modx-page-settings-left','tab','','modx-panel-resource','',4),(17,30,'parent-cmb','field','modx-page-settings-left','modx-panel-resource','',0),(18,30,'class_key','field','modx-page-settings-left','modx-panel-resource','',1),(19,30,'content_type','field','modx-page-settings-left','modx-panel-resource','',2),(20,30,'content_dispo','field','modx-page-settings-left','modx-panel-resource','',3),(21,30,'menuindex','field','modx-page-settings-left','modx-panel-resource','',4),(22,30,'modx-page-settings-right','tab','','modx-panel-resource','',5),(23,30,'publishedon','field','modx-page-settings-right','modx-panel-resource','',0),(24,30,'pub_date','field','modx-page-settings-right','modx-panel-resource','',1),(25,30,'unpub_date','field','modx-page-settings-right','modx-panel-resource','',2),(26,30,'modx-page-settings-right-box-left','tab','','modx-panel-resource','',6),(27,30,'isfolder','field','modx-page-settings-right-box-left','modx-panel-resource','',0),(28,30,'searchable','field','modx-page-settings-right-box-left','modx-panel-resource','',1),(29,30,'richtext','field','modx-page-settings-right-box-left','modx-panel-resource','',2),(30,30,'uri_override','field','modx-page-settings-right-box-left','modx-panel-resource','',3),(31,30,'uri','field','modx-page-settings-right-box-left','modx-panel-resource','',4),(32,30,'modx-page-settings-right-box-right','tab','','modx-panel-resource','',7),(33,30,'cacheable','field','modx-page-settings-right-box-right','modx-panel-resource','',0),(34,30,'syncsite','field','modx-page-settings-right-box-right','modx-panel-resource','',1),(35,30,'deleted','field','modx-page-settings-right-box-right','modx-panel-resource','',2),(36,30,'modx-panel-resource-tv','tab','','modx-panel-resource','tv',8),(37,30,'modx-resource-access-permissions','tab','','modx-panel-resource','',9),(38,30,'modx-resource-content','field','modx-resource-content','modx-panel-resource','',0),(39,55,'modx-resource-settings','tab','','modx-panel-resource','',0),(40,55,'modx-resource-main-left','tab','','modx-panel-resource','',1),(41,55,'id','field','modx-resource-main-left','modx-panel-resource','',0),(42,55,'pagetitle','field','modx-resource-main-left','modx-panel-resource','',1),(43,55,'longtitle','field','modx-resource-main-left','modx-panel-resource','',2),(44,55,'description','field','modx-resource-main-left','modx-panel-resource','',3),(45,55,'introtext','field','modx-resource-main-left','modx-panel-resource','',4),(46,55,'modx-resource-main-right','tab','','modx-panel-resource','',2),(47,55,'template','field','modx-resource-main-right','modx-panel-resource','',0),(48,55,'alias','field','modx-resource-main-right','modx-panel-resource','',1),(49,55,'menutitle','field','modx-resource-main-right','modx-panel-resource','',2),(50,55,'link_attributes','field','modx-resource-main-right','modx-panel-resource','',3),(51,55,'hidemenu','field','modx-resource-main-right','modx-panel-resource','',4),(52,55,'published','field','modx-resource-main-right','modx-panel-resource','',5),(53,55,'modx-page-settings','tab','','modx-panel-resource','',3),(54,55,'modx-page-settings-left','tab','','modx-panel-resource','',4),(55,55,'parent-cmb','field','modx-page-settings-left','modx-panel-resource','',0),(56,55,'class_key','field','modx-page-settings-left','modx-panel-resource','',1),(57,55,'content_type','field','modx-page-settings-left','modx-panel-resource','',2),(58,55,'content_dispo','field','modx-page-settings-left','modx-panel-resource','',3),(59,55,'menuindex','field','modx-page-settings-left','modx-panel-resource','',4),(60,55,'modx-page-settings-right','tab','','modx-panel-resource','',5),(61,55,'publishedon','field','modx-page-settings-right','modx-panel-resource','',0),(62,55,'pub_date','field','modx-page-settings-right','modx-panel-resource','',1),(63,55,'unpub_date','field','modx-page-settings-right','modx-panel-resource','',2),(64,55,'modx-page-settings-right-box-left','tab','','modx-panel-resource','',6),(65,55,'isfolder','field','modx-page-settings-right-box-left','modx-panel-resource','',0),(66,55,'searchable','field','modx-page-settings-right-box-left','modx-panel-resource','',1),(67,55,'richtext','field','modx-page-settings-right-box-left','modx-panel-resource','',2),(68,55,'uri_override','field','modx-page-settings-right-box-left','modx-panel-resource','',3),(69,55,'uri','field','modx-page-settings-right-box-left','modx-panel-resource','',4),(70,55,'modx-page-settings-right-box-right','tab','','modx-panel-resource','',7),(71,55,'cacheable','field','modx-page-settings-right-box-right','modx-panel-resource','',0),(72,55,'syncsite','field','modx-page-settings-right-box-right','modx-panel-resource','',1),(73,55,'deleted','field','modx-page-settings-right-box-right','modx-panel-resource','',2),(74,55,'modx-panel-resource-tv','tab','','modx-panel-resource','tv',8),(75,55,'modx-resource-access-permissions','tab','','modx-panel-resource','',9),(76,55,'modx-resource-content','field','modx-resource-content','modx-panel-resource','',0);

--
-- Table structure for table `zcx_active_users`
--

CREATE TABLE `zcx_active_users` (
  `internalKey` int(9) NOT NULL DEFAULT '0',
  `username` varchar(50) NOT NULL DEFAULT '',
  `lasthit` int(20) NOT NULL DEFAULT '0',
  `id` int(10) DEFAULT NULL,
  `action` varchar(255) NOT NULL DEFAULT '',
  `ip` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`internalKey`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_active_users`
--


--
-- Table structure for table `zcx_categories`
--

CREATE TABLE `zcx_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `parent` int(10) unsigned DEFAULT '0',
  `category` varchar(45) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `category` (`category`),
  KEY `parent` (`parent`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_categories`
--

INSERT INTO `zcx_categories` VALUES (1,0,'Global');

--
-- Table structure for table `zcx_categories_closure`
--

CREATE TABLE `zcx_categories_closure` (
  `ancestor` int(10) unsigned NOT NULL DEFAULT '0',
  `descendant` int(10) unsigned NOT NULL DEFAULT '0',
  `depth` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`ancestor`,`descendant`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_categories_closure`
--

INSERT INTO `zcx_categories_closure` VALUES (1,1,0),(0,1,0);

--
-- Table structure for table `zcx_class_map`
--

CREATE TABLE `zcx_class_map` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class` varchar(120) NOT NULL DEFAULT '',
  `parent_class` varchar(120) NOT NULL DEFAULT '',
  `name_field` varchar(255) NOT NULL DEFAULT 'name',
  `path` tinytext,
  `lexicon` varchar(255) NOT NULL DEFAULT 'core:resource',
  PRIMARY KEY (`id`),
  UNIQUE KEY `class` (`class`),
  KEY `parent_class` (`parent_class`),
  KEY `name_field` (`name_field`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_class_map`
--

INSERT INTO `zcx_class_map` VALUES (1,'modDocument','modResource','pagetitle','','core:resource'),(2,'modWebLink','modResource','pagetitle','','core:resource'),(3,'modSymLink','modResource','pagetitle','','core:resource'),(4,'modStaticResource','modResource','pagetitle','','core:resource'),(5,'modTemplate','modElement','templatename','','core:resource'),(6,'modTemplateVar','modElement','name','','core:resource'),(7,'modChunk','modElement','name','','core:resource'),(8,'modSnippet','modElement','name','','core:resource'),(9,'modPlugin','modElement','name','','core:resource');

--
-- Table structure for table `zcx_content_type`
--

CREATE TABLE `zcx_content_type` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` tinytext,
  `mime_type` tinytext,
  `file_extensions` tinytext,
  `headers` mediumtext,
  `binary` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_content_type`
--

INSERT INTO `zcx_content_type` VALUES (1,'HTML','HTML content','text/html','.html',NULL,0),(2,'XML','XML content','text/xml','.xml',NULL,0),(3,'text','plain text content','text/plain','.txt',NULL,0),(4,'CSS','CSS content','text/css','.css',NULL,0),(5,'javascript','javascript content','text/javascript','.js',NULL,0),(6,'RSS','For RSS feeds','application/rss+xml','.rss',NULL,0),(7,'JSON','JSON','application/json','.js',NULL,0);

--
-- Table structure for table `zcx_context`
--

CREATE TABLE `zcx_context` (
  `key` varchar(100) NOT NULL,
  `description` tinytext,
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`key`),
  KEY `rank` (`rank`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_context`
--

INSERT INTO `zcx_context` VALUES ('web','The default front-end context for your web site.',0),('mgr','The default manager or administration context for content management activity.',0);

--
-- Table structure for table `zcx_context_resource`
--

CREATE TABLE `zcx_context_resource` (
  `context_key` varchar(255) NOT NULL,
  `resource` int(11) unsigned NOT NULL,
  PRIMARY KEY (`context_key`,`resource`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_context_resource`
--


--
-- Table structure for table `zcx_dashboard`
--

CREATE TABLE `zcx_dashboard` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `hide_trees` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `hide_trees` (`hide_trees`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_dashboard`
--

INSERT INTO `zcx_dashboard` VALUES (1,'Default','',0);

--
-- Table structure for table `zcx_dashboard_widget`
--

CREATE TABLE `zcx_dashboard_widget` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `type` varchar(100) NOT NULL,
  `content` mediumtext,
  `namespace` varchar(255) NOT NULL DEFAULT '',
  `lexicon` varchar(255) NOT NULL DEFAULT 'core:dashboards',
  `size` varchar(255) NOT NULL DEFAULT 'half',
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `type` (`type`),
  KEY `namespace` (`namespace`),
  KEY `lexicon` (`lexicon`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_dashboard_widget`
--

INSERT INTO `zcx_dashboard_widget` VALUES (1,'w_newsfeed','w_newsfeed_desc','file','[[++manager_path]]controllers/default/dashboard/widget.modx-news.php','core','core:dashboards','half'),(2,'w_securityfeed','w_securityfeed_desc','file','[[++manager_path]]controllers/default/dashboard/widget.modx-security.php','core','core:dashboards','half'),(3,'w_whosonline','w_whosonline_desc','file','[[++manager_path]]controllers/default/dashboard/widget.grid-online.php','core','core:dashboards','half'),(4,'w_recentlyeditedresources','w_recentlyeditedresources_desc','file','[[++manager_path]]controllers/default/dashboard/widget.grid-rer.php','core','core:dashboards','half'),(5,'w_configcheck','w_configcheck_desc','file','[[++manager_path]]controllers/default/dashboard/widget.configcheck.php','core','core:dashboards','full');

--
-- Table structure for table `zcx_dashboard_widget_placement`
--

CREATE TABLE `zcx_dashboard_widget_placement` (
  `dashboard` int(10) unsigned NOT NULL DEFAULT '0',
  `widget` int(10) unsigned NOT NULL DEFAULT '0',
  `rank` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`dashboard`,`widget`),
  KEY `rank` (`rank`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_dashboard_widget_placement`
--

INSERT INTO `zcx_dashboard_widget_placement` VALUES (1,5,0),(1,1,1),(1,2,2),(1,3,3),(1,4,4);

--
-- Table structure for table `zcx_document_groups`
--

CREATE TABLE `zcx_document_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_group` int(10) NOT NULL DEFAULT '0',
  `document` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `document_group` (`document_group`),
  KEY `document` (`document`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_document_groups`
--


--
-- Table structure for table `zcx_documentgroup_names`
--

CREATE TABLE `zcx_documentgroup_names` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `private_memgroup` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `private_webgroup` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_documentgroup_names`
--


--
-- Table structure for table `zcx_element_property_sets`
--

CREATE TABLE `zcx_element_property_sets` (
  `element` int(10) unsigned NOT NULL DEFAULT '0',
  `element_class` varchar(100) NOT NULL DEFAULT '',
  `property_set` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`element`,`element_class`,`property_set`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_element_property_sets`
--


--
-- Table structure for table `zcx_fc_profiles`
--

CREATE TABLE `zcx_fc_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `rank` (`rank`),
  KEY `active` (`active`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_fc_profiles`
--


--
-- Table structure for table `zcx_fc_profiles_usergroups`
--

CREATE TABLE `zcx_fc_profiles_usergroups` (
  `usergroup` int(11) NOT NULL DEFAULT '0',
  `profile` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`usergroup`,`profile`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_fc_profiles_usergroups`
--


--
-- Table structure for table `zcx_fc_sets`
--

CREATE TABLE `zcx_fc_sets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `profile` int(11) NOT NULL DEFAULT '0',
  `action` int(11) NOT NULL DEFAULT '0',
  `description` text NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `template` int(11) NOT NULL DEFAULT '0',
  `constraint` varchar(255) NOT NULL DEFAULT '',
  `constraint_field` varchar(100) NOT NULL DEFAULT '',
  `constraint_class` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `profile` (`profile`),
  KEY `action` (`action`),
  KEY `active` (`active`),
  KEY `template` (`template`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_fc_sets`
--


--
-- Table structure for table `zcx_lexicon_entries`
--

CREATE TABLE `zcx_lexicon_entries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` text NOT NULL,
  `topic` varchar(255) NOT NULL DEFAULT 'default',
  `namespace` varchar(40) NOT NULL DEFAULT 'core',
  `language` varchar(20) NOT NULL DEFAULT 'en',
  `createdon` datetime DEFAULT NULL,
  `editedon` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `topic` (`topic`),
  KEY `namespace` (`namespace`),
  KEY `language` (`language`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_lexicon_entries`
--


--
-- Table structure for table `zcx_manager_log`
--

CREATE TABLE `zcx_manager_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user` int(10) unsigned NOT NULL DEFAULT '0',
  `occurred` datetime DEFAULT '0000-00-00 00:00:00',
  `action` varchar(100) NOT NULL DEFAULT '',
  `classKey` varchar(100) NOT NULL DEFAULT '',
  `item` varchar(255) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_manager_log`
--

INSERT INTO `zcx_manager_log` VALUES (1,1,'2013-08-29 15:01:46','snippet_create','modSnippet','1'),(2,1,'2013-08-29 15:02:31','resource_update','modResource','1'),(3,1,'2013-08-29 18:28:50','setting_update','modSystemSetting','friendly_urls'),(4,1,'2013-08-30 01:31:54','resource_update','modResource','1'),(5,1,'2013-08-30 01:40:31','setting_update','modSystemSetting','automatic_alias'),(6,1,'2013-08-30 01:54:23','setting_update','modSystemSetting','use_alias_path'),(7,1,'2013-08-31 02:07:05','template_update','modTemplate','1'),(8,1,'2013-08-31 03:42:53','tv_create','modTemplateVar','1'),(9,1,'2013-08-31 03:43:27','tv_update','modTemplateVar','1'),(10,1,'2013-08-31 03:45:19','category_create','modCategory','1'),(11,1,'2013-08-31 03:46:03','tv_update','modTemplateVar','1'),(12,1,'2013-08-31 03:47:46','tv_update','modTemplateVar','1'),(13,1,'2013-08-31 04:00:57','duplicate_resource','modDocument','2'),(14,1,'2013-08-31 04:02:41','resource_update','modResource','2');

--
-- Table structure for table `zcx_media_sources`
--

CREATE TABLE `zcx_media_sources` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `class_key` varchar(100) NOT NULL DEFAULT 'sources.modFileMediaSource',
  `properties` mediumtext,
  `is_stream` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `class_key` (`class_key`),
  KEY `is_stream` (`is_stream`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_media_sources`
--

INSERT INTO `zcx_media_sources` VALUES (1,'Filesystem','','sources.modFileMediaSource','a:0:{}',1);

--
-- Table structure for table `zcx_media_sources_contexts`
--

CREATE TABLE `zcx_media_sources_contexts` (
  `source` int(11) NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT 'web',
  PRIMARY KEY (`source`,`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_media_sources_contexts`
--


--
-- Table structure for table `zcx_media_sources_elements`
--

CREATE TABLE `zcx_media_sources_elements` (
  `source` int(11) unsigned NOT NULL DEFAULT '0',
  `object_class` varchar(100) NOT NULL DEFAULT 'modTemplateVar',
  `object` int(11) unsigned NOT NULL DEFAULT '0',
  `context_key` varchar(100) NOT NULL DEFAULT 'web',
  PRIMARY KEY (`source`,`object`,`object_class`,`context_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_media_sources_elements`
--

INSERT INTO `zcx_media_sources_elements` VALUES (1,'modTemplateVar',1,'web');

--
-- Table structure for table `zcx_member_groups`
--

CREATE TABLE `zcx_member_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_group` int(10) unsigned NOT NULL DEFAULT '0',
  `member` int(10) unsigned NOT NULL DEFAULT '0',
  `role` int(10) unsigned NOT NULL DEFAULT '1',
  `rank` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `role` (`role`),
  KEY `rank` (`rank`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_member_groups`
--

INSERT INTO `zcx_member_groups` VALUES (1,1,1,2,0);

--
-- Table structure for table `zcx_membergroup_names`
--

CREATE TABLE `zcx_membergroup_names` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `parent` int(10) unsigned NOT NULL DEFAULT '0',
  `rank` int(10) unsigned NOT NULL DEFAULT '0',
  `dashboard` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `parent` (`parent`),
  KEY `rank` (`rank`),
  KEY `dashboard` (`dashboard`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_membergroup_names`
--

INSERT INTO `zcx_membergroup_names` VALUES (1,'Administrator',NULL,0,0,1);

--
-- Table structure for table `zcx_menus`
--

CREATE TABLE `zcx_menus` (
  `text` varchar(255) NOT NULL DEFAULT '',
  `parent` varchar(255) NOT NULL DEFAULT '',
  `action` int(11) unsigned NOT NULL DEFAULT '0',
  `description` varchar(255) NOT NULL DEFAULT '',
  `icon` varchar(255) NOT NULL DEFAULT '',
  `menuindex` int(11) unsigned NOT NULL DEFAULT '0',
  `params` text NOT NULL,
  `handler` text NOT NULL,
  `permissions` text NOT NULL,
  PRIMARY KEY (`text`),
  KEY `parent` (`parent`),
  KEY `action` (`action`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_menus`
--

INSERT INTO `zcx_menus` VALUES ('dashboard','',0,'','images/misc/logo_tbar.gif',0,'','MODx.loadPage(\"\"); return false;','home'),('dashboards','dashboard',53,'dashboards_desc','images/icons/information.png',0,'','','dashboards'),('site','',0,'','images/misc/logo_tbar.gif',1,'','','menu_site'),('preview','site',0,'preview_desc','images/icons/show.gif',0,'','MODx.preview(); return false;',''),('refresh_site','site',0,'refresh_site_desc','images/icons/refresh.png',1,'','MODx.clearCache(); return false;','empty_cache'),('remove_locks','site',0,'remove_locks_desc','images/ext/default/grid/hmenu-unlock.png',2,'','\nMODx.msg.confirm({\n    title: _(\'remove_locks\')\n    ,text: _(\'confirm_remove_locks\')\n    ,url: MODx.config.connectors_url+\'system/remove_locks.php\'\n    ,params: {\n        action: \'remove\'\n    }\n    ,listeners: {\n        \'success\': {fn:function() { Ext.getCmp(\"modx-resource-tree\").refresh(); },scope:this}\n    }\n});','remove_locks'),('search','site',54,'search_desc','images/icons/context_view.gif',3,'','','search'),('new_document','site',55,'new_document_desc','images/icons/folder_page_add.png',4,'','','new_document'),('new_weblink','site',55,'new_weblink_desc','images/icons/link_add.png',5,'&class_key=modWebLink','','new_weblink'),('new_symlink','site',55,'new_symlink_desc','images/icons/link_add.png',6,'&class_key=modSymLink','','new_symlink'),('new_static_resource','site',55,'new_static_resource_desc','images/icons/link_add.png',7,'&class_key=modStaticResource','','new_static_resource'),('logout','site',0,'logout_desc','images/misc/logo_tbar.gif',8,'','MODx.logout(); return false;','logout'),('components','',0,'','images/icons/plugin.gif',2,'','','components'),('security','',0,'','images/icons/lock.gif',3,'','','menu_security'),('user_management','security',56,'user_management_desc','images/icons/user.gif',0,'','','view_user'),('user_group_management','security',57,'user_group_management_desc','images/icons/mnu_users.gif',1,'','','access_permissions'),('resource_groups','security',58,'resource_groups_desc','',2,'','','access_permissions'),('form_customization','security',59,'form_customization_desc','images/misc/logo_tbar.gif',3,'','','customize_forms'),('flush_access','security',0,'flush_access_desc','images/icons/unzip.gif',4,'','MODx.msg.confirm({\n    title: _(\'flush_access\')\n    ,text: _(\'flush_access_confirm\')\n    ,url: MODx.config.connectors_url+\'security/access/index.php\'\n    ,params: {\n        action: \'flush\'\n    }\n    ,listeners: {\n        \'success\': {fn:function() { location.href = \'./\'; },scope:this}\n    }\n});','access_permissions'),('flush_sessions','security',0,'flush_sessions_desc','images/icons/unzip.gif',5,'','MODx.msg.confirm({\n    title: _(\'flush_sessions\')\n    ,text: _(\'flush_sessions_confirm\')\n    ,url: MODx.config.connectors_url+\'security/flush.php\'\n    ,params: {\n        action: \'flush\'\n    }\n    ,listeners: {\n        \'success\': {fn:function() { location.href = \'./\'; },scope:this}\n    }\n});','flush_sessions'),('tools','',0,'','images/icons/menu_settings.gif',4,'','','menu_tools'),('import_resources','tools',60,'import_resources_desc','images/icons/application_side_contract.png',0,'','','import_static'),('import_site','tools',61,'import_site_desc','images/icons/application_side_contract.png',1,'','','import_static'),('propertysets','tools',62,'propertysets_desc','images/misc/logo_tbar.gif',2,'','','property_sets'),('sources','tools',63,'sources_desc','images/misc/logo_tbar.gif',2,'','','sources'),('reports','',0,'','images/icons/menu_settings16.gif',5,'','','menu_reports'),('site_schedule','reports',64,'site_schedule_desc','images/icons/cal.gif',0,'','','view_document'),('view_logging','reports',65,'view_logging_desc','',1,'','','logs'),('eventlog_viewer','reports',66,'eventlog_viewer_desc','images/icons/comment.gif',2,'','','view_eventlog'),('view_sysinfo','reports',67,'view_sysinfo_desc','images/icons/logging.gif',3,'','','view_sysinfo'),('about','reports',68,'about_desc','images/icons/information.png',4,'','','about'),('system','',0,'','images/misc/logo_tbar.gif',6,'','','menu_system'),('manage_workspaces','system',69,'manage_workspaces_desc','images/icons/sysinfo.gif',0,'','','packages'),('system_settings','system',70,'system_settings_desc','images/icons/sysinfo.gif',1,'','','settings'),('lexicon_management','system',71,'lexicon_management_desc','images/icons/logging.gif',2,'','','lexicons'),('content_types','system',72,'content_types_desc','images/icons/logging.gif',3,'','','content_types'),('contexts','system',73,'contexts_desc','images/icons/sysinfo.gif',4,'','','view_context'),('edit_menu','system',74,'edit_menu_desc','images/icons/sysinfo.gif',5,'','','menus,actions'),('namespaces','system',75,'namespaces_desc','',6,'','','namespaces'),('user','',0,'','images/icons/user_go.png',7,'','','menu_user'),('profile','user',76,'profile_desc','',0,'','','change_profile'),('messages','user',77,'messages_desc','images/icons/messages.gif',1,'','','messages'),('support','',0,'support_desc','images/icons/sysinfo.gif',8,'','','menu_support'),('forums','support',0,'forums_desc','images/icons/sysinfo.gif',0,'','window.open(\"http://modx.com/forums\");',''),('wiki','support',0,'wiki_desc','images/icons/sysinfo.gif',1,'','window.open(\"http://rtfm.modx.com/\");',''),('jira','support',0,'jira_desc','images/icons/sysinfo.gif',2,'','window.open(\"http://bugs.modx.com/projects/revo/issues\");',''),('api_docs','support',0,'api_docs_desc','images/icons/sysinfo.gif',3,'','window.open(\"http://api.modx.com/revolution/2.2/\");','');

--
-- Table structure for table `zcx_namespaces`
--

CREATE TABLE `zcx_namespaces` (
  `name` varchar(40) NOT NULL DEFAULT '',
  `path` text,
  `assets_path` text,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_namespaces`
--

INSERT INTO `zcx_namespaces` VALUES ('core','{core_path}','{assets_path}');

--
-- Table structure for table `zcx_property_set`
--

CREATE TABLE `zcx_property_set` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `category` int(10) NOT NULL DEFAULT '0',
  `description` varchar(255) NOT NULL DEFAULT '',
  `properties` text,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `category` (`category`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_property_set`
--


--
-- Table structure for table `zcx_register_messages`
--

CREATE TABLE `zcx_register_messages` (
  `topic` int(10) unsigned NOT NULL,
  `id` varchar(255) NOT NULL,
  `created` datetime NOT NULL,
  `valid` datetime NOT NULL,
  `accessed` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `accesses` int(10) unsigned NOT NULL DEFAULT '0',
  `expires` int(20) NOT NULL DEFAULT '0',
  `payload` mediumtext NOT NULL,
  `kill` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`topic`,`id`),
  KEY `created` (`created`),
  KEY `valid` (`valid`),
  KEY `accessed` (`accessed`),
  KEY `accesses` (`accesses`),
  KEY `expires` (`expires`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_register_messages`
--


--
-- Table structure for table `zcx_register_queues`
--

CREATE TABLE `zcx_register_queues` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `options` mediumtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_register_queues`
--

INSERT INTO `zcx_register_queues` VALUES (1,'locks','a:1:{s:9:\"directory\";s:5:\"locks\";}');

--
-- Table structure for table `zcx_register_topics`
--

CREATE TABLE `zcx_register_topics` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `queue` int(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `created` datetime NOT NULL,
  `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `options` mediumtext,
  PRIMARY KEY (`id`),
  KEY `queue` (`queue`),
  KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_register_topics`
--

INSERT INTO `zcx_register_topics` VALUES (1,1,'/resource/','2013-08-29 15:01:14',NULL,NULL);

--
-- Table structure for table `zcx_session`
--

CREATE TABLE `zcx_session` (
  `id` varchar(255) NOT NULL DEFAULT '',
  `access` int(20) unsigned NOT NULL,
  `data` mediumtext,
  PRIMARY KEY (`id`),
  KEY `access` (`access`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_session`
--

INSERT INTO `zcx_session` VALUES ('b1fdfd9e315cde59cfbccc88b226fdca',1377788535,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_1521f622b51eb30.31955839\";modx.mgr.session.cookie.lifetime|i:0;newResourceTokens|a:3:{i:0;s:23:\"521f623a63c684.61053601\";i:1;s:23:\"521f6269b6bee7.02993717\";i:2;s:23:\"521f62773845c7.50633287\";}'),('090613bba36c1cd6a59c6916e1cf6ef4',1377886342,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_1521ff0bd5ace25.08467829\";modx.mgr.session.cookie.lifetime|i:0;newResourceTokens|a:6:{i:0;s:23:\"521ff59d647252.58450090\";i:1;s:23:\"521ff5b6474ad8.60628708\";i:2;s:23:\"521ff5d6a540f5.74699024\";i:3;s:23:\"521ff5fed0e9d3.41223969\";i:4;s:23:\"5220e07a9244b3.43032085\";i:5;s:23:\"5220e086a55a03.21154691\";}'),('dc5b74ad9872294d6e70162ba87167bc',1377882297,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_15220cea55b7c98.00497411\";modx.mgr.session.cookie.lifetime|i:0;newResourceTokens|a:3:{i:0;s:23:\"5220d053da9317.26421267\";i:1;s:23:\"5220d05c8ce590.77121146\";i:2;s:23:\"5220d0b94d7d85.62887149\";}'),('45694117148bcb1d42927d4a2c0efba9',1377916627,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_1522156d397bd11.68987804\";modx.mgr.session.cookie.lifetime|i:0;'),('ba710bc4ba5b4a4fefc85f2ae8f3ad8f',1377918502,'modx.user.contextTokens|a:0:{}'),('26a5d7a4d99a27898091a59baef08c40',1377918518,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_152215e36c83f71.25242268\";modx.mgr.session.cookie.lifetime|i:0;'),('38cf66befa2c7b4334ac8f22d2d7e054',1377918519,'modx.user.contextTokens|a:0:{}'),('a781c059e0a072f6dc6d350aca5b5ad9',1377918529,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_152215e41465f36.97188981\";modx.mgr.session.cookie.lifetime|i:0;'),('2e787e8fb8a0bdc4e4d6de2575ac1bf7',1377921659,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_1522164b30ffdf8.24262236\";modx.mgr.session.cookie.lifetime|i:0;newResourceTokens|a:11:{i:0;s:23:\"5221655a5a15e0.39621057\";i:1;s:23:\"522165b32675d8.35999195\";i:2;s:23:\"522165b9b57f14.11182182\";i:3;s:23:\"5221666a3bdf34.89155011\";i:4;s:23:\"522167079e8330.36172326\";i:5;s:23:\"5221670ee32121.13634126\";i:6;s:23:\"52216714158028.05392177\";i:7;s:23:\"5221671ddf7786.61287766\";i:8;s:23:\"52216767999479.96496506\";i:9;s:23:\"522167748f7529.68007361\";i:10;s:23:\"52216a7baf9227.91394869\";}'),('e1882ea68466fdf311810622d3cad6b4',1377976506,'modx.user.contextTokens|a:1:{s:3:\"mgr\";i:1;}login_failed|i:1;modx.mgr.user.token|s:52:\"modx521f620d8d9594.20727053_1522240bac1e3a2.53644138\";modx.mgr.session.cookie.lifetime|i:0;');

--
-- Table structure for table `zcx_site_content`
--

CREATE TABLE `zcx_site_content` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL DEFAULT 'document',
  `contentType` varchar(50) NOT NULL DEFAULT 'text/html',
  `pagetitle` varchar(255) NOT NULL DEFAULT '',
  `longtitle` varchar(255) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `alias` varchar(255) DEFAULT '',
  `link_attributes` varchar(255) NOT NULL DEFAULT '',
  `published` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `pub_date` int(20) NOT NULL DEFAULT '0',
  `unpub_date` int(20) NOT NULL DEFAULT '0',
  `parent` int(10) NOT NULL DEFAULT '0',
  `isfolder` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `introtext` text,
  `content` mediumtext,
  `richtext` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `template` int(10) NOT NULL DEFAULT '0',
  `menuindex` int(10) NOT NULL DEFAULT '0',
  `searchable` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `cacheable` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `createdby` int(10) NOT NULL DEFAULT '0',
  `createdon` int(20) NOT NULL DEFAULT '0',
  `editedby` int(10) NOT NULL DEFAULT '0',
  `editedon` int(20) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `deletedon` int(20) NOT NULL DEFAULT '0',
  `deletedby` int(10) NOT NULL DEFAULT '0',
  `publishedon` int(20) NOT NULL DEFAULT '0',
  `publishedby` int(10) NOT NULL DEFAULT '0',
  `menutitle` varchar(255) NOT NULL DEFAULT '',
  `donthit` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `privateweb` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `privatemgr` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `content_dispo` tinyint(1) NOT NULL DEFAULT '0',
  `hidemenu` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `class_key` varchar(100) NOT NULL DEFAULT 'modDocument',
  `context_key` varchar(100) NOT NULL DEFAULT 'web',
  `content_type` int(11) unsigned NOT NULL DEFAULT '1',
  `uri` text,
  `uri_override` tinyint(1) NOT NULL DEFAULT '0',
  `hide_children_in_tree` tinyint(1) NOT NULL DEFAULT '0',
  `show_in_tree` tinyint(1) NOT NULL DEFAULT '1',
  `properties` mediumtext,
  PRIMARY KEY (`id`),
  KEY `alias` (`alias`),
  KEY `published` (`published`),
  KEY `pub_date` (`pub_date`),
  KEY `unpub_date` (`unpub_date`),
  KEY `parent` (`parent`),
  KEY `isfolder` (`isfolder`),
  KEY `template` (`template`),
  KEY `menuindex` (`menuindex`),
  KEY `searchable` (`searchable`),
  KEY `cacheable` (`cacheable`),
  KEY `hidemenu` (`hidemenu`),
  KEY `class_key` (`class_key`),
  KEY `context_key` (`context_key`),
  KEY `uri` (`uri`(333)),
  KEY `uri_override` (`uri_override`),
  KEY `hide_children_in_tree` (`hide_children_in_tree`),
  KEY `show_in_tree` (`show_in_tree`),
  KEY `cache_refresh_idx` (`parent`,`menuindex`,`id`),
  FULLTEXT KEY `content_ft_idx` (`pagetitle`,`longtitle`,`description`,`introtext`,`content`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_content`
--

INSERT INTO `zcx_site_content` VALUES (1,'document','text/html','Home','','','home-page','',1,0,0,0,0,'','[[test]]',1,1,0,1,1,1,1377788432,1,1377826314,0,0,0,0,0,'',0,0,0,0,0,'modDocument','web',1,'home-page.html',0,0,1,NULL),(2,'document','text/html','blah','','','blah-blah','',1,0,0,0,0,'','[[test]]',1,1,1,1,1,1,1377921657,1,1377921761,0,0,0,0,0,'',0,0,0,0,0,'modDocument','web',1,'blah-blah.html',0,0,1,NULL);

--
-- Table structure for table `zcx_site_htmlsnippets`
--

CREATE TABLE `zcx_site_htmlsnippets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `source` int(10) unsigned NOT NULL DEFAULT '0',
  `property_preprocess` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Chunk',
  `editor_type` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0',
  `snippet` mediumtext,
  `locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `properties` text,
  `static` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `static_file` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `category` (`category`),
  KEY `locked` (`locked`),
  KEY `static` (`static`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_htmlsnippets`
--


--
-- Table structure for table `zcx_site_plugin_events`
--

CREATE TABLE `zcx_site_plugin_events` (
  `pluginid` int(10) NOT NULL DEFAULT '0',
  `event` varchar(255) NOT NULL DEFAULT '',
  `priority` int(10) NOT NULL DEFAULT '0',
  `propertyset` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`pluginid`,`event`),
  KEY `priority` (`priority`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_plugin_events`
--


--
-- Table structure for table `zcx_site_plugins`
--

CREATE TABLE `zcx_site_plugins` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `source` int(10) unsigned NOT NULL DEFAULT '0',
  `property_preprocess` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `editor_type` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0',
  `plugincode` mediumtext NOT NULL,
  `locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `properties` text,
  `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `moduleguid` varchar(32) NOT NULL DEFAULT '',
  `static` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `static_file` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `category` (`category`),
  KEY `locked` (`locked`),
  KEY `disabled` (`disabled`),
  KEY `static` (`static`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_plugins`
--


--
-- Table structure for table `zcx_site_snippets`
--

CREATE TABLE `zcx_site_snippets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `source` int(10) unsigned NOT NULL DEFAULT '0',
  `property_preprocess` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `editor_type` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0',
  `snippet` mediumtext,
  `locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `properties` text,
  `moduleguid` varchar(32) NOT NULL DEFAULT '',
  `static` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `static_file` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `category` (`category`),
  KEY `locked` (`locked`),
  KEY `moduleguid` (`moduleguid`),
  KEY `static` (`static`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_snippets`
--

INSERT INTO `zcx_site_snippets` VALUES (1,1,0,'test','',0,0,0,'echo \'hi\';',0,'a:0:{}','',0,'');

--
-- Table structure for table `zcx_site_templates`
--

CREATE TABLE `zcx_site_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `source` int(10) unsigned NOT NULL DEFAULT '0',
  `property_preprocess` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `templatename` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Template',
  `editor_type` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0',
  `icon` varchar(255) NOT NULL DEFAULT '',
  `template_type` int(11) NOT NULL DEFAULT '0',
  `content` mediumtext NOT NULL,
  `locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `properties` text,
  `static` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `static_file` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `templatename` (`templatename`),
  KEY `category` (`category`),
  KEY `locked` (`locked`),
  KEY `static` (`static`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_templates`
--

INSERT INTO `zcx_site_templates` VALUES (1,0,0,'GlobalBaseTemplate','Template - [[++site_name]] - [[*pagetitle]] - TV Use... ',0,0,'',0,'<!doctype html>\n<html>\n<head>\n<title></title>\n<base href=\"[[++site_url]]\" />\n</head>\n<body>\n[[*content]]\n</body>\n</html>',0,'a:0:{}',0,'');

--
-- Table structure for table `zcx_site_tmplvar_access`
--

CREATE TABLE `zcx_site_tmplvar_access` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tmplvarid` int(10) NOT NULL DEFAULT '0',
  `documentgroup` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_tmplvar_access`
--


--
-- Table structure for table `zcx_site_tmplvar_contentvalues`
--

CREATE TABLE `zcx_site_tmplvar_contentvalues` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tmplvarid` int(10) NOT NULL DEFAULT '0',
  `contentid` int(10) NOT NULL DEFAULT '0',
  `value` mediumtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `tmplvarid` (`tmplvarid`),
  KEY `contentid` (`contentid`),
  KEY `tv_cnt` (`tmplvarid`,`contentid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_tmplvar_contentvalues`
--


--
-- Table structure for table `zcx_site_tmplvar_templates`
--

CREATE TABLE `zcx_site_tmplvar_templates` (
  `tmplvarid` int(10) NOT NULL DEFAULT '0',
  `templateid` int(11) NOT NULL DEFAULT '0',
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tmplvarid`,`templateid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_tmplvar_templates`
--

INSERT INTO `zcx_site_tmplvar_templates` VALUES (1,1,0);

--
-- Table structure for table `zcx_site_tmplvars`
--

CREATE TABLE `zcx_site_tmplvars` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `source` int(10) unsigned NOT NULL DEFAULT '0',
  `property_preprocess` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `type` varchar(20) NOT NULL DEFAULT '',
  `name` varchar(50) NOT NULL DEFAULT '',
  `caption` varchar(80) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `editor_type` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0',
  `locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `elements` text,
  `rank` int(11) NOT NULL DEFAULT '0',
  `display` varchar(20) NOT NULL DEFAULT '',
  `default_text` mediumtext,
  `properties` text,
  `input_properties` text,
  `output_properties` text,
  `static` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `static_file` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `category` (`category`),
  KEY `locked` (`locked`),
  KEY `rank` (`rank`),
  KEY `static` (`static`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_site_tmplvars`
--

INSERT INTO `zcx_site_tmplvars` VALUES (1,1,0,'text','pageTitle','Title \'tag\' of the page','TV for page title.',0,1,0,'',0,'default','','a:0:{}','a:3:{s:10:\"allowBlank\";s:4:\"true\";s:9:\"maxLength\";s:0:\"\";s:9:\"minLength\";s:0:\"\";}','a:0:{}',0,'');

--
-- Table structure for table `zcx_system_eventnames`
--

CREATE TABLE `zcx_system_eventnames` (
  `name` varchar(50) NOT NULL,
  `service` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `groupname` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_system_eventnames`
--

INSERT INTO `zcx_system_eventnames` VALUES ('OnPluginEventBeforeSave',1,'Plugin Events'),('OnPluginEventSave',1,'Plugin Events'),('OnPluginEventBeforeRemove',1,'Plugin Events'),('OnPluginEventRemove',1,'Plugin Events'),('OnResourceGroupSave',1,'Security'),('OnResourceGroupBeforeSave',1,'Security'),('OnResourceGroupRemove',1,'Security'),('OnResourceGroupBeforeRemove',1,'Security'),('OnSnippetBeforeSave',1,'Snippets'),('OnSnippetSave',1,'Snippets'),('OnSnippetBeforeRemove',1,'Snippets'),('OnSnippetRemove',1,'Snippets'),('OnSnipFormPrerender',1,'Snippets'),('OnSnipFormRender',1,'Snippets'),('OnBeforeSnipFormSave',1,'Snippets'),('OnSnipFormSave',1,'Snippets'),('OnBeforeSnipFormDelete',1,'Snippets'),('OnSnipFormDelete',1,'Snippets'),('OnTemplateBeforeSave',1,'Templates'),('OnTemplateSave',1,'Templates'),('OnTemplateBeforeRemove',1,'Templates'),('OnTemplateRemove',1,'Templates'),('OnTempFormPrerender',1,'Templates'),('OnTempFormRender',1,'Templates'),('OnBeforeTempFormSave',1,'Templates'),('OnTempFormSave',1,'Templates'),('OnBeforeTempFormDelete',1,'Templates'),('OnTempFormDelete',1,'Templates'),('OnTemplateVarBeforeSave',1,'Template Variables'),('OnTemplateVarSave',1,'Template Variables'),('OnTemplateVarBeforeRemove',1,'Template Variables'),('OnTemplateVarRemove',1,'Template Variables'),('OnTVFormPrerender',1,'Template Variables'),('OnTVFormRender',1,'Template Variables'),('OnBeforeTVFormSave',1,'Template Variables'),('OnTVFormSave',1,'Template Variables'),('OnBeforeTVFormDelete',1,'Template Variables'),('OnTVFormDelete',1,'Template Variables'),('OnTVInputRenderList',1,'Template Variables'),('OnTVInputPropertiesList',1,'Template Variables'),('OnTVOutputRenderList',1,'Template Variables'),('OnTVOutputRenderPropertiesList',1,'Template Variables'),('OnUserGroupBeforeSave',1,'User Groups'),('OnUserGroupSave',1,'User Groups'),('OnUserGroupBeforeRemove',1,'User Groups'),('OnUserGroupRemove',1,'User Groups'),('OnBeforeUserGroupFormSave',1,'User Groups'),('OnUserGroupFormSave',1,'User Groups'),('OnBeforeUserGroupFormRemove',1,'User Groups'),('OnDocFormPrerender',1,'Resources'),('OnDocFormRender',1,'Resources'),('OnBeforeDocFormSave',1,'Resources'),('OnDocFormSave',1,'Resources'),('OnBeforeDocFormDelete',1,'Resources'),('OnDocFormDelete',1,'Resources'),('OnDocPublished',5,'Resources'),('OnDocUnPublished',5,'Resources'),('OnBeforeEmptyTrash',1,'Resources'),('OnEmptyTrash',1,'Resources'),('OnResourceTVFormPrerender',1,'Resources'),('OnResourceTVFormRender',1,'Resources'),('OnResourceDelete',1,'Resources'),('OnResourceUndelete',1,'Resources'),('OnResourceBeforeSort',1,'Resources'),('OnResourceSort',1,'Resources'),('OnResourceDuplicate',1,'Resources'),('OnResourceToolbarLoad',1,'Resources'),('OnResourceRemoveFromResourceGroup',1,'Resources'),('OnResourceAddToResourceGroup',1,'Resources'),('OnRichTextEditorRegister',1,'RichText Editor'),('OnRichTextEditorInit',1,'RichText Editor'),('OnRichTextBrowserInit',1,'RichText Editor'),('OnWebLogin',3,'Security'),('OnBeforeWebLogout',3,'Security'),('OnWebLogout',3,'Security'),('OnManagerLogin',2,'Security'),('OnBeforeManagerLogout',2,'Security'),('OnManagerLogout',2,'Security'),('OnBeforeWebLogin',3,'Security'),('OnWebAuthentication',3,'Security'),('OnBeforeManagerLogin',2,'Security'),('OnManagerAuthentication',2,'Security'),('OnManagerLoginFormRender',2,'Security'),('OnManagerLoginFormPrerender',2,'Security'),('OnPageUnauthorized',1,'Security'),('OnUserFormPrerender',1,'Users'),('OnUserFormRender',1,'Users'),('OnBeforeUserFormSave',1,'Users'),('OnUserFormSave',1,'Users'),('OnBeforeUserFormDelete',1,'Users'),('OnUserFormDelete',1,'Users'),('OnUserNotFound',1,'Users'),('OnBeforeUserActivate',1,'Users'),('OnUserActivate',1,'Users'),('OnBeforeUserDeactivate',1,'Users'),('OnUserDeactivate',1,'Users'),('OnBeforeUserDuplicate',1,'Users'),('OnUserDuplicate',1,'Users'),('OnUserChangePassword',1,'Users'),('OnUserBeforeRemove',1,'Users'),('OnUserBeforeSave',1,'Users'),('OnUserSave',1,'Users'),('OnUserRemove',1,'Users'),('OnUserBeforeAddToGroup',1,'User Groups'),('OnUserAddToGroup',1,'User Groups'),('OnUserBeforeRemoveFromGroup',1,'User Groups'),('OnUserRemoveFromGroup',1,'User Groups'),('OnWebPagePrerender',5,'System'),('OnBeforeCacheUpdate',4,'System'),('OnCacheUpdate',4,'System'),('OnLoadWebPageCache',4,'System'),('OnBeforeSaveWebPageCache',4,'System'),('OnSiteRefresh',1,'System'),('OnFileManagerUpload',1,'System'),('OnFileCreateFormPrerender',1,'System'),('OnFileEditFormPrerender',1,'System'),('OnManagerPageInit',2,'System'),('OnManagerPageBeforeRender',2,'System'),('OnManagerPageAfterRender',2,'System'),('OnWebPageInit',5,'System'),('OnLoadWebDocument',5,'System'),('OnParseDocument',5,'System'),('OnWebPageComplete',5,'System'),('OnBeforeManagerPageInit',2,'System'),('OnPageNotFound',1,'System'),('OnHandleRequest',5,'System'),('OnSiteSettingsRender',1,'Settings'),('OnInitCulture',3,'Internationalization'),('OnCategorySave',1,'Categories'),('OnCategoryBeforeSave',1,'Categories'),('OnCategoryRemove',1,'Categories'),('OnCategoryBeforeRemove',1,'Categories'),('OnChunkSave',1,'Chunks'),('OnChunkBeforeSave',1,'Chunks'),('OnChunkRemove',1,'Chunks'),('OnChunkBeforeRemove',1,'Chunks'),('OnChunkFormPrerender',1,'Chunks'),('OnChunkFormRender',1,'Chunks'),('OnBeforeChunkFormSave',1,'Chunks'),('OnChunkFormSave',1,'Chunks'),('OnBeforeChunkFormDelete',1,'Chunks'),('OnChunkFormDelete',1,'Chunks'),('OnContextSave',1,'Contexts'),('OnContextBeforeSave',1,'Contexts'),('OnContextRemove',1,'Contexts'),('OnContextBeforeRemove',1,'Contexts'),('OnContextFormPrerender',2,'Contexts'),('OnContextFormRender',2,'Contexts'),('OnPluginSave',1,'Plugins'),('OnPluginBeforeSave',1,'Plugins'),('OnPluginRemove',1,'Plugins'),('OnPluginBeforeRemove',1,'Plugins'),('OnPluginFormPrerender',1,'Plugins'),('OnPluginFormRender',1,'Plugins'),('OnBeforePluginFormSave',1,'Plugins'),('OnPluginFormSave',1,'Plugins'),('OnBeforePluginFormDelete',1,'Plugins'),('OnPluginFormDelete',1,'Plugins'),('OnPropertySetSave',1,'Property Sets'),('OnPropertySetBeforeSave',1,'Property Sets'),('OnPropertySetRemove',1,'Property Sets'),('OnPropertySetBeforeRemove',1,'Property Sets'),('OnMediaSourceBeforeFormDelete',1,'Media Sources'),('OnMediaSourceBeforeFormSave',1,'Media Sources'),('OnMediaSourceGetProperties',1,'Media Sources'),('OnMediaSourceFormDelete',1,'Media Sources'),('OnMediaSourceFormSave',1,'Media Sources'),('OnMediaSourceDuplicate',1,'Media Sources');

--
-- Table structure for table `zcx_system_settings`
--

CREATE TABLE `zcx_system_settings` (
  `key` varchar(50) NOT NULL DEFAULT '',
  `value` text NOT NULL,
  `xtype` varchar(75) NOT NULL DEFAULT 'textfield',
  `namespace` varchar(40) NOT NULL DEFAULT 'core',
  `area` varchar(255) NOT NULL DEFAULT '',
  `editedon` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_system_settings`
--



--
-- Table structure for table `zcx_transport_packages`
--

CREATE TABLE `zcx_transport_packages` (
  `signature` varchar(255) NOT NULL,
  `created` datetime NOT NULL,
  `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `installed` datetime DEFAULT NULL,
  `state` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `workspace` int(10) unsigned NOT NULL DEFAULT '0',
  `provider` int(10) unsigned NOT NULL DEFAULT '0',
  `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `source` tinytext,
  `manifest` text,
  `attributes` mediumtext,
  `package_name` varchar(255) NOT NULL,
  `metadata` text,
  `version_major` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `version_minor` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `version_patch` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `release` varchar(100) NOT NULL DEFAULT '',
  `release_index` tinyint(4) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`signature`),
  KEY `workspace` (`workspace`),
  KEY `provider` (`provider`),
  KEY `disabled` (`disabled`),
  KEY `package_name` (`package_name`),
  KEY `version_major` (`version_major`),
  KEY `version_minor` (`version_minor`),
  KEY `version_patch` (`version_patch`),
  KEY `release` (`release`),
  KEY `release_index` (`release_index`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_transport_packages`
--


--
-- Table structure for table `zcx_user_group_roles`
--

CREATE TABLE `zcx_user_group_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` mediumtext,
  `authority` int(10) unsigned NOT NULL DEFAULT '9999',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`),
  KEY `authority` (`authority`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_user_group_roles`
--

INSERT INTO `zcx_user_group_roles` VALUES (1,'Member',NULL,9999),(2,'Super User',NULL,0);

--
-- Table structure for table `zcx_user_messages`
--

CREATE TABLE `zcx_user_messages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(15) NOT NULL DEFAULT '',
  `subject` varchar(255) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  `sender` int(10) NOT NULL DEFAULT '0',
  `recipient` int(10) NOT NULL DEFAULT '0',
  `private` tinyint(4) NOT NULL DEFAULT '0',
  `date_sent` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `read` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_user_messages`
--


--
-- Table structure for table `zcx_user_settings`
--

CREATE TABLE `zcx_user_settings` (
  `user` int(11) NOT NULL DEFAULT '0',
  `key` varchar(50) NOT NULL DEFAULT '',
  `value` text,
  `xtype` varchar(75) NOT NULL DEFAULT 'textfield',
  `namespace` varchar(40) NOT NULL DEFAULT 'core',
  `area` varchar(255) NOT NULL DEFAULT '',
  `editedon` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`user`,`key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_user_settings`
--


--
-- Table structure for table `zcx_workspaces`
--

CREATE TABLE `zcx_workspaces` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `path` varchar(255) NOT NULL DEFAULT '',
  `created` datetime NOT NULL,
  `active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `attributes` mediumtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `path` (`path`),
  KEY `name` (`name`),
  KEY `active` (`active`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `zcx_workspaces`
--

INSERT INTO `zcx_workspaces` VALUES (1,'Default MODX workspace','{core_path}','2013-08-29 15:00:30',1,NULL);


