1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Meta work - done.

This commit is contained in:
CaMer0n
2012-05-11 10:30:30 +00:00
parent f92cd53c39
commit 64571fb92e
2 changed files with 3 additions and 2 deletions

View File

@@ -3698,8 +3698,9 @@ class eResponse
*/ */
public function renderMeta() public function renderMeta()
{ {
$this->_meta = array_unique($this->_meta);
$attrData = ''; $attrData = '';
foreach ($this->_meta as $attr) foreach ($this->_meta as $attr)
{ {
$attrData .= '<meta'; $attrData .= '<meta';

View File

@@ -106,7 +106,7 @@ echo "<head>
echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : ""; echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
echo e107::getUrl()->response()->renderMeta(); echo e107::getUrl()->response()->renderMeta()."\n";
echo "<title>".(defined('e_PAGETITLE') ? e_PAGETITLE.' - ' : (defined('PAGE_NAME') ? PAGE_NAME.' - ' : "")).SITENAME."</title>\n\n"; echo "<title>".(defined('e_PAGETITLE') ? e_PAGETITLE.' - ' : (defined('PAGE_NAME') ? PAGE_NAME.' - ' : "")).SITENAME."</title>\n\n";