22 "EE" =>
"http://admin.oxid-esales.com/EE/onlinecheck.php",
23 "PE" =>
"http://admin.oxid-esales.com/PE/onlinecheck.php",
24 "CE" =>
"http://admin.oxid-esales.com/CE/onlinecheck.php"
38 throw oxNew(
"oxSystemComponentException",
"license" );
44 if ( $soxId !=
"-1" && isset( $soxId ) ) {
46 $oShop =
oxNew(
"oxshop" );
47 $oShop->load( $soxId );
48 $this->_aViewData[
"edit"] = $oShop;
51 $this->_aViewData[
"version"] =
$myConfig->getVersion();
54 $this->_aViewData[
'aCurVersionInfo'] = $this->
_fetchCurVersionInfo( $this->_aVersionCheckLinks[
"CE"] );
57 $this->_aViewData[
'readonly'] =
true;
74 if (!$blIsMallAdmin) {
94 $aParams = array(
"myversion" => $this->
getConfig()->getVersion() );
96 $iLang = $oLang->getTplLanguage();
97 $sLang = $oLang->getLanguageAbbr( $iLang );
99 $oCurl =
oxNew(
'oxCurl');
100 $oCurl->setMethod(
"POST");
101 $oCurl->setUrl($sUrl .
"/" . $sLang);
102 $oCurl->setParameters($aParams);
103 $sOutput = $oCurl->execute();
105 $sOutput = strip_tags($sOutput,
"<br>, <b>");
106 $aResult = explode(
"<br>", $sOutput);
107 if ( strstr( $aResult[5],
"update" ) ) {
108 $sUpdateLink =
'http://wiki.oxidforge.org/Category:Downloads';
109 if ( !OXID_VERSION_PE_CE ) {
112 $aResult[5] =
"<a id='linkToUpdate' href='$sUpdateLink' target='_blank'>" . $aResult[5] .
"</a>";
114 $sOutput = implode(
"<br>", $aResult);