mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-06-08 01:10:47 +00:00
25 lines
607 B
PHP
25 lines
607 B
PHP
<?php
|
|
/**
|
|
* @package Joomla.Administrator
|
|
* @subpackage Weblinks
|
|
*
|
|
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\Helper\ModuleHelper;
|
|
use Joomla\Module\Weblinks\Site\Helper\WeblinksHelper;
|
|
|
|
$list = WeblinksHelper::getList($params, $app);
|
|
|
|
if (empty($list))
|
|
{
|
|
return;
|
|
}
|
|
|
|
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
|
|
|
|
require ModuleHelper::getLayoutPath('mod_weblinks', $params->get('layout', 'default'));
|