0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: version.php.tar
home/academiac/www/administrator/components/com_virtuemart/version.php 0000604 00000004340 15137212773 0022517 0 ustar 00 <?php if( !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); /** * * @version $Id: version.php 6059 2012-06-06 10:35:14Z alatak $ * @package VirtueMart * @subpackage core * @copyright Copyright (C) 2005-2011 VirtueMart Team - All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart 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 /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. * * http://virtuemart.org */ if( class_exists( 'vmVersion' ) ) { $shortversion = vmVersion::$PRODUCT . " " . vmVersion::$RELEASE . " " . vmVersion::$DEV_STATUS. " "; $myVersion = $shortversion . " [".vmVersion::$CODENAME ."] <br />" . vmVersion::$RELDATE . " " . vmVersion::$RELTIME . " " . vmVersion::$RELTZ; return; } if( !class_exists( 'vmVersion' ) ) { /** Version information */ class vmVersion { /** @var string Product */ static $PRODUCT = 'VirtueMart'; /** @var int Release Number */ static $RELEASE = '2.6.2'; /** @var string Development Status */ static $DEV_STATUS = 'MINOR'; /** @var string Codename */ static $CODENAME = 'PowerFox'; /** @var string Date */ static $RELDATE = 'May 22 2014'; /** @var string Time */ static $RELTIME = '1259'; /** @var string Timezone */ static $RELTZ = 'GMT'; /** @var string Revision */ static $REVISION = 'Revision: 7985'; /** @var string Copyright Text */ static $COPYRIGHT = 'Copyright (C) 2005-2012 VirtueMart Development Team - All rights reserved.'; /** @var string URL */ static $URL = '<a href="http://virtuemart.net">VirtueMart</a> is a Free Component for Joomla! released under the GNU/GPL2 License.'; } $shortversion = vmVersion::$PRODUCT . " " . vmVersion::$RELEASE . " " . vmVersion::$DEV_STATUS. " "; $myVersion = $shortversion .' '.vmVersion::$REVISION. " [".vmVersion::$CODENAME ."] <br />" . vmVersion::$RELDATE . " " . vmVersion::$RELTIME . " " . vmVersion::$RELTZ; } // pure php no closing tag home/academiac/www/libraries/cms/version/version.php 0000644 00000006526 15137352244 0016647 0 ustar 00 <?php /** * @package Joomla.Site * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die; /** * Version information class for the Joomla CMS. * * @package Joomla.Site * @since 1.0 */ final class JVersion { /** @var string Product name. */ public $PRODUCT = 'Joomla!'; /** @var string Release version. */ public $RELEASE = '2.5'; /** @var string Maintenance version. */ public $DEV_LEVEL = '28'; /** @var string Development STATUS. */ public $DEV_STATUS = 'Stable'; /** @var string Build number. */ public $BUILD = ''; /** @var string Code name. */ public $CODENAME = 'Ember'; /** @var string Release date. */ public $RELDATE = '10-December-2014'; /** @var string Release time. */ public $RELTIME = '15:00'; /** @var string Release timezone. */ public $RELTZ = 'GMT'; /** @var string Copyright Notice. */ public $COPYRIGHT = 'Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.'; /** @var string Link text. */ public $URL = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.'; /** * Compares two a "PHP standardized" version number against the current Joomla version. * * @param string $minimum The minimum version of the Joomla which is compatible. * * @return bool True if the version is compatible. * * @see http://www.php.net/version_compare * @since 1.0 */ public function isCompatible($minimum) { return version_compare(JVERSION, $minimum, 'ge'); } /** * Method to get the help file version. * * @return string Version suffix for help files. * * @since 1.0 */ public function getHelpVersion() { return '.' . str_replace('.', '', $this->RELEASE); } /** * Gets a "PHP standardized" version string for the current Joomla. * * @return string Version string. * * @since 1.5 */ public function getShortVersion() { return $this->RELEASE . '.' . $this->DEV_LEVEL; } /** * Gets a version string for the current Joomla with all release information. * * @return string Complete version string. * * @since 1.5 */ public function getLongVersion() { return $this->PRODUCT . ' ' . $this->RELEASE . '.' . $this->DEV_LEVEL . ' ' . $this->DEV_STATUS . ' [ ' . $this->CODENAME . ' ] ' . $this->RELDATE . ' ' . $this->RELTIME . ' ' . $this->RELTZ; } /** * Returns the user agent. * * @param string $component Name of the component. * @param bool $mask Mask as Mozilla/5.0 or not. * @param bool $add_version Add version afterwards to component. * * @return string User Agent. * * @since 1.0 */ public function getUserAgent($component = null, $mask = false, $add_version = true) { if ($component === null) { $component = 'Framework'; } if ($add_version) { $component .= '/' . $this->RELEASE; } // If masked pretend to look like Mozilla 5.0 but still identify ourselves. if ($mask) { return 'Mozilla/5.0 ' . $this->PRODUCT . '/' . $this->RELEASE . '.' . $this->DEV_LEVEL . ($component ? ' ' . $component : ''); } else { return $this->PRODUCT . '/' . $this->RELEASE . '.' . $this->DEV_LEVEL . ($component ? ' ' . $component : ''); } } }
©
2018.