From: Pierre Habouzit Date: Wed, 10 Sep 2003 16:44:52 +0000 (+0000) Subject: i18n bugfix X-Git-Tag: procmail~45 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6398953dbd43fd4e9379256c4b7aae284d79ef6d;p=old-projects.git i18n bugfix --- 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;
".$philter->i18n('email')."".$philter->i18n('active')."
"._i18n('email').""._i18n('active')."