summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-25 13:16:26 +0100
committerAndrew Dolgov <[email protected]>2007-08-25 13:16:26 +0100
commit18ab3d7ae1e1fbf7c58247ccf54045e99bbbae61 (patch)
tree2d022eac1f8f28fbb4fd62e47da13c666f21a762 /modules
parent288487e429cea9261ccfdaaf8724f71270b9a06b (diff)
refactor qaddFeed, addFilter
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 66b44da70..34f6311c9 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -61,7 +61,7 @@
print "<table width='100%'>
<tr><td width='20%'>".__('Feed URL:')."</td><td>
<input class=\"iedit\" onblur=\"javascript:enableHotkeys()\"
- onkeypress=\"return filterCR(event, qaddFeed)\"
+ onkeypress=\"return filterCR(event, subscribeToFeed)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
onchange=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
onfocus=\"javascript:disableHotkeys()\" name=\"feed_url\"></td></tr>";
@@ -87,9 +87,9 @@
print "<div id='fadd_login_container' style='display:none'>
<table width='100%'>
- <tr><td width='20%'>".__('Login:')."</td><td><input name='auth_login' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, qaddFeed)\"></td></tr>
+ <tr><td width='20%'>".__('Login:')."</td><td><input name='auth_login' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, subscribeToFeed)\"></td></tr>
<tr><td>".__('Password:')."</td><td><input type='password'
- name='auth_pass' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, qaddFeed)\"></td></tr>
+ name='auth_pass' class='iedit' onfocus=\"javascript:disableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" onkeypress=\"return filterCR(event, subscribeToFeed)\"></td></tr>
</table>
</div>";
@@ -98,7 +98,7 @@
print "<div style='float : right'>
<input class=\"button\"
id=\"fadd_submit_btn\" disabled=\"true\"
- type=\"submit\" onclick=\"return qaddFeed()\" value=\"".__('Subscribe')."\">
+ type=\"submit\" onclick=\"return subscribeToFeed()\" value=\"".__('Subscribe')."\">
<input class=\"button\"
type=\"submit\" onclick=\"return closeInfoBox()\"
value=\"".__('Cancel')."\"></div>
@@ -271,7 +271,7 @@
print "<table width='100%'>";
print "<tr><td>".__('Match:')."</td>
- <td><input onkeypress=\"return filterCR(event, qaddFilter)\"
+ <td><input onkeypress=\"return filterCR(event, createFilter)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
onchange=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
name=\"reg_exp\" class=\"iedit\">";
@@ -320,7 +320,7 @@
print "<input type=\"submit\"
id=\"infobox_submit\"
- class=\"button\" onclick=\"return addFilter()\"
+ class=\"button\" onclick=\"return createFilter()\"
disabled=\"true\" value=\"".__('Create')."\"> ";
print "<input class=\"button\"