summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-16 00:12:21 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-16 00:12:21 +0000
commit87f91a37f49b30de5ae78bab624eaf8790c65185 (patch)
treeb0ecadd89e6c29346b5cb896e66d67803967b226 /www-ssl/nonpublic
parent01b586b92a0f0c96398594c7a74d190b0c43d82c (diff)
fix var init
git-svn-id: svn://svn.cccv.de/engel-system@59 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic')
-rwxr-xr-xwww-ssl/nonpublic/index.php3
-rwxr-xr-xwww-ssl/nonpublic/news_output.php4
2 files changed, 4 insertions, 3 deletions
diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php
index 45f28f8f..99835624 100755
--- a/www-ssl/nonpublic/index.php
+++ b/www-ssl/nonpublic/index.php
@@ -71,7 +71,8 @@ else
}
include ("./inc/header.php");
-echo "<h2>". Get_Text($ErrorText). "</h2><br>\n";
+if( isset($ErrorText)
+ echo "<h2>". Get_Text($ErrorText). "</h2><br>\n";
include ("./inc/login_eingabefeld.php");
include ("./inc/footer.php");
diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php
index 91112c81..e2b2f85d 100755
--- a/www-ssl/nonpublic/news_output.php
+++ b/www-ssl/nonpublic/news_output.php
@@ -18,7 +18,7 @@ if( isset( $_POST["text"]) && isset( $_POST["betreff"]) && IsSet( $_POST["date"]
if( !IsSet( $_GET["news_begin"]))
$_GET["news_begin"]=0;
-
+
if( !IsSet( $_GET["DISPLAY_NEWS"]))
$_GET["DISPLAY_NEWS"] = 5;
@@ -66,7 +66,7 @@ $dis_rows = round (($rows / $DISPLAY_NEWS)+0.5);
Print_Text(5);
for ($i=1; $i <= $dis_rows; $i++) {
- if (!((($i * $DISPLAY_NEWS) - $news_begin) == $DISPLAY_NEWS)) {
+ if (!((($i * $DISPLAY_NEWS) - $_GET["news_begin"]) == $DISPLAY_NEWS)) {
echo "<a href=\"./news.php?news_begin=".(($i*$DISPLAY_NEWS) - $DISPLAY_NEWS)."\">$i</a>&nbsp; ";
} else {
echo "$i&nbsp; ";