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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user