2017-08-04 16:28:16 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/../core.php';
|
|
|
|
|
|
|
|
if (Auth::check()) {
|
|
|
|
echo '
|
|
|
|
</div><!-- /.row -->
|
|
|
|
</section><!-- /.content -->
|
|
|
|
</aside><!-- /.content-wrapper -->
|
|
|
|
|
|
|
|
<footer class="main-footer">
|
|
|
|
<span class="pull-right hidden-xs">
|
2017-09-04 12:02:29 +02:00
|
|
|
<strong>'.tr('Versione').' '.$version.'</strong>
|
2017-09-11 18:50:56 +02:00
|
|
|
<small class="text-muted">('.(!empty($revision) ? $revision : tr('In sviluppo')).')</small>
|
2017-08-04 16:28:16 +02:00
|
|
|
</span>
|
2017-09-04 12:02:29 +02:00
|
|
|
'.tr('OpenSTAManager').'
|
2017-08-04 16:28:16 +02:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
<div class="modal fade" id="bs-popup" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false"></div>
|
2017-08-30 11:50:46 +02:00
|
|
|
<div class="modal fade" id="bs-popup2" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false"></div>';
|
2017-08-04 16:28:16 +02:00
|
|
|
}
|
|
|
|
echo '
|
|
|
|
</div><!-- ./wrapper -->';
|
|
|
|
|
|
|
|
if (Auth::check()) {
|
|
|
|
if (!empty($_SESSION['keep_alive'])) {
|
|
|
|
echo '
|
|
|
|
<script> setInterval("session_keep_alive()", 5*60*1000); </script>';
|
|
|
|
}
|
|
|
|
|
2017-09-14 18:25:09 +02:00
|
|
|
if (!empty($debug)) {
|
2017-09-15 10:12:40 +02:00
|
|
|
echo '
|
|
|
|
<!-- Fix per le icone di debug -->
|
|
|
|
<style>div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before {
|
2017-09-14 18:25:09 +02:00
|
|
|
font-family: FontAwesome;
|
2017-09-15 10:12:40 +02:00
|
|
|
}</style>';
|
2017-09-14 18:25:09 +02:00
|
|
|
}
|
|
|
|
|
2017-09-15 10:12:40 +02:00
|
|
|
$custom_css = get_var('CSS Personalizzato');
|
2017-09-14 18:25:09 +02:00
|
|
|
if (!empty($custom_css)) {
|
2017-08-04 16:28:16 +02:00
|
|
|
echo '
|
2017-09-14 18:25:09 +02:00
|
|
|
<style>'.$custom_css.'</style>';
|
2017-08-04 16:28:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!empty($debugbarRenderer)) {
|
|
|
|
echo $debugbarRenderer->render();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '
|
|
|
|
<script>
|
|
|
|
// Rimozione del messaggio automatico riguardante la modifica di valori nella pagina
|
|
|
|
window.onbeforeunload = null;
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>';
|
|
|
|
|
|
|
|
unset($_SESSION['infos']);
|
|
|
|
unset($_SESSION['errors']);
|
|
|
|
unset($_SESSION['warnings']);
|