diff options
author | Andrew Dolgov <[email protected]> | 2011-12-12 22:46:25 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-12 22:46:25 +0400 |
commit | f30ef1fa1bd76b497b5c0a64a92e2e0ef7116515 (patch) | |
tree | 59ed5f392c16d05ce3f86b5199b16f96ee40af1c /modules/pref-instances.php | |
parent | c9c4f6b7e3519accdae403346f79a5a03926c9f4 (diff) |
subop -> method
Diffstat (limited to 'modules/pref-instances.php')
-rw-r--r-- | modules/pref-instances.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/pref-instances.php b/modules/pref-instances.php index 463dc70c4..ca9a011e1 100644 --- a/modules/pref-instances.php +++ b/modules/pref-instances.php @@ -6,9 +6,9 @@ return; } - $subop = $_REQUEST['subop']; + $method = $_REQUEST['method']; - if ($subop == "remove") { + if ($method == "remove") { $ids = db_escape_string($_REQUEST['ids']); db_query($link, "DELETE FROM ttrss_linked_instances WHERE @@ -17,7 +17,7 @@ return; } - if ($subop == "add") { + if ($method == "add") { $id = db_escape_string($_REQUEST["id"]); $access_url = db_escape_string($_REQUEST["access_url"]); $access_key = db_escape_string($_REQUEST["access_key"]); @@ -40,7 +40,7 @@ return; } - if ($subop == "edit") { + if ($method == "edit") { $id = db_escape_string($_REQUEST["id"]); @@ -49,7 +49,7 @@ print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"id\" value=\"$id\">"; print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pref-instances\">"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"subop\" value=\"editSave\">"; + print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"editSave\">"; print "<div class=\"dlgSec\">".__("Instance")."</div>"; @@ -100,7 +100,7 @@ return; } - if ($subop == "editSave") { + if ($method == "editSave") { $id = db_escape_string($_REQUEST["id"]); $access_url = db_escape_string($_REQUEST["access_url"]); $access_key = db_escape_string($_REQUEST["access_key"]); |