Esempio n. 1
0
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  mod_quickicon
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
require_once dirname(__FILE__) . '/helper.php';
$buttons = modQuickIconHelper::getButtons($params);
require JModuleHelper::getLayoutPath('mod_quickicon', $params->get('layout', 'default'));
Esempio n. 2
0
<?php

/**
 * @version		$Id$
 * @package		Joomla.Administrator
 * @subpackage	mod_quickicon
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$buttons = modQuickIconHelper::getButtons();
?>
<div id="cpanel">
<?php 
foreach ($buttons as $button) {
    echo modQuickIconHelper::button($button);
}
?>
</div>