Ignore:
Timestamp:
Aug 18, 2009, 4:52:43 PM (15 years ago)
Author:
Criss
Message:

Add configuration option to define menu link or not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/cf_common.inc.php

    r3748 r3749  
    77
    88// Version
    9 define('CF_VERSION',            '1.0.2');
     9define('CF_VERSION',            '1.0.3');
    1010define('CF_TITLE',              'cf_plugin_name');
    1111
     
    4747define('CF_CFG_VERSION',        'version');
    4848
     49define('CF_CFG_MENU_LINK',      'cf_menu_link');
    4950define('CF_CFG_SUBJECT_PREFIX', 'cf_subject_prefix');
    5051define('CF_CFG_SEPARATOR_LEN',  'cf_separator_length');
     
    7576global $conf;
    7677$cf_config_default = array();
     78$cf_config_default[CF_CFG_MENU_LINK] = true;
    7779$cf_config_default[CF_CFG_SUBJECT_PREFIX] = CF_DEFAULT_PREFIX;
    7880$cf_config_default[CF_CFG_SEPARATOR_LEN] = CF_SEPARATOR_LENGTH;
Note: See TracChangeset for help on using the changeset viewer.