From 6398953dbd43fd4e9379256c4b7aae284d79ef6d Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Wed, 10 Sep 2003 16:44:52 +0000 Subject: [PATCH 1/1] i18n bugfix --- philter/philter/include/emails.inc.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/philter/philter/include/emails.inc.php b/philter/philter/include/emails.inc.php index 7c302f8..8bf6c3c 100644 --- a/philter/philter/include/emails.inc.php +++ b/philter/philter/include/emails.inc.php @@ -97,11 +97,10 @@ class EmailPool { * @return the string containing the form */ function to_form() { - global $philter; $res = "
\n" . "\n" - . "\n" - . " \n" + . "\n" + . " \n" . " \n" . "\n"; @@ -114,7 +113,7 @@ class EmailPool { . " is_active() ? " checked=\"checked\"" : "")." />\n" . "\n" + . "value=\""._i18n('del')."\" onclick=\"del_onclick($id)\" />\n" . "\n"; $pair = !$pair; } @@ -123,17 +122,17 @@ class EmailPool { . "
\n" . " \n" . " i18n('apply_changes')."\" />\n" + . _i18n('apply_changes')."\" />\n" . "
\n" . "\n"; - $val = $philter->i18n('your_email'); + $val = _i18n('your_email'); $res .= "\n" . "\n" . "i18n('add')."\" />\n" + _i18n('add')."\" />\n" . "\n"; return $res; -- 2.1.4
".$philter->i18n('email')."".$philter->i18n('active')."
"._i18n('email').""._i18n('active')."