1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Custom template and layout for admin dashboard.

This commit is contained in:
Lóna Lore
2016-11-04 10:40:45 +01:00
parent 403fcf5421
commit 8a121f22ca
5 changed files with 119 additions and 104 deletions

View File

@@ -33,6 +33,9 @@ if (varset($pref['adminstyle'])=='cascade' || varset($pref['adminstyle'])=='begi
if(strpos($pref['adminstyle'], 'infopanel') === 0)
{
// Define constant for using custom template on the dashboard.
define('e_DASHBOARD', true);
require_once(e_ADMIN.'includes/'.$pref['adminstyle'].'.php');
$_class = 'adminstyle_'.$pref['adminstyle'];
if(class_exists($_class, false))