Current Path :
/
home
/
develito
/
www
/
modules
/
mod_abook_allinone
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/www/modules/mod_abook_allinone/mod_abook_allinone.php
<?php /** * @package All in one module for Abook * @copyright (C) 2010-2019 Federica Ugolotti * @license GNU/GPL, see LICENSE.php * Abook is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License 3 * as published by the Free Software Foundation. * Abook is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with Abook; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // no direct access defined('_JEXEC') or die('Restricted access'); if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); } // Include the syndicate functions only once require_once (dirname(__FILE__).DS.'helper.php'); $document = JFactory::getDocument(); $document->addStyleSheet( 'modules/mod_abook_allinone/assets/css/style.css', 'text/css' ); $list = modAbookAllinoneHelper::getList($params); if (!count($list)) { return; } //$layout = $params->get('show_image', 'with_images'); //$layout = JFilterInput::clean($layout, 'word'); require JModuleHelper::getLayoutPath('mod_abook_allinone', $params->get('layout', 'default'));