]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/nsfw/init.php
use xhrPost in more places
[tt-rss.git] / plugins / nsfw / init.php
index 51566592383cecac780c19a4eef201fd3ac1e03f..f10881ba5f56ce0d9166f1b8d979cc67f7cd6276 100644 (file)
@@ -70,9 +70,9 @@ class NSFW extends Plugin {
                        }
                        </script>";
 
-                       print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pluginhandler\">";
-                       print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
-                       print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"nsfw\">";
+                       print_hidden("op", "pluginhandler");
+                       print_hidden("method", "save");
+                       print_hidden("plugin", "nsfw");
 
                        print "<table width=\"100%\" class=\"prefPrefsList\">";
 
@@ -104,5 +104,4 @@ class NSFW extends Plugin {
                return 2;
        }
 
-}
-?>
+}
\ No newline at end of file