Changeset 8958 for extensions/cl_conflit/conflit.inc.php
- Timestamp:
- Jan 28, 2011, 9:04:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/conflit.inc.php
r8942 r8958 44 44 $ma_page=isset($page['body_id'])?$page['body_id']:"" ; 45 45 if ($ma_page=='thePiwiShackControllerPage') return ; 46 $my_path = basename(dirname(__FILE__)).'/' ; 47 $my_path = dirname(__FILE__).'/'; 48 $template->set_filenames(array('cl_conflit_init'=>$my_path. "template/conflit.tpl" ) ); 46 47 if (PHPWG_VERSION < 2.2 ) 48 $file =CONFLIT_PATH_ABS.'template/header_2_1.tpl' ; 49 else 50 $file =CONFLIT_PATH_ABS.'template/header_2_2.tpl' ; 51 52 $template->set_filenames(array('cl_conflit_init_header'=> $file )); 53 $template->set_filenames(array('cl_conflit_init'=>CONFLIT_PATH_ABS. "template/conflit.tpl" ) ); 49 54 $DEBUG = isset($conf['cl_debug']) ? $conf['cl_debug'] : "false" ; 50 55 $cl_conflit_parametres = cl_conflit_Get_Options() ; 51 56 $theme=$user['theme']; 52 $url = get_root_url();53 54 57 $template->assign( 55 58 array( … … 58 61 'cl_version' => $cl_plugin['version'] , 59 62 'name' => $cl_plugin['name'] , 60 'MY_ROOT' => $url,63 61 64 'theme' => $theme , 62 65 'DEBUG' => $DEBUG , … … 64 67 'CONFLIT_PATH_ABS' => CONFLIT_PATH_ABS 65 68 ) ); 66 69 70 $template->concat('cl_conflit_init', $template->parse('cl_conflit_init_header', true)); 67 71 return $template->parse( 'cl_conflit_init', false); 68 72 }// function cl_conflit_script_1
Note: See TracChangeset
for help on using the changeset viewer.