pandorafms/pandora_console/operation/system_alert.php

41 lines
817 B
PHP
Raw Normal View History

<?php
// TODO: Poner esto resizable y dragable: http://jqueryui.com/demos/dialog
if (check_login()) {
echo "
<div class='modalheader'>
<span class='modalheadertext'>";
if (!enterprise_installed()) {
echo 'Community version';
} else {
echo 'Enterprise version';
}
echo "</span>
<img class='modalclosex cerrar' src='".$config['homeurl']."/images/icono_cerrar.png'>
2016-11-03 16:51:18 +01:00
</div>";
echo "<div class='modal_sys_alert'>";
echo get_pandora_error_for_header();
echo '</div>';
2016-11-03 16:51:18 +01:00
echo "<div class='modalokbutton cerrar mrgn_top_10px'>
<span class='modalokbuttontext close'>OK</span>
</div>";
2016-11-03 16:51:18 +01:00
}
?>
<script>
$(".cerrar").click(function(){
2018-10-25 14:01:12 +02:00
$("#alert_messages")
.css('opacity', 0)
.hide();
2018-10-25 14:01:12 +02:00
$( "#opacidad" )
.css('opacity', 0)
.remove();
});
</script>