PageRenderTime 53ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/redirect/code/trunk/administrator/components/com_redirect/helpers/html/redirect.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 32 lines | 14 code | 2 blank | 16 comment | 0 complexity | da3849a522e83cfeddfc206dc280dc74 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: redirect.php 573 2011-02-25 04:57:47Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_redirect
  6. * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
  7. * @license GNU General Public License version 2 or later.
  8. * @link http://www.theartofjoomla.com
  9. * @author Andrew Eddie <andrew.eddie@newlifeinit.com>
  10. */
  11. // no direct access
  12. defined('_JEXEC') or die;
  13. /**
  14. * Component HTML Helper
  15. *
  16. * @package NewLifeInIT
  17. * @subpackage com_redirect
  18. */
  19. class JHtmlRedirect
  20. {
  21. function footer()
  22. {
  23. JHtml::_('behavior.modal', 'a.modal');
  24. echo '<div id="taojfooter">';
  25. echo '<a href="'.JRoute::_('index.php?option=com_redirect&view=about&tmpl=component').'" class="modal" rel="{handler: \'iframe\'}">';
  26. echo 'Redirect '.RedirectVersion::getVersion(true, true).'</a>';
  27. echo ' &copy; 2005 - 2010 <a href="http://www.newlifeinit.com" target="_blank">New Life in IT Pty Ltd</a>. All rights reserved.';
  28. echo '</div>';
  29. }
  30. }