summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 465d3bcd9..2ba0740c4 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -461,6 +461,48 @@
return;
}
+/* if ($id == "offlineDownload") {
+ print "<div id=\"infoBoxTitle\">".__('Download articles')."</div>";
+ print "<div class=\"infoBoxContents\">";
+
+ print "<form name='download_ops_form' id='download_ops_form'>";
+
+ print "<div class=\"dlgSec\">".__("Download")."</div>";
+
+ print "<div class=\"dlgSecCont\">";
+
+ $amount = array(
+ 50 => 50,
+ 100 => 100,
+ 250 => 250,
+ 500 => 500);
+
+ print_select_hash("amount", 50, $amount);
+
+ print " " . __("latest articles for offline reading.");
+
+ print "<br/>";
+
+ print "<input checked='yes' type='checkbox' name='unread_only' id='unread_only'>";
+ print "<label for='unread_only'>".__('Only include unread articles')."</label>";
+
+ print "</div>";
+
+ print "</form>";
+
+ print "<div class=\"dlgButtons\">
+ <input class=\"button\"
+ type=\"submit\" onclick=\"return initiate_offline_download(0, this)\" value=\"".__('Download')."\">
+ <input class=\"button\"
+ type=\"submit\" onclick=\"return closeInfoBox()\"
+ value=\"".__('Cancel')."\"></div>";
+
+ print "</div>";
+
+ return;
+ } */
+
+
print "<div id='infoBoxTitle'>Internal Error</div>
<div id='infoBoxContents'>
<p>Unknown dialog <b>$id</b></p>