25 "EE" =>
"http://admin.oxid-esales.com/EE/onlinecheck.php",
26 "PE" =>
"http://admin.oxid-esales.com/PE/onlinecheck.php",
27 "CE" =>
"http://admin.oxid-esales.com/CE/onlinecheck.php"
42 $oSystemComponentException =
oxNew(
"oxSystemComponentException",
"license");
43 throw $oSystemComponentException;
49 if ($soxId !=
"-1" && isset($soxId)) {
51 $oShop =
oxNew(
"oxshop");
53 $this->_aViewData[
"edit"] = $oShop;
56 $this->_aViewData[
"version"] =
$myConfig->getVersion();
59 $this->_aViewData[
'aCurVersionInfo'] = $this->
_fetchCurVersionInfo($this->_aVersionCheckLinks[
"CE"]);
62 $this->_aViewData[
'readonly'] =
true;
79 if (!$blIsMallAdmin) {
99 $aParams = array(
"myversion" => $this->
getConfig()->getVersion());
101 $iLang = $oLang->getTplLanguage();
102 $sLang = $oLang->getLanguageAbbr($iLang);
104 $oCurl =
oxNew(
'oxCurl');
105 $oCurl->setMethod(
"POST");
106 $oCurl->setUrl($sUrl .
"/" . $sLang);
107 $oCurl->setParameters($aParams);
108 $sOutput = $oCurl->execute();
110 $sOutput = strip_tags($sOutput,
"<br>, <b>");
111 $aResult = explode(
"<br>", $sOutput);
112 if (strstr($aResult[5],
"update")) {
113 $sUpdateLink =
'http://oxidforge.org/en/downloads-en';
114 $aResult[5] =
"<a id='linkToUpdate' href='$sUpdateLink' target='_blank'>" . $aResult[5] .
"</a>";
116 $sOutput = implode(
"<br>", $aResult);