summaryrefslogtreecommitdiffstats
path: root/application/views/footer.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-10-22 23:07:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-10-22 23:07:25 +0200
commit3a169c7c01eeba01678ab5c9d88b4d6e8786b36e (patch)
tree201f37de0d018d3332e16030118bf680b5946941 /application/views/footer.php
parent2fcdedfbfda6d351f95d0a55c2ce360f71da36a4 (diff)
Don't send a cli client unwanted HTML code
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/footer.php')
-rw-r--r--application/views/footer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/views/footer.php b/application/views/footer.php
index 92b305999..3d6901748 100644
--- a/application/views/footer.php
+++ b/application/views/footer.php
@@ -1,3 +1,8 @@
+<?php
+if (is_cli_client() && !isset($force_full_html)) {
+ return;
+}
+?>
</div>
<script src="<?php echo link_with_mtime("/data/js/jquery-1.8.2.min.js"); ?>"></script>