<?php

$config = array(
    'mandatory'     => false,
    'recommended'   => true,
    'description'   => 'Domain management module.',
    'navButtonLabel'=> /*T*/'DOMAINS'/*/T*/,
    // 'versions'   => array(version => array(has upgrade sql file?, has upgrade php script?))
    'versions'      => array(
        '3.1.0 beta1'   => array(false, false),
        '3.1.0 beta2'   => array(false, false),
        '3.1.0 beta3'   => array(false, false),
        '3.1.0 beta4'   => array(false, false),
        '3.1.0 RC1'     => array(false, false),
        '3.1.0'         => array(false, false),
        '3.1.1'         => array(false, false),
    ),
    'dependencies'  => array('newedge' => '3.1.1'),
    'hasSchemaFile' => true,
    'hasInitialData'=> true,
    'hasInstallSQLScript'   => true,
    'hasUninstallSQLScript' => false,
    'hasUninstallPHPScript' => false,
    'defaultView'   => 'ShowDomainOverview',
    'order'         => 3,
    'settingTypes'  => array(),
    'actions'       => array(
        'UpdateContactInformation'  =>  'domains_updatecontactinfo',
        'RegisterNS'                =>  'domains_registerns',
        'EditNS'                    =>  'domains_editns',
        'DeleteNS'                  =>  'domains_deletens',
        'ImportDomain'              =>  'domains_fetch',
        'UpdateAutorenew'           =>  'domains_autorenew',
        'UpdateNameServers'         =>  'domains_updatens',
        'UpdateLock'                =>  'domains_lock',
        'SendTransferKey'           =>  'domains_transfer_key',
        'DeleteDomains_Async'       =>  'domains_delete',
        'UpdateDns'                 =>  'domains_updatedns',
    ),
    'views'         => array(
        // first view is the default one, and has to have the permission module_view
        'ShowDomainOverview'        =>  'domains_view',
        'DomainsList'               =>  'domains_view',
        'ManageDomain'              =>  'domains_manage_domains',
        'ContactInfo'               =>  'domains_viewcontactinfo',
        'DNSSettings'               =>  'domains_dnssettings',
        'Transfer'                  =>  'domains_transfer',
        'NameServers'               =>  'domains_nameservers',
        'GeneralInfo'               =>  'domains_manage_domains',
        'CheckNSStatus'             =>  'domains_manage_domains',
        'FetchDomains'              =>  'domains_fetch',
        'GetDomainList'             =>  'domains_fetch',
        'Snapshot_Domains'          =>  'domains_view',
        'FilterDomains_Async'       =>  'domains_view',
        'DeleteDomains_Async'       =>  'domains_view',
        'SendDomainReminder_Async'  =>  'domains_view',
    ),
    'hooks'         => array(
        'Menu'                      => 'Domains_menu',
        'Snapshots'                     => array(   'Snapshot_Domains'  => array(
                                                                            'tabLabel' => /*T*/'Domains'/*/T*/
                                                                        ),
                                                ),
    ),
);

?>
