mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Move display_error_block() to footer.html
This commit is contained in:
parent
e16e92278b
commit
d1b1f97ff4
55 changed files with 78 additions and 224 deletions
|
@ -8,10 +8,42 @@
|
|||
<script type="text/javascript" src="/js/templates.js?1446554103"></script>
|
||||
<script src="/js/jquery.finder.js"></script>
|
||||
<script>
|
||||
$(document).ready(function(){ hover_menu(); });
|
||||
$(function() {
|
||||
hover_menu();
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
@include($JS_FILE);
|
||||
@include($JS_FILE);
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])):
|
||||
?>
|
||||
<div>
|
||||
<div id="dialog-message" title="">
|
||||
<p><?=htmlentities($_SESSION['error_msg'])?></p>
|
||||
</div>
|
||||
<script>
|
||||
$('#dialog:ui-dialog').dialog('destroy');
|
||||
$('#dialog-message').dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$(this).dialog('close');
|
||||
}
|
||||
},
|
||||
create: function() {
|
||||
$(this)
|
||||
.closest('.ui-dialog')
|
||||
.find('.ui-button:first')
|
||||
.addClass('submit');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['error_msg']);
|
||||
endif;
|
||||
?>
|
||||
|
||||
<div title="Confirmation" class="confirmation-text-redirect hidden">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue