PageRenderTime 51ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/content/code/trunk/administrator/components/com_artofcontent/views/about/tmpl/default.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 82 lines | 54 code | 17 blank | 11 comment | 4 complexity | 98cd4567c4c9f5baed54cf26be904ddd MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: default.php 484 2010-12-20 23:40:27Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_artofcontent
  6. * @copyright Copyright 2005 - 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_artofcontent/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_ARTOFCONTENT_TITLE');?>
  33. </h1>
  34. <p>
  35. <?php echo JText::_('COM_ARTOFCONTENT_DESC'); ?>
  36. </p>
  37. <p>
  38. <a href="http://www.theartofjoomla.com/extensions/artof-user.html" target="_blank">
  39. http://www.theartofjoomla.com/extensions/artof-user.html</a>.
  40. </p>
  41. <h2>
  42. <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_SUPPORT');?>
  43. </h2>
  44. <p>
  45. <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_SUPPORT_DESC');?><p>
  46. <textarea style="width:100%;font-family:monospace;" onclick="this.focus();this.select();" rows="10">
  47. Joomla : <?php echo $jVersion->getLongVersion(); ?>
  48. Software : <?php echo ArtofContentVersion::getVersion(true, true); ?>
  49. Server : <?php echo $server; ?>
  50. PHP : <?php echo phpversion(); ?>
  51. Database : <?php echo $db->getVersion(); ?> <?php echo $db->getCollation(); ?>
  52. Browser : <?php echo htmlspecialchars(phpversion() <= '4.2.1' ? getenv('HTTP_USER_AGENT') : $_SERVER['HTTP_USER_AGENT'], ENT_QUOTES); ?>
  53. Platform : <?php echo php_uname(); ?> <?php echo php_sapi_name(); ?>
  54. </textarea>
  55. <h2>
  56. <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_CHANGELOG');?>
  57. </h2>
  58. <dl>
  59. <dt>Version 1.0.0 - 20 December 2010</dt>
  60. <dd>
  61. <ul>
  62. <li>Initial release.</li>
  63. </ul>
  64. </dd>
  65. </dl>