pandorafms/pandora_console/operation/system_alert.php

39 lines
629 B
PHP

<?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'>
</div>";
echo get_pandora_error_for_header()."
<div class='modalokbutton cerrar'>
<span class='modalokbuttontext close'>OK</span>
</div>";
}
?>
<script>
$(".cerrar").click(function(){
$("#alert_messages").hide();
$( "#opacidad" ).remove();
});
</script>