Changeset 4437 for extensions/event_cats/include
- Timestamp:
- Dec 7, 2009, 4:01:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/include/ec_conf.inc.php
r4421 r4437 50 50 // the DB at the same time. 51 51 52 //---------------------------------------------------------------------------- 53 // The following lines allow to change the number of configuration items, the 54 // default values they can have, and also their possible other values, very 55 // quickly. 56 57 // Gives configuration items names and default values. Only strings. 52 58 $ec_conf_default = array( // PLUGIN CONFIGURATION ($ec_conf) : 53 59 // --------------------------------- … … 84 90 'comment_display' // the way the comment is displayed in "entries" 85 91 => '0', // tab : 0, as tooltip ; 1, on a line under code 92 // 93 'in_help_display' // whether the help banner is displayed. 94 => '1', // 0: not displayed ; 1 : displayed (surprising !) 86 95 ); 87 96 97 // Gives possible values. In case values cannot be predicted, just provide an 98 // empty array : array() . 88 99 $ec_conf_possible_values = array( 89 100 'activated' => array('0', '1'), … … 95 106 'unknown_code' => array('0', '1', '2'), 96 107 'unknown_code_ap_id' => array(), 97 'comment_display' => array('0', '1') 108 'comment_display' => array('0', '1'), 109 'in_help_display' => array('0', '1'), 98 110 ); 111 112 // Once these lines have been updated, you don't need to change anything 113 // else. Everything is managed by the code ; the only effect being that 114 // existing configuration values in the DB are reset to their default 115 // values -- normally not a harmful effect. 116 //---------------------------------------------------------------------------- 99 117 100 118 $ec_conf_index = array_flip(array_keys($ec_conf_default));
Note: See TracChangeset
for help on using the changeset viewer.