aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 06:28:58 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 06:28:58 +0200
commit7623d6c81bebd7c300099841c280ddbec39abfb8 (patch)
tree6a2a54dc9671caad94c21232c367b7f8070fb991
parentada94c882ea1389ef810fa7a920d27fd48dc34a8 (diff)
downloadelgg-7623d6c81bebd7c300099841c280ddbec39abfb8.tar.gz
elgg-7623d6c81bebd7c300099841c280ddbec39abfb8.tar.bz2
Deleted metatags from <body> (they are also in <head>).
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php4
-rw-r--r--views/default/dokuwiki/metatags.php2
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index d5c117c1b..2de6f4987 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -38,9 +38,6 @@ if (empty($sidebar_inline) && empty($page_inline)) {
echo page_draw("dokuwiki",$body);
}
else {
-
- echo elgg_view("dokuwiki/metatags");
-
$all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid();
$all_text = elgg_echo('link:view:all');
$all_link = "<a href=\"$all_link\">$all_text</a>";
@@ -50,7 +47,6 @@ else {
'content' => $content . $sidebar,
'all_link' => $all_link,
));
-
}
diff --git a/views/default/dokuwiki/metatags.php b/views/default/dokuwiki/metatags.php
index b70fa4a32..50cb9041b 100644
--- a/views/default/dokuwiki/metatags.php
+++ b/views/default/dokuwiki/metatags.php
@@ -1,5 +1,5 @@
<?php
-if (get_context() == "dokuwiki") {
+if (elgg_get_context() == "dokuwiki") {
tpl_metaheaders();
}
?>