Changeset 5593 for extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
- Timestamp:
- Apr 3, 2010, 3:33:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r5181 r5593 14 14 //ini_set('display_errors', true); 15 15 16 include_once 16 include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); 17 17 include_once (PHPWG_ROOT_PATH.'/include/constants.php'); 18 18 $my_base_url = get_admin_plugin_menu_link(__FILE__); … … 452 452 // | templates display | 453 453 // +-----------------------------------------------------------------------+ 454 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/ global.tpl');454 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/global.tpl'); 455 455 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 456 456 … … 573 573 } 574 574 else $display = ''; 575 576 /* Plugin version inserted */577 $template->assign(578 array(579 'UAM_VERSION' => $version,580 'UAM_PATH' => UAM_PATH,581 )582 );583 575 584 576 $template->append( … … 594 586 ); 595 587 } 588 /* Plugin version inserted */ 589 $template->assign( 590 array( 591 'UAM_VERSION' => $version, 592 'UAM_PATH' => UAM_PATH, 593 ) 594 ); 596 595 // +-----------------------------------------------------------------------+ 597 596 // | errors display | … … 609 608 // | templates display | 610 609 // +-----------------------------------------------------------------------+ 611 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/ userlist.tpl');610 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/userlist.tpl'); 612 611 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 613 612 } 614 613 else 615 614 { 616 array_push($page[' infos'], l10n('Err_Userlist_Settings'));615 array_push($page['errors'], l10n('Err_Userlist_Settings')); 617 616 } 618 617 break; … … 1163 1162 // | templates display | 1164 1163 // +-----------------------------------------------------------------------+ 1165 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/ usermanager.tpl');1164 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/usermanager.tpl'); 1166 1165 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 1167 1166 } 1168 1167 else 1169 1168 { 1170 array_push($page[' infos'], l10n('Err_UserManager_Settings'));1169 array_push($page['errors'], l10n('Err_UserManager_Settings')); 1171 1170 } 1172 1171 break; … … 1554 1553 // | templates display | 1555 1554 // +-----------------------------------------------------------------------+ 1556 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/ ghosttracker.tpl');1555 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/ghosttracker.tpl'); 1557 1556 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 1558 1557 } 1559 1558 else 1560 1559 { 1561 array_push($page[' infos'], l10n('Err_GhostTracker_Settings'));1560 array_push($page['errors'], l10n('Err_GhostTracker_Settings')); 1562 1561 } 1563 1562
Note: See TracChangeset
for help on using the changeset viewer.