| 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 | |
| 3 | <table> |
| 4 | <base>CRM/Contribute</base> |
| 5 | <class>Widget</class> |
| 6 | <name>civicrm_contribution_widget</name> |
| 7 | <comment>A Widget object to store meta information about a single customized contribution widget</comment> |
| 8 | <add>2.0</add> |
| 9 | <log>true</log> |
| 10 | <field> |
| 11 | <name>id</name> |
| 12 | <title>Widget ID</title> |
| 13 | <type>int unsigned</type> |
| 14 | <required>true</required> |
| 15 | <comment>Contribution Id</comment> |
| 16 | <add>2.0</add> |
| 17 | </field> |
| 18 | <primaryKey> |
| 19 | <name>id</name> |
| 20 | <autoincrement>true</autoincrement> |
| 21 | </primaryKey> |
| 22 | <field> |
| 23 | <name>contribution_page_id</name> |
| 24 | <title>Contribution Page</title> |
| 25 | <type>int unsigned</type> |
| 26 | <comment>The Contribution Page which triggered this contribution</comment> |
| 27 | <add>1.5</add> |
| 28 | </field> |
| 29 | <foreignKey> |
| 30 | <name>contribution_page_id</name> |
| 31 | <table>civicrm_contribution_page</table> |
| 32 | <key>id</key> |
| 33 | <onDelete>CASCADE</onDelete> |
| 34 | </foreignKey> |
| 35 | <field> |
| 36 | <name>is_active</name> |
| 37 | <title>Enabled?</title> |
| 38 | <type>boolean</type> |
| 39 | <comment>Is this property active?</comment> |
| 40 | <add>2.0</add> |
| 41 | </field> |
| 42 | <field> |
| 43 | <name>title</name> |
| 44 | <title>Widget Title</title> |
| 45 | <type>varchar</type> |
| 46 | <length>255</length> |
| 47 | <comment>Widget title.</comment> |
| 48 | <add>2.0</add> |
| 49 | </field> |
| 50 | <field> |
| 51 | <name>url_logo</name> |
| 52 | <title>Widget Image Url</title> |
| 53 | <type>varchar</type> |
| 54 | <length>255</length> |
| 55 | <comment>URL to Widget logo</comment> |
| 56 | <add>2.0</add> |
| 57 | </field> |
| 58 | <field> |
| 59 | <name>button_title</name> |
| 60 | <title>Button Title</title> |
| 61 | <type>varchar</type> |
| 62 | <length>255</length> |
| 63 | <comment>Button title.</comment> |
| 64 | <add>2.0</add> |
| 65 | </field> |
| 66 | <field> |
| 67 | <name>about</name> |
| 68 | <title>Description</title> |
| 69 | <type>text</type> |
| 70 | <comment>About description.</comment> |
| 71 | <add>2.0</add> |
| 72 | </field> |
| 73 | <field> |
| 74 | <name>url_homepage</name> |
| 75 | <title>Homepage Url</title> |
| 76 | <type>varchar</type> |
| 77 | <length>255</length> |
| 78 | <comment>URL to Homepage.</comment> |
| 79 | <add>2.0</add> |
| 80 | </field> |
| 81 | <field> |
| 82 | <name>color_title</name> |
| 83 | <title>Title Color</title> |
| 84 | <type>varchar</type> |
| 85 | <length>10</length> |
| 86 | <add>2.0</add> |
| 87 | </field> |
| 88 | <field> |
| 89 | <name>color_button</name> |
| 90 | <title>Button Colour</title> |
| 91 | <type>varchar</type> |
| 92 | <length>10</length> |
| 93 | <add>2.0</add> |
| 94 | </field> |
| 95 | <field> |
| 96 | <name>color_bar</name> |
| 97 | <title>Bar Color</title> |
| 98 | <type>varchar</type> |
| 99 | <length>10</length> |
| 100 | <add>2.0</add> |
| 101 | </field> |
| 102 | <field> |
| 103 | <name>color_main_text</name> |
| 104 | <title>Main Text Color</title> |
| 105 | <type>varchar</type> |
| 106 | <length>10</length> |
| 107 | <add>2.0</add> |
| 108 | </field> |
| 109 | <field> |
| 110 | <name>color_main</name> |
| 111 | <title>Main Colour</title> |
| 112 | <type>varchar</type> |
| 113 | <length>10</length> |
| 114 | <add>2.0</add> |
| 115 | </field> |
| 116 | <field> |
| 117 | <name>color_main_bg</name> |
| 118 | <title>Backgroup Color</title> |
| 119 | <type>varchar</type> |
| 120 | <length>10</length> |
| 121 | <add>2.0</add> |
| 122 | </field> |
| 123 | <field> |
| 124 | <name>color_bg</name> |
| 125 | <title>Other Backgroun Colour</title> |
| 126 | <type>varchar</type> |
| 127 | <length>10</length> |
| 128 | <add>2.0</add> |
| 129 | </field> |
| 130 | <field> |
| 131 | <name>color_about_link</name> |
| 132 | <title>About Link Colour</title> |
| 133 | <type>varchar</type> |
| 134 | <length>10</length> |
| 135 | <add>2.0</add> |
| 136 | </field> |
| 137 | <field> |
| 138 | <name>color_homepage_link</name> |
| 139 | <title>Homepage Link Colour</title> |
| 140 | <type>varchar</type> |
| 141 | <length>10</length> |
| 142 | <add>2.0</add> |
| 143 | </field> |
| 144 | </table> |