2 # sql file for announcement_subscription module
\r
6 # Set up table for subscribers
\r
7 CREATE TABLE `courses_members_subscription` (
\r
8 `member_id` MEDIUMINT NOT NULL ,
\r
9 `course_id` MEDIUMINT NOT NULL ,
\r
10 `subscribe` MEDIUMINT NULL DEFAULT '0',
\r
11 PRIMARY KEY (member_id)
\r
16 # Insert module specific language:
\r
17 INSERT INTO `language_text` VALUES ('en',
\r
19 'announcement_subscription',
\r
20 'Announcement Subscription',
\r
24 INSERT INTO `language_text` VALUES ('en',
\r
26 'announcement_subscribe_subject',
\r
27 'Course Announcement Subscription',
\r
29 'Announcement subscription mail subject');
\r
31 INSERT INTO `language_text` VALUES ('en',
\r
33 'announcement_subscribe_body',
\r
34 '*DO NOT REPLY TO THIS MESSAGE* \n
\r
35 You are now subscribed to the newsfeed in the ATutor course "%s". Login at: %s to view the course.',
\r
37 'New announcement mail body');
\r
39 INSERT INTO `language_text` VALUES ('en',
\r
41 'announcement_unsubscribe_body',
\r
42 '*DO NOT REPLY TO THIS MESSAGE* \n
\r
43 Your subscription to the newsfeed in the ATutor course "%s" has been cancelled. Login at: %s to view the course.',
\r
45 'New announcement mail body');
\r
47 INSERT INTO `language_text` VALUES ('en',
\r
49 'announcement_notify_subject',
\r
50 'New Course Announcement',
\r
52 'New announcement mail subject');
\r
54 INSERT INTO `language_text` VALUES ('en',
\r
56 'announcement_notify_body1',
\r
57 '*DO NOT REPLY TO THIS MESSAGE* \n
\r
58 A new announcement has been published in the ATutor course "%s". Login at: %s to view the course.',
\r
60 'New announcement mail body');
\r
62 INSERT INTO `language_text` VALUES ('en',
\r
64 'announcement_subscription_subscribe',
\r
69 INSERT INTO `language_text` VALUES ('en',
\r
71 'announcement_subscription_unsubscribe',
\r
76 INSERT INTO `language_text` VALUES ('en',
\r
78 'AT_INFOS_ANNOUNCEMENTSUB_ALREADYINSTALLED_ADDNEWS',
\r
79 'Module already installed in file /editor/add_news.php ',
\r
81 'Module installed warning');
\r
83 INSERT INTO `language_text` VALUES ('en',
\r
85 'AT_FEEDBACK_ANNOUNCEMENTSUB_INSTALL_ADDNEWS',
\r
86 'Changes made to file /editor/add_news.php ',
\r
88 'Module installed feedback');
\r
90 INSERT INTO `language_text` VALUES ('en',
\r
92 'AT_ERROR_ANNOUNCEMENTSUB_INSTALL_ADDNEWS',
\r
93 'Could not write to file /editor/add_news.php ',
\r
95 'Module install error');
\r
97 INSERT INTO `language_text` VALUES ('en',
\r
99 'AT_FEEDBACK_ANNOUNCEMENTSUB_SUBSCRIBE',
\r
100 'You have successfully subscribed to the announcement newsfeed for this course.',
\r
102 'Subscribed feedback message');
\r
104 INSERT INTO `language_text` VALUES ('en',
\r
106 'AT_ERROR_ANOUNCEMENTSUB_INSTALL_UNWRITE',
\r
107 'Cannot write to file /editor/add_news.php. Please make sure appropriate permissions are set for writing to this file.',
\r
109 'file unwritable error');
\r
111 INSERT INTO `language_text` VALUES ('en',
\r
113 'AT_FEEDBACK_ANNOUNCEMENTSUB_UNSUBSCRIBE',
\r
114 'You have successfully unsubscribed from the announcement newsfeed for this course.',
\r
116 'Unsubscribed feedback message');
\r