<?php
/*-------------------------------------------------------+
| CiviProxy                                              |
| Copyright (C) 2015 SYSTOPIA                            |
| Author: B. Endres (endres -at- systopia.de)            |
| http://www.systopia.de/                                |
+--------------------------------------------------------+
| License: AGPLv3, see /LICENSE                          |
+--------------------------------------------------------*/

/*
* Settings metadata file
*/

return array(
  'proxy_enabled' => array(
    'group_name' => 'CiviProxy Settings',
    'group' => 'de.systopia',
    'name' => 'proxy_enabled',
    'type' => 'Integer',
    'html_type' => 'Select',
    'default' => 0,
    'add' => '4.3',
    'is_domain' => 1,
    'is_contact' => 0,
    'description' => 'Enables or disables the proxy',
    'help_text' => '',
  ),
  'proxy_url' => array(
    'group_name' => 'CiviProxy Settings',
    'group' => 'de.systopia',
    'name' => 'proxy_url',
    'type' => 'String',
    'default' => "",
    'add' => '4.3',
    'is_domain' => 1,
    'is_contact' => 0,
    'description' => 'The URL from which the proxy will be available for requests',
    'help_text' => '',
  ),
  'proxy_version' => array(
    'group_name' => 'CiviProxy Settings',
    'group' => 'de.systopia',
    'name' => 'proxy_version',
    'type' => 'String',
    'default' => "",
    'add' => '4.3',
    'is_domain' => 1,
    'is_contact' => 0,
    'description' => 'The version of the currently selected proxy',
    'help_text' => '',
  ),
  'custom_mailing_base' => array(
    'group_name' => 'CiviProxy Settings',
    'group' => 'de.systopia',
    'name' => 'custom_mailing_base',
    'type' => 'String',
    'default' => "",
    'add' => '4.3',
    'is_domain' => 1,
    'is_contact' => 0,
    'description' => 'The URL can override the proxy for custom designed mailing subscribe/unsubscribe pages',
    'help_text' => '',
  ),
 );
