Popravki emaila, ki ga prejme uporabnik, kateremu manager ustvari racun.
This commit is contained in:
parent
7076d54f16
commit
fefef553a9
@ -384,7 +384,7 @@ class Dostop {
|
|||||||
{
|
{
|
||||||
global $pass_salt;
|
global $pass_salt;
|
||||||
global $lang;
|
global $lang;
|
||||||
global $global_user_id, $site_path;
|
global $global_user_id, $site_path, $site_domain;
|
||||||
global $admin_type;
|
global $admin_type;
|
||||||
|
|
||||||
$error = FALSE;
|
$error = FALSE;
|
||||||
@ -427,13 +427,20 @@ class Dostop {
|
|||||||
echo mysqli_error($GLOBALS['connect_db']);
|
echo mysqli_error($GLOBALS['connect_db']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$subject = $lang['srv_dodanmail_1'] . '';
|
$subject = sprintf($lang['srv_dodanmail_1'], $site_domain);
|
||||||
$content = sprintf($lang['srv_dodanmail_2'], $MailReply) . '<br /><br />' . sprintf($lang['srv_dodanmail_3'], $email, $password);
|
|
||||||
|
$content = sprintf($lang['srv_dodanmail_2'], $MailReply, $site_domain).'<br /><br />';
|
||||||
|
$content .= $lang['srv_dodanmail_3'];
|
||||||
|
$content .= '<ul>';
|
||||||
|
$content .= '<li>'.$lang['srv_dodanmail_3_email'].' <b>'.$email.'</b></li>';
|
||||||
|
$content .= '<li>'.$lang['srv_dodanmail_3_pass_1'].' <b>'.$password.'</b> ('.$lang['srv_dodanmail_3_pass_2'].')</li>';
|
||||||
|
$content .= '</ul>';
|
||||||
|
|
||||||
// Podpis
|
// Podpis
|
||||||
$signature = Common::getEmailSignature();
|
$signature = Common::getEmailSignature();
|
||||||
$content .= $signature;
|
$content .= $signature;
|
||||||
|
|
||||||
|
|
||||||
// Posljemo mail vsakemu uporabniku posebej
|
// Posljemo mail vsakemu uporabniku posebej
|
||||||
try {
|
try {
|
||||||
$MA = new MailAdapter($this->anketa, $type='account');
|
$MA = new MailAdapter($this->anketa, $type='account');
|
||||||
|
@ -5622,9 +5622,12 @@ $lang = array (
|
|||||||
"srv_dropdown_select" => 'Izberite',
|
"srv_dropdown_select" => 'Izberite',
|
||||||
"srv_added_false" => 'Uporabnik s tem e-mail naslovom je že registriran.',
|
"srv_added_false" => 'Uporabnik s tem e-mail naslovom je že registriran.',
|
||||||
"srv_analiza_options" => 'Možnosti',
|
"srv_analiza_options" => 'Možnosti',
|
||||||
"srv_dodanmail_1" => 'Registracija 1KA ankete',
|
"srv_dodanmail_1" => 'Ustvarjen račun na %s (orodje za spletno anketiranje 1KA)',
|
||||||
"srv_dodanmail_2" => 'Uporabnik %s vam je dodelil dostop do 1KA spletnih anket.',
|
"srv_dodanmail_2" => 'Uporabnik <b>%s</b> vam je ustvaril račun na orodju za spletno anketiranje 1KA (%s).',
|
||||||
"srv_dodanmail_3" => 'Prijavite se lahko z vašim e-mail naslovom %s in geslom %s',
|
"srv_dodanmail_3" => 'Podatki za prijavo:',
|
||||||
|
"srv_dodanmail_3_email" => 'Elektronski naslov:',
|
||||||
|
"srv_dodanmail_3_pass_1" => 'Geslo:',
|
||||||
|
"srv_dodanmail_3_pass_2" => 'priporočamo, da po prvi prijavi spremenite geslo',
|
||||||
"srv_dodanmail_m_1" => 'Pregledni dostop do 1KA anket',
|
"srv_dodanmail_m_1" => 'Pregledni dostop do 1KA anket',
|
||||||
"srv_dodanmail_m_2" => 'Administrator %s je na spletni strani %s pridobil dostop do vaših anket (%s).',
|
"srv_dodanmail_m_2" => 'Administrator %s je na spletni strani %s pridobil dostop do vaših anket (%s).',
|
||||||
"srv_dodanmail_m_3" => 'S tem ima dostop in pregled nad vsemi vašimi anketami. Če se s tem ne strinjate, kontaktirajte zgornjega uporabnika ali pa skrbnika spletnega mesta (<a href="https://www.1ka.si/d/sl/pomoc">Pomoč</a>).',
|
"srv_dodanmail_m_3" => 'S tem ima dostop in pregled nad vsemi vašimi anketami. Če se s tem ne strinjate, kontaktirajte zgornjega uporabnika ali pa skrbnika spletnega mesta (<a href="https://www.1ka.si/d/sl/pomoc">Pomoč</a>).',
|
||||||
|
@ -5517,9 +5517,12 @@ $lang = array (
|
|||||||
"srv_dropdown_select" => 'Select',
|
"srv_dropdown_select" => 'Select',
|
||||||
"srv_added_false" => 'User with this e-mail is already registered.',
|
"srv_added_false" => 'User with this e-mail is already registered.',
|
||||||
"srv_analiza_options" => 'Options',
|
"srv_analiza_options" => 'Options',
|
||||||
"srv_dodanmail_1" => '1KA registration',
|
"srv_dodanmail_1" => 'Created account on %s (online survey tool 1KA)',
|
||||||
"srv_dodanmail_2" => 'User %s has granted you access to 1KA surveys.',
|
"srv_dodanmail_2" => 'User <b>%s</b> has created you an account on online survey tool 1KA (%s).',
|
||||||
"srv_dodanmail_3" => 'You can login with your e-mail %s and password %s',
|
"srv_dodanmail_3" => 'Login data:',
|
||||||
|
"srv_dodanmail_3_email" => 'Email:',
|
||||||
|
"srv_dodanmail_3_pass_1" => 'Password:',
|
||||||
|
"srv_dodanmail_3_pass_2" => 'we recommend you change this password after first login',
|
||||||
"srv_dodanmail_m_1" => '1KA view access',
|
"srv_dodanmail_m_1" => '1KA view access',
|
||||||
"srv_dodanmail_m_2" => 'Administrator %s has gained access to your surveys on %s.',
|
"srv_dodanmail_m_2" => 'Administrator %s has gained access to your surveys on %s.',
|
||||||
"srv_dodanmail_m_3" => 'He now has access to all of your surveys. If you dissagree with that, you can contact him or system administrator (<a href="https://www.1ka.si/d/sl/pomoc">Help</a>).',
|
"srv_dodanmail_m_3" => 'He now has access to all of your surveys. If you dissagree with that, you can contact him or system administrator (<a href="https://www.1ka.si/d/sl/pomoc">Help</a>).',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user