2014-03-13 Vanessa Gil <vanessa.gil@artica.es>

* godmode/menu.php
	  godmode/groups/configure_modu_group.php
	  godmode/groups/modu_group_list.php: Moved 'Module groups'
	to 'Manage modules'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-03-13 07:32:10 +00:00
parent bb69d3483e
commit 35a7782fbe
4 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2014-03-13 Vanessa Gil <vanessa.gil@artica.es>
* godmode/menu.php
godmode/groups/configure_modu_group.php
godmode/groups/modu_group_list.php: Moved 'Module groups'
to 'Manage modules'.
2014-03-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed for opensource

View File

@ -65,7 +65,7 @@ $table->data[0][1] = html_print_input_text ('name', $name, '', 35, 100, true);
echo'</span>';
echo '<form name="grupo" method="post" action="index.php?sec=gagente&sec2=godmode/groups/modu_group_list">';
echo '<form name="grupo" method="post" action="index.php?sec=gmodules&sec2=godmode/groups/modu_group_list">';
html_print_table ($table);
echo '<div class="action-buttons" style="width: '.$table->width.'">';
if ($id_group) {

View File

@ -188,9 +188,9 @@ if (!empty($groups)) {
foreach ($groups as $id_group ) {
$data = array ();
$data[0] = $id_group["id_mg"];
$data[1] = '<strong><a href="index.php?sec=gagente&sec2=godmode/groups/configure_modu_group&id_group=' . $id_group["id_mg"].'">' .
$data[1] = '<strong><a href="index.php?sec=gmodules&sec2=godmode/groups/configure_modu_group&id_group=' . $id_group["id_mg"].'">' .
ui_print_truncate_text($id_group["name"], GENERIC_SIZE_TEXT).'</a></strong>';
$data[2] = '<a href="index.php?sec=gagente&sec2=godmode/groups/modu_group_list&id_group='.$id_group["id_mg"].'&delete_group=1" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true, array("border" => '0')) . '</a>';
$data[2] = '<a href="index.php?sec=gmodules&sec2=godmode/groups/modu_group_list&id_group='.$id_group["id_mg"].'&delete_group=1" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true, array("border" => '0')) . '</a>';
array_push ($table->data, $data);
}
@ -201,7 +201,7 @@ else {
echo "<div class='nf'>".__('There are no defined module groups')."</div>";
}
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/groups/configure_modu_group">';
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/groups/configure_modu_group">';
echo '<div class="action-buttons" style="width: '.$table->width.'">';
html_print_submit_button (__('Create module group'), 'crt', false, 'class="sub next"');
echo '</div>';

View File

@ -41,7 +41,6 @@ if (check_acl ($config['id_user'], 0, "AW") || check_acl ($config['id_user'], 0,
$sub["godmode/agentes/planned_downtime.list"]["text"] = __('Scheduled downtime');
if (check_acl ($config["id_user"], 0, "PM")) {
$sub["godmode/groups/modu_group_list"]["text"] = __('Module groups');
$sub["godmode/agentes/fields_manager"]["text"] = __('Manage custom fields');
}
enterprise_hook('agents_submenu');
@ -97,6 +96,10 @@ if (check_acl ($config['id_user'], 0, "PM")) {
$sub["godmode/modules/module_list"]["text"] = __('Module types');
if (check_acl ($config["id_user"], 0, "PM")) {
$sub["godmode/groups/modu_group_list"]["text"] = __('Module groups');
}
$menu_godmode["gmodules"]["sub"] = $sub;
}