Ticket system now with drafts and attachement of sent mails
This commit is contained in:
@@ -32485,6 +32485,7 @@ function MailSendFinal($from,$from_name,$to,$to_name,$betreff,$text,$files="",$p
|
||||
htmlentities($text, ENT_NOQUOTES, 'UTF-8', false)
|
||||
, ENT_NOQUOTES
|
||||
);
|
||||
|
||||
if($texthtml!=$text)
|
||||
{
|
||||
$text = $texthtml;
|
||||
@@ -43997,6 +43998,16 @@ function Firmendaten($field,$projekt="")
|
||||
return $tmp;
|
||||
}
|
||||
|
||||
function GetDateiStichwoerter($dateiid) {
|
||||
$stichwoerter = $this->app->DB->SelectArr("SELECT subjekt, objekt, parameter FROM datei_stichwoerter WHERE datei=".$dateiid);
|
||||
if (empty($stichwoerter)) {
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
return $stichwoerter;
|
||||
}
|
||||
}
|
||||
|
||||
function GetDateiSubjektObjekt($subjekt,$objekt,$parameter)
|
||||
{
|
||||
$dateien = $this->app->DB->SelectArr("SELECT datei FROM datei_stichwoerter WHERE subjekt LIKE '$subjekt' AND objekt LIKE '$objekt' AND parameter='$parameter' GROUP by datei");
|
||||
|
||||
Reference in New Issue
Block a user