source/Core/Output.php
final public function addVersionTags($sOutput)
    {
        // DISPLAY IT
        $sVersion = \OxidEsales\Eshop\Core\Registry::getConfig()->getVersion();
        $sEdition = \OxidEsales\Eshop\Core\Registry::getConfig()->getFullEdition();
        $sCurYear = date("Y");

        // SHOW ONLY MAJOR VERSION NUMBER
        $aVersion = explode('.', $sVersion);
        $sMajorVersion = reset($aVersion);

        $sShopMode = $this->getShopMode();

        // Replacing only once per page
        $sSearch = "</head>";
        $sReplace = "</head>\n  <!-- OXID eShop {$sEdition}, Version {$sMajorVersion}{$sShopMode}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - https://www.oxid-esales.com -->";

        $sOutput = ltrim($sOutput);
        if (($pos = stripos($sOutput, $sSearch)) !== false) {
            $sOutput = substr_replace($sOutput, $sReplace, $pos, strlen($sSearch));
        }

        return $sOutput;
    }
final public function addVersionTags($sOutput)
    {
        // DISPLAY IT
        $sVersion = \OxidEsales\Eshop\Core\Registry::getConfig()->getVersion();
        $sEdition = \OxidEsales\Eshop\Core\Registry::getConfig()->getFullEdition();
        $sCurYear = date("Y");

        // SHOW ONLY MAJOR VERSION NUMBER
        $aVersion = explode('.', $sVersion);
        $sMajorVersion = reset($aVersion);

        $sShopMode = $this->getShopMode();

        // Replacing only once per page
        $sSearch = "</head>";
        $sReplace = "</head>\n  <!-- OXID eShop {$sEdition}, Version {$sMajorVersion}{$sShopMode}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - https://www.oxid-esales.com -->";

        $sOutput = ltrim($sOutput);
        if (($pos = stripos($sOutput, $sSearch)) !== false) {
            $sOutput = substr_replace($sOutput, $sReplace, $pos, strlen($sSearch));
        }

        return $sOutput;
    }
final public function addVersionTags ( $ sOutput ) { // DISPLAY IT $ sVersion = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getVersion ( ) ; $ sEdition = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getFullEdition ( ) ; $ sCurYear = date ( "Y" ) ; // SHOW ONLY MAJOR VERSION NUMBER $ aVersion = explode ( '.' , $ sVersion ) ; $ sMajorVersion = reset ( $ aVersion ) ; $ sShopMode = $ this -> getShopMode ( ) ; // Replacing only once per page $ sSearch = "</head>" ; $ sReplace = "</head>\n  <!-- OXID eShop {$sEdition}, Version {$sMajorVersion}{$sShopMode}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - https://www.oxid-esales.com -->" ; $ sOutput = ltrim ( $ sOutput ) ; if ( ( $ pos = stripos ( $ sOutput , $ sSearch ) ) !== false ) { $ sOutput = substr_replace ( $ sOutput , $ sReplace , $ pos , strlen ( $ sSearch ) ) ; } return $ sOutput ; }
Add a version tag to a html page

@param string $sOutput htmlheader

@return string
Add a version tag to a html page