mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Navigation Menu added.
This commit is contained in:
14
e107_plugins/navigation/navigation_menu.php
Normal file
14
e107_plugins/navigation/navigation_menu.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
$parm['type'] = !empty($parm['type']) ? $parm['type'] : 'main';
|
||||
$parm['layout'] = !empty($parm['layout']) ? $parm['layout'] : $parm['type'];
|
||||
|
||||
require_once(e_CORE."shortcodes/single/navigation.php");
|
||||
|
||||
$text = navigation_shortcode($parm);
|
||||
|
||||
$caption = isset($parm['caption'][e_LANGUAGE]) ? $parm['caption'][e_LANGUAGE] : LAN_PLUGIN_NAVIGATION_NAME;
|
||||
|
||||
e107::getRender()->tablerender($caption, $text);
|
||||
|
Reference in New Issue
Block a user