PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/administrator/modules/mod_quickicon/tmpl/button.php

https://github.com/joebushi/joomla
PHP | 21 lines | 10 code | 3 blank | 8 comment | 0 complexity | ad8878ed657f0f7d45cbc915f21d67cf MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?php
  2. /**
  3. * @version $Id$
  4. * @package Joomla.Administrator
  5. * @subpackage mod_quickicon
  6. * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE.txt
  8. */
  9. // No direct access.
  10. defined('_JEXEC') or die;
  11. ?>
  12. <div class="icon-wrapper">
  13. <div class="icon">
  14. <a href="<?php echo $button['link']; ?>">
  15. <?php echo JHtml::_('image', 'header/'.$button['image'], $button['text'], NULL, true); ?>
  16. <span><?php echo $button['text']; ?></span></a>
  17. </div>
  18. </div>