diff --git a/admin/survey/classes/class.Common.php b/admin/survey/classes/class.Common.php index 7f5df9751..5f22d84e6 100644 --- a/admin/survey/classes/class.Common.php +++ b/admin/survey/classes/class.Common.php @@ -2149,8 +2149,6 @@ class Common { public static function getEmailSignature($lang_id = 0){ global $lang; global $app_settings; - - return ''; if(isset($app_settings['email_signature_custom']) && $app_settings['email_signature_custom'] == 1){ $signature = '


'.$app_settings['email_signature_text']; diff --git a/admin/survey/classes/objects/obj.MailAdapter.php b/admin/survey/classes/objects/obj.MailAdapter.php index 424bd39ea..29b7fd48a 100644 --- a/admin/survey/classes/objects/obj.MailAdapter.php +++ b/admin/survey/classes/objects/obj.MailAdapter.php @@ -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,10 +740,7 @@ class MailAdapter{ //$button = array('url'=>'https://1ka.si', 'text'=>'Gumbek'); $button_html = ($button != '') ? '

'.$button['text'].'

' : ''; - // Podpis - $signature_html = '

'.$lang['srv_1ka_mail_signature_bye'].'

'; - - + $designed_content = '