2012-01-09 Sancho Lerena <slerena@artica.es>

* godmode/setup/setup.php: Fixed warning on enabling EACL.
	Merged from 4.0.x branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2013-01-09 18:49:05 +00:00
parent 573fee2b90
commit 48825d25e5
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2012-01-09 Sancho Lerena <slerena@artica.es>
* godmode/setup/setup.php: Fixed warning on enabling EACL.
2013-01-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,

View File

@ -314,16 +314,14 @@ $(document).ready (function () {
$("#zone").attr("disabled", true);
$("#timezone").attr("disabled", true);
$("input[name='acl_enterprise']").click(function(){
flag = $(this).is(':checked');
if (flag == true){
<?php echo "if (! confirm ('" . __('If Enterprise ACL System is enabled without rules you will lose access to Pandora FMS Console (even admin). Do you want to continue?') . "')) return false" ?>
}
});
$("#radiobtn0011").click(function() {
flag = $("#radiobtn0011").is(':checked');
if (flag == true) {
message = "<?php
echo __('If Enterprise ACL System is enabled without rules you will lose access to Pandora FMS Console (even admin). Do you want to continue?');
?>";
if (!confirm(message)) return false;
}
});
$("#change_timezone").click(function () {
$("#zone").attr("disabled", false);