From 45e1e79072f5ca567cd0277bc5b94e5484d5ee23 Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 13 Jul 2010 20:18:50 +0000 Subject: [PATCH] make showing the winners link optional --- common.inc.php | 4 +++- db/db.code.version.txt | 2 +- db/db.update.200.sql | 1 + winners.php | 6 ++++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 db/db.update.200.sql diff --git a/common.inc.php b/common.inc.php index c94bef4..ee0028f 100644 --- a/common.inc.php +++ b/common.inc.php @@ -630,7 +630,9 @@ if(is_array($nav)) { } */ echo "
  • ".i18n("Committee").'
  • '; - echo "
  • ".i18n("Winners").'
  • '; + if($config['show_winners'] == "yes") { + echo "
  • ".i18n("Winners").'
  • '; + } ?> Requested URL not found."; + exit; + } + send_header("Winners"); if($_GET['edit']) $edit=$_GET['edit'];