2012-04-26 Vanessa Gil <vanessa.gil@artica.es>

* operation/events/events_list.php: The column to validate events 
	is shown for an Operator (only read) user.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-04-26 12:14:16 +00:00
parent 9b18e175ef
commit 8f581a21b8
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-04-26 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: The column to validate events
is shown for an Operator (only read) user.
2012-04-26 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_filemanager.php: Changed all messages.

View File

@ -609,8 +609,10 @@ if ($i != 0) {
$table->align[$i] = 'center';
$table->size[$i] = '80px';
$i++;
$table->head[$i] = html_print_checkbox ("allbox", "1", false, true);
$table->align[$i] = 'center';
if (check_acl ($config["id_user"], $event["id_grupo"], "IW") == 1) {
$table->head[$i] = html_print_checkbox ("allbox", "1", false, true);
$table->align[$i] = 'center';
}
}
$idx = 0;
@ -856,8 +858,10 @@ foreach ($result as $event) {
}
$i++;
//Checkbox
$data[$i] = html_print_checkbox_extended ("eventid[]", $event["id_evento"], false, false, false, 'class="chk"', true);
if (check_acl ($config["id_user"], $event["id_grupo"], "IW") == 1) {
//Checkbox
$data[$i] = html_print_checkbox_extended ("eventid[]", $event["id_evento"], false, false, false, 'class="chk"', true);
}
array_push ($table->data, $data);
}