aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 15:20:53 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 15:20:53 +0200
commitf8be8643f0faadb2c0ce87d553b7b9d569af5afd (patch)
tree22b40a91e6ea0ee6145e0a33dfa44d9a354709ef
parent2849c87594ebe62d418c9eff7645697cf328b144 (diff)
downloadelgg-f8be8643f0faadb2c0ce87d553b7b9d569af5afd.tar.gz
elgg-f8be8643f0faadb2c0ce87d553b7b9d569af5afd.tar.bz2
Solved <div> without odd things.
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php2
-rw-r--r--lib/dokuwiki/lib/tpl/default/main_index.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index 9f9618d49..11c4ea967 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -22,7 +22,7 @@ $page_inline = get_input("inline_page");
if (empty($sidebar_inline)) {
ob_start();
include(dirname(__FILE__).'/main_index.php');
-$content = '<div>'.ob_get_clean();
+$content = ob_get_clean();
}
if (empty($page_inline)) {
diff --git a/lib/dokuwiki/lib/tpl/default/main_index.php b/lib/dokuwiki/lib/tpl/default/main_index.php
index 263e47757..31a7ebafb 100644
--- a/lib/dokuwiki/lib/tpl/default/main_index.php
+++ b/lib/dokuwiki/lib/tpl/default/main_index.php
@@ -130,7 +130,6 @@ $page_inline = get_input("inline_page");
<?php/* tpl_license(false);*/?>
-</div>
<?php /*old includehook @include(dirname(__FILE__).'/footer.html')*/ ?>
<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>