INSERT INTO `qs_DPageItemType` (`id`, `type`, `title`, `sorter`) VALUES (NULL, 'Event\\', 'Event', '410');

INSERT INTO `qs_CartItemType` (`id`, `title`) VALUES ('Event\\CartItem', 'Event');


INSERT INTO `qs_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES
  ('eventNotificationAuthorHeader', 2, 'header', '', 'Event Registration Confirmation (to user who registers himself)', '', '', 'n', 'n', 310, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAuthorSubject', 2, 'text', 'Subject', 'You were registered for event', '', '', 'y', 'n', 312, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAuthorFrom', 2, 'text', 'From Email Address &nbsp; <span class="label_description">If you leave this field empty - the From Email Address will be the same as the one in General Settings.</span>', '', '', '', 'y', 'n', 314, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAuthorBody', 2, 'HtmlEditor', 'Message Body', '<p>You have been registered for the following event:&nbsp;<strong>{title}</strong>.</p>\r\n\r\n<p><strong>Date:</strong> {date}</p>\r\n\r\n<p><strong>Time:</strong> {time}</p>\r\n\r\n<p><strong>Attendees:</strong> {attendees}</p>\r\n\r\n<p><strong>Location:</strong> {location}.</p>\r\n\r\n<p><a href="{link}">View details</a></p>\r\n', '', 'Constants: {title} {location} {link} {date} {time} {attendees}', 'y', 'n', 316, '2014-02-28 14:00:00', '2014-02-28 14:00:00');


INSERT INTO `qs_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES
  ('eventNotificationAttendeeHeader', 2, 'header', '', 'Event Registration Confirmation (to other attendees)', '', '', 'n', 'n', 320, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAttendeeSubject', 2, 'text', 'Subject', 'You were registered for event', '', '', 'y', 'n', 322, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAttendeeFrom', 2, 'text', 'From Email Address &nbsp; <span class="label_description">If you leave this field empty - the From Email Address will be the same as the one in General Settings.</span>', '', '', '', 'y', 'n', 324, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAttendeeBody', 2, 'HtmlEditor', 'Message Body', '<p>You have been registered for the following event:&nbsp;<strong>{title}</strong>.</p>\r\n\r\n<p><strong>Date:</strong> {date}</p>\r\n\r\n<p><strong>Time:</strong> {time}</p>\r\n\r\n<p><strong>Location:</strong> {location}</p>\r\n\r\n<p><a href="{link}">View details</a></p>\r\n', '', 'Constants: {title} {location} {link} {date} {time} {attendees}', 'y', 'n', 326, '2014-02-28 14:00:00', '2014-02-28 14:00:00');


INSERT INTO `qs_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES
  ('eventNotificationAdminHeader', 2, 'header', '', 'New Event Registration (Admin Notification)', '', '', 'n', 'n', 330, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAdminSubject', 2, 'text', 'Subject', 'You were registered for event', '', '', 'y', 'n', 332, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAdminFrom', 2, 'text', 'From Email Address &nbsp; <span class="label_description">If you leave this field empty - the From Email Address will be the same as the one in General Settings.</span>', '', '', '', 'y', 'n', 334, '2014-02-28 14:00:00', '2014-02-28 14:00:00'),
  ('eventNotificationAdminBody', 2, 'HtmlEditor', 'Message Body', '<p>You have been registered for the following event:&nbsp;<strong>{title}</strong>.</p>\r\n\r\n<p><strong>Date:</strong> {date}</p>\r\n\r\n<p><strong>Time:</strong> {time}</p>\r\n\r\n<p><strong>Location:</strong> {location}</p>\r\n\r\n<p><strong>Attendees:</strong> {attendees}.</p>\r\n\r\n<p><a href="{link}">View details</a></p>\r\n', '', 'Constants: {title} {location} {link} {date} {time} {attendees}', 'y', 'n', 336, '2014-02-28 14:00:00', '2014-02-28 14:00:00');
