mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 16:50:07 +02:00
Downloads: Issue #2544 - Fix for e_PAGETITLE. 'view/pagetitle' template added.
This commit is contained in:
@@ -44,7 +44,6 @@ if (!e107::isInstalled('download'))
|
||||
|
||||
$dl = new download();
|
||||
|
||||
if(!defined("e_PAGETITLE")) {define("e_PAGETITLE", LAN_PLUGIN_DOWNLOAD_NAME);}
|
||||
|
||||
if(!defined("USER_WIDTH") && !deftrue('BOOTSTRAP')) { define("USER_WIDTH","width:100%"); }
|
||||
|
||||
@@ -92,6 +91,9 @@ if (!e107::isInstalled('download'))
|
||||
|
||||
$texts = $dl->render(); // Load before header.
|
||||
|
||||
|
||||
if(!defined("e_PAGETITLE")) {define("e_PAGETITLE", LAN_PLUGIN_DOWNLOAD_NAME);}
|
||||
|
||||
require_once (HEADERF);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user