Changeset 8925 for extensions/cl_conflit/admin
- Timestamp:
- Jan 26, 2011, 6:40:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/admin/cl_conflit_admin.php
r7905 r8925 29 29 PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' 30 30 ); 31 if (!defined('CONFLIT_PATH_ABS')) 32 define('CONFLIT_PATH_ABS',dirname(__FILE__).'/'); 31 33 // +-----------------------------------------------------------------------+ 32 34 // | Check Access and exit when user status is not ok | … … 106 108 include (CONFLIT_PATH."include/affiche.php"); 107 109 //================================================================================ 110 $template->assign( 111 array( 112 'CONFLIT_PATH' => CONFLIT_PATH, 113 'CONFLIT_PATH_ABS' => CONFLIT_PATH_ABS 114 ) ); 115 108 116 $base_url = get_root_url().'admin_cl_conflit.php'; 109 117 switch ($page['tab']) … … 112 120 113 121 $template->set_filenames(array('plugin_admin_content' => realpath(CONFLIT_PATH . 'admin/template/admin.tpl'))); 122 114 123 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 115 124 break; … … 119 128 120 129 $template->set_filenames(array( 'plugin_admin_content' => realpath(CONFLIT_PATH . 'template/picture.tpl' ))); 130 121 131 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 122 132 break;
Note: See TracChangeset
for help on using the changeset viewer.