digest: support exception error box

This commit is contained in:
Andrew Dolgov 2010-09-13 15:02:50 +04:00
parent ddb25076ee
commit c5325e0925
3 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,6 @@
body {
background : #f0f0f0;
color : gray;
color : black;
font-family : sans-serif;
font-size : 12px;
}
@ -28,6 +28,7 @@ a:hover {
font-family : "Lucida Grande", "Segoe UI", Tahoma, Arial, sans-serif;
margin-left : 1em;
margin-right : 1em;
color : gray;
}
#header div.links {
@ -50,6 +51,7 @@ a:hover {
#footer {
font-size : 12px;
text-align : center;
color : gray;
}
/*#content h1 {

View File

@ -579,7 +579,6 @@ function parse_headlines(transport, replace, no_effects) {
function init() {
try {
new Ajax.Request("backend.php", {
parameters: "backend.php?op=rpc&subop=digest-init",
onComplete: function(transport) {

View File

@ -26,6 +26,7 @@
<head>
<title>Tiny Tiny RSS</title>
<link rel="stylesheet" type="text/css" href="digest.css?<?php echo $dt_add ?>"/>
<link rel="stylesheet" type="text/css" href="infobox.css?<?php echo $dt_add ?>"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
@ -64,6 +65,17 @@
</div>
</div>
<div id="dialog_overlay" style="display : none"> </div>
<div id="errorBoxShadow" style="display : none">
<div id="errorBox">
<div id="xebTitle"><?php echo __('Fatal Exception') ?></div><div id="xebContent">&nbsp;</div>
<div id="xebBtn" align='center'>
<button onclick="closeErrorBox()"><?php echo __('Close this window') ?></button>
</div>
</div>
</div>
<div id="header">
<div class="links">