mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Import from DCARF SVN
This commit is contained in:
75
include/limesurvey/docs/demosurveys/Array_Filter_Test_DB.sql
Normal file
75
include/limesurvey/docs/demosurveys/Array_Filter_Test_DB.sql
Normal file
@@ -0,0 +1,75 @@
|
||||
#<pre>
|
||||
# SURVEYOR SURVEY DUMP
|
||||
#
|
||||
# This is a dumped survey from the LimeSurvey Script
|
||||
# http://www.limesurvey.org/
|
||||
|
||||
# NEW TABLE
|
||||
# SURVEYS TABLE
|
||||
#
|
||||
INSERT INTO surveys (`sid`, `short_title`, `description`, `admin`, `active`, `welcome`, `expires`, `adminemail`, `private`, `faxto`, `format`, `template`, `url`, `urldescrip`, `language`, `datestamp`, `usecookie`, `notification`, `allowregister`, `attribute1`, `attribute2`, `email_invite_subj`, `email_invite`, `email_remind_subj`, `email_remind`, `email_register_subj`, `email_register`, `email_confirm_subj`, `email_confirm`, `allowsave`, `autonumber_start`, `autoredirect`, `allowprev`, `ipaddr`, `useexpiry`, `refurl`, `datecreated`) VALUES ('36826', 'FIlter Test', 'A Survey to Test Array Filter', '', 'N', '', '1980-01-01', '', 'Y', '', 'G', 'default', '', '', 'english', 'N', 'N', '0', 'N', '', '', 'Invitation to participate in survey', 'Dear {FIRSTNAME},\n\n\n\nYou have been invited to participate in a survey.\n\n\n\nThe survey is titled:\n\n\"{SURVEYNAME}\"\n\n\n\n\"{SURVEYDESCRIPTION}\"\n\n\n\nTo participate, please click on the link below.\n\n\n\nSincerely,\n\n\n\n{ADMINNAME} ({ADMINEMAIL})\n\n\n\n----------------------------------------------\n\nClick here to do the survey:\n\n{SURVEYURL}', 'Reminder to participate in survey', 'Dear {FIRSTNAME},\n\n\n\nRecently we invited you to participate in a survey.\n\n\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\n\n\nThe survey is titled:\n\n\"{SURVEYNAME}\"\n\n\n\n\"{SURVEYDESCRIPTION}\"\n\n\n\nTo participate, please click on the link below.\n\n\n\nSincerely,\n\n\n\n{ADMINNAME} ({ADMINEMAIL})\n\n\n\n----------------------------------------------\n\nClick here to do the survey:\n\n{SURVEYURL}', 'Survey Registration Confirmation', 'Dear {FIRSTNAME},\n\n\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\n\n\nTo complete this survey, click on the following URL:\n\n\n\n{SURVEYURL}\n\n\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.', 'Confirmation of completed survey', 'Dear {FIRSTNAME},\n\n\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\n\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\n\n\nSincerely,\n\n\n\n{ADMINNAME}', 'Y', '0', 'N', 'Y', 'N', 'N', 'N', '');
|
||||
|
||||
# NEW TABLE
|
||||
# GROUPS TABLE
|
||||
#
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `group_order`, `description`, `sortorder`) VALUES ('44', '36826', 'B Group', '', '', '');
|
||||
|
||||
# NEW TABLE
|
||||
# QUESTIONS TABLE
|
||||
#
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('205', '36826', '44', 'M', '0001', 'Multi Selection', '', '', 'Y', 'Y', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('206', '36826', '44', 'A', '0002', '5 Point Array Filtered', '', '', 'N', 'Y', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('207', '36826', '44', 'B', '0003', '10 Point Array Filtered', '', '', 'N', 'Y', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('208', '36826', '44', 'F', '0004', 'Flixible Array Filtered', '', '', 'N', 'Y', '8');
|
||||
|
||||
# NEW TABLE
|
||||
# ANSWERS TABLE
|
||||
#
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('205', '1', '1', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('205', '2', '2', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('205', '3', '3', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('205', '4', '4', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('205', '5', '5', 'N', '00004');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('206', '1', '1', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('206', '2', '2', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('206', '3', '3', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('206', '4', '4', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('206', '5', '5', 'N', '00004');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('207', '1', '1', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('207', '2', '2', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('207', '3', '3', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('207', '4', '4', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('207', '5', '5', 'N', '00004');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('208', '1', '1', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('208', '2', '2', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('208', '3', '3', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('208', '4', '4', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('208', '5', '5', 'N', '00004');
|
||||
|
||||
# NEW TABLE
|
||||
# CONDITIONS TABLE
|
||||
#
|
||||
|
||||
# NEW TABLE
|
||||
# LABELSETS TABLE
|
||||
#
|
||||
INSERT INTO labelsets (`lid`, `label_name`) VALUES ('8', 'Better/Same/Worse');
|
||||
|
||||
# NEW TABLE
|
||||
# LABELS TABLE
|
||||
#
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('8', '1', 'Better', '00000');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('8', '2', 'Same', '00001');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('8', '3', 'Worse', '00002');
|
||||
|
||||
# NEW TABLE
|
||||
# QUESTION_ATTRIBUTES TABLE
|
||||
#
|
||||
INSERT INTO question_attributes (`qaid`, `qid`, `attribute`, `value`) VALUES ('6', '208', 'array_filter', '0001');
|
||||
INSERT INTO question_attributes (`qaid`, `qid`, `attribute`, `value`) VALUES ('5', '207', 'array_filter', '0001');
|
||||
INSERT INTO question_attributes (`qaid`, `qid`, `attribute`, `value`) VALUES ('4', '206', 'array_filter', '0001');
|
||||
|
||||
# NEW TABLE
|
||||
# ASSESSMENTS TABLE
|
||||
#
|
||||
#</pre>
|
||||
@@ -0,0 +1,73 @@
|
||||
# LimeSurvey Survey Dump
|
||||
# DBVersion 111
|
||||
# This is a dumped survey from the LimeSurvey Script
|
||||
# http://www.limesurvey.org/
|
||||
# Do not change this header!
|
||||
|
||||
#
|
||||
# SURVEYS TABLE
|
||||
#
|
||||
"sid","owner_id","admin","active","expires","adminemail","private","faxto","format","template","url","language","additional_languages","datestamp","usecookie","notification","allowregister","attribute1","attribute2","allowsave","autonumber_start","autoredirect","allowprev","ipaddr","useexpiry","refurl","datecreated"
|
||||
"31565","1","","N","2007-02-11","","Y","","S","default","","en","hr nl ","N","N","0","N","","","Y","0","N","Y","N","N","N","2007-02-11"
|
||||
|
||||
#
|
||||
# GROUPS TABLE
|
||||
#
|
||||
"gid","sid","group_name","group_order","description","language"
|
||||
"11","31565","group_name_hr","0","description_hr","hr"
|
||||
"11","31565","group_name_nl","0","description_nl","nl"
|
||||
"11","31565","group_name_en","0","description_en","en"
|
||||
|
||||
#
|
||||
# QUESTIONS TABLE
|
||||
#
|
||||
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","question_order","language"
|
||||
"49","31565","11","I","code_en","qeustion_en","","questionhelp_en","N","N","0","0","en"
|
||||
"49","31565","11","I","code_en","qeustion_hr","","questionhelp_cr","N","N","0","0","hr"
|
||||
"49","31565","11","I","code_en","qeustion_nl","","questionhelp_nl","N","N","0","0","nl"
|
||||
"50","31565","11","M","code","question_en","","questionhelp_en","N","N","0","1","en"
|
||||
"50","31565","11","M","code","question_hr","","questionhelp_hr","N","N","0","1","hr"
|
||||
"50","31565","11","M","code","question_nl","","questionhelp_nl","N","N","0","1","nl"
|
||||
|
||||
#
|
||||
# ANSWERS TABLE
|
||||
#
|
||||
"qid","code","answer","default_value","sortorder","language"
|
||||
"50","c1","answer_en1","","1","en"
|
||||
"50","c1","answer_hr1","","1","hr"
|
||||
"50","c1","answer_nl1","","1","nl"
|
||||
"50","c2","answer_en2","","2","en"
|
||||
"50","c2","answer_hr2","","2","hr"
|
||||
"50","c2","answer_nl2","","2","nl"
|
||||
"50","c3","answer_en3","","3","en"
|
||||
"50","c3","answer_hr3","","3","hr"
|
||||
"50","c3","answer_nl3","","3","nl"
|
||||
|
||||
#
|
||||
# CONDITIONS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# LABELSETS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# LABELS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# QUESTION_ATTRIBUTES TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# ASSESSMENTS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# SURVEYS_LANGUAGESETTINGS TABLE
|
||||
#
|
||||
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm"
|
||||
"31565","en","Test for language question","description_en","welcome_en","urldescrip_en","Invitation to participate in survey","Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Reminder to participate in survey","Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Survey Registration Confirmation","Dear {FIRSTNAME},\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\nTo complete this survey, click on the following URL:\n\n{SURVEYURL}\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.","Confirmation of completed survey","Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}"
|
||||
"31565","hr","short_title_hr","description_hr","welcome_hr","urldescrip_hr","example@example.com","email_invite_hr","example@example.com","email_remind_hr","example@example.com","email_register_hr","example@example.com","email_confirm_hr"
|
||||
"31565","nl","short_title_nl","description_nl","welcome_nl","urldescrip_nl","example@example.com","email_invite_nl","example@example.com","email_remind_nl","example@example.com","email_register_nl","example@example.com","email_confirm_nl"
|
||||
|
||||
|
144
include/limesurvey/docs/demosurveys/sample_survey.csv
Normal file
144
include/limesurvey/docs/demosurveys/sample_survey.csv
Normal file
@@ -0,0 +1,144 @@
|
||||
# LimeSurvey Survey Dump
|
||||
# DBVersion 126
|
||||
# This is a dumped survey from the LimeSurvey Script
|
||||
# http://www.limesurvey.org/
|
||||
# Do not change this header!
|
||||
|
||||
#
|
||||
# SURVEYS TABLE
|
||||
#
|
||||
"sid","owner_id","admin","active","expires","adminemail","private","faxto","format","template","url","language","additional_languages","datestamp","usecookie","notification","allowregister","attribute1","attribute2","allowsave","printanswers","autonumber_start","autoredirect","allowprev","ipaddr","useexpiry","refurl","datecreated","listpublic","htmlemail","tokenanswerspersistence","usecaptcha","bounce_email"
|
||||
"40","1","Administratorname","N","1980-01-01","admin@localhost","Y","000-00000000","G","default","","en","","Y","N","0","N","","","Y","N","0","N","Y","N","N","N","2008-04-21","N","N","N","N","admin@localhost"
|
||||
|
||||
#
|
||||
# GROUPS TABLE
|
||||
#
|
||||
"gid","sid","group_name","group_order","description","language"
|
||||
"23","40","Array Questions","0","This is a group with the different array questions.","en"
|
||||
"24","40","Text Questions","5","","en"
|
||||
"25","40","Mask Questions","2","This is the group description.","en"
|
||||
"26","40","Single Choice Questions","4","","en"
|
||||
"27","40","Multiple Choice Questions","3","This group consist only of Multiple Choice questions.","en"
|
||||
|
||||
#
|
||||
# QUESTIONS TABLE
|
||||
#
|
||||
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","question_order","language","lid1"
|
||||
"214","40","23","A","A","Type A - Array 5 Point Choice Question","","","N","N","0","0","en","0"
|
||||
"215","40","23","B","B","Type B - Array 10 point choice Question","","This is the help text for this question. ","N","N","0","1","en","0"
|
||||
"216","40","23","C","C","Type C - Array Yes/No/Uncertain Question","","","N","N","0","2","en","0"
|
||||
"217","40","23","E","E","Type E - Array Increase/Same/Decrease Question","","This is the questions help text.","N","N","0","3","en","0"
|
||||
"218","40","23","F","F","Type F - Array using Flexible Labels question","","This is a array using a flexible label set. Flexible labels sets can be created with as many answer as you like to. We created only one for this survey that will be re-used over and over.","N","N","18","4","en","0"
|
||||
"219","40","23","H","H","Type H - Array Flexible Labels by Column question","","This is the same question type as before just the orientation has changed","N","N","18","5","en","0"
|
||||
"220","40","24","Q","Q","Type Q - Multiple Short Text Question","","This is a Multiple Short Text Question","N","N","0","0","en","0"
|
||||
"221","40","24","T","T","Type T - Long Text Question?","","Helptext","N","N","0","2","en","0"
|
||||
"222","40","24","S","S","Type S - Short Free Text?","","helptext","N","N","0","1","en","0"
|
||||
"223","40","24","U","U","Type U - Huge Free text?","","Helptext","N","N","0","3","en","0"
|
||||
"224","40","25","X","X","Type X - Boilerplate question","","This is the boilerplate question type. It's not so much a question but a simple text display.","N","Y","0","4","en","0"
|
||||
"225","40","25","G","G","Type G - Gender question?","","This is a standard question aksing for the participiant's sex.","N","N","0","1","en","0"
|
||||
"226","40","25","N","N","Type N - Numerical Input Question","","","N","N","0","2","en","0"
|
||||
"227","40","25","R","R","Type R - Ranking Question","","","N","N","0","3","en","0"
|
||||
"228","40","25","Y","Y","Type Y - Yes/No Question","","","N","N","0","5","en","0"
|
||||
"229","40","25","D","D","Type D - Date question?","","Helptext","N","N","0","0","en","0"
|
||||
"230","40","26","Z","Z","Type Z - List Flexible Labels Dropdown","","This question is reusing the same label set as some of the array questions.","N","N","18","5","en","0"
|
||||
"231","40","26","W","W","Type W - List Flexible Labels Dropdown question type","","This question is reusing the same label set as some of the array questions.","N","N","18","4","en","0"
|
||||
"232","40","26","O","O","Type O - List with Comment Question","","","N","N","0","3","en","0"
|
||||
"233","40","26","L","L","Type L - List Radio qeustion","","","Y","N","0","2","en","0"
|
||||
"234","40","26","5","5","Type 5 - 5 point choice","","Help2","N","N","0","1","en","0"
|
||||
"235","40","26","!","!","Type ! - List Dropdown Question","","","Y","N","0","0","en","0"
|
||||
"236","40","27","P","P","Type P - Multiple Options Question with Comments ","","This is a Multiple Options Question with the ability to comment it.","Y","N","0","1","en","0"
|
||||
"237","40","27","M","M","Type M - Multiple Options Question","","This is a type M multiple Options questions.","Y","N","0","0","en","0"
|
||||
|
||||
#
|
||||
# ANSWERS TABLE
|
||||
#
|
||||
"qid","code","answer","default_value","sortorder","language"
|
||||
"214","A1","FBI","N","0","en"
|
||||
"214","A2","CIA","N","1","en"
|
||||
"214","A3","G5","N","2","en"
|
||||
"214","A4","NASA","N","3","en"
|
||||
"215","B1","Darth Vader","N","0","en"
|
||||
"215","B2","Luke Skywalker","N","1","en"
|
||||
"215","B3","Princess Leia","N","2","en"
|
||||
"215","B4","Jabba the Hut","N","3","en"
|
||||
"216","C1","I am blonde","N","0","en"
|
||||
"216","C2","I am blue","N","1","en"
|
||||
"216","C3","I am pissed","N","2","en"
|
||||
"216","C4","I am drunk","N","3","en"
|
||||
"217","E1","Pain","N","0","en"
|
||||
"217","E2","Pleasure","N","1","en"
|
||||
"217","E3","Luck","N","2","en"
|
||||
"217","E4","Happiness","N","3","en"
|
||||
"218","F1","Deannan Troi","N","0","en"
|
||||
"218","F2","Wesley Crusher","N","1","en"
|
||||
"218","F3","Jean-Luc Picard","N","2","en"
|
||||
"218","F4","Seven of Nine","N","3","en"
|
||||
"219","H1","Deannan Troi","N","0","en"
|
||||
"219","H2","Wesley Crusher","N","1","en"
|
||||
"219","H3","Data","N","2","en"
|
||||
"219","H4","Jean-Luc Picard","N","3","en"
|
||||
"220","Q1","blue","N","0","en"
|
||||
"220","Q2","red","N","1","en"
|
||||
"220","Q3","green","N","2","en"
|
||||
"227","R1","Red","N","0","en"
|
||||
"227","R2","Green","N","1","en"
|
||||
"227","R3","Blue","N","2","en"
|
||||
"232","O1","Red","N","0","en"
|
||||
"232","O2","Green","N","1","en"
|
||||
"232","O3","Blue","N","2","en"
|
||||
"233","L1"," Green","N","0","en"
|
||||
"233","L2","Red","N","1","en"
|
||||
"233","L3","Blue","N","2","en"
|
||||
"235","EC1","Green","N","0","en"
|
||||
"235","EC2","Red","N","1","en"
|
||||
"235","EC3","Blue","N","2","en"
|
||||
"236","P1","I am glad","N","0","en"
|
||||
"236","P2","I don't care","N","1","en"
|
||||
"236","P3","I am unhappy","N","2","en"
|
||||
"237","M1","Yes","N","0","en"
|
||||
"237","M2","No","N","1","en"
|
||||
"237","M3","Maybe","N","2","en"
|
||||
|
||||
#
|
||||
# CONDITIONS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# LABELSETS TABLE
|
||||
#
|
||||
"lid","label_name","languages"
|
||||
"18","Test Labelset","en"
|
||||
|
||||
#
|
||||
# LABELS TABLE
|
||||
#
|
||||
"lid","code","title","sortorder","language"
|
||||
"18","TL1","6 - Like it very much","0","en"
|
||||
"18","TL2","5","1","en"
|
||||
"18","TL3","4","2","en"
|
||||
"18","TL4","3","3","en"
|
||||
"18","TL5","2","4","en"
|
||||
"18","TL6","1 - Dont like it at all","5","en"
|
||||
|
||||
#
|
||||
# QUESTION_ATTRIBUTES TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# ASSESSMENTS TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# SURVEYS_LANGUAGESETTINGS TABLE
|
||||
#
|
||||
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm"
|
||||
"40","en","Sample Survey","This is a sample survey showing of all the question types you can use in LimeSurvey.","This is the welcome text for the survey!<br />\nYou can can edit it in the survey properties.","","Invitation to participate in survey","Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n"{SURVEYNAME}"\n\n"{SURVEYDESCRIPTION}"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Reminder to participate in survey","Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n"{SURVEYNAME}"\n\n"{SURVEYDESCRIPTION}"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Survey Registration Confirmation","Dear {FIRSTNAME},\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\nTo complete this survey, click on the following URL:\n\n{SURVEYURL}\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.","Confirmation of completed survey","Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}"
|
||||
|
||||
#
|
||||
# QUOTA TABLE
|
||||
#
|
||||
|
||||
#
|
||||
# QUOTA_MEMBERS TABLE
|
||||
#
|
||||
|
||||
|
124
include/limesurvey/docs/demosurveys/sample_survey_v100.sql
Normal file
124
include/limesurvey/docs/demosurveys/sample_survey_v100.sql
Normal file
@@ -0,0 +1,124 @@
|
||||
#<pre>
|
||||
# SURVEYOR SURVEY DUMP
|
||||
#
|
||||
# This is a dumped survey from the PHPSurveyor Script
|
||||
# http://www.phpsurveyor.org/
|
||||
|
||||
# NEW TABLE
|
||||
# SURVEYS TABLE
|
||||
#
|
||||
INSERT INTO surveys (`sid`, `short_title`, `description`, `admin`, `active`, `welcome`, `expires`, `adminemail`, `private`, `faxto`, `format`, `template`, `url`, `urldescrip`, `language`, `datestamp`, `usecookie`, `notification`, `allowregister`, `attribute1`, `attribute2`, `email_invite_subj`, `email_invite`, `email_remind_subj`, `email_remind`, `email_register_subj`, `email_register`, `email_confirm_subj`, `email_confirm`, `allowsave`, `autonumber_start`, `autoredirect`, `allowprev`, `ipaddr`) VALUES ('40', 'Sample Survey', 'This is a sample survey showing of all the question types you can use in LimeSurvey.', 'Administratorname', 'N', 'This is the welcome text for the survey!\r<br />You can can edit it in the survey properties.', '0000-00-00', 'admin@localhost', 'Y', '000-00000000', 'G', 'default', '', '', 'english', 'Y', 'N', '0', 'N', '', '', 'Invitation to participate in survey', 'Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n"{SURVEYNAME}"\n\n"{SURVEYDESCRIPTION}"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}', 'Reminder to participate in survey', 'Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n"{SURVEYNAME}"\n\n"{SURVEYDESCRIPTION}"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}', 'Survey Registration Confirmation', 'Dear {FIRSTNAME},\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\nTo complete this survey, click on the following URL:\n\n{SURVEYURL}\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.', 'Confirmation of completed survey', 'Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}', 'Y', '0', 'N', 'Y', 'N');
|
||||
|
||||
# NEW TABLE
|
||||
# GROUPS TABLE
|
||||
#
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `description`) VALUES ('37', '40', 'Array Questions', 'This is a group with the different array questions.');
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `description`) VALUES ('35', '40', 'Text Questions', '');
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `description`) VALUES ('36', '40', 'Mask Questions', 'This is the group description.');
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `description`) VALUES ('33', '40', 'Single Choice Questions', '');
|
||||
INSERT INTO groups (`gid`, `sid`, `group_name`, `description`) VALUES ('34', '40', 'Multiple Choice Questions', 'This group consist only of Multiple Choice questions.');
|
||||
|
||||
# NEW TABLE
|
||||
# QUESTIONS TABLE
|
||||
#
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('168', '40', '36', 'X', 'X', 'Type X - Boilerplate question', '', 'This is the boilerplate question type. It\'s not so much a question but a simple text display.', 'N', 'Y', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('170', '40', '36', 'G', 'G', 'Type G - Gender question?', '', 'This is a standard question aksing for the participiant\'s sex.', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('171', '40', '36', 'N', 'N', 'Type N - Numerical Input Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('172', '40', '36', 'R', 'R', 'Type R - Ranking Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('173', '40', '36', 'Y', 'Y', 'Type Y - Yes/No Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('174', '40', '37', 'A', 'A', 'Type A - Array 5 Point Choice Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('175', '40', '37', 'B', 'B', 'Type B - Array 10 point choice Question', '', 'This is the help text for this question. ', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('176', '40', '37', 'C', 'C', 'Type C - Array Yes/No/Uncertain Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('177', '40', '37', 'E', 'E', 'Type E - Array Increase/Same/Decrease Question', '', 'This is the questions help text.', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('178', '40', '37', 'F', 'F', 'Type F - Array using Flexible Labels question', '', 'This is a array using a flexible label set. Flexible labels sets can be created with as many answer as you like to. We created only one for this survey that will be re-used over and over.', 'N', 'N', '6');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('179', '40', '37', 'H', 'H', 'Type H - Array Flexible Labels by Column question', '', 'This is the same question type as before just the orientation has changed', 'N', 'N', '6');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('169', '40', '36', 'D', 'D', 'Type D - Date question?', '', 'Helptext', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('161', '40', '33', 'Z', 'Z', 'Type Z - List Flexible Labels Dropdown', '', 'This question is reusing the same label set as some of the array questions.', 'N', 'N', '6');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('162', '40', '34', 'P', 'P', 'Type P: Multiple Options Question with Comments ', '', 'This is a Multiple Options Question with the ability to comment it.', 'Y', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('163', '40', '34', 'M', 'M', 'Type M - Multiple Options Question', '', 'This is a type M multiple Options questions.', 'Y', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('164', '40', '35', 'Q', 'Q', 'Type Q - Multiple Short Text Question', '', 'This is a Multiple Short Text Question', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('165', '40', '35', 'T', 'T', 'Type T - Long Text Question?', '', 'Helptext', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('166', '40', '35', 'S', 'S', 'Type S - Short Free Text?', '', 'helptext', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('167', '40', '35', 'U', 'U', 'Type U - Huge Free text?', '', 'Helptext', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('160', '40', '33', 'W', 'W', 'Type W - List Flexible Labels Dropdown question type', '', 'This question is reusing the same label set as some of the array questions.', 'N', 'N', '6');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('159', '40', '33', 'O', 'O', 'Type O : List with Comment Question', '', '', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('158', '40', '33', 'L', 'L', 'Type L - List Radio qeustion', '', '', 'Y', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('156', '40', '33', '5', '5', 'Type 5 - 5 point choice', '', 'Help2', 'N', 'N', '0');
|
||||
INSERT INTO questions (`qid`, `sid`, `gid`, `type`, `title`, `question`, `preg`, `help`, `other`, `mandatory`, `lid`) VALUES ('157', '40', '33', '!', '!', 'Type ! - List Dropdown Question', '', '', 'Y', 'N', '0');
|
||||
|
||||
# NEW TABLE
|
||||
# ANSWERS TABLE
|
||||
#
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('172', 'R1', 'Red', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('172', 'R2', 'Green', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('172', 'R3', 'Blue', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('174', 'A1', 'FBI', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('174', 'A2', 'CIA', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('174', 'A3', 'G5', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('174', 'A4', 'NASA', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('175', 'B1', 'Darth Vader', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('175', 'B2', 'Luke Skywalker', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('175', 'B3', 'Princess Leia', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('175', 'B4', 'Jabba the Hut', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('176', 'C1', 'I am blonde', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('176', 'C2', 'I am blue', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('176', 'C3', 'I am pissed', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('176', 'C4', 'I am drunk', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('177', 'E1', 'Pain', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('177', 'E2', 'Pleasure', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('177', 'E3', 'Luck', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('177', 'E4', 'Happiness', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('178', 'F1', 'Deannan Troi', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('178', 'F2', 'Wesley Crusher', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('178', 'F3', 'Jean-Luc Picard', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('178', 'F4', 'Seven of Nine', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('179', 'H1', 'Deannan Troi', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('179', 'H2', 'Wesley Crusher', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('179', 'H3', 'Data', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('179', 'H4', 'Jean-Luc Picard', 'N', '00003');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('162', 'P1', 'I am glad', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('162', 'P2', 'I don\'t care', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('162', 'P3', 'I am unhappy', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('163', 'M1', 'Yes', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('163', 'M2', 'No', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('163', 'M3', 'Maybe', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('164', 'Q1', 'blue', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('164', 'Q2', 'red', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('164', 'Q3', 'green', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('159', 'O1', 'Red', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('159', 'O2', 'Green', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('159', 'O3', 'Blue', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('158', 'L1', ' Green', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('158', 'L2', 'Red', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('158', 'L3', 'Blue', 'N', '00002');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('157', 'EC1', 'Green', 'N', '00000');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('157', 'EC2', 'Red', 'N', '00001');
|
||||
INSERT INTO answers (`qid`, `code`, `answer`, `default_value`, `sortorder`) VALUES ('157', 'EC3', 'Blue', 'N', '00002');
|
||||
|
||||
# NEW TABLE
|
||||
# CONDITIONS TABLE
|
||||
#
|
||||
|
||||
# NEW TABLE
|
||||
# LABELSETS TABLE
|
||||
#
|
||||
INSERT INTO labelsets (`lid`, `label_name`) VALUES ('6', 'Test Labelset');
|
||||
|
||||
# NEW TABLE
|
||||
# LABELS TABLE
|
||||
#
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL1', '6 - Like it very much', '00000');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL6', '1 - Dont like it at all', '00005');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL5', '2', '00004');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL4', '3', '00003');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL3', '4', '00002');
|
||||
INSERT INTO labels (`lid`, `code`, `title`, `sortorder`) VALUES ('6', 'TL2', '5', '00001');
|
||||
|
||||
# NEW TABLE
|
||||
# QUESTION_ATTRIBUTES TABLE
|
||||
#
|
||||
|
||||
# NEW TABLE
|
||||
# ASSESSMENTS TABLE
|
||||
#
|
||||
#</pre>
|
||||
Reference in New Issue
Block a user