]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
add sanity check & debug mode to prefs; misc code cleanups
[tt-rss.git] / prefs.php
index 7e71c7548edc3987ed90567d655e369496aa3bac..aad7691d280bae3ad404873c2d8d737303239f69 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -77,6 +77,13 @@ if (document.addEventListener) {
 window.onload = init;
 </script>
 
+<ul id="debug_output"></ul>
+
+<div id="fatal_error"><div id="fatal_error_inner">
+       <h1>Fatal Error</h1>
+       <div id="fatal_error_msg">Unknown Error</div>
+</div></div>
+
 <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
 <? if (get_pref($link, 'DISPLAY_HEADER')) { ?>
 <tr>