mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 17:09:46 +01:00
Added missing shortcode for MENUAREA.
This commit is contained in:
parent
76bb75e802
commit
49aac0b88a
26
e107_core/shortcodes/single/menuarea.php
Normal file
26
e107_core/shortcodes/single/menuarea.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2019 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
if(!defined('e107_INIT'))
|
||||
{
|
||||
exit();
|
||||
}
|
||||
|
||||
/**
|
||||
* @example {MENUAREA=1}
|
||||
*/
|
||||
|
||||
function menuarea_shortcode($parm, $mode='')
|
||||
{
|
||||
|
||||
return e107::getMenu()->renderArea($parm);
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user