Joomla!是基於GNU/GPL授權的自由軟體. 中文版本由TaiwanJoomla製作.'; /** @var string Whether site is a production = 1 or demo site = 0: 1 is default */ var $SITE = 1; /** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */ var $RESTRICT = 0; /** @var string Whether site is still in development phase (disables checks for /installation folder) - should be set to 0 for package release: 0 is default */ var $SVN = 0; /** * @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; ?>