mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 07:45:58 +00:00
remove get_pref calls from error.php because it is supposed to work w/o logged in user
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "db-prefs.php";
|
require_once "db-prefs.php";
|
||||||
|
|
||||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
||||||
|
|
||||||
$ERRORS[0] = "Unknown error";
|
$ERRORS[0] = "Unknown error";
|
||||||
|
|
||||||
$ERRORS[1] = "This program requires XmlHttpRequest " .
|
$ERRORS[1] = "This program requires XmlHttpRequest " .
|
||||||
@@ -35,7 +33,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
|
||||||
<? if (get_pref($link, 'DISPLAY_HEADER')) { ?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<table cellspacing="0" cellpadding="0" width="100%"><tr>
|
<table cellspacing="0" cellpadding="0" width="100%"><tr>
|
||||||
@@ -48,7 +45,6 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td id="prefContent" class="prefContent" valign="top" colspan="2">
|
<td id="prefContent" class="prefContent" valign="top" colspan="2">
|
||||||
|
|
||||||
@@ -58,7 +54,6 @@
|
|||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="footer" colspan="2">
|
<td class="footer" colspan="2">
|
||||||
<a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov
|
<a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov
|
||||||
@@ -67,7 +62,6 @@
|
|||||||
<? } ?>
|
<? } ?>
|
||||||
</td>
|
</td>
|
||||||
</td>
|
</td>
|
||||||
<? } ?>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user