PageRenderTime 42ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/redirect/code/trunk/administrator/components/com_redirect/views/about/tmpl/default.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 83 lines | 55 code | 17 blank | 11 comment | 4 complexity | 02119f46865619da2bda12bf57498188 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: default.php 390 2010-11-05 11:35:33Z 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 <http://www.fsf.org/licensing/licenses/gpl.html>
  8. * @link http://www.theartofjoomla.com
  9. */
  10. // No direct access.
  11. defined('_JEXEC') or die;
  12. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
  13. JHtml::stylesheet('default.css', 'administrator/components/com_redirect/media/css/');
  14. // Initialise variables.
  15. $db = $this->get('Dbo');
  16. $jVersion = new JVersion;
  17. // Pre-compute server information.
  18. if (isset($_SERVER['SERVER_SOFTWARE'])) {
  19. $server = $_SERVER['SERVER_SOFTWARE'];
  20. }
  21. else {
  22. $sf = getenv('SERVER_SOFTWARE');
  23. if ($sf) {
  24. $server = $sf;
  25. }
  26. else {
  27. $server = 'Not applicable.';
  28. }
  29. }
  30. ?>
  31. <h1>
  32. <?php echo JText::_('COM_REDIRECT_TITLE');?>
  33. </h1>
  34. <p>
  35. <img src="components/com_redirect/media/img/redirect_128x128.png" align="right" alt="Logo" />
  36. <?php echo JText::_('COM_REDIRECT_DESC'); ?>
  37. </p>
  38. <p>
  39. <a href="http://www.theartofjoomla.com/extensions/redirect.html">
  40. http://www.theartofjoomla.com/extensions/redirect.html</a>.
  41. </p>
  42. <h2>
  43. <?php echo JText::_('COM_REDIRECT_ABOUT_SUPPORT');?>
  44. </h2>
  45. <p>
  46. <?php echo JText::_('COM_REDIRECT_ABOUT_SUPPORT_DESC');?><p>
  47. <textarea style="width:100%;font-family:monospace;" onclick="this.focus();this.select();" rows="10">
  48. Joomla : <?php echo $jVersion->getLongVersion(); ?>
  49. Software : <?php echo RedirectVersion::getVersion(true, true); ?>
  50. Server : <?php echo $server; ?>
  51. PHP : <?php echo phpversion(); ?>
  52. Database : <?php echo $db->getVersion(); ?> <?php echo $db->getCollation(); ?>
  53. Browser : <?php echo htmlspecialchars(phpversion() <= '4.2.1' ? getenv('HTTP_USER_AGENT') : $_SERVER['HTTP_USER_AGENT'], ENT_QUOTES); ?>
  54. Platform : <?php echo php_uname(); ?> <?php echo php_sapi_name(); ?>
  55. </textarea>
  56. <h2>
  57. <?php echo JText::_('COM_REDIRECT_ABOUT_CHANGELOG');?>
  58. </h2>
  59. <dl>
  60. <dt>Version 1.0.2 - 5 November 2010</dt>
  61. <dd>
  62. <ul>
  63. <li>Initial release.</li>
  64. </ul>
  65. </dd>
  66. </dl>