mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Added in addslashes() and stripslashes()
This commit is contained in:
parent
9ab5005680
commit
f946d84475
@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
||||||
$phpgw->template->set_var("tr_color",$tr_color);
|
$phpgw->template->set_var("tr_color",$tr_color);
|
||||||
$phpgw->template->set_var("value",'<textarea name="message" cols="50" rows="10" wrap="hard">' . $current_message . '</textarea>');
|
$phpgw->template->set_var("value",'<textarea name="message" cols="50" rows="10" wrap="hard">' . stripslashes($current_message) . '</textarea>');
|
||||||
$phpgw->template->parse("rows","row_2",True);
|
$phpgw->template->parse("rows","row_2",True);
|
||||||
|
|
||||||
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
$phpgw->translation->add_app("mainscreen");
|
$phpgw->translation->add_app("mainscreen");
|
||||||
if (lang("mainscreen_message") != "mainscreen_message*") {
|
if (lang("mainscreen_message") != "mainscreen_message*") {
|
||||||
echo "<center>" . lang("mainscreen_message") . "</center>";
|
echo "<center>" . stripslashes(lang("mainscreen_message")) . "</center>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((isset($phpgw_info["user"]["apps"]["admin"]) &&
|
if ((isset($phpgw_info["user"]["apps"]["admin"]) &&
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
$phpgw->translation->add_app("login");
|
$phpgw->translation->add_app("login");
|
||||||
$phpgw->translation->add_app("loginscreen");
|
$phpgw->translation->add_app("loginscreen");
|
||||||
if (lang("loginscreen_message") != "loginscreen_message*") {
|
if (lang("loginscreen_message") != "loginscreen_message*") {
|
||||||
$tmpl->set_var("lang_message",lang("loginscreen_message"));
|
$tmpl->set_var("lang_message",stripslashes(lang("loginscreen_message")));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$tmpl->set_var("lang_message","");
|
$tmpl->set_var("lang_message","");
|
||||||
|
Loading…
Reference in New Issue
Block a user