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

Revert changes by infopanel, and introduce flexpanel, which extends infopanel funcionality.

This commit is contained in:
lonalore
2016-11-07 14:12:19 +01:00
parent 6d96cdbeab
commit 3a3734ef86
9 changed files with 504 additions and 219 deletions

View File

@@ -411,12 +411,11 @@ class admin_shortcodes
function sc_admin_latest($parm)
{
if($parm == 'infopanel' && e_PAGE != 'admin.php')
if(($parm == 'infopanel' || $parm == 'flexpanel') && e_PAGE != 'admin.php')
{
return;
}
if (ADMIN) {
if (!function_exists('admin_latest')) //XXX Is this still necessary?
{
@@ -1095,7 +1094,7 @@ class admin_shortcodes
function sc_admin_status($parm)
{
if($parm == 'infopanel' && e_PAGE != 'admin.php')
if(($parm == 'infopanel' || $parm == 'flexpanel') && e_PAGE != 'admin.php')
{
return;
}