mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -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
|
@ -268,36 +268,6 @@ function send_email($to,$subject,$mailtext,$from) {
|
||||||
mail($to, $subject, $message, $header);
|
mail($to, $subject, $message, $header);
|
||||||
}
|
}
|
||||||
|
|
||||||
function display_error_block() {
|
|
||||||
if (!empty($_SESSION['error_msg'])) {
|
|
||||||
echo '
|
|
||||||
<div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
$( "#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 id="dialog-message" title="">
|
|
||||||
<p>'. htmlentities($_SESSION['error_msg']) .'</p>
|
|
||||||
</div>
|
|
||||||
</div>'."\n";
|
|
||||||
unset($_SESSION['error_msg']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function list_timezones() {
|
function list_timezones() {
|
||||||
$tz = new DateTimeZone('HAST');
|
$tz = new DateTimeZone('HAST');
|
||||||
$timezone_offsets['HAST'] = $tz->getOffset(new DateTime);
|
$timezone_offsets['HAST'] = $tz->getOffset(new DateTime);
|
||||||
|
|
|
@ -13,7 +13,6 @@ if ($user == 'admin') {
|
||||||
}
|
}
|
||||||
$data = json_decode(implode('', $output), true);
|
$data = json_decode(implode('', $output), true);
|
||||||
$data = array_reverse($data,true);
|
$data = array_reverse($data,true);
|
||||||
display_error_block();
|
|
||||||
|
|
||||||
// Render page
|
// Render page
|
||||||
render_page($user, $TAB, '*/list_user');
|
render_page($user, $TAB, '*/list_user');
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -32,11 +32,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -30,11 +30,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -29,11 +29,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -51,11 +51,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -72,11 +72,7 @@
|
||||||
</table>
|
</table>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -45,11 +45,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -30,11 +30,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -50,11 +50,7 @@
|
||||||
</table>
|
</table>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -49,11 +49,7 @@
|
||||||
</table>
|
</table>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -37,11 +37,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -41,11 +41,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div -->
|
</div -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -37,11 +37,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -35,11 +35,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -54,11 +54,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -38,16 +38,13 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -8,10 +8,42 @@
|
||||||
<script type="text/javascript" src="/js/templates.js?1446554103"></script>
|
<script type="text/javascript" src="/js/templates.js?1446554103"></script>
|
||||||
<script src="/js/jquery.finder.js"></script>
|
<script src="/js/jquery.finder.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){ hover_menu(); });
|
$(function() {
|
||||||
|
hover_menu();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?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">
|
<div title="Confirmation" class="confirmation-text-redirect hidden">
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? display_error_block() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
|
@ -52,11 +52,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block(); ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -36,18 +36,13 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.l-sort -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? display_error_block() ?>
|
|
||||||
|
|
||||||
<!-- /.l-sort -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="l-separator"></div>
|
<div class="l-separator"></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue