From 84cd447f49f093e5e26d5488a3f03678b48d29f5 Mon Sep 17 00:00:00 2001
From: Xenomporio <>
Date: Fri, 19 Aug 2022 14:24:13 +0200
Subject: [PATCH] Ticket system cosmetic changes to xentral 20 compatibility
assistents
---
www/pages/ticket.php | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/www/pages/ticket.php b/www/pages/ticket.php
index 79380298..946381b8 100644
--- a/www/pages/ticket.php
+++ b/www/pages/ticket.php
@@ -889,12 +889,13 @@ class Ticket {
$this->app->DB->Update($sql);
- $this->app->Tpl->Set('TEXT', "Done.");
+ $this->app->Tpl->Set('TEXT', "Status fix abgeschlossen.");
$this->app->Tpl->Parse('PAGE','ticket_text.tpl');
}
else {
- $this->app->Tpl->Set('TEXT', "This will replace all ticket status with the status of the latest ticket_nachricht. To confirm, press here: ");
- $this->app->Tpl->Add('TEXT', 'Confirm');
+// $this->app->Tpl->Set('TEXT', "This will replace all ticket status with the status of the latest ticket_nachricht. To confirm, press here: ");
+ $this->app->Tpl->Set('TEXT', "Dieser Assistent ersetzt den Status aller offenen Tickets (Weder abgeschlossen noch Spam) mit dem Status der letzten Nachricht im Ticket. Hier starten: ");
+ $this->app->Tpl->Add('TEXT', '');
$this->app->Tpl->Parse('PAGE','ticket_text.tpl');
}
@@ -921,12 +922,13 @@ class Ticket {
$this->app->DB->Update($sql);
- $this->app->Tpl->Set('TEXT', "Done.");
+ $this->app->Tpl->Set('TEXT', "Datum fix abgeschlossen.");
$this->app->Tpl->Parse('PAGE','ticket_text.tpl');
}
else {
- $this->app->Tpl->Set('TEXT', "This will replace all open ticket dates with the date of the latest ticket_nachricht. To confirm, press here: ");
- $this->app->Tpl->Add('TEXT', 'Confirm');
+// $this->app->Tpl->Set('TEXT', "This will replace all open ticket dates with the date of the latest ticket_nachricht. To confirm, press here: ");
+ $this->app->Tpl->Set('TEXT', "Dieser Assistent ersetzt das Datum aller offenen Tickets (Weder abgeschlossen noch Spam) mit dem Datum der letzten Nachricht im Ticket. Hier starten: ");
+ $this->app->Tpl->Add('TEXT', '');
$this->app->Tpl->Parse('PAGE','ticket_text.tpl');
}