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:
parent
573fee2b90
commit
48825d25e5
|
@ -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>
|
2013-01-09 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/reporting/reporting_builder.php,
|
* godmode/reporting/reporting_builder.php,
|
||||||
|
|
|
@ -314,16 +314,14 @@ $(document).ready (function () {
|
||||||
|
|
||||||
$("#zone").attr("disabled", true);
|
$("#zone").attr("disabled", true);
|
||||||
$("#timezone").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 () {
|
$("#change_timezone").click(function () {
|
||||||
$("#zone").attr("disabled", false);
|
$("#zone").attr("disabled", false);
|
||||||
|
|
Loading…
Reference in New Issue