summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-04 21:49:05 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-04 21:49:05 +0000
commit68abd9ae75fdcb791eb152d741ce57bd4d41fb49 (patch)
treeccf9aa4a2857d64bc72d6f8c00efb1581661568e /www-ssl
parent891fdf5f73a27d1866ae459d02fc15fc1e91df75 (diff)
anzeige der ungelesen FAQ artikel
git-svn-id: svn://svn.cccv.de/engel-system@200 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/admin/faq.php1
-rwxr-xr-xwww-ssl/inc/funktion_menu.php6
-rwxr-xr-xwww-ssl/inc/header.php1
3 files changed, 6 insertions, 2 deletions
diff --git a/www-ssl/admin/faq.php b/www-ssl/admin/faq.php
index 57fa3e5f..71195cd2 100755
--- a/www-ssl/admin/faq.php
+++ b/www-ssl/admin/faq.php
@@ -2,7 +2,6 @@
$title = "Himmel";
$header = "FAQ / Fragen an die Erzengel";
$submenus = 1;
-include ("./inc/funktion_faq.php");
include ("./inc/header.php");
include ("./inc/funktion_user.php");
include ("./inc/funktion_db.php");
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<li><a href=\"". $url. substr( $ENGEL_ROOT, 1). $Key. "\">$TempName</a></li>\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))