mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
neue DB Variable emailadressentrennzeichen legt fest welches Trennzeichen beim Versenden der Emails verwendet wird
This commit is contained in:
@@ -19,7 +19,13 @@
|
||||
* Andreas Oesterreicher <[email protected]> and
|
||||
* Rudolf Hangl <[email protected]>.
|
||||
*/
|
||||
include('../vilesci/config.inc.php');
|
||||
require_once('../vilesci/config.inc.php');
|
||||
require_once('../include/functions.inc.php');
|
||||
|
||||
if(!$conn = pg_pconnect(CONN_STRING))
|
||||
die('Fehler beim Connecten zur DB');
|
||||
|
||||
loadVariables($conn, get_uid());
|
||||
?>
|
||||
|
||||
var currentAuswahl=new auswahlValues();
|
||||
@@ -189,7 +195,7 @@ function LektorFunktionMail()
|
||||
if(tree.view.getCellText(v,col).length>1)
|
||||
{
|
||||
if(mailempfaenger!='')
|
||||
mailempfaenger=mailempfaenger+','+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
mailempfaenger=mailempfaenger+'<?php echo $emailadressentrennzeichen; ?>'+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
else
|
||||
mailempfaenger='mailto:'+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
}
|
||||
|
||||
@@ -903,7 +903,7 @@ function MitarbeiterSendMail()
|
||||
if(treeMitarbeiter.view.getCellText(v,col).length>1)
|
||||
{
|
||||
if(mailempfaenger!='')
|
||||
mailempfaenger=mailempfaenger+','+treeMitarbeiter.view.getCellText(v,col)+'@technikum-wien.at';
|
||||
mailempfaenger=mailempfaenger+'<?php echo $emailadressentrennzeichen; ?>'+treeMitarbeiter.view.getCellText(v,col)+'@technikum-wien.at';
|
||||
else
|
||||
mailempfaenger='mailto:'+treeMitarbeiter.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
}
|
||||
|
||||
@@ -2718,7 +2718,7 @@ if(!$error)
|
||||
if($row = pg_fetch_object($result))
|
||||
{
|
||||
if($data!='')
|
||||
$data.=','.$row->kontakt;
|
||||
$data.=$emailadressentrennzeichen.$row->kontakt;
|
||||
else
|
||||
$data = $row->kontakt;
|
||||
}
|
||||
|
||||
@@ -3813,7 +3813,7 @@ function StudentSendMail()
|
||||
if(tree.view.getCellText(v,col).length>1)
|
||||
{
|
||||
if(mailempfaenger!='')
|
||||
mailempfaenger=mailempfaenger+','+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
mailempfaenger=mailempfaenger+'<?php echo $emailadressentrennzeichen; ?>'+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
else
|
||||
mailempfaenger='mailto:'+tree.view.getCellText(v,col)+'@<?php echo DOMAIN; ?>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user