diff options
author | Andrew Dolgov <[email protected]> | 2010-09-13 15:02:50 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-09-13 15:02:50 +0400 |
commit | c5325e0925a80dd02e45f2f5107f0a31c83f9027 (patch) | |
tree | 5db8ce63a6f05a36d29c6a8823aad4f0f7639acc | |
parent | ddb25076ee0120473577b7bdf091869927765aff (diff) |
digest: support exception error box
-rw-r--r-- | digest.css | 4 | ||||
-rw-r--r-- | digest.js | 1 | ||||
-rw-r--r-- | digest.php | 12 |
3 files changed, 15 insertions, 2 deletions
diff --git a/digest.css b/digest.css index d96cc4968..70728c70e 100644 --- a/digest.css +++ b/digest.css @@ -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 { @@ -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) { diff --git a/digest.php b/digest.php index 43eb04121..c2ff2a330 100644 --- a/digest.php +++ b/digest.php @@ -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"> </div> + <div id="xebBtn" align='center'> + <button onclick="closeErrorBox()"><?php echo __('Close this window') ?></button> + </div> + </div> + </div> + <div id="header"> <div class="links"> |