2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Can define centre and project information in administrative menu

Able to edit questionnaires RS text and name
Can disable/enable questionnaires for viewing in admin interface
RS text entered via new CKEditor including ability to insert tokens/template replace text
Added setting table and associated getter/setter functions (currently only used for centre information but could add more)
This commit is contained in:
azammitdcarf
2011-01-18 03:32:21 +00:00
parent ca02adf4c2
commit e5615b708a
628 changed files with 117476 additions and 21 deletions

View File

@@ -468,6 +468,8 @@ CREATE TABLE `questionnaire` (
`rs_callback` text collate utf8_unicode_ci NOT NULL,
`rs_answeringmachine` text collate utf8_unicode_ci NOT NULL,
`lime_rs_sid` int(11) default NULL,
`info` text collate utf8_unicode_ci default NULL,
`enabled` tinyint(1) NOT NULL default '1'
PRIMARY KEY (`questionnaire_id`)
) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
@@ -4135,10 +4137,19 @@ CREATE TABLE `sessions2` (
KEY `sess2_expireref` (`expireref`)
) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Dumping data for table `sessions2`
-- Table structure for table `setting`
--
CREATE TABLE IF NOT EXISTS `setting` (
`setting_id` int(11) NOT NULL auto_increment,
`field` varchar(255) collate utf8_unicode_ci NOT NULL,
`value` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`setting_id`),
UNIQUE KEY `field` (`field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Serialised table of settings';
-- --------------------------------------------------------