X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=philter%2Fphilter%2Finclude%2Femails.inc.php;h=8bf6c3ce05d02efb8d5f3452e2dd88c1ebdb64cf;hb=6398953dbd43fd4e9379256c4b7aae284d79ef6d;hp=7c302f80d48190b540d4e6bd5286b3a28a72139f;hpb=e4f6db072c34c51a15677f00215e54a59ecf52b1;p=old-projects.git 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')."