Popravek podpisa pri novem designu emailov
This commit is contained in:
parent
3bd75bf915
commit
b558b698ca
@ -2150,8 +2150,6 @@ class Common {
|
||||
global $lang;
|
||||
global $app_settings;
|
||||
|
||||
return '';
|
||||
|
||||
if(isset($app_settings['email_signature_custom']) && $app_settings['email_signature_custom'] == 1){
|
||||
$signature = '<br /><br /><br />'.$app_settings['email_signature_text'];
|
||||
}
|
||||
|
@ -717,6 +717,9 @@ class MailAdapter{
|
||||
return;
|
||||
}
|
||||
|
||||
// Najprej pocistimo signature
|
||||
$signature = Common::getEmailSignature();
|
||||
$content = str_replace($signature, "", $content);
|
||||
|
||||
// Logo
|
||||
$logo_src = ($lang['id'] == '1') ? 'https://www.1ka.si/public/img/logo/1ka_slo.png' : 'https://www.1ka.si/public/img/logo/1ka_eng.png';
|
||||
@ -737,9 +740,6 @@ class MailAdapter{
|
||||
//$button = array('url'=>'https://1ka.si', 'text'=>'Gumbek');
|
||||
$button_html = ($button != '') ? '<tr><td align="center"><a href="'.$button['url'].'" style="text-decoration:none"><p style="font-family: Montserrat,sans-serif; font-size: 18px; padding: 20px 0 20px 0;text-align:center;background-color:#1e88e5;color:white;">'.$button['text'].'</p></a></td></tr>' : '';
|
||||
|
||||
// Podpis
|
||||
$signature_html = '<tr><td style="color: #153643; font-family: Montserrat,sans-serif; font-size: 16px; line-height: 24px; padding: 20px 0 0 0;"><p style="margin: 0;">'.$lang['srv_1ka_mail_signature_bye'].'</p></td></tr>';
|
||||
|
||||
|
||||
$designed_content = '
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
Loading…
x
Reference in New Issue
Block a user