]> 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 43eb04121a8c729729ce27d4a3f5113655e78508..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"/>
 
                </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">