summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-05 14:45:34 +0100
committerAndrew Dolgov <[email protected]>2007-03-05 14:45:34 +0100
commit5e6f933a322fed7b6818955532bb1b41d1248383 (patch)
tree87939f224449c484738991d49480ebaf758e69bf /modules/popup-dialog.php
parent4dccf1ed93948f6e75750c31ba6bb0abf053e52b (diff)
more i18n work, add some report notices
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php21
1 files changed, 17 insertions, 4 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 6ac80be74..8fe1ac4b3 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -36,6 +36,7 @@
print "</div>";
+ return;
}
if ($id == "quickAddFeed") {
@@ -52,7 +53,7 @@
print "<table width='100%'>
<tr><td>Feed URL:</td><td>
<input class=\"iedit\" onblur=\"javascript:enableHotkeys()\"
- onkeypress=\"return filterCR(event, qafAdd)\"
+ onkeypress=\"return filterCR(event, qaddFeed)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
onchange=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
onfocus=\"javascript:disableHotkeys()\" name=\"feed_url\"></td></tr>";
@@ -69,10 +70,12 @@
print "<div align='right'>
<input class=\"button\"
id=\"fadd_submit_btn\" disabled=\"true\"
- type=\"submit\" onclick=\"return qafAdd()\" value=\"".__('Subscribe')."\">
+ type=\"submit\" onclick=\"return qaddFeed()\" value=\"".__('Subscribe')."\">
<input class=\"button\"
type=\"submit\" onclick=\"return closeInfoBox()\"
value=\"".__('Cancel')."\"></div>";
+
+ return;
}
if ($id == "search") {
@@ -153,6 +156,8 @@
print "</div>";
+ return;
+
}
if ($id == "quickAddLabel") {
@@ -200,6 +205,8 @@
print "<input class=\"button\"
type=\"submit\" onclick=\"return labelEditCancel()\"
value=\"".__('Cancel')."\">";
+
+ return;
}
if ($id == "quickAddFilter") {
@@ -279,7 +286,7 @@
print "<input type=\"submit\"
id=\"infobox_submit\"
- class=\"button\" onclick=\"return qaddFilter()\"
+ class=\"button\" onclick=\"return addFilter()\"
disabled=\"true\" value=\"".__('Create')."\"> ";
print "<input class=\"button\"
@@ -290,6 +297,7 @@
// print "</td></tr></table>";
+ return;
}
if ($id == "feedUpdateErrors") {
@@ -379,8 +387,13 @@
print "</div>";
+ return;
}
- print "</div>";
+ print "<div id='infoBoxTitle'>Internal Error</div>
+ <div id='infoBoxContents'>
+ <p>Unknown dialog <b>$id</b></p>
+ </div></div>";
+
}
?>