|
|
@ -36,6 +36,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
print "</div>";
|
|
|
|
print "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id == "quickAddFeed") {
|
|
|
|
if ($id == "quickAddFeed") {
|
|
|
@ -52,7 +53,7 @@
|
|
|
|
print "<table width='100%'>
|
|
|
|
print "<table width='100%'>
|
|
|
|
<tr><td>Feed URL:</td><td>
|
|
|
|
<tr><td>Feed URL:</td><td>
|
|
|
|
<input class=\"iedit\" onblur=\"javascript:enableHotkeys()\"
|
|
|
|
<input class=\"iedit\" onblur=\"javascript:enableHotkeys()\"
|
|
|
|
onkeypress=\"return filterCR(event, qafAdd)\"
|
|
|
|
onkeypress=\"return filterCR(event, qaddFeed)\"
|
|
|
|
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
|
|
|
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
|
|
|
onchange=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
|
|
|
onchange=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
|
|
|
onfocus=\"javascript:disableHotkeys()\" name=\"feed_url\"></td></tr>";
|
|
|
|
onfocus=\"javascript:disableHotkeys()\" name=\"feed_url\"></td></tr>";
|
|
|
@ -69,10 +70,12 @@
|
|
|
|
print "<div align='right'>
|
|
|
|
print "<div align='right'>
|
|
|
|
<input class=\"button\"
|
|
|
|
<input class=\"button\"
|
|
|
|
id=\"fadd_submit_btn\" disabled=\"true\"
|
|
|
|
id=\"fadd_submit_btn\" disabled=\"true\"
|
|
|
|
type=\"submit\" onclick=\"return qafAdd()\" value=\"".__('Subscribe')."\">
|
|
|
|
type=\"submit\" onclick=\"return qaddFeed()\" value=\"".__('Subscribe')."\">
|
|
|
|
<input class=\"button\"
|
|
|
|
<input class=\"button\"
|
|
|
|
type=\"submit\" onclick=\"return closeInfoBox()\"
|
|
|
|
type=\"submit\" onclick=\"return closeInfoBox()\"
|
|
|
|
value=\"".__('Cancel')."\"></div>";
|
|
|
|
value=\"".__('Cancel')."\"></div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id == "search") {
|
|
|
|
if ($id == "search") {
|
|
|
@ -153,6 +156,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
print "</div>";
|
|
|
|
print "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id == "quickAddLabel") {
|
|
|
|
if ($id == "quickAddLabel") {
|
|
|
@ -200,6 +205,8 @@
|
|
|
|
print "<input class=\"button\"
|
|
|
|
print "<input class=\"button\"
|
|
|
|
type=\"submit\" onclick=\"return labelEditCancel()\"
|
|
|
|
type=\"submit\" onclick=\"return labelEditCancel()\"
|
|
|
|
value=\"".__('Cancel')."\">";
|
|
|
|
value=\"".__('Cancel')."\">";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id == "quickAddFilter") {
|
|
|
|
if ($id == "quickAddFilter") {
|
|
|
@ -279,7 +286,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
print "<input type=\"submit\"
|
|
|
|
print "<input type=\"submit\"
|
|
|
|
id=\"infobox_submit\"
|
|
|
|
id=\"infobox_submit\"
|
|
|
|
class=\"button\" onclick=\"return qaddFilter()\"
|
|
|
|
class=\"button\" onclick=\"return addFilter()\"
|
|
|
|
disabled=\"true\" value=\"".__('Create')."\"> ";
|
|
|
|
disabled=\"true\" value=\"".__('Create')."\"> ";
|
|
|
|
|
|
|
|
|
|
|
|
print "<input class=\"button\"
|
|
|
|
print "<input class=\"button\"
|
|
|
@ -290,6 +297,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
// print "</td></tr></table>";
|
|
|
|
// print "</td></tr></table>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($id == "feedUpdateErrors") {
|
|
|
|
if ($id == "feedUpdateErrors") {
|
|
|
@ -379,8 +387,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
print "</div>";
|
|
|
|
print "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
print "</div>";
|
|
|
|
print "<div id='infoBoxTitle'>Internal Error</div>
|
|
|
|
|
|
|
|
<div id='infoBoxContents'>
|
|
|
|
|
|
|
|
<p>Unknown dialog <b>$id</b></p>
|
|
|
|
|
|
|
|
</div></div>";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|