27 "EE" =>
"http://admin.oxid-esales.com/EE/onlinecheck.php",
28 "PE" =>
"http://admin.oxid-esales.com/PE/onlinecheck.php",
29 "CE" =>
"http://admin.oxid-esales.com/CE/onlinecheck.php"
44 $oSystemComponentException =
oxNew(
"oxSystemComponentException",
"license");
45 throw $oSystemComponentException;
51 if ($soxId !=
"-1" && isset($soxId)) {
53 $oShop =
oxNew(
"oxshop");
55 $this->_aViewData[
"edit"] = $oShop;
58 $this->_aViewData[
"version"] =
$myConfig->getVersion();
61 $this->_aViewData[
'aCurVersionInfo'] = $this->
_fetchCurVersionInfo($this->_aVersionCheckLinks[
"CE"]);
64 $this->_aViewData[
'readonly'] =
true;
81 if (!$blIsMallAdmin) {
101 $aParams = array(
"myversion" => $this->
getConfig()->getVersion());
103 $iLang = $oLang->getTplLanguage();
104 $sLang = $oLang->getLanguageAbbr($iLang);
106 $oCurl =
oxNew(
'oxCurl');
107 $oCurl->setMethod(
"POST");
108 $oCurl->setUrl($sUrl .
"/" . $sLang);
109 $oCurl->setParameters($aParams);
110 $sOutput = $oCurl->execute();
112 $sOutput = strip_tags($sOutput,
"<br>, <b>");
113 $aResult = explode(
"<br>", $sOutput);
114 if (strstr($aResult[5],
"update")) {
115 $sUpdateLink =
'http://oxidforge.org/en/downloads-en';
116 $aResult[5] =
"<a id='linkToUpdate' href='$sUpdateLink' target='_blank'>" . $aResult[5] .
"</a>";
118 $sOutput = implode(
"<br>", $aResult);