Various Fixes (#156)
Jeremy D

Jeremy D commited on 2022-01-23 17:29:15
Showing 52 changed files, with 66 additions and 57 deletions.


* Sprintf and un_htmlspecialchars

Fixes #155

* 2022 Copyright year

* Fixes #152
... ...
@@ -1 +1 @@
1
-Subproject commit 7009afc5c6264a45b86828551c59158c19c2d5f8
1
+Subproject commit 2d59db5bb4e7cc0b3024003181d36048bcccde63
... ...
@@ -553,19 +553,26 @@ dl.stats dd span, dl.stats dt span {
553 553
 }
554 554
 
555 555
 /* Unread */
556
-.sd_unread_title,
557
-.sd_unread_content {
556
+.sd_unread_title {
558 557
 	display: flex;
559 558
 	min-height: 35px;
560 559
 	flex-wrap: wrap;
561 560
 	align-items: center;
562 561
 	padding: 0 4px;
563 562
 }
563
+.sd_unread_content div.sd_unread_row {
564
+	display: flex;
565
+	min-height: 35px;
566
+	flex-wrap: wrap;
567
+	align-items: center;
568
+	padding: 0 4px;
569
+}
570
+
564 571
 .sd_unread_title span {
565 572
 	flex-basis: auto;
566 573
 	flex-grow: 1;
567 574
 }
568
-.sd_unread_content span {
575
+.sd_unread_content div.sd_unread_row span {
569 576
 	flex-basis: auto;
570 577
 	flex-shrink: 0;
571 578
 	flex-grow: 1;
... ...
@@ -573,7 +580,7 @@ dl.stats dd span, dl.stats dt span {
573 580
 
574 581
 @media screen and (max-width: 991px) {
575 582
 	.sd_unread_title span:not(:nth-child(1), :nth-child(2), :nth-child(5)),
576
-	.sd_unread_content span:not(:nth-child(1), :nth-child(2), :nth-child(5)) {
583
+	.sd_unread_content div.sd_unread_row span:not(:nth-child(1), :nth-child(2), :nth-child(5)) {
577 584
 		display: none;
578 585
 	}
579 586
 }
580 587
\ No newline at end of file
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -1,4 +1,4 @@
1
-Copyright (c) 2010-2019, SimpleDesk Team
1
+Copyright (c) 2010-2022, SimpleDesk Team
2 2
 All rights reserved.
3 3
 
4 4
 Redistribution and use in source and binary forms, with or without
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -134,7 +134,7 @@ function shd_notifications_notify_newreply(&$msgOptions, &$ticketOptions, &$post
134 134
 		'ticket' => $ticketOptions['id'],
135 135
 		'msg' => $msgOptions['id'],
136 136
 		'body' => $msgOptions['body'],
137
-		'poster_name' => $posterOptions['name'],
137
+		'poster_name' => un_htmlspecialchars($posterOptions['name']), // Fixes &quote; from being in emails.
138 138
 	);
139 139
 
140 140
 	$members = array(); // who should get what type of notification, preferences depending
... ...
@@ -433,7 +433,7 @@ function shd_notify_users($notify_data)
433 433
 
434 434
 			$subject = str_replace(array_keys($replacements), array_values($replacements), $txt['template_subject_notify_' . $email_type]);
435 435
 
436
-			$body = $txt['template_' . $withbody . '_notify_' . $email_type] . "\n\n" . $txt['regards_team'];
436
+			$body = $txt['template_' . $withbody . '_notify_' . $email_type] . "\n\n" . sprintf($txt['regards_team'], $context['forum_name']);
437 437
 			$body = str_replace(array_keys($replacements), array_values($replacements), $body);
438 438
 
439 439
 			if (!isset($log['emails'][$email_type]))
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -58,13 +58,15 @@ function template_shd_unread_below()
58 58
 	else
59 59
 		foreach ($context['shd_unread_info'] as $ticket)
60 60
 			echo '
61
+			<div class="sd_unread_row">
61 62
 				<span style="width: 8%;">', $ticket['id_ticket_display'], '</span>
62 63
 				<span class="smalltext" style="width: 15%;"><a href="', $scripturl, '?action=helpdesk;sa=ticket;ticket=', $ticket['id_ticket'], '">', $ticket['subject'], '</a></span>
63 64
 				<span class="smalltext" style="width: 12%;">', $ticket['ticket_starter'], '</span>
64 65
 				<span class="smalltext" style="width: 7%;">', $ticket['num_replies'], '</span>
65 66
 				<span class="smalltext" style="width: 17%;">', $txt['shd_status_' . $ticket['status']], '</span>
66 67
 				<span class="smalltext" style="width: 8%;">', $txt['shd_urgency_' . $ticket['urgency']], '</span>
67
-			<span class="smalltext" style="width: 22%;">', $ticket['updated'], '</span>';
68
+				<span class="smalltext" style="width: 22%;">', $ticket['updated'], '</span>
69
+			</div>';
68 70
 
69 71
 	echo '
70 72
 		</div>';
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
... ...
@@ -5,7 +5,7 @@
5 5
 *       An advanced help desk modification built on SMF       *
6 6
 ***************************************************************
7 7
 *                                                             *
8
-*         * Copyright 2021 - SimpleDesk.net                   *
8
+*         * Copyright 2022 - SimpleDesk.net                   *
9 9
 *                                                             *
10 10
 *   This file and its contents are subject to the license     *
11 11
 *   included with this distribution, license.txt, which       *
12 12