INSERT INTO `qs_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES
('widgetCodeHeader', 1, 'header', '3rd Party Widgets', '', '', '', 'n', 'y', 12, '2016-01-15 12:42:59', '2016-01-15 12:50:19'),
('widgetCodePlacement', 1, 'radio', 'Placement', 'beforeBodyClose', '', '', 'n', 'y', 13, '2016-01-15 12:48:05', '2016-01-15 12:50:19'),
('widgetCodeHtml', 1, 'textarea', 'Code', '', '', 'Be careful when adding/changing the code above since any syntax errors can break the user end.', 'n', 'y', 14, '2016-01-15 12:49:23', '2016-01-15 12:50:19');

INSERT INTO `qs_SettingsOptions` (`name`, `variable`, `value`, `type`, `sorter`) VALUES
('widgetCodePlacement', 'multiOptions[beforeHeadClose]', 'before </head> tag', 'string', NULL),
('widgetCodePlacement', 'multiOptions[beforeBodyClose]', 'before </body> tag', 'string', NULL),
('widgetCodePlacement', 'multiOptions[afterHeadOpen]', 'after <head> tag', 'string', NULL),
('widgetCodePlacement', 'multiOptions[afterBodyOpen]', 'after <body> tag', 'string', NULL),
('widgetCodePlacement', 'columns', '2', 'string', NULL);

