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_translate/email_template_translate_construct.xml
2011-05-03 09:49:04 +10:00

98 lines
2.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- Module name -->
<module>email_template_translate</module>
<!-- Module supporting database table -->
<table>email_template_translate</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy>email_template</dependancy>
<!-- DB cache in seconds -->
<cache>0</cache>
<!-- Default order_by field for SQL queries -->
<order_by>email_template_id</order_by>
<!-- Default SQL limit for SQL queries -->
<limit>25</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>1</version>
<!-- Database indexes -->
<index>
<parent>email_template_id</parent>
<language>language_id</language>
</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>
<email_template_id>
<type>I8</type>
<asso_table>email_template</asso_table>
<asso_field>name</asso_field>
</email_template_id>
<language_id>
<type>C(16)</type>
</language_id>
<subject>
<type>C(255)</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>any</validate>
</subject>
<message_text>
<type>X2</type>
<validate>any</validate>
<html>1</html>
</message_text>
<message_html>
<type>X2</type>
<html>1</html>
</message_html>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>email_template_id,language_id,subject,message_text,message_html</add>
<update>id,site_id,email_template_id,language_id,subject,message_text,message_html</update>
<delete>id,site_id,email_template_id,language_id,subject,message_text,message_html</delete>
<view>id,site_id,email_template_id,language_id,subject,message_text,message_html</view>
<search>id,site_id,email_template_id,language_id,subject,message_text,message_html</search>
</method>
<!-- Method triggers -->
<trigger>1</trigger>
<!-- Template page display titles -->
<title>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<email_template_id>
<field>email_template_id</field>
</email_template_id>
<language_id>
<field>language_id</field>
</language_id>
<subject>
<field>subject</field>
</subject>
</search_show>
</tpl>
</construct>