1
0
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:
Cameron
2020-12-29 12:48:57 -08:00
parent 10ad436e28
commit a4e380d6a1
4 changed files with 97 additions and 0 deletions

View 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);