Code: Alles auswählen
// list of options to save
array(
'type' => 'hidden',
'name' => 'options',
'value' => 'columns,lift_panel,lift_panel_text,currency,color_scheme',
),
Code: Alles auswählen
// list of options to save
array(
'type' => 'hidden',
'name' => 'options',
'value' => 'columns,lift_panel,lift_panel_text,currency,color_scheme',
),
Code: Alles auswählen
CREATE TABLE `cat_sections` (
`section_id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`site_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`state_id` INT(2) UNSIGNED NOT NULL DEFAULT '1',
`module_id` INT(11) UNSIGNED NOT NULL,
`modified_when` INT(11) NOT NULL DEFAULT '0',
`modified_by` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`section_id`, `site_id`),
UNIQUE INDEX `section_id_site_id` (`section_id`, `site_id`),
INDEX `FK_cat_sections_cat_sites` (`site_id`),
INDEX `FK_cat_sections_cat_item_states` (`state_id`),
INDEX `FK_cat_sections_cat_addons` (`module_id`),
CONSTRAINT `FK_cat_sections_cat_addons` FOREIGN KEY (`module_id`) REFERENCES `cat_addons` (`addon_id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `FK_cat_sections_cat_item_states` FOREIGN KEY (`state_id`) REFERENCES `cat_item_states` (`state_id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `FK_cat_sections_cat_sites` FOREIGN KEY (`site_id`) REFERENCES `cat_sites` (`site_id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=58
;
Code: Alles auswählen
CREATE TABLE `cat_mod_wysiwyg` (
`section_id` INT(11) NOT NULL DEFAULT '0',
`column` INT(3) NOT NULL DEFAULT '1',
`attribute` TINYTEXT NULL DEFAULT NULL,
`content` LONGTEXT NOT NULL,
`text` LONGTEXT NOT NULL,
PRIMARY KEY (`section_id`, `column`),
UNIQUE INDEX `section_id_column` (`section_id`, `column`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
;