Changeset 7944 for extensions/cl_conflit/conflit.inc.php
- Timestamp:
- Nov 30, 2010, 9:28:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/conflit.inc.php
r7914 r7944 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 = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ; 41 $cl_conflit_parametres = cl_conflit_Get_Options() ; 42 43 42 44 $theme=$user['theme']; 43 45 44 46 $template->assign( 45 47 array( 48 'cl_conflit_parametres' => $cl_conflit_parametres , 49 'cl_plugins' => $cl_plugin , 46 50 'cl_version' => $cl_plugin['version'] , 47 51 'name' => $cl_plugin['name'] , 48 'cl_conflit' => $cl_conflit ,52 49 53 'theme' => $theme , 50 54 'DEBUG' => $debug , … … 66 70 $my_path = dirname(__FILE__).'/'; 67 71 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 68 $cl_conflit = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;72 69 73 $theme=$user['theme']; 70 74 … … 74 78 'name' => $cl_plugin['name'] , 75 79 'ma_page' => $page['body_id'], 76 'cl_conflit' => $cl_conflit ,80 77 81 'theme' => $theme , 78 82 'DEBUG' => $debug , … … 102 106 $my_path = dirname(__FILE__).'/'; 103 107 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 104 $cl_conflit = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;108 105 109 $theme=$user['theme']; 106 110 … … 153 157 global $cl_conflit_parametres; 154 158 //============================================================================= 155 $cl_conflit_parametres->query =(isset($_POST['query'])) ? $_POST['query'] : ((isset($cl_conflit_parametres->query )) ? $cl_conflit_parametres->query : ' ' ) ;156 $cl_conflit_parametres->type=(isset($_POST['type']))? $_POST['type']: ((isset($cl_conflit_parametres->type)) ? $cl_conflit_parametres->type: ' ') ;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 161 158 162
Note: See TracChangeset
for help on using the changeset viewer.