- md5
- 82e32bf3b6bc100240d3dd3915bab98e
- sha1
- 44613ae6abab7ab1912c54114ec51d6878479836
- sha256
- 287c4071be303fa08f00191fdc8fc7434d704e07baaf1a2d389468728a04dd8d
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
<?php
/**
* @version $Id: version.php 2622 2006-02-26 04:16:09Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
/**
* Version information
* @package Joomla
*/
class joomlaVersion {
/** @var string Product */
var $PRODUCT = 'Joomla!';
/** @var int Main Release Level */
var $RELEASE = '1.0';
/** @var string Development Status */
var $DEV_STATUS = 'Stable';
/** @var int Sub Release Level */
var $DEV_LEVEL = '8';
/** @var int build Number */
var $BUILD = '$Revision: 2622 $';
/** @var string Codename */
var $CODENAME = 'Sunshade';
/** @var string Date */
var $RELDATE = '26-Feb-2006';
/** @var string Time */
var $RELTIME = '05:00';
/** @var string Timezone */
var $RELTZ = 'UTC';
/** @var string Copyright Text */
var $COPYRIGHT = 'Copyright (C) 2005 Open Source Matters. All rights reserved.';
/** @var string URL */
var $URL = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU/GPL License.';
/** @var string Whether site is a production = 1 or demo site = 0 */
var $SITE = 1;
/**
* @return string Long format version
*/
function getLongVersion() {
return $this->PRODUCT .' '. $this->RELEASE .'.'. $this->DEV_LEVEL .' '
. $this->DEV_STATUS
.' [ '.$this->CODENAME .' ] '. $this->RELDATE .' '
. $this->RELTIME .' '. $this->RELTZ;
}
/**
* @return string Short version format
*/
function getShortVersion() {
return $this->RELEASE .'.'. $this->DEV_LEVEL;
}
/**
* @return string Version suffix for help files
*/
function getHelpVersion() {
if ($this->RELEASE > '1.0') {
return '.' . str_replace( '.', '', $this->RELEASE );
} else {
return '';
}
}
}
$_VERSION = new joomlaVersion();
$version = $_VERSION->PRODUCT .' '. $_VERSION->RELEASE .'.'. $_VERSION->DEV_LEVEL .' '
. $_VERSION->DEV_STATUS
.' [ '.$_VERSION->CODENAME .' ] '. $_VERSION->RELDATE .' '
. $_VERSION->RELTIME .' '. $_VERSION->RELTZ;
?>
No other release has this exact content. See every version of this file.