source/Application/Controller/Admin/AdminDetailsController.php
protected function _processEditValue($sValue)
    {
        // A. replace ONLY if long description is not processed by smarty, or users will not be able to
        // store smarty tags ([{$shop->currenthomedir}]/[{$oViewConf->getCurrentHomeDir()}]) in long
        // descriptions, which are filled dynamically
        if (!\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('bl_perfParseLongDescinSmarty')) {
            $aReplace = ['[{$shop->currenthomedir}]', '[{$oViewConf->getCurrentHomeDir()}]'];
            $sValue = str_replace($aReplace, \OxidEsales\Eshop\Core\Registry::getConfig()->getCurrentShopURL(false), $sValue);
        }

        return $sValue;
    }
protected function _processEditValue($sValue)
    {
        // A. replace ONLY if long description is not processed by smarty, or users will not be able to
        // store smarty tags ([{$shop->currenthomedir}]/[{$oViewConf->getCurrentHomeDir()}]) in long
        // descriptions, which are filled dynamically
        if (!\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('bl_perfParseLongDescinSmarty')) {
            $aReplace = ['[{$shop->currenthomedir}]', '[{$oViewConf->getCurrentHomeDir()}]'];
            $sValue = str_replace($aReplace, \OxidEsales\Eshop\Core\Registry::getConfig()->getCurrentShopURL(false), $sValue);
        }

        return $sValue;
    }
protected function _processEditValue ( $ sValue ) { // A. replace ONLY if long description is not processed by smarty, or users will not be able to // store smarty tags ([{$shop->currenthomedir}]/[{$oViewConf->getCurrentHomeDir()}]) in long // descriptions, which are filled dynamically if ( ! \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'bl_perfParseLongDescinSmarty' ) ) { $ aReplace = [ '[{$shop->currenthomedir}]' , '[{$oViewConf->getCurrentHomeDir()}]' ] ; $ sValue = str_replace ( $ aReplace , \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getCurrentShopURL ( false ) , $ sValue ) ; } return $ sValue ; }
Processes edit value.

@param string $sValue string to process

@return string
Processes edit value .