X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=philter%2Fphilter%2Finclude%2Fplugin_forward.inc.php;h=fb1d0d45c810c57ef110c871a0e1a827541087ca;hb=27c46cc101c9b69ebcb22ffd9696c4acc3eeeb8e;hp=4e2c6a01182f0508b7d0a4ac054d3473ee2dadda;hpb=99dcf940fad4ce8a16963aa9466c668db2876c99;p=old-projects.git diff --git a/philter/philter/include/plugin_forward.inc.php b/philter/philter/include/plugin_forward.inc.php index 4e2c6a0..fb1d0d4 100644 --- a/philter/philter/include/plugin_forward.inc.php +++ b/philter/philter/include/plugin_forward.inc.php @@ -13,25 +13,30 @@ class FwdPlugin extends ActionPlugin { function name() { return _i18n('1_fwd_to'); } function to_js() { - $res = "function(Node, data) {\n" - . " var i,j;\n" - . " var sel = 0;\n" - . " var select = document.createElement('select');\n" - . " select.setAttribute('name', Node.name+'[1]');\n" - . " Node.appendChild(document.createTextNode(' '));\n" - . "\n" - // OG: must insert select node before creating options because of IE5 bug - . " Node.appendChild(select);\n" - . "\n" - . " for(i=0,j=0; iemails[$_data[1]]->email."\n"; } }