1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

e107 News Panel now working from Twitter feed.

This commit is contained in:
Cameron
2012-12-04 00:14:43 -08:00
parent 5922832b6d
commit 1c9e44a0e8
6 changed files with 625 additions and 276 deletions

View File

@@ -26,6 +26,15 @@ if($_GET['iframe'] == 1)
}
$e_sub_cat = 'main';
if($pref['adminstyle'] == 'infopanel')
{
require_once(e_ADMIN.'includes/'.$pref['adminstyle'].'.php');
$adp = new adminstyle_infopanel;
}
require_once('auth.php');
require_once(e_HANDLER.'admin_handler.php');
require_once(e_HANDLER.'upload_handler.php');
@@ -256,11 +265,17 @@ function render_clean()
if(is_object($adp))
{
$adp->render();
}
else
{
require_once(e_ADMIN.'includes/'.$pref['adminstyle'].'.php');
}
require_once(e_ADMIN.'includes/'.$pref['adminstyle'].'.php');
function admin_info()
{
global $tp;