mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
error display window
This commit is contained in:
parent
0f7c02ee4e
commit
306907270e
28 changed files with 28 additions and 125 deletions
|
@ -19,31 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['backup_msg'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="<?php print __('Backup System') ?>">
|
||||
<p><?php echo $_SESSION['backup_msg'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['backup_msg']);
|
||||
}
|
||||
?>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -20,31 +20,7 @@
|
|||
<input type="hidden" name="backup" value="<?php echo $_GET['backup'] ?>">
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['restore_msg'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="<?php print __('Backup System') ?>">
|
||||
<p><?php echo $_SESSION['restore_msg'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['restore_msg']);
|
||||
}
|
||||
?>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -20,31 +20,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="Error">
|
||||
<p><?php echo $_SESSION['error_msg'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['error_msg']);
|
||||
}
|
||||
?>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -18,31 +18,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_srv'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="">
|
||||
<p><?php echo $_SESSION['error_srv'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['error_srv']);
|
||||
}
|
||||
?>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -16,31 +16,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_upd'])) {
|
||||
?>
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="Error">
|
||||
<p><?php echo $_SESSION['error_upd'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['error_upd']);
|
||||
}
|
||||
?>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue