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:
@@ -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';
|
||||||
|
@@ -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";
|
||||||
|
Reference in New Issue
Block a user