1
0
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:
Cameron
2017-03-31 15:19:19 -07:00
parent 3c65faf6e3
commit 3758d55e1c
3 changed files with 15 additions and 17 deletions

View File

@@ -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);