summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-26 11:42:13 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:29:04 +0100
commita34252967563036feeb86340daf27e62575820f6 (patch)
tree16f39de7f7dc807c97845a10676bf62f779710bf
parent25c0d4c68a77a7501038160ee9f200ce99a56b81 (diff)
Drop plain text header/footer
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/html_footer.php1
-rw-r--r--application/views/file/html_header.php1
-rw-r--r--application/views/footer.php5
-rw-r--r--application/views/header.php6
4 files changed, 1 insertions, 12 deletions
diff --git a/application/views/file/html_footer.php b/application/views/file/html_footer.php
index bd07b63f9..7c9cac8f7 100644
--- a/application/views/file/html_footer.php
+++ b/application/views/file/html_footer.php
@@ -1,4 +1,3 @@
<div class="container">
<?php
-$force_full_html = true;
include(FCPATH."application/views/footer.php");
diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php
index 538fbc435..5f25b6acc 100644
--- a/application/views/file/html_header.php
+++ b/application/views/file/html_header.php
@@ -1,5 +1,4 @@
<?php
-$force_full_html = true;
include(FCPATH."application/views/header.php"); ?>
</div><!-- .container -->
diff --git a/application/views/footer.php b/application/views/footer.php
index 0797fa0df..e3d3bc752 100644
--- a/application/views/footer.php
+++ b/application/views/footer.php
@@ -1,8 +1,3 @@
-<?php
-if (is_cli_client() && !isset($force_full_html)) {
- return;
-}
-?>
</div><!-- .container -->
<div id="push"></div>
</div> <!-- #wrap -->
diff --git a/application/views/header.php b/application/views/header.php
index 06f197875..47d9a02f6 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -1,8 +1,4 @@
-<?php
-if (is_cli_client() && !isset($force_full_html)) {
- return;
-}
-?><!DOCTYPE html>
+<!DOCTYPE html>
<html lang="en">
<head>