aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-23 22:23:19 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-23 22:23:19 +0000
commit84ba687ada81314480bbcd0f0c1883bfcaac3f20 (patch)
treea9b0ed83c012bbd0517ba209fd474a6bbe3f9c5e /views/default/page_elements
parent4ba95f6d9b85746a5fdae7e9847f096d7d223f02 (diff)
downloadelgg-84ba687ada81314480bbcd0f0c1883bfcaac3f20.tar.gz
elgg-84ba687ada81314480bbcd0f0c1883bfcaac3f20.tar.bz2
Fixes #2270 - deprecates metatags view and replaces with html_head/extend
git-svn-id: http://code.elgg.org/elgg/trunk@7428 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r--views/default/page_elements/html_begin.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/page_elements/html_begin.php b/views/default/page_elements/html_begin.php
index ebd4c008a..68607f1ec 100644
--- a/views/default/page_elements/html_begin.php
+++ b/views/default/page_elements/html_begin.php
@@ -77,7 +77,13 @@ foreach ($css as $link) {
echo elgg_view('scripts/initialize_elgg');
echo $feedref;
-echo elgg_view('metatags', $vars);
+
+$metatags = elgg_view('metatags', $vars);
+if ($metatags) {
+ elgg_deprecated_notice("The metatags view has been deprecated for html_head/extend", 1.8);
+ echo $metatags;
+}
+echo elgg_view('html_head/extend', $vars);
?>
</head>