summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-13 12:48:49 +0300
committerAndrew Dolgov <[email protected]>2010-01-13 12:48:49 +0300
commita5819bb35d94e318d3d221dd7bbc4bea36c24ef0 (patch)
tree18d5effb206f985d16a4629eeca7ff68d6230743 /modules/popup-dialog.php
parent542aebacb73d9fe571048d01d9ffc12d4bca1643 (diff)
code cleanup; remove unnecessary callbacks; rework subscribtion dialog
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index a035cfe91..b5aae1846 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -90,9 +90,9 @@
print "<form id='feed_add_form' onsubmit='return false'>";
- print "<input type=\"hidden\" name=\"op\" value=\"pref-feeds\">";
- print "<input type=\"hidden\" name=\"subop\" value=\"add\">";
- print "<input type=\"hidden\" name=\"from\" value=\"tt-rss\">";
+ print "<input type=\"hidden\" name=\"op\" value=\"rpc\">";
+ print "<input type=\"hidden\" name=\"subop\" value=\"addfeed\">";
+ //print "<input type=\"hidden\" name=\"from\" value=\"tt-rss\">";
print "<div class=\"dlgSec\">".__("Feed")."</div>";
print "<div class=\"dlgSecCont\">";
@@ -101,13 +101,13 @@
print "<input size=\"40\"
onkeypress=\"return filterCR(event, subscribeToFeed)\"
- name=\"feed_url\" id=\"feed_url\"></td></tr>";
+ name=\"feed\" id=\"feed_url\"></td></tr>";
print "<br/>";
if (get_pref($link, 'ENABLE_FEED_CATS')) {
print __('Place in category:') . " ";
- print_feed_cat_select($link, "cat_id");
+ print_feed_cat_select($link, "cat");
}
print "</div>";
@@ -117,10 +117,10 @@
<div class=\"dlgSec\">".__("Authentication")."</div>
<div class=\"dlgSecCont\">".
- __('Login:') . " <input name='auth_login' size=\"20\"
+ __('Login:') . " <input name='login' size=\"20\"
onkeypress=\"return filterCR(event, subscribeToFeed)\"> ".
__('Password:') . "<input type='password'
- name='auth_pass' size=\"20\"
+ name='pass' size=\"20\"
onkeypress=\"return filterCR(event, subscribeToFeed)\">
</div></div>";