2010-05-24 Sancho Lerena <slerena@gmail.com>

* group_view.php: Much nicer view of group view. Added
        column for group icon and for force network modules icon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-05-24 18:04:39 +00:00
parent 7bd7a5c7c5
commit 581c9aede4
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-05-24 Sancho Lerena <slerena@gmail.com>
* group_view.php: Much nicer view of group view. Added
column for group icon and for force network modules icon.
2010-05-24 Raúl Mateos <raulofpandora@gmail.com>
* include/config_process.php: Updated build to new RC2.

View File

@ -76,7 +76,9 @@ if ($agents == 1) {
echo '<table cellpadding="0" cellspacing="0" border="0" width="98%">';
echo "<tr>";
echo "<th width=5%>";
echo "<th width='20%'>".__("Group")."</th>";
echo "<th>";
echo "<th width='10%'>".__("Agents")."</th>";
echo "<th width='10%'>".__("Agent unknown")."</th>";
echo "<th width='10%'>".__("Unknown")."</th>";
@ -113,16 +115,17 @@ foreach ($groups as $id_group => $group_name) {
}
// Group name
echo "<td style='font-weight: bold; font-size: 12px;'>";
echo "<td>";
echo print_group_icon ($id_group, true);
echo "&nbsp;";
echo "</td>";
echo "<td style='font-weight: bold; font-size: 12px;'>";
echo "<a href='index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id=$id_group'>";
echo $group_name;
echo "</a>";
echo "</td>";
echo "<td>";
if (give_acl ($config['id_user'], $id_group, "AW")) {
echo '&nbsp;<a href="index.php?sec=estado&sec2=operation/agentes/group_view&update_netgroup='.$id_group.'"><img src="images/target.png" align="right"></a>';
echo "&nbsp;";
}
echo "</td>";