Changeset 7945 for extensions/cl_conflit/conflit.inc.php
- Timestamp:
- Nov 30, 2010, 10:45:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/conflit.inc.php
r7944 r7945 39 39 $template->set_filenames(array('cl_conflit_init'=>$my_path. "template/conflit.tpl" ) ); 40 40 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 41 $cl_conflit_parametres = cl_conflit_Get_Options() ; 42 43 41 $cl_conflit_parametres = cl_conflit_Get_Options() ; 44 42 $theme=$user['theme']; 45 43 … … 53 51 'theme' => $theme , 54 52 'DEBUG' => $debug , 55 'CONFLIT_ ROOT' => CONFLIT_PATH)53 'CONFLIT_PATH' => CONFLIT_PATH) 56 54 ); 57 55 … … 157 155 global $cl_conflit_parametres; 158 156 //============================================================================= 159 $cl_conflit_parametres->query =(isset($_POST['query'])) ? $_POST['query'] : ((isset($cl_conflit_parametres->query )) ? $cl_conflit_parametres->query : 'Qt' ) ; 160 $cl_conflit_parametres->type=(isset($_POST['type']))? $_POST['type']: ((isset($cl_conflit_parametres->type)) ? $cl_conflit_parametres->type: 'Ty') ; 157 $my_para=$cl_conflit_parametres; 161 158 159 $my_para->query =(isset($_POST['query'])) ? $_POST['query'] : ((isset($my_para->query )) ? $my_para->query : 'Qt' ) ; 160 $my_para->type=(isset($_POST['type']))? $_POST['type']: ((isset($my_para->type)) ? $my_para->type: 'Ty') ; 162 161 163 return $cl_conflit_parametres; 162 163 return $my_para; 164 164 } 165 165 /*
Note: See TracChangeset
for help on using the changeset viewer.