summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php19
1 files changed, 18 insertions, 1 deletions
diff --git a/index.php b/index.php
index 53901ec6e..3a68c90f6 100644
--- a/index.php
+++ b/index.php
@@ -79,7 +79,11 @@
}
foreach (array("tt-rss", "functions", "feedlist", "viewfeed", "FeedTree") as $js) {
- echo JSMin::minify(file_get_contents("js/$js.js"));
+ if (!isset($_GET['debug'])) {
+ echo JSMin::minify(file_get_contents("js/$js.js"));
+ } else {
+ echo file_get_contents("js/$js.js");
+ }
}
?>
</script>
@@ -179,6 +183,19 @@
<option value="score"><?php echo __('Score') ?></option>
</select>
+ &nbsp;
+
+ <!-- <input dojoType="dijit.form.CheckBox" type="checkbox"
+ onchange="viewCurrentFeed()"
+ name="include_children" id="include_children">
+ <label id="include_children_label" for="include_children">
+ <?php echo __('With subcategories') ?></label> -->
+
+ <button dojoType="dijit.form.ToggleButton" name="include_children"
+ id="include_children"
+ onchange="viewCurrentFeed()">
+ <?php echo __('With subcategories') ?></button>
+
<button dojoType="dijit.form.Button" name="update"
onclick="scheduleFeedUpdate()">
<?php echo __('Update') ?></button>