- Timestamp:
- Feb 5, 2010, 10:55:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/admin/index.php
r507 r510 505 505 function xpress_config_from_xoops_view($is_report = false) 506 506 { 507 global $xoopsUserIsAdmin; 508 507 global $xoopsUserIsAdmin,$xoopsUser; 508 509 $user_groups = $xoopsUser->_groups; 510 $is_admin_group = in_array('1',$user_groups); 511 509 512 require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ; 510 513 $xoops_config = new ConfigFromXoops; … … 516 519 echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_XOOPS_CONFIG_INFO . "</legend>"; 517 520 echo "<div style='padding: 8px;'>"; 518 if ($xoopsUserIsAdmin ){521 if ($xoopsUserIsAdmin && $is_admin_group){ 519 522 xpress_config_nomal_view(); 520 523 } else {
Note: See TracChangeset
for help on using the changeset viewer.