This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/email_template/email_template_construct.xml

119 lines
2.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
2009-08-03 04:10:16 +00:00
<!-- Module name -->
<module>email_template</module>
<!-- Module supporting database table -->
<table>email_template</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy></dependancy>
<!-- DB cache in seconds -->
<cache>0</cache>
<!-- Default order_by field for SQL queries -->
<order_by>name</order_by>
<!-- Default SQL limit for SQL queries -->
<limit>25</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>0</version>
<!-- Database indexes -->
<index>
<name>name</name>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I8</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
<index>1</index>
<type>I4</type>
</site_id>
<!-- Record active (BOOL)-->
<status>
<display>Active</display>
<type>L</type>
</status>
<setup_email_id>
<asso_table>setup_email</asso_table>
<asso_field>name</asso_field>
<display>Setup Email</display>
<index>1</index>
<type>I4</type>
</setup_email_id>
<name>
<display>Name</display>
<type>C(128)</type>
<min_len>4</min_len>
<max_len>128</max_len>
<validate>any</validate>
</name>
<priority>
<display>Priority</display>
<type>L</type>
</priority>
<shortcuts>
<type>X2</type>
</shortcuts>
<notes>
<display>Notes</display>
<type>X2</type>
</notes>
<sql_1>
<display>SQL 1</display>
<type>X2</type>
</sql_1>
<sql_2>
<display>SQL 2</display>
<type>X2</type>
</sql_2>
<sql_3>
<display>SQL 3</display>
<type>X2</type>
</sql_3>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</add>
<update>id,site_id,setup_email_id,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</update>
<delete>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</delete>
<view>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</view>
<search>id,site_id,setup_email_id,name,priority,shortcuts,notes,sql_1,sql_2,sql_3,status</search>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<name>
<field>name</field>
</name>
<priority>
<field>priority</field>
<type>bool</type>
</priority>
<icon>
<field>status</field>
<type>bool_icon</type>
<width>20px</width>
</icon>
</search_show>
</tpl>
</construct>