]> 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 467f6c28688b2a96da03157cbfaafc18d7d23187..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();
 
@@ -24,8 +22,9 @@
 
 <html>
 <head>
-       <title>Tiny Tiny Digest</title>
+       <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">
                </div>
 
                <div id="headlines">
-                       <h1><?php echo __('headlines') ?></h1>
+                       <h1><a href="#" onclick="viewfeed(-4)"><?php echo __('headlines') ?></a>: 
+                               <span id="headlines-title"></span></h1>
 
                        <ul id="headlines-content"> </ul>
                </div>
                 v<?php echo VERSION ?> 
        <?php } ?>
        &copy; 2005&ndash;<?php echo date('Y') ?> 
-       <a href="http://fakecake.org/">Andrew Dolgov</a></div>
+       <a href="http://fakecake.org/">Andrew Dolgov</a>
+       
+       <br/>
+
+       <a href="tt-rss.php">
+               <?php echo __("You are viewing the digest page. Click to open full version.") ?></a>
+
+</div>
 
 </body>