diff --git a/www/pages/ajax.php b/www/pages/ajax.php index e17fd730..b5276378 100644 --- a/www/pages/ajax.php +++ b/www/pages/ajax.php @@ -1289,7 +1289,7 @@ class Ajax { } break; case 'warteschlangename': - $arr = $this->app->DB->SelectArr("SELECT CONCAT(label, ' ', warteschlange) as result from warteschlangen"); + $arr = $this->app->DB->SelectArr("SELECT CONCAT(label, ' ', warteschlange) as result from warteschlangen WHERE label LIKE '%$term%' OR warteschlange LIKE '%$term%' ORDER BY label"); $carr = !empty($arr)?count($arr):0; for($i = 0; $i < $carr; $i++) { $newarr[] = "{$arr[$i]['result']}"; diff --git a/www/pages/content/ticket_edit.tpl b/www/pages/content/ticket_edit.tpl index 67118ba5..a6d057ce 100644 --- a/www/pages/content/ticket_edit.tpl +++ b/www/pages/content/ticket_edit.tpl @@ -21,7 +21,7 @@ {|[STATUSICON]Ticket #[SCHLUESSEL]|} {|Betreff|}: {|Letzte Aktion|}:[ZEIT] - {|Von|}:[MAILADRESSE] ([KUNDE]) + {|Von|}:[KUNDE] [MAILADRESSE] {|Projekt|}: {|Adresse|}: {|Tags|}: diff --git a/www/pages/content/ticket_nachricht.tpl b/www/pages/content/ticket_nachricht.tpl index 8c28306a..8452ac29 100644 --- a/www/pages/content/ticket_nachricht.tpl +++ b/www/pages/content/ticket_nachricht.tpl @@ -8,6 +8,7 @@
+ @@ -20,9 +21,7 @@
- {|[NACHRICHT_BETREFF]|}
{|Betreff|}:[NACHRICHT_BETREFF]
{|Zeit|}:[NACHRICHT_ZEIT]
{|Von|}:[NACHRICHT_SENDER]
{|An|}:[NACHRICHT_RECIPIENTS]
-

[NACHRICHT_TEXT]
diff --git a/www/pages/ticket.php b/www/pages/ticket.php index a9ed6542..5dc371b5 100644 --- a/www/pages/ticket.php +++ b/www/pages/ticket.php @@ -328,7 +328,7 @@ class Ticket { } $this->app->Tpl->Set("NACHRICHT_BETREFF",htmlentities($message['betreff']." (Entwurf)")); } else { - $this->app->Tpl->Set("NACHRICHT_BETREFF",htmlentities($message['betreff'])); + $this->app->Tpl->Set("NACHRICHT_BETREFF",''.htmlentities($message['betreff']).''); } $this->app->Tpl->Set("NACHRICHT_SENDER",htmlentities($message['verfasser']." <".$message['mail_replyto'].">")); $this->app->Tpl->Set("NACHRICHT_RECIPIENTS",htmlentities($message['mail'])); @@ -564,6 +564,10 @@ class Ticket { $this->app->Tpl->Set('ADRESSE', $this->app->erp->ReplaceAdresse(false,$ticket_from_db['adresse'],false)); // Convert ID to form display + if ($ticket_from_db['mailadresse'] != "") { + $this->app->Tpl->Set('MAILADRESSE',"<".$ticket_from_db['mailadresse'].">"); + } + $this->app->Tpl->Set('ADRESSE_ID',$ticket_from_db['adresse']); $this->app->YUI->AutoComplete("projekt","projektname",1); diff --git a/www/themes/new/css/styles.css b/www/themes/new/css/styles.css index 4a59c714..98b759ed 100644 --- a/www/themes/new/css/styles.css +++ b/www/themes/new/css/styles.css @@ -1809,12 +1809,12 @@ fieldset.usersave div.filter-item > label { fieldset { position: relative; margin: 0; - margin-top: 5px; +/* margin-top: 5px; padding: 5px; border: 0 solid transparent; border-top: 25px solid transparent; border-bottom: 5px solid transparent; - border-width: 24px 5px 0; + border-width: 24px 5px 0;*/ border-color: transparent; background-color: transparent; } @@ -2469,12 +2469,19 @@ ul.tag-editor { .ticket_nachricht_box { border: solid 1px; + border-color: var(--textfield-border); border-radius: 7px; + padding: 0px !important; +} + +.ticket_nachricht_box fieldset { + padding: 0px !important; } .ticket_text { width: 100%; border: none; + height: 300px; } .ui-button-icon,