$object->values->rights_class = $aRow->value->rights_class; $object->values->id = $aRow->value->id; $object->values->perm = $aRow->value->perm; $object->values->desc = $aRow->value->desc; $object->values->Status = ($aRow->value->Status == true ? "true" : "false"); print '<td>' . $aRow->value->id . '</td>'; print '<td>' . img_object('', $aRow->value->picto) . " " . $object->getName() . '</td>'; print '<td>' . $object->getPermDesc() . '<a name="' . $aRow->value->id . '"> </a></td>'; print '<td>'; $perm = $aRow->value->id; if ($caneditperms) { if ($aRow->value->Status) print $object->getLibStatus(); // Enable by default elseif ($fgroup->values->rights->$perm) print '<a href="' . $_SERVER['PHP_SELF'] . '?id=' . $fgroup->id . '&pid=' . $aRow->value->id . '&action=remove#' . $aRow->value->id . '">' . img_edit_remove() . '</a>'; else print '<a href="' . $_SERVER['PHP_SELF'] . '?id=' . $fgroup->id . '&pid=' . $aRow->value->id . '&action=add#' . $aRow->value->id . '">' . img_edit_add() . '</a>'; } else { print $object->getLibStatus(); } print '</td>'; print'</tr>'; } } print'</tbody>'; print'</table>';