From 84ba687ada81314480bbcd0f0c1883bfcaac3f20 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 23 Nov 2010 22:23:19 +0000 Subject: 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 --- views/default/page_elements/html_begin.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views/default/page_elements') 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); ?> -- cgit v1.2.3