mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Updated define('e_PAGETITLE') to e107::title()
This commit is contained in:
parent
34b9e454da
commit
8b2e6b955a
@ -142,9 +142,6 @@ if (isset($_POST['commentsubmit']))
|
||||
|
||||
$pageTitle = '';
|
||||
|
||||
|
||||
// define("e_PAGETITLE", $ftmp['caption']);
|
||||
|
||||
if (vartrue($faqpref['page_title']))
|
||||
{
|
||||
$pageTitle = $faqpref['page_title'][e_LANGUAGE];
|
||||
@ -158,20 +155,18 @@ if (isset($_POST['commentsubmit']))
|
||||
{
|
||||
$pageTitle .= ": ".$ftmp['pagetitle'];
|
||||
}
|
||||
e107::getMessage()->addDebug("TITLE: " . $pageTitle);
|
||||
|
||||
// e107::getMessage()->addDebug("TITLE: " . $pageTitle);
|
||||
|
||||
e107::meta('og:title', $pageTitle);
|
||||
e107::title($pageTitle);
|
||||
|
||||
if(!empty($ftmp['pagedescription']))
|
||||
{
|
||||
|
||||
e107::meta('og:description', $ftmp['pagedescription']);
|
||||
}
|
||||
|
||||
define('e_PAGETITLE', $pageTitle);
|
||||
|
||||
|
||||
|
||||
|
||||
require_once (HEADERF);
|
||||
|
||||
e107::getRender()->tablerender($ftmp['caption'], $ftmp['text']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user