Merge pull request #1080 from davecivicrm/eventPermissionNoticeFix
[civicrm-core.git] / xml / schema / Event / EventPage.xml
CommitLineData
3c7d2158 1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Event</base>
5 <class>EventPage</class>
6 <name>civicrm_event_page</name>
7 <add>1.7</add>
8 <field>
9 <name>id</name>
10 <type>int unsigned</type>
11 <required>true</required>
12 <comment>Event Page ID</comment>
13 <add>1.7</add>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
20 <name>event_id</name>
6a488035 21 <title>Event ID</title>
3c7d2158 22 <type>int unsigned</type>
23 <required>true</required>
24 <comment>Event which this page belongs to.</comment>
25 <add>1.7</add>
26 </field>
27 <foreignKey>
28 <name>event_id</name>
29 <table>civicrm_event</table>
30 <key>id</key>
6a488035
TO
31 <onDelete>CASCADE</onDelete>
32 </foreignKey>
3c7d2158 33 <field>
34 <name>intro_text</name>
35 <type>text</type>
6a488035
TO
36 <htmlType>textarea</htmlType>
37 <rows>6</rows>
38 <cols>50</cols>
39 <title>Introductory Message</title>
40 <localizable>true</localizable>
41 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3c7d2158 42 <add>1.7</add>
43 </field>
44 <field>
45 <name>footer_text</name>
6a488035 46 <title>Footer Message</title>
3c7d2158 47 <type>text</type>
6a488035
TO
48 <htmlType>textarea</htmlType>
49 <rows>6</rows>
50 <cols>50</cols>
51 <localizable>true</localizable>
52 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3c7d2158 53 <add>1.7</add>
54 </field>
55 <field>
56 <name>confirm_title</name>
57 <type>varchar</type>
6a488035 58 <title>Confirmation Title</title>
3c7d2158 59 <length>255</length>
6a488035
TO
60 <default>NULL</default>
61 <localizable>true</localizable>
62 <comment>Title for Confirmation page.</comment>
3c7d2158 63 <add>1.7</add>
64 </field>
65 <field>
66 <name>confirm_text</name>
67 <type>text</type>
6a488035
TO
68 <htmlType>textarea</htmlType>
69 <rows>6</rows>
70 <cols>50</cols>
71 <title>Confirm Text</title>
72 <localizable>true</localizable>
73 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3c7d2158 74 <add>1.7</add>
75 </field>
76 <field>
77 <name>confirm_footer_text</name>
78 <type>text</type>
6a488035
TO
79 <title>Footer Text</title>
80 <htmlType>textarea</htmlType>
81 <rows>6</rows>
82 <cols>50</cols>
83 <localizable>true</localizable>
84 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3c7d2158 85 <add>1.7</add>
86 </field>
87 <field>
88 <name>is_email_confirm</name>
89 <type>boolean</type>
6a488035 90 <title>Is confirm email</title>
3c7d2158 91 <default>0</default>
92 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
93 <add>1.7</add>
94 </field>
95 <field>
96 <name>confirm_email_text</name>
97 <type>text</type>
6a488035
TO
98 <title>Confirmation Email Text</title>
99 <htmlType>textarea</htmlType>
100 <rows>4</rows>
101 <cols>50</cols>
102 <localizable>true</localizable>
103 <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment>
3c7d2158 104 <add>1.7</add>
105 </field>
106 <field>
107 <name>confirm_from_name</name>
108 <type>varchar</type>
6a488035 109 <title>Confirm From Name</title>
3c7d2158 110 <length>255</length>
6a488035
TO
111 <localizable>true</localizable>
112 <comment>FROM email name used for confirmation emails.</comment>
3c7d2158 113 <add>1.7</add>
6a488035 114 </field>
3c7d2158 115 <field>
116 <name>confirm_from_email</name>
117 <type>varchar</type>
6a488035 118 <title>Confirm From Email</title>
3c7d2158 119 <length>255</length>
6a488035 120 <comment>FROM email address used for confirmation emails.</comment>
3c7d2158 121 <add>1.7</add>
122 </field>
123 <field>
124 <name>cc_confirm</name>
125 <type>varchar</type>
126 <length>255</length>
6a488035 127 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
3c7d2158 128 <add>1.7</add>
6a488035 129 </field>
3c7d2158 130 <field>
131 <name>bcc_confirm</name>
132 <type>varchar</type>
133 <length>255</length>
6a488035 134 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
3c7d2158 135 <add>1.7</add>
6a488035
TO
136 </field>
137 <field>
138 <name>default_fee_id</name>
139 <type>int unsigned</type>
140 <comment>FK to civicrm_option_value.</comment>
141 <add>1.7</add>
142 </field>
143 <field>
144 <name>default_discount_id</name>
145 <type>int unsigned</type>
146 <comment>FK to civicrm_option_value.</comment>
147 <add>1.7</add>
148 </field>
3c7d2158 149 <field>
150 <name>thankyou_title</name>
151 <type>varchar</type>
6a488035 152 <title>ThankYou Title</title>
3c7d2158 153 <length>255</length>
6a488035
TO
154 <default>NULL</default>
155 <localizable>true</localizable>
156 <comment>Title for ThankYou page.</comment>
3c7d2158 157 <add>1.7</add>
158 </field>
159 <field>
160 <name>thankyou_text</name>
161 <type>text</type>
6a488035
TO
162 <htmlType>textarea</htmlType>
163 <rows>6</rows>
164 <cols>50</cols>
165 <title>ThankYou Text</title>
166 <localizable>true</localizable>
167 <comment>ThankYou Text.</comment>
3c7d2158 168 <add>1.7</add>
169 </field>
170 <field>
171 <name>thankyou_footer_text</name>
172 <type>text</type>
6a488035
TO
173 <title>Footer Text</title>
174 <htmlType>textarea</htmlType>
175 <rows>6</rows>
176 <cols>50</cols>
177 <localizable>true</localizable>
178 <comment>Footer message.</comment>
3c7d2158 179 <add>1.7</add>
180 </field>
181 <field>
182 <name>is_pay_later</name>
183 <type>boolean</type>
184 <default>0</default>
185 <comment>if true - allows the user to send payment directly to the org later</comment>
186 <add>2.0</add>
187 </field>
188 <field>
189 <name>pay_later_text</name>
190 <type>text</type>
6a488035 191 <localizable>true</localizable>
3c7d2158 192 <comment>The text displayed to the user in the main form</comment>
193 <add>2.0</add>
6a488035 194 </field>
3c7d2158 195 <field>
196 <name>pay_later_receipt</name>
197 <type>text</type>
6a488035 198 <localizable>true</localizable>
3c7d2158 199 <comment>The receipt sent to the user instead of the normal receipt text</comment>
200 <add>2.0</add>
6a488035 201 </field>
3c7d2158 202 <field>
203 <name>is_multiple_registrations</name>
6a488035 204 <type>boolean</type>
3c7d2158 205 <default>0</default>
206 <comment>if true - allows the user to register multiple participants for event</comment>
207 <add>2.1</add>
6a488035
TO
208 </field>
209</table>