From 96aa2c02482eea33669eae9ab103f8872095f493 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 24 Feb 2003 20:23:39 +0000 Subject: Fixed a bug allowing preferences page to be displayed. Link now goes away if allow-preferences is set to no. --- includes/sidebar.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'includes/sidebar.php') diff --git a/includes/sidebar.php b/includes/sidebar.php index bf1a7b6..0223f14 100644 --- a/includes/sidebar.php +++ b/includes/sidebar.php @@ -32,15 +32,15 @@  - $goday_lang
\n - $goweek_lang
\n - $gomonth_lang
\n - $goyear_lang
\n - $goprint_lang
\n - $preferences_lang
\n - $subscribe_lang | $download_lang\n - "; ?> + $goday_lang
\n"; + echo "$goweek_lang
\n"; + echo "$gomonth_lang
\n"; + echo "$goyear_lang
\n"; + echo "$goprint_lang
\n"; + if ($allow_preferences != 'no') echo "$preferences_lang
\n"; + echo "$subscribe_lang | $download_lang\n"; + ?> -- cgit v1.2.3