mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
theming options added
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* $Id: menu.php,v 1.2 2009-02-05 11:54:59 secretr Exp $ */
|
||||
/* $Id: menu.php,v 1.3 2009-08-14 15:57:45 e107coders Exp $ */
|
||||
|
||||
function menu_shortcode($parm)
|
||||
{
|
||||
@@ -19,6 +19,8 @@ function menu_shortcode($parm)
|
||||
ob_start();
|
||||
}
|
||||
|
||||
e107::getRender()->eMenuArea = $tmp[0];
|
||||
|
||||
foreach($eMenuList[$tmp[0]] as $row)
|
||||
{
|
||||
$show_menu = TRUE;
|
||||
@@ -121,6 +123,9 @@ function menu_shortcode($parm)
|
||||
}
|
||||
}
|
||||
|
||||
e107::getRender()->eMenuCount = 0;
|
||||
e107::getRender()->eMenuArea = null;
|
||||
|
||||
if ($buffer_output)
|
||||
{
|
||||
$ret = ob_get_contents();
|
||||
|
Reference in New Issue
Block a user