﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
126	Unnötige Leerezeile vor Signatur entfernen	voodoopupp	Ronald Parcinski	"In der Datei inc/xtc_php_mail.inc.php ist vor der Signatur für die E-Mails jeweils eine Leerzeile (html & txt) vorangestellt. Hierdurch ist es teilweise unmöglich, die Signatur in den E-Mails entsprechend richtig zu positionieren.

Daher sollte diese hardgecodete Leerzeile jeweils entfernt werden. Jeder, der das weiterhin möchte/benötigt, kann dies dann direkt in den entsprechenden Dateien (templates/xtc5/mail/LANGUAGE/signatur.html bzw. signatur.txt) einstellen.

'''ERSETZE'''
{{{
  // load the signatures only, if the appropriate file(s) exists
  $html_signatur = '';
  $txt_signatur = '';
  if (file_exists(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.html')) {
    $html_signatur = '<br />' .$mailsmarty->fetch(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.html'); //web28 - 2011-06-10 - ADD Linebreak
  }
  if (file_exists(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.txt')) {
    $txt_signatur = ""\n"" . $mailsmarty->fetch(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.txt'); //web28 - 2011-06-10 - ADD Linebreak
  }
  //EOF - Dokuman - 2009-10-30 - Check for existing signature files
}}}
'''MIT'''
{{{
  // load the signatures only, if the appropriate file(s) exists
  $html_signatur = '';
  $txt_signatur = '';
  if (file_exists(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.html')) {
    $html_signatur = $mailsmarty->fetch(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.html'); //web28 - 2011-06-10 - ADD Linebreak
  }
  if (file_exists(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.txt')) {
    $txt_signatur = $mailsmarty->fetch(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/signatur.txt'); //web28 - 2011-06-10 - ADD Linebreak
  }
  //EOF - Dokuman - 2009-10-30 - Check for existing signature files
}}}

"	Erweiterung	closed	normal	modified-shop-2.0.0.0	Shop	2.0.0.0	fixed				
