diff options
author | Andrew Dolgov <[email protected]> | 2005-11-18 08:52:37 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-18 08:52:37 +0100 |
commit | d9a94634adf6497579636646e601902afacbf800 (patch) | |
tree | a863d13b07068c9e99a129945e0ffbd064ef3054 /error.php | |
parent | 5f334d7167996a418a8d8a533d9e3563c708e392 (diff) |
remove get_pref calls from error.php because it is supposed to work w/o logged in user
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -3,8 +3,6 @@ require_once "config.php"; require_once "db-prefs.php"; - $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - $ERRORS[0] = "Unknown error"; $ERRORS[1] = "This program requires XmlHttpRequest " . @@ -35,7 +33,6 @@ </head> <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main"> -<? if (get_pref($link, 'DISPLAY_HEADER')) { ?> <tr> <td colspan="2"> <table cellspacing="0" cellpadding="0" width="100%"><tr> @@ -48,7 +45,6 @@ </tr></table> </td> </tr> -<? } ?> <tr> <td id="prefContent" class="prefContent" valign="top" colspan="2"> @@ -58,7 +54,6 @@ </td> </tr> -<? if (get_pref($link, 'DISPLAY_FOOTER')) { ?> <tr> <td class="footer" colspan="2"> <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov @@ -67,7 +62,6 @@ <? } ?> </td> </td> -<? } ?> </table> |