From 1bc55cf7427856b29da57f2962cb9338699cbb2b Mon Sep 17 00:00:00 2001 From: james Date: Wed, 2 Mar 2011 06:26:33 +0000 Subject: [PATCH] Add two missing emails (for teachers and participants) --- db/db.code.version.txt | 2 +- db/db.update.231.sql | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 db/db.update.231.sql diff --git a/db/db.code.version.txt b/db/db.code.version.txt index dcb6b5b..71d936f 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -230 +231 diff --git a/db/db.update.231.sql b/db/db.update.231.sql new file mode 100644 index 0000000..467428a --- /dev/null +++ b/db/db.update.231.sql @@ -0,0 +1,39 @@ +INSERT INTO `emails` (`val`, `name`, `description`, `from`, `subject`, `body`, `bodyhtml`, `type`, `fundraising_campaigns_id`, `lastsent`) VALUES ('teacher_new_invite', 'Teacher - New Teacher Invitation', 'This is sent to a new teacher when their account is created', '', 'Teacher Account Registration for [FAIRNAME]', 'A teacher account has been created for you for the [FAIRNAME]. You can login to the registration site to complete your information, or invite students to attend the fair to represent your school with: + +Username: [USERNAME] +Email Address: [EMAIL] +Password: [PASSWORD] + +You can change your password once you login.', '

A teacher account has been created for you for the [FAIRNAME]. You can +login to the registration site to complete your information, or invite students to attend the fair to represent your school with: +

+

+Username: [USERNAME]
+Email Address: [EMAIL]
+Password: [PASSWORD]
+

+Website: [URLMAIN] +

+You can change your password once you login. +

','system',NULL,NULL); + +INSERT INTO `emails` (`val`, `name`, `description`, `from`, `subject`, `body`, `bodyhtml`, `type`, `fundraising_campaigns_id`, `lastsent`) VALUES ('participant_new_invite', 'Participant - New Participant Invitation', 'This is sent to a new participant when their account is created', '', 'Participant Account Registration for [FAIRNAME]', 'A participant account has been created for you for the [FAIRNAME]. You must login to the registration site to complete your registration information. + +Username: [USERNAME] +Email Address: [EMAIL] +Password: [PASSWORD] + +You can change your password once you login.', '

A participant account has been created for you for the [FAIRNAME]. You must +login to the registration site to complete your registration information. +

+

+Username: [USERNAME]
+Email Address: [EMAIL]
+Password: [PASSWORD]
+

+

Website: [URLMAIN] +

+

+You can change your password once you login. +

','system',NULL,NULL); +