anzeige der ungelesen FAQ artikel

git-svn-id: svn://svn.cccv.de/engel-system@200 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2006-12-04 21:49:05 +00:00
parent 891fdf5f73
commit 68abd9ae75
3 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,6 @@
$title = "Himmel"; $title = "Himmel";
$header = "FAQ / Fragen an die Erzengel"; $header = "FAQ / Fragen an die Erzengel";
$submenus = 1; $submenus = 1;
include ("./inc/funktion_faq.php");
include ("./inc/header.php"); include ("./inc/header.php");
include ("./inc/funktion_user.php"); include ("./inc/funktion_user.php");
include ("./inc/funktion_db.php"); include ("./inc/funktion_db.php");

View File

@ -23,8 +23,12 @@ function ShowMenu( $MenuName)
//zum absichtlkichen ausblenden von einträgen //zum absichtlkichen ausblenden von einträgen
if( strlen($TempName)>1) if( strlen($TempName)>1)
{ {
$Gefunden = TRUE; //sonderfälle:
if( $Key=="admin/faq.php")
$TempName .= " (". noAnswer(). ")";
//ausgabe
$Text .= "\t\t\t<li><a href=\"". $url. substr( $ENGEL_ROOT, 1). $Key. "\">$TempName</a></li>\n"; $Text .= "\t\t\t<li><a href=\"". $url. substr( $ENGEL_ROOT, 1). $Key. "\">$TempName</a></li>\n";
$Gefunden = TRUE;
} }
} }
elseif( $DEBUG ) elseif( $DEBUG )

View File

@ -3,6 +3,7 @@ include ("./inc/config.php");
include ("./inc/error_handler.php"); include ("./inc/error_handler.php");
include ("./inc/config_db.php"); include ("./inc/config_db.php");
include ("./inc/funktion_lang.php"); include ("./inc/funktion_lang.php");
include ("./inc/funktion_faq.php"); //für noAnswer() im menu
include ("./inc/funktion_menu.php"); include ("./inc/funktion_menu.php");
if( !isset($_SESSION)) if( !isset($_SESSION))