source/Core/Email.php
protected function _getNewsSubsLink($id, $confirmCode = null)
    {
        $myConfig = Registry::getConfig();
        $actShopLang = $myConfig->getActiveShop()->getLanguage();

        $url = $myConfig->getShopHomeUrl() . 'cl=newsletter&amp;fnc=addme&amp;uid=' . $id;
        $url .= '&amp;lang=' . $actShopLang;
        $url .= ($confirmCode) ? '&amp;confirm=' . $confirmCode : "";

        return $url;
    }
protected function _getNewsSubsLink($id, $confirmCode = null)
    {
        $myConfig = Registry::getConfig();
        $actShopLang = $myConfig->getActiveShop()->getLanguage();

        $url = $myConfig->getShopHomeUrl() . 'cl=newsletter&amp;fnc=addme&amp;uid=' . $id;
        $url .= '&amp;lang=' . $actShopLang;
        $url .= ($confirmCode) ? '&amp;confirm=' . $confirmCode : "";

        return $url;
    }
protected function _getNewsSubsLink ( $ id , $ confirmCode = null ) { $ myConfig = Registry :: getConfig ( ) ; $ actShopLang = $ myConfig -> getActiveShop ( ) -> getLanguage ( ) ; $ url = $ myConfig -> getShopHomeUrl ( ) . 'cl=newsletter&amp;fnc=addme&amp;uid=' . $ id ; $ url .= '&amp;lang=' . $ actShopLang ; $ url .= ( $ confirmCode ) ? '&amp;confirm=' . $ confirmCode : "" ; return $ url ; }
Returns newsletter subscription link

@param string $id          user id
@param string $confirmCode confirmation code

@return string $url
Returns newsletter subscription link