daithi Posted December 9, 2003 Share Posted December 9, 2003 hi all, does anyone know how i add extra pages to what admins can access using the above contrib? the contrib changes your admi/includes/column_left.php to: //Administrators start if (CanShowBox('configuration.php')) { include(DIR_WS_BOXES . 'configuration.php'); }; if (CanShowBox('modules.php')) { require(DIR_WS_BOXES . 'modules.php'); }; if (CanShowBox('catalog.php')) { require(DIR_WS_BOXES . 'catalog.php'); }; if (CanShowBox('customers.php')) { require(DIR_WS_BOXES . 'customers.php'); }; if (CanShowBox('taxes.php')) { require(DIR_WS_BOXES . 'taxes.php'); }; if (CanShowBox('localization.php')) { require(DIR_WS_BOXES . 'localization.php'); }; if (CanShowBox('reports.php')) { require(DIR_WS_BOXES . 'reports.php'); }; if (CanShowBox('tools.php')) { require(DIR_WS_BOXES . 'tools.php'); }; if (CanShowBox('administrators.php')) { require(DIR_WS_BOXES . 'administrators.php'); }; //Administrators end ?> but now that i have added more contribs I need to expand on this list and using the same format to add the php files doesn't work - any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.