1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Infopanel can now be customized with any available menu item. Also, some additional serialize cleanup in plugin_class.php

This commit is contained in:
CaMer0n
2009-09-03 01:27:27 +00:00
parent 722e007d51
commit 262c075a49
3 changed files with 188 additions and 187 deletions

View File

@@ -1,11 +1,11 @@
<?php
/* $Id: plugin.php,v 1.1 2009-08-16 23:58:31 e107coders Exp $ */
/* $Id: plugin.php,v 1.2 2009-09-03 01:27:27 e107coders Exp $ */
function plugin_shortcode($parm)
{
global $sql, $tp, $ns;
$menu = $parm;
list($menu,$return) = explode("|",$parm);
$path = $tp -> toDB(dirname($menu));
$name = $tp -> toDB(basename($menu));
@@ -14,5 +14,5 @@ function plugin_shortcode($parm)
{
$path = $menu;
}
return e107::getMenu()->renderMenu($path,$name);
return e107::getMenu()->renderMenu($path,$name,$mode,$return);
}