Changeset 4233 for extensions/event_cats/include
- Timestamp:
- Nov 9, 2009, 12:22:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/include/ec_conf.inc.php
r4173 r4233 33 33 _ the number of digits when creating a new code automatically 34 34 ($ec_conf[2] <=> read_ec_conf('auto_code_dg_nb')) ; 35 _ ----------------------------------------------------------- 36 --------------------------------------- ( $ec_conf[3] <=> 37 read_ec_conf('') ) ; 35 _ the way the "register" link is displayed, together with the original $lang 36 value for this label ( $ec_conf[3] <=> read_ec_conf('') ) ; 38 37 _ whether the "how to" banner has already been displayed or not 39 38 ($ec_conf[4] <=> read_ec_conf('howto')) ; … … 83 82 case 'auto_code_dg_nb': 84 83 $ec_conf[2] = $v; 85 break; /*86 case ' cat_display':84 break; 85 case 'reg_display': 87 86 $ec_conf[3] = $v; 88 break; */87 break; 89 88 case 'howto': 90 89 $ec_conf[4] = $v; … … 102 101 return (pwg_query(" 103 102 UPDATE `".CONFIG_TABLE."` 104 SET `value` = '".implode(',', $ec_conf)."'103 SET `value` = \"".implode(',', $ec_conf)."\" 105 104 WHERE `param` = 'event_cats'; 106 105 ") !== false); … … 121 120 case 'activated' : return $ec_conf[0]; 122 121 case 'dup_allow' : return $ec_conf[1]; 123 case 'auto_code_dg_nb' : return $ec_conf[2]; /*124 case ' cat_display' : return $ec_conf[3]; */122 case 'auto_code_dg_nb' : return $ec_conf[2]; 123 case 'reg_display' : return $ec_conf[3]; 125 124 case 'howto' : return $ec_conf[4]; 126 125 case 'unknown_code' : return $ec_conf[5];
Note: See TracChangeset
for help on using the changeset viewer.