From f946d844757249212c0e99b3151be2793890fd5a Mon Sep 17 00:00:00 2001 From: jengo Date: Tue, 28 Nov 2000 20:10:01 +0000 Subject: [PATCH] Added in addslashes() and stripslashes() --- admin/mainscreen_message.php | 2 +- index.php | 2 +- login.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/mainscreen_message.php b/admin/mainscreen_message.php index 321b0dc08f..b340e27ad1 100644 --- a/admin/mainscreen_message.php +++ b/admin/mainscreen_message.php @@ -83,7 +83,7 @@ $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color); $phpgw->template->set_var("tr_color",$tr_color); - $phpgw->template->set_var("value",''); + $phpgw->template->set_var("value",''); $phpgw->template->parse("rows","row_2",True); $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color); diff --git a/index.php b/index.php index d50b41b49b..87dea10cf3 100755 --- a/index.php +++ b/index.php @@ -49,7 +49,7 @@ $phpgw->translation->add_app("mainscreen"); if (lang("mainscreen_message") != "mainscreen_message*") { - echo "
" . lang("mainscreen_message") . "
"; + echo "
" . stripslashes(lang("mainscreen_message")) . "
"; } if ((isset($phpgw_info["user"]["apps"]["admin"]) && diff --git a/login.php b/login.php index a4c6ae269a..bce097492d 100755 --- a/login.php +++ b/login.php @@ -103,7 +103,7 @@ $phpgw->translation->add_app("login"); $phpgw->translation->add_app("loginscreen"); if (lang("loginscreen_message") != "loginscreen_message*") { - $tmpl->set_var("lang_message",lang("loginscreen_message")); + $tmpl->set_var("lang_message",stripslashes(lang("loginscreen_message"))); } } else { $tmpl->set_var("lang_message","");