2008-11-26 22:50:40 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
<construct>
|
|
|
|
<!-- Module name -->
|
|
|
|
<module>email_log</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>email_log</table>
|
|
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
|
|
<dependancy>setup</dependancy>
|
|
|
|
<!-- DB cache in seconds -->
|
|
|
|
<cache>0</cache>
|
|
|
|
<!-- Default order_by field for SQL queries -->
|
|
|
|
<order_by>date_orig</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 -->
|
2008-11-26 22:50:40 +00:00
|
|
|
<index>
|
|
|
|
<ids>id,site_id,account_id</ids>
|
|
|
|
<email>email</email>
|
|
|
|
<status>html,urgent,userread</status>
|
|
|
|
</index>
|
2009-08-03 04:10:16 +00:00
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Date record created -->
|
|
|
|
<date_orig>
|
|
|
|
<convert>date-now</convert>
|
|
|
|
<display>Date Created</display>
|
|
|
|
<type>I8</type>
|
|
|
|
</date_orig>
|
|
|
|
<account_id>
|
|
|
|
<type>I4</type>
|
|
|
|
<validate>any</validate>
|
|
|
|
</account_id>
|
|
|
|
<email>
|
|
|
|
<display>Email Address</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</email>
|
|
|
|
<subject>
|
|
|
|
<display>Subject</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</subject>
|
|
|
|
<message>
|
|
|
|
<display>Message</display>
|
|
|
|
<type>X2</type>
|
|
|
|
</message>
|
|
|
|
<html>
|
|
|
|
<type>L</type>
|
|
|
|
</html>
|
|
|
|
<urgent>
|
|
|
|
<type>L</type>
|
|
|
|
</urgent>
|
|
|
|
<userread>
|
|
|
|
<type>L</type>
|
|
|
|
</userread>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<delete>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</delete>
|
|
|
|
<search>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</search>
|
|
|
|
<view>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</view>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title>
|
|
|
|
<user_list>Emails</user_list>
|
|
|
|
<user_view>Email</user_view>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<date_orig>
|
|
|
|
<field>date_orig</field>
|
|
|
|
<type>date</type>
|
|
|
|
</date_orig>
|
|
|
|
<email>
|
|
|
|
<field>email</field>
|
|
|
|
</email>
|
|
|
|
<subject>
|
|
|
|
<field>subject</field>
|
|
|
|
</subject>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
|
|
|
</construct>
|