From: Pierre Habouzit Date: Wed, 10 Sep 2003 17:23:35 +0000 (+0000) Subject: simplifications X-Git-Tag: procmail~43 X-Git-Url: http://git.polytechnique.org/?p=old-projects.git;a=commitdiff_plain;h=352acab739abf0327dff1bf2df130de64e2bce10 simplifications --- diff --git a/philter/philter/include/plugin_autoreply.inc.php b/philter/philter/include/plugin_autoreply.inc.php index 3672022..4b12b29 100644 --- a/philter/philter/include/plugin_autoreply.inc.php +++ b/philter/philter/include/plugin_autoreply.inc.php @@ -22,8 +22,6 @@ class AutoReplyPlugin extends ActionPlugin { . " if(data[1]) ta.value = data[1];\n" . "\n" . " Node.appendChild(document.createElement('br'));\n" - . " Node.appendChild(document.createTextNode('"._i18n('2_your_mail')."'));\n" - . " Node.appendChild(document.createElement('br'));\n" . " Node.appendChild(ta);\n" . "}"; diff --git a/philter/philter/include/plugin_forward.inc.php b/philter/philter/include/plugin_forward.inc.php index a0b5c83..4e2c6a0 100644 --- a/philter/philter/include/plugin_forward.inc.php +++ b/philter/philter/include/plugin_forward.inc.php @@ -18,8 +18,8 @@ class FwdPlugin extends ActionPlugin { . " var sel = 0;\n" . " var select = document.createElement('select');\n" . " select.setAttribute('name', Node.name+'[1]');\n" + . " Node.appendChild(document.createTextNode(' '));\n" . "\n" - . " Node.appendChild(document.createTextNode('"._i18n('1_email')."'));\n" // OG: must insert select node before creating options because of IE5 bug . " Node.appendChild(select);\n" . "\n" diff --git a/philter/philter/locales/plugins/autoreply.en.inc.php b/philter/philter/locales/plugins/autoreply.en.inc.php index 3a55722..c11fc4e 100644 --- a/philter/philter/locales/plugins/autoreply.en.inc.php +++ b/philter/philter/locales/plugins/autoreply.en.inc.php @@ -7,7 +7,6 @@ ********************************************************************************/ $philter->config['i18n']['2_auto_reply'] = 'Auto-Reply'; -$philter->config['i18n']['2_your_mail'] = ' Your mail : '; /******************************************************************************** * $Id$ diff --git a/philter/philter/locales/plugins/autoreply.fr.inc.php b/philter/philter/locales/plugins/autoreply.fr.inc.php index d8b5898..88f05aa 100644 --- a/philter/philter/locales/plugins/autoreply.fr.inc.php +++ b/philter/philter/locales/plugins/autoreply.fr.inc.php @@ -7,7 +7,6 @@ ********************************************************************************/ $philter->config['i18n']['2_auto_reply'] = 'Répondeur automatique'; -$philter->config['i18n']['2_your_mail'] = ' Ton mail : '; /******************************************************************************** * $Id$ diff --git a/philter/philter/locales/plugins/forward.en.inc.php b/philter/philter/locales/plugins/forward.en.inc.php index 5b9dcf2..f472fee 100644 --- a/philter/philter/locales/plugins/forward.en.inc.php +++ b/philter/philter/locales/plugins/forward.en.inc.php @@ -7,7 +7,6 @@ ********************************************************************************/ $philter->config['i18n']['1_fwd_to'] = 'Forward To'; -$philter->config['i18n']['1_email'] = ' email : '; /******************************************************************************** * $Id$ diff --git a/philter/philter/locales/plugins/forward.fr.inc.php b/philter/philter/locales/plugins/forward.fr.inc.php index 9fb7e93..3a09d47 100644 --- a/philter/philter/locales/plugins/forward.fr.inc.php +++ b/philter/philter/locales/plugins/forward.fr.inc.php @@ -7,7 +7,6 @@ ********************************************************************************/ $philter->config['i18n']['1_fwd_to'] = 'Transmettre à'; -$philter->config['i18n']['1_email'] = ' email : '; /******************************************************************************** * $Id$