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

Issue #4332 Carousel fixes. Newsfeed now uses json to store data.

This commit is contained in:
Cameron
2021-01-01 09:33:51 -08:00
parent e6ceafd496
commit 81634d5f5a
16 changed files with 46 additions and 37 deletions

View File

@@ -1,7 +1,11 @@
<?php
if(!is_array($parm))
{
$parm = array();
}
$parm['type'] = !empty($parm['type']) ? $parm['type'] : 'main';
$parm['type'] = !empty($parm['type']) ? $parm['type'] : 'side';
$parm['layout'] = !empty($parm['layout']) ? $parm['layout'] : $parm['type'];
require_once(e_CORE."shortcodes/single/navigation.php");