/content/code/trunk/administrator/components/com_artofcontent/views/about/tmpl/default.php
PHP | 82 lines | 54 code | 17 blank | 11 comment | 4 complexity | 98cd4567c4c9f5baed54cf26be904ddd MD5 | raw file
- <?php
- /**
- * @version $Id: default.php 484 2010-12-20 23:40:27Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_artofcontent
- * @copyright Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved
- * @license GNU General Public License <http://www.fsf.org/licensing/licenses/gpl.html>
- * @link http://www.theartofjoomla.com
- */
- // No direct access.
- defined('_JEXEC') or die;
- JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
- JHtml::stylesheet('default.css', 'administrator/components/com_artofcontent/media/css/');
- // Initialise variables.
- $db = $this->get('Dbo');
- $jVersion = new JVersion;
- // Pre-compute server information.
- if (isset($_SERVER['SERVER_SOFTWARE'])) {
- $server = $_SERVER['SERVER_SOFTWARE'];
- }
- else {
- $sf = getenv('SERVER_SOFTWARE');
- if ($sf) {
- $server = $sf;
- }
- else {
- $server = 'Not applicable.';
- }
- }
- ?>
- <h1>
- <?php echo JText::_('COM_ARTOFCONTENT_TITLE');?>
- </h1>
- <p>
- <?php echo JText::_('COM_ARTOFCONTENT_DESC'); ?>
- </p>
- <p>
- <a href="http://www.theartofjoomla.com/extensions/artof-user.html" target="_blank">
- http://www.theartofjoomla.com/extensions/artof-user.html</a>.
- </p>
- <h2>
- <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_SUPPORT');?>
- </h2>
- <p>
- <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_SUPPORT_DESC');?><p>
- <textarea style="width:100%;font-family:monospace;" onclick="this.focus();this.select();" rows="10">
- Joomla : <?php echo $jVersion->getLongVersion(); ?>
- Software : <?php echo ArtofContentVersion::getVersion(true, true); ?>
- Server : <?php echo $server; ?>
- PHP : <?php echo phpversion(); ?>
- Database : <?php echo $db->getVersion(); ?> <?php echo $db->getCollation(); ?>
- Browser : <?php echo htmlspecialchars(phpversion() <= '4.2.1' ? getenv('HTTP_USER_AGENT') : $_SERVER['HTTP_USER_AGENT'], ENT_QUOTES); ?>
- Platform : <?php echo php_uname(); ?> <?php echo php_sapi_name(); ?>
- </textarea>
- <h2>
- <?php echo JText::_('COM_ARTOFCONTENT_ABOUT_CHANGELOG');?>
- </h2>
- <dl>
- <dt>Version 1.0.0 - 20 December 2010</dt>
- <dd>
- <ul>
- <li>Initial release.</li>
- </ul>
- </dd>
- </dl>