Dodano nowy adres e-mail do wysyłania kopii wiadomości ze strony kontaktowej.

This commit is contained in:
2025-10-02 00:36:07 +02:00
parent 517f271fb1
commit e306f4bfdd

View File

@@ -113,6 +113,7 @@ if ( \S::get( 'action' ) == 'send-contact' and \S::get( 'token' ) == \S::get_ses
{
// send copy to k.zarzyczny@vidok.com
\S::send_email( 'k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::send_email( 'arkuszevidok@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) );
}
else
@@ -209,6 +210,7 @@ if ( \S::get('action') == 'send-contact-modal' and \S::get( 'token' ) == \S::get
{
// send copy to k.zarzyczny@vidok.com
\S::send_email( 'k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::send_email( 'arkuszevidok@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
header('Location: ' . $_SERVER['REQUEST_URI'] . '?modal_form_sent=1');
}
@@ -350,6 +352,7 @@ if ( \S::get('action') == 'send-contact-landing' and \S::get( 'token' ) == \S::g
{
// send copy to k.zarzyczny@vidok.com
\S::send_email( 'k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::send_email( 'arkuszevidok@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
}
else{
@@ -444,6 +447,7 @@ if ( \S::get('action') == 'send-contact-form-new' and \S::get( 'token' ) == \S::
{
// send copy to k.zarzyczny@vidok.com
\S::send_email( 'k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::send_email( 'arkuszevidok@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send );
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit;