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/setup/setup_construct.xml

373 lines
12 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>setup</module>
<!-- Module supporting database table -->
<table>setup</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>site_id</order_by>
<!-- Default SQL limit for SQL queries -->
<limit>10</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>1</version>
<!-- Database indexes -->
<index>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I4</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
<index>1</index>
<type>I4</type>
<unique>1</unique>
</site_id>
<!-- Date record created -->
<date_orig>
<convert>date-now</convert>
<display>Date Created</display>
<type>I8</type>
</date_orig>
<!-- Record active (BOOL)-->
<status>
<display>Active</display>
<type>L</type>
</status>
<country_id>
<type>I4</type>
<display>Country Name</display>
</country_id>
<language_id>
<type>C(16)</type>
<display>Language</display>
</language_id>
<currency_id>
<type>I4</type>
<display>Currency</display>
</currency_id>
<weight_id>
<type>I4</type>
<display>Weight Unit</display>
</weight_id>
<theme_id>
<type>C(16)</type>
<default>default</default>
<display>Theme</display>
</theme_id>
<admin_theme_id>
<type>C(16)</type>
<default>default_admin</default>
<display>Admin Theme</display>
</admin_theme_id>
<group_id>
<type>I4</type>
<default>1</default>
<display>Default Group for New Users</display>
</group_id>
<!-- @todo Unknown -->
<affiliate_template_id>
<type>I4</type>
</affiliate_template_id>
<!-- @todo Unknown -->
<affiliate_id>
<type>I4</type>
</affiliate_id>
<!-- @todo Unknown -->
<reseller_id>
<type>I4</type>
</reseller_id>
<!-- @todo Unknown -->
<setup_email_id>
<type>I4</type>
</setup_email_id>
<ssl_url>
<type>X</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>any</validate>
<display>SSL URL for Site</display>
</ssl_url>
<nonssl_url>
<type>X</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>any</validate>
<display>NON SSL URL for Site</display>
</nonssl_url>
<login_expire>
<type>I4</type>
<min_len>1</min_len>
<max_len>999999</max_len>
<validate>numeric</validate>
<display>Login Expire Time</display>
</login_expire>
<cookie_name>
<type>C(32)</type>
<min_len>1</min_len>
<max_len>32</max_len>
<display>Cookie Name</display>
</cookie_name>
<cookie_expire>
<type>I4</type>
<min_len>1</min_len>
<max_len>999999</max_len>
<validate>numeric</validate>
<display>Cookie Expire Time</display>
</cookie_expire>
<!-- @todo Unknown -->
<session_ip_match>
<type>L</type>
<default>0</default>
</session_ip_match>
<error_reporting>
<type>C(16)</type>
<default>1</default>
<display>Debug Error Reporting</display>
</error_reporting>
<site_name>
<type>X</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>any</validate>
<display>Company Name</display>
</site_name>
<site_email>
<type>X</type>
<min_len>1</min_len>
<max_len>255</max_len>
<validate>email</validate>
<display>Site Email Address</display>
</site_email>
<time_format>
<type>X</type>
<display>Time Format</display>
</time_format>
<date_format>
<type>X</type>
<validate>any</validate>
<convert>array</convert>
<display>Date Format</display>
</date_format>
<!-- @todo Unkonwn -->
<date_time_format>
<type>C(128)</type>
<convert>array</convert>
</date_time_format>
<decimal_place>
<type>I4</type>
<min_len>1</min_len>
<max_len>100</max_len>
<validate>numeric</validate>
<display>Decimal Places</display>
<description>Decimal Places to use when showing currency on the website</description>
</decimal_place>
<debug>
<type>L</type>
<display>Debugging Enabled</display>
</debug>
<login_attempt_try>
<type>I4</type>
<min_len>1</min_len>
<max_len>100000</max_len>
<validate>numeric</validate>
<display>Allows Login Attempts</display>
</login_attempt_try>
<login_attempt_time>
<type>I4</type>
<min_len>1</min_len>
<max_len>100000</max_len>
<validate>numeric</validate>
<display>Allows Login Attempt Time</display>
</login_attempt_time>
<login_attempt_lock>
<type>I4</type>
<min_len>1</min_len>
<max_len>100000000</max_len>
<validate>numeric</validate>
<display>Account Lock Time</display>
</login_attempt_lock>
<search_expire>
<type>I4</type>
<min_len>1</min_len>
<max_len>1000000000</max_len>
<validate>numeric</validate>
<display>Search Expire Time</display>
</search_expire>
<db_cache>
<type>L</type>
<display>Cache DB Connections</display>
</db_cache>
<newsletter_registration>
<type>L</type>
<display>Newsletter Registration</display>
<description>Show Newsletter registration on the Register Page</description>
</newsletter_registration>
<default_account_status>
<type>L</type>
<display>Accounts Require Verification</display>
<description>Users who register will need to verify their account by clicking on a URL that is sent to them via email</description>
</default_account_status>
<cache_sessions>
<type>L</type>
<display>Cache Sessions</display>
</cache_sessions>
<!-- @todo Unknown -->
<weblog>
<type>L</type>
</weblog>
<site_address>
<type>C(128)</type>
<display>Site Address</display>
</site_address>
<site_city>
<type>C(32)</type>
<display>Site City</display>
</site_city>
<site_state>
<type>C(16)</type>
<display>Site State</display>
</site_state>
<site_zip>
<type>C(16)</type>
<display>Site Postal Code</display>
</site_zip>
<site_phone>
<type>C(32)</type>
<display>Site Phone Number</display>
</site_phone>
<site_fax>
<type>C(32)</type>
<display>Site Fax Number</display>
</site_fax>
<os>
<type>L</type>
<display>Site Operating System</display>
</os>
<auto_affiliate>
<type>L</type>
<display>Automatically make new users affliates</display>
</auto_affiliate>
<!-- Path to CURL -->
<path_curl>
<type>C(64)</type>
<display>Path to CURL</display>
</path_curl>
<!-- Show Afflicate Link -->
<show_affiliate_link>
<type>L</type>
</show_affiliate_link>
<show_newsletter_link>
<type>L</type>
<display>Show Newsletter Link</display>
<description>Show Newsletter Link on Registration Page</description>
</show_newsletter_link>
<show_domain_link>
<type>L</type>
<display>Show Domain Link</display>
</show_domain_link>
<show_contact_link>
<type>L</type>
<display>Show Contact Us Link</display>
</show_contact_link>
<show_cart_link>
<type>L</type>
<display>Show Cart Link</display>
</show_cart_link>
<show_checkout_link>
<type>L</type>
<display>Show Checkout Link</display>
</show_checkout_link>
<show_product_link>
<type>L</type>
<display>Show Product Link</display>
</show_product_link>
<show_cat_block>
<type>L</type>
<display>Show Product Category Block</display>
</show_cat_block>
<show_static_block>
<type>L</type>
<display>Show Static Page Block</display>
</show_static_block>
<!-- @todo Unknown -->
<show_affiliate_code>
<type>L</type>
</show_affiliate_code>
<!-- @todo Unknown -->
<show_discount_code>
<type>L</type>
</show_discount_code>
<!-- @todo Unknown - appears unused (const BILLING_WEEKDAY) -->
<billing_weekday>
<type>C(2)</type>
</billing_weekday>
<!-- @todo @deprecate System Grace Days after invoice created before nagging (Can be overriden by account) - merge with setup_invoice:invoice_gace)-->
<grace_period>
<type>C(2)</type>
</grace_period>
<!-- XX @todo Appears Unused? -->
<max_billing_notice>
<type>C(2)</type>
</max_billing_notice>
<!-- @todo @deprecate Number of days before a service is due to generate an invoice. -->
<max_inv_gen_period>
<type>C(2)</type>
</max_inv_gen_period>
<!-- @deprecated -->
<license_key>
<type>C(128)</type>
</license_key>
<!-- @deprecated -->
<license_code>
<type>X2</type>
</license_code>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<update>id,db_cache,newsletter_registration,default_account_status,cache_sessions,site_id,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,affiliate_template_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,site_address,site_city,site_state,site_zip,site_phone,site_fax,os,path_curl,show_affiliate_link,show_newsletter_link,show_contact_link,show_domain_link,show_cart_link,show_checkout_link,show_cat_block,show_product_link,show_static_block,show_affiliate_code,show_discount_code,billing_weekday,grace_period,max_billing_notice,max_inv_gen_period,auto_affiliate</update>
<view>id,db_cache,newsletter_registration,default_account_status,cache_sessions,site_id,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,affiliate_template_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,site_address,site_city,site_state,site_zip,site_phone,site_fax,os,path_curl,show_affiliate_link,show_newsletter_link,show_contact_link,show_domain_link,show_cart_link,show_checkout_link,show_cat_block,show_product_link,show_static_block,show_affiliate_code,show_discount_code,billing_weekday,grace_period,max_billing_notice,max_inv_gen_period,auto_affiliate</view>
<search>id,site_id,newsletter_registration,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,affiliate_template_id,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,max_inv_gen_period</search>
<search_show>id,site_id,newsletter_registration,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,affiliate_template_id,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,max_inv_gen_period</search_show>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
<view>Setup Company</view>
</title>
<!-- Template helpers -->
<tpl>
<search_show>
<checkbox>
<field>id</field>
<type>checkbox</type>
<width>25px</width>
</checkbox>
<id>
<field>id</field>
</id>
<site_name>
<field>site_name</field>
</site_name>
<nonssl_url>
<field>nonssl_url</field>
</nonssl_url>
</search_show>
</tpl>
</construct>