]> git.wh0rd.org - tt-rss.git/blobdiff - digest.php
remove error_reporting() hacks; set default error reporting level in functions.php
[tt-rss.git] / digest.php
index 2b7f91807210816900eececfe8baa732f88d195f..0d49342177efa05c09e931a3b1c73b88c2955fd3 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-       error_reporting(E_ERROR | E_WARNING | E_PARSE);
-
        require_once "functions.php"; 
        require_once "sessions.php";
        require_once "sanity_check.php";
@@ -12,7 +10,7 @@
 
        login_sequence($link);
 
-       $dt_add = get_script_dt_add();
+       $dt_add = time();
 
        no_cache_incantation();
 
@@ -26,6 +24,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"/>
 
        </script>
 </head>
 <body id="ttrssDigest">
+       <div id="overlay" style="display : block">
+               <div id="overlay_inner">
+               <noscript>
+                       <p>
+                       <?php print_error(__("Your browser doesn't support Javascript, which is required
+                       for this application to function properly. Please check your
+                       browser settings.")) ?></p>
+               </noscript>
+
+               <img src="images/indicator_white.gif"/>
+                       <?php echo __("Loading, please wait...") ?>
+               </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">