error display window

This commit is contained in:
Serghey Rodin 2013-11-02 16:42:57 +02:00
commit 306907270e
28 changed files with 28 additions and 125 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>