simplifications
[old-projects.git] / philter / philter / include / plugin_forward.inc.php
index 2b0617a..4e2c6a0 100644 (file)
@@ -10,7 +10,7 @@
 class FwdPlugin extends ActionPlugin {
     function FwdPlugin() { $this->ActionPlugin(); }
     function rtti() { return 1; }
-    function name() { return "Forward To"; }
+    function name() { return _i18n('1_fwd_to'); }
 
     function to_js() {
         $res  = "function(Node, data) {\n"
@@ -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(' email : '));\n"
             // OG: must insert select node before creating options because of IE5 bug
             .   "    Node.appendChild(select);\n"
             .   "\n"