encoder(); /// E-mail HTML title $title = $this->translate( 'client/html', 'E-mail notification' ); /** client/html/email/logo * Path to the logo image displayed in HTML e-mails * * The path can either be an absolute local path or an URL to a file on a * remote server. If the file is stored on a remote server, "allow_url_fopen" * must be enabled. See {@link http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen php.ini allow_url_fopen} * documentation for details. * * @param string Absolute file system path or remote URL to the logo image * @since 2014.03 * @category User * @see client/html/email/from-email */ if( ( $logo = $this->config( 'client/html/email/logo', 'client/html/themes/elegance/images/aimeos.png' ) ) != '' ) { $logoFilename = basename( $logo ); if( file_exists( $logo ) !== false ) { $logoContent = file_get_contents( $logo ); $finfo = new finfo( FILEINFO_MIME_TYPE ); $logoMimetype = $finfo->file( $logo ); } } $path = $this->config( 'client/html/common/template/baseurl', 'client/html/themes/elegance' ); $filename = $path . DIRECTORY_SEPARATOR . 'common.css'; $content = ''; if( file_exists( $filename ) !== false ) { $content = file_get_contents( $filename ); } ?>