Changeset 518 for trunk/xpressme_integration_kit/admin/index.php
- Timestamp:
- Feb 26, 2010, 11:38:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/admin/index.php
r517 r518 610 610 } 611 611 } 612 612 613 function xpress_group_role_state($is_report = false) 613 614 { … … 659 660 } 660 661 } 661 $group_tables = $xoopsDB->prefix('groups');662 $where = ' WHERE groupid NOT IN (' . $groupe_list . ')';663 $sql = "SELECT groupid , name AS xoops_groupe ,group_type FROM ". $group_tables . $where;664 $result = $xoopsDB->query($sql);665 while ($myrow = $xoopsDB->fetchArray($result)){666 $xoops_groupe = $myrow["xoops_groupe"] ;667 $group_type = empty($myrow["group_type"]) ? 'inhibit(None)' : 'inhibit(' .$myrow["group_type"].')' ;668 $role = "No set";669 $login_all = 'No Set';670 if ($is_report){671 echo $xoops_groupe . ' : ';672 echo '[' . $group_type. '] : ';673 echo $role;674 echo '(' . $login_all. ') : ';675 echo '<br />';676 } else {677 echo '<tr>';678 echo '<td>' . $xoops_groupe . '</td>';679 echo '<td>' . $group_type . '</td>';680 echo '<td>' . $role . '</td>';681 echo '<td>' . $login_all . '</td>';682 echo '</tr>';683 }684 }685 662 if ($is_report){ 686 663 echo "<br />";
Note: See TracChangeset
for help on using the changeset viewer.