From 68abd9ae75fdcb791eb152d741ce57bd4d41fb49 Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 4 Dec 2006 21:49:05 +0000 Subject: anzeige der ungelesen FAQ artikel git-svn-id: svn://svn.cccv.de/engel-system@200 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/funktion_menu.php | 6 +++++- www-ssl/inc/header.php | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'www-ssl/inc') diff --git a/www-ssl/inc/funktion_menu.php b/www-ssl/inc/funktion_menu.php index bd425b3c..e728e339 100755 --- a/www-ssl/inc/funktion_menu.php +++ b/www-ssl/inc/funktion_menu.php @@ -23,8 +23,12 @@ function ShowMenu( $MenuName) //zum absichtlkichen ausblenden von einträgen if( strlen($TempName)>1) { - $Gefunden = TRUE; + //sonderfälle: + if( $Key=="admin/faq.php") + $TempName .= " (". noAnswer(). ")"; + //ausgabe $Text .= "\t\t\t
  • $TempName
  • \n"; + $Gefunden = TRUE; } } elseif( $DEBUG ) diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 2933a457..7c5f746c 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -3,6 +3,7 @@ include ("./inc/config.php"); include ("./inc/error_handler.php"); include ("./inc/config_db.php"); include ("./inc/funktion_lang.php"); +include ("./inc/funktion_faq.php"); //für noAnswer() im menu include ("./inc/funktion_menu.php"); if( !isset($_SESSION)) -- cgit v1.2.3-54-g00ecf