Fixed a bug with unread helpdesk replies showing the login name rather than display name Fixed the copyright year
jdarwood007

jdarwood007 commited on 2016-11-23 12:56:56
Showing 47 changed files, with 49 additions and 49 deletions.


Signed-off-by: jdarwood007 <unmonitored+github@sleepycode.com>
... ...
@@ -5,7 +5,7 @@
5 5
 #       An advanced help desk modification built on SMF       #
6 6
 ###############################################################
7 7
 #                                                             #
8
-#         * Copyright 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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       #
... ...
@@ -6,7 +6,7 @@
6 6
 #         An advanced help desk modifcation built on SMF          #
7 7
 ###################################################################
8 8
 #                                                                 #
9
-#           * Copyright 2015 - SimpleDesk.net                     #
9
+#           * Copyright 2016 - SimpleDesk.net                     #
10 10
 #                                                                 #
11 11
 #     This file and its contents are subject to the license       #
12 12
 #     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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 modifcation built on SMF      #
6 6
 ###########################################################
7 7
 #                                                         #
8
-#       * Copyright 2010 - SimpleDesk.net                 #
8
+#       * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 modifcation built on SMF      #
6 6
 ###########################################################
7 7
 #                                                         #
8
-#       * Copyright 2010 - SimpleDesk.net                 #
8
+#       * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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       #
... ...
@@ -6,7 +6,7 @@
6 6
 #         An advanced help desk modifcation built on SMF          #
7 7
 ###################################################################
8 8
 #                                                                 #
9
-#           * Copyright 2015 - SimpleDesk.net                     #
9
+#           * Copyright 2016 - SimpleDesk.net                     #
10 10
 #                                                                 #
11 11
 #     This file and its contents are subject to the license       #
12 12
 #     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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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       #
... ...
@@ -105,12 +105,12 @@ function shd_unread_posts()
105 105
 			foreach ($context['shd_unread_info'] as $key => $ticket)
106 106
 			{
107 107
 				if (!empty($user_profile[$ticket['id_member_started']]))
108
-					$context['shd_unread_info'][$key]['ticket_starter'] = shd_profile_link($user_profile[$ticket['id_member_started']]['member_name'], $ticket['id_member_started']);
108
+					$context['shd_unread_info'][$key]['ticket_starter'] = shd_profile_link($user_profile[$ticket['id_member_started']]['real_name'], $ticket['id_member_started']);
109 109
 				else
110 110
 					$context['shd_unread_info'][$key]['ticket_starter'] = $ticket['poster_name'];
111 111
 
112 112
 				if (!empty($user_profile[$ticket['id_member_assigned']]))
113
-					$context['shd_unread_info'][$key]['ticket_assigned'] = shd_profile_link($user_profile[$ticket['id_member_assigned']]['member_name'], $ticket['id_member_assigned']);
113
+					$context['shd_unread_info'][$key]['ticket_assigned'] = shd_profile_link($user_profile[$ticket['id_member_assigned']]['real_name'], $ticket['id_member_assigned']);
114 114
 				else
115 115
 					$context['shd_unread_info'][$key]['ticket_assigned'] = '<span class="error">' . $txt['shd_unassigned'] . '</span>';
116 116
 			}
... ...
@@ -5,7 +5,7 @@
5 5
 #       An advanced help desk modification built on SMF       #
6 6
 ###############################################################
7 7
 #                                                             #
8
-#         * Copyright 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2015 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2010 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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 2010 - SimpleDesk.net                   #
8
+#         * Copyright 2016 - 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