1c2cbb07a60203592dd77ac3f08db3939017aa05
[atutor.git] / mods / google_calendar / module.sql
1 # sql file for Google Calendar module\r
2 \r
3 CREATE TABLE `google_prefs` (\r
4   `member_id` mediumint(8) NOT NULL,\r
5   `private_xml` varchar(150) NOT NULL,\r
6   `private_html` varchar(255) character set utf8 collate utf8_unicode_ci NOT NULL,\r
7   `timezone` varchar(50) NOT NULL,\r
8   PRIMARY KEY  (`member_id`)\r
9 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;\r
10 \r
11 \r
12 INSERT INTO `language_text` VALUES ('en', '_module','google_calendar','Google Calendar',NOW(),'');\r
13 INSERT INTO `language_text` VALUES ('en', '_module','google_howto','To use the Google Calendar module with ATutor, you need to <a href="http://www.google.com">register a google account</a>. If your google calendar is a shared calendar, you don\'t need to do anything to get your calendar to display in ATutor, provided the email address you used in ATutor is the same as the one used in your google account. If you have a Private calendar, follow these steps once you have your Google account setup:\r
14 <h4>Private Calendar Setup</h4>\r
15 <ol>\r
16 <li>Sign in to your google account, and click on My Account</li>\r
17 <li>Click on "Calendar" under My Products</li>\r
18 <li>Click on the calendar "Settings" link</li>\r
19 <li>Click on the Calendars tab under Calendar Settings</li>\r
20 <li>Click on the name in the first column for the calandar you wish to make available through ATutor</li>\r
21 <li>Scroll down to "Private Address" and click on the XML button</li>\r
22 <li>Copy the URL generated into the Private Calendar XML URL field below.</li>\r
23 <li>Click on the HTML button</li>\r
24 <li>Copy the URL generated into the Private Calendar HTML URL field below.\r
25 <li>Press Save.</li>\r
26 </ol>\r
27 <p>For additional details about Google Calendar setup and features, See <a href="http://www.google.com/support/calendar/">Google Calendar Help</a>.</p>',NOW(),'');\r
28 INSERT INTO `language_text` VALUES ('en', '_module','google_private_xml','Private Calendar XML URL',NOW(),'');\r
29 INSERT INTO `language_text` VALUES ('en', '_module','google_private_html','Private Calendar HTML URL',NOW(),'');\r
30 INSERT INTO `language_text` VALUES ('en', '_module','google_private_calendar_prefs','Set Private Calendar Preferences',NOW(),'');\r
31 INSERT INTO `language_text` VALUES ('en', '_module','google_private_calendar','Private Calendar',NOW(),'');\r
32 INSERT INTO `language_text` VALUES ('en', '_module','google_setup','How to setup your Google calendar',NOW(),'');\r
33 INSERT INTO `language_text` VALUES ('en', '_module','google_timzone','Select Timezoner',NOW(),'');\r
34 INSERT INTO `language_text` VALUES ('en', '_module','google_calendar_permission','You do not have permission to view all events in this calendar. See details on setting up your Calendar below the main Google Calendar tool.',NOW(),'');\r
35 \r
36 INSERT INTO `language_text` VALUES ('en', '_c_msgs','AT_FEEDBACK_GOOGLE_CAL_UPDATED','Google calendar preferences were successfully updated',NOW(),'');\r
37 INSERT INTO `language_text` VALUES ('en', '_c_msgs','AT_FEEDBACK_GOOGLE_CAL_UPDATE_FAILED','Google calendar preferences update failed for some undetermined reason.',NOW(),'');\r