blob: 2de692d87d06fc744197df0d4bc1bf20fe1ba122 [file]
<?php
#*****************************************************************************
#
# en_status.inc
#
# Author: Denis Roy
# Date: 2004-09-10
#
# Description: Infrastructure status UI
#
# HISTORY:
#
#****************************************************************************
include("../html/header.php");
$Menu = new Menu("en");
include("../modules/menu.php");
?>
<br />
<td width="100%" valign="top" class="normal">
<form name="form1" method="post">
<font class="large_title">UNIX groups</font><br /><br />
You are a member of the UNIX groups below. Disk quotas are updated hourly.<br /><br />
<?= $ErrorMessage != "" ? "<font class='error'>" . $ErrorMessage . "</font>" : "" ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="rect_header">
<tr height="<?= $App->getDefaultRowHeight() ?>">
<td width="5"></td>
<td nowrap="true" class="rect_header">My groups</td>
<td width="100%"></td>
<td nowrap="true" id="action_bar">
</td>
</tr>
<tr>
<td height="1"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="normal">
<tr class="list_column_header" height="<?= $App->getDefaultRowHeight() ?>">
<td width="5"></td>
<td><b>Group</b></td>
</tr>
<?php
for($i = 0; $i < count($GroupList); $i++) {
$GroupName = str_replace(",ou=group,dc=eclipse,dc=org", "", $GroupList[$i]);
$GroupName = str_replace("cn=", "", $GroupName);
# Get quota info
?>
<tr height="<?= $App->getDefaultRowHeight() ?>" class="data<?= $i % 2 ?>">
<td width="5"></td>
<td><?= $GroupName ?></td>
</tr>
<tr height="1" class="menu_border">
<td colspan="7"></td>
</tr>
<?php
}
?>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="normal">
<tr height="1">
<td colspan="2"></td>
</tr>
<tr class="list_column_header">
<td width="5"></td>
<td><b><?= $i ?> group<?= $i != 1 ? "s" : "" ?> found.</td>
</tr>
</table>
</form>
</td>
<?php
include("../html/footer.php");
?>