From 283d16d543ab62540b819c46518d324044eb7eb3 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 17 Nov 2005 00:08:10 +0000 Subject: [PATCH] add counter und fix language entrys git-svn-id: svn://svn.cccv.de/engel-system@61 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/footer.php | 5 ++-- www-ssl/inc/funktion_counter.php | 24 ++++++++++++++++ www-ssl/inc/funktion_lang.php | 43 +++++++++++++++++------------ www-ssl/inc/header.php | 6 ++-- www-ssl/nonpublic/einstellungen.php | 12 ++++---- www-ssl/nonpublic/news_output.php | 5 ++-- www-ssl/nonpublic/waeckliste.php | 2 +- 7 files changed, 66 insertions(+), 31 deletions(-) create mode 100644 www-ssl/inc/funktion_counter.php diff --git a/www-ssl/inc/footer.php b/www-ssl/inc/footer.php index 5f4edf35..348871ac 100755 --- a/www-ssl/inc/footer.php +++ b/www-ssl/inc/footer.php @@ -16,9 +16,9 @@ if( $Page["ShowTabel"]=="Y" )

".Get_Text(11)." "; + echo "".Get_Text("back")." "; ?> - +

@@ -111,6 +111,7 @@ if( isset($_SESSION['UID']))
© copyleft - Kontakt
+ diff --git a/www-ssl/inc/funktion_counter.php b/www-ssl/inc/funktion_counter.php new file mode 100644 index 00000000..70b104d4 --- /dev/null +++ b/www-ssl/inc/funktion_counter.php @@ -0,0 +1,24 @@ + diff --git a/www-ssl/inc/funktion_lang.php b/www-ssl/inc/funktion_lang.php index 9a6dc220..42de5df8 100755 --- a/www-ssl/inc/funktion_lang.php +++ b/www-ssl/inc/funktion_lang.php @@ -1,30 +1,39 @@ diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index dc52f8a0..efeded4e 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -78,7 +78,7 @@ if( $Page["ShowTabel"]=="Y" ) "; - if( strlen(Get_Text($Page["Name"])) > 0 ) + if( strlen( $header) == 0 ) echo "\n\t". Get_Text($Page["Name"]). "\n"; else echo "\n\t$header\n"; @@ -115,9 +115,9 @@ function SetHeaderGo2Back () if ( $Page["CVS"] != "Y" ) { echo "Du besitzt kein Rechte für diesen Bereich.
\n"; If (IsSet($_SESSION['oldurl'])) - echo "".Get_Text(11)." geht's zurück...\n"; + echo "".Get_Text("back")." geht's zurück...\n"; else - echo "".Get_Text(11)." geht's zurück...\n"; + echo "".Get_Text("back")." geht's zurück...\n"; exit (); } ?> diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php index 214593ae..4c9bd721 100755 --- a/www-ssl/nonpublic/einstellungen.php +++ b/www-ssl/nonpublic/einstellungen.php @@ -6,7 +6,7 @@ include ("./inc/crypt.php"); if (!IsSet($_POST["action"])) { - echo Get_Text(1).$_SESSION['Nick'].",
\n\n"; + echo Get_Text("Hallo").$_SESSION['Nick'].",
\n\n"; Print_Text(13); ?>
@@ -31,7 +31,7 @@ if (!IsSet($_POST["action"])) - + ">
@@ -45,7 +45,7 @@ if (!IsSet($_POST["action"])) - + ">
@@ -71,7 +71,7 @@ if (!IsSet($_POST["action"])) - + ">

@@ -89,7 +89,7 @@ if (!IsSet($_POST["action"])) - + ">

@@ -130,7 +130,7 @@ $ANZ_AVATAR= shell_exec("ls inc/avatar/ | wc -l"); - + "> diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php index e2b2f85d..781fdb92 100755 --- a/www-ssl/nonpublic/news_output.php +++ b/www-ssl/nonpublic/news_output.php @@ -3,7 +3,8 @@ include ("./inc/db.php"); include ("./inc/funktion_user.php"); -if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]) ) { +if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]) ) +{ if( !isset( $_POST["treffen"])) $_POST["treffen"] = 0; //$escaped_text = htmlescape($text); @@ -109,5 +110,5 @@ if ($_SESSION['CVS']["nonpublic/newsAddMeting"] == "Y") { ?>
- +"> diff --git a/www-ssl/nonpublic/waeckliste.php b/www-ssl/nonpublic/waeckliste.php index 198a741a..f8b9984c 100755 --- a/www-ssl/nonpublic/waeckliste.php +++ b/www-ssl/nonpublic/waeckliste.php @@ -8,7 +8,7 @@ include ("./inc/header.php"); ?> -\n". +\n". Get_Text("pub_waeckliste_Text1")?>