jdarwood007 commited on 2015-11-03 20:13:13
Showing 66 changed files, with 216 additions and 195 deletions.
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> |
3 | 3 |
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 |
- <version>2.0</version> |
|
5 |
+ <version>2.1</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Display.php"> |
8 | 8 |
<operation><!-- add the option to the download system to ensure it handles SD attachments --> |
... | ... |
@@ -88,20 +88,6 @@ |
88 | 88 |
</file> |
89 | 89 |
|
90 | 90 |
<file name="$sourcedir/ManageAttachments.php"> |
91 |
- <operation><!-- extend removeAttachments to cover SD's table items since it's doing the rest of the work anyway --> |
|
92 |
- <search position="after"><![CDATA[ if ($return_affected_messages)]]></search> |
|
93 |
- <add><![CDATA[ // And now lastly to remove SimpleDesk attachments |
|
94 |
- if (!empty($attach)) |
|
95 |
- $smcFunc['db_query']('', ' |
|
96 |
- DELETE FROM {db_prefix}helpdesk_attachments |
|
97 |
- WHERE id_attach IN ({array_int:attachment_list})', |
|
98 |
- array( |
|
99 |
- 'attachment_list' => $attach, |
|
100 |
- ) |
|
101 |
- ); |
|
102 |
- |
|
103 |
-]]></add> |
|
104 |
- </operation> |
|
105 | 91 |
<operation><!-- prevent attachment maintenance killing our attachments! unconventionally, this is an atomic query for good reason, it MUST be put in place fully --> |
106 | 92 |
<search position="replace"><![CDATA[SELECT a.id_attach, a.id_folder, a.filename, a.file_hash |
107 | 93 |
FROM {db_prefix}attachments AS a |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> |
3 | 3 |
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 |
- <version>2.0</version> |
|
5 |
+ <version>2.1</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Packages.php"><!-- Sorts the SD plugin packages into the relevant container. --> |
8 | 8 |
<operation> |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> |
3 | 3 |
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 |
- <version>2.0</version> |
|
5 |
+ <version>2.1</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Subs.php"><!-- bbcode handler changes --> |
8 | 8 |
<operation><!-- expand the quote link= parameter --> |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> |
3 | 3 |
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 |
- <version>2.0</version> |
|
5 |
+ <version>2.1</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Profile-View.php"> |
8 | 8 |
<operation><!-- add the code to call for IP tracking --> |
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> |
3 | 3 |
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 |
- <version>2.0</version> |
|
5 |
+ <version>2.1</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Profile-Modify.php"><!-- Ensure things get uncached if we change groups (which means permissions) --> |
8 | 8 |
<operation> |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
########################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: install.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: install.php / 2.1 # |
|
18 | 18 |
########################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -99,11 +99,7 @@ foreach ($new_settings as $k => $v) |
99 | 99 |
|
100 | 100 |
// Hook references to be added. |
101 | 101 |
$hooks = array(); |
102 |
-$hooks[] = array( |
|
103 |
- 'hook' => 'integrate_display_buttons', |
|
104 |
- 'function' => 'shd_display_btn_mvtopic', |
|
105 |
- 'perm' => true, |
|
106 |
-); |
|
102 |
+// SMF Core stuff |
|
107 | 103 |
$hooks[] = array( |
108 | 104 |
'hook' => 'integrate_pre_include', |
109 | 105 |
'function' => '$sourcedir/sd_source/Subs-SimpleDesk.php', |
... | ... |
@@ -114,6 +110,32 @@ $hooks[] = array( |
114 | 110 |
'function' => 'shd_init', |
115 | 111 |
'perm' => true, |
116 | 112 |
); |
113 |
+ $hooks[] = array( |
|
114 |
+ 'hook' => 'integrate_actions', |
|
115 |
+ 'function' => 'shd_init_actions', |
|
116 |
+ 'perm' => true, |
|
117 |
+ ); |
|
118 |
+ $hooks[] = array( |
|
119 |
+ 'hook' => 'integrate_buffer', |
|
120 |
+ 'function' => 'shd_buffer_replace', |
|
121 |
+ 'perm' => true, |
|
122 |
+ ); |
|
123 |
+ $hooks[] = array( |
|
124 |
+ 'hook' => 'integrate_menu_buttons', |
|
125 |
+ 'function' => 'shd_main_menu', |
|
126 |
+ 'perm' => true, |
|
127 |
+ ); |
|
128 |
+ $hooks[] = array( |
|
129 |
+ 'hook' => 'integrate_load_permissions', |
|
130 |
+ 'function' => 'shd_admin_smf_perms', |
|
131 |
+ 'perm' => true, |
|
132 |
+ ); |
|
133 |
+ $hooks[] = array( |
|
134 |
+ 'hook' => 'integrate_error_types', |
|
135 |
+ 'function' => 'shd_error_types', |
|
136 |
+ 'perm' => true, |
|
137 |
+ ); |
|
138 |
+// Admin Section Stuff |
|
117 | 139 |
$hooks[] = array( |
118 | 140 |
'hook' => 'integrate_admin_include', |
119 | 141 |
'function' => '$sourcedir/sd_source/Subs-SimpleDeskAdmin.php', |
... | ... |
@@ -130,24 +152,26 @@ $hooks[] = array( |
130 | 152 |
'perm' => true, |
131 | 153 |
); |
132 | 154 |
$hooks[] = array( |
133 |
- 'hook' => 'integrate_actions', |
|
134 |
- 'function' => 'shd_init_actions', |
|
155 |
+ 'hook' => 'integrate_admin_search', |
|
156 |
+ 'function' => 'shd_admin_search', |
|
135 | 157 |
'perm' => true, |
136 | 158 |
); |
137 | 159 |
$hooks[] = array( |
138 |
- 'hook' => 'integrate_buffer', |
|
139 |
- 'function' => 'shd_buffer_replace', |
|
160 |
+ 'hook' => 'integrate_remove_attachments', |
|
161 |
+ 'function' => 'shd_remove_attachments', |
|
140 | 162 |
'perm' => true, |
141 | 163 |
); |
164 |
+// BoardIndex, Display, Profile, etc |
|
142 | 165 |
$hooks[] = array( |
143 |
- 'hook' => 'integrate_menu_buttons', |
|
144 |
- 'function' => 'shd_main_menu', |
|
166 |
+ 'hook' => 'integrate_display_buttons', |
|
167 |
+ 'function' => 'shd_display_btn_mvtopic', |
|
145 | 168 |
'perm' => true, |
146 | 169 |
); |
147 | 170 |
$hooks[] = array( |
148 |
- 'hook' => 'integrate_load_permissions', |
|
149 |
- 'function' => 'shd_admin_smf_perms', |
|
171 |
+ 'hook' => 'integrate_getboardtree', |
|
172 |
+ 'function' => 'shd_add_to_boardindex', |
|
150 | 173 |
'perm' => true, |
174 |
+ 'file' => '$sourcedir/sd_source/Subs-SimpleDeskBoardIndex.php', |
|
151 | 175 |
); |
152 | 176 |
$hooks[] = array( |
153 | 177 |
'hook' => 'integrate_profile_areas', |
... | ... |
@@ -155,23 +179,13 @@ $hooks[] = array( |
155 | 179 |
'perm' => true, |
156 | 180 |
'file' => '$sourcedir/sd_source/Subs-SimpleDeskProfile.php', |
157 | 181 |
); |
158 |
-$hooks[] = array( |
|
159 |
- 'hook' => 'integrate_error_types', |
|
160 |
- 'function' => 'shd_error_types', |
|
161 |
- 'perm' => true, |
|
162 |
-); |
|
182 |
+// Other |
|
163 | 183 |
$hooks[] = array( |
164 | 184 |
'hook' => 'integrate_SSI', |
165 | 185 |
'function' => false, |
166 | 186 |
'file' => '$sourcedir/sd_source/SimpleDesk-SSI.php', |
167 | 187 |
'perm' => true, |
168 | 188 |
); |
169 |
-$hooks[] = array( |
|
170 |
- 'hook' => 'integrate_getboardtree', |
|
171 |
- 'function' => 'shd_add_to_boardindex', |
|
172 |
- 'perm' => true, |
|
173 |
- 'file' => '$sourcedir/sd_source/Subs-SimpleDeskBoardIndex.php', |
|
174 |
-); |
|
175 | 189 |
|
176 | 190 |
// Now, we move on to adding new tables to the database. |
177 | 191 |
$tables = array(); |
... | ... |
@@ -6,7 +6,7 @@ Thank you for downloading SimpleDesk :) |
6 | 6 |
|
7 | 7 |
Yes, we know, you don't want the boring formality of a license, but to protect us - and you - we have a license in the code. Clicking the install button after this constitutes acceptance of the following terms. |
8 | 8 |
|
9 |
-[code]Copyright (c) 2010-2011, SimpleDesk Team |
|
9 |
+[code]Copyright (c) 2010-2015, SimpleDesk Team |
|
10 | 10 |
All rights reserved. |
11 | 11 |
|
12 | 12 |
Redistribution and use in source and binary forms, with or without |
... | ... |
@@ -3,7 +3,7 @@ |
3 | 3 |
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/"> |
4 | 4 |
<id>SimpleDeskTeam:SimpleDesk</id> |
5 | 5 |
<name>SimpleDesk - Integrated Helpdesk for Simple Machines Forum</name> |
6 |
- <version>2.0</version> |
|
6 |
+ <version>2.1</version> |
|
7 | 7 |
<type>modification</type> |
8 | 8 |
|
9 | 9 |
<install for="1.1.*, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5"> |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk main language file |
|
19 |
+// Version: 2.1; SimpleDesk main language file |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDeskAdmin.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDeskAdmin.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk administration options |
|
19 |
+// Version: 2.1; SimpleDesk administration options |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDeskLogAction.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDeskLogAction.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk action log |
|
19 |
+// Version: 2.1; SimpleDesk action log |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -6,7 +6,7 @@ |
6 | 6 |
# An advanced help desk modifcation built on SMF # |
7 | 7 |
################################################################### |
8 | 8 |
# # |
9 |
-# * Copyright 2010 - SimpleDesk.net # |
|
9 |
+# * Copyright 2015 - 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 # |
... | ... |
@@ -14,10 +14,10 @@ |
14 | 14 |
# Any questions, please contact SimpleDesk.net # |
15 | 15 |
# # |
16 | 16 |
################################################################### |
17 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
18 |
-# File Info: SimpleDeskNotifications.english.php / 2.0 Anatidae # |
|
17 |
+# SimpleDesk Version: 2.1 # |
|
18 |
+# File Info: SimpleDeskNotifications.english.php / 2.1 # |
|
19 | 19 |
################################################################### |
20 |
-// Version: 2.0 Anatidae; SimpleDesk main language file |
|
20 |
+// Version: 2.1; SimpleDesk main language file |
|
21 | 21 |
|
22 | 22 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
23 | 23 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDeskPermissions.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDeskPermissions.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk permissions |
|
19 |
+// Version: 2.1; SimpleDesk permissions |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDeskProfile.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDeskProfile.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk Profile language file |
|
19 |
+// Version: 2.1; SimpleDesk Profile language file |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDeskWho.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDeskWho.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk who's online |
|
19 |
+// Version: 2.1; SimpleDesk who's online |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SDPluginFrontPage.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SDPluginFrontPage.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk main language file |
|
19 |
+// Version: 2.1; SimpleDesk main language file |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SDPluginFrontPage.english.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SDPluginFrontPage.english.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 2.0 Anatidae; SimpleDesk main language file |
|
19 |
+// Version: 2.1; SimpleDesk main language file |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SDPluginFrontPage.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SDPluginFrontPage.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SDPluginFrontPage.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SDPluginFrontPage.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Admin.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Admin.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminDepartments.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminDepartments.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminCustomField.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminCustomField.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminDepartments.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminDepartments.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminMaint.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminMaint.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminPermissions.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminPermissions.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AdminPlugins.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AdminPlugins.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-AjaxHandler.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-AjaxHandler.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -272,8 +272,8 @@ function shd_ajax_urgency() |
272 | 272 |
); |
273 | 273 |
|
274 | 274 |
$array = array( |
275 |
- 'increase' => '<a id="urglink_increase" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket_id'] . ';change=increase;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_increase'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_up.png" width="9px" alt="' . $txt['shd_urgency_increase'] . '" /></a>', |
|
276 |
- 'decrease' => '<a id="urglink_decrease" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket_id'] . ';change=decrease;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_decrease'] . '"><img src="' . $settings['default_images_url'] . '/simpledesk/move_down.png" width="9px" alt="' . $txt['shd_urgency_decrease'] . '" /></a>', |
|
275 |
+ 'increase' => '<a id="urglink_increase" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket_id'] . ';change=increase;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_increase'] . '"><img src="' . $settings['images_url'] . '/sort_up.png" width="9px" alt="' . $txt['shd_urgency_increase'] . '" /></a>', |
|
276 |
+ 'decrease' => '<a id="urglink_decrease" href="' . $scripturl . '?action=helpdesk;sa=urgencychange;ticket=' . $context['ticket_id'] . ';change=decrease;' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . $txt['shd_urgency_decrease'] . '"><img src="' . $settings['images_url'] . '/sort_down.png" width="9px" alt="' . $txt['shd_urgency_decrease'] . '" /></a>', |
|
277 | 277 |
); |
278 | 278 |
|
279 | 279 |
foreach ($new_options as $button => $can) |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Assign.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Assign.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Delete.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Delete.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Display.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Display.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-MiscActions.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-MiscActions.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-MoveDept.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-MoveDept.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -6,7 +6,7 @@ |
6 | 6 |
# An advanced help desk modifcation built on SMF # |
7 | 7 |
################################################################### |
8 | 8 |
# # |
9 |
-# * Copyright 2010 - SimpleDesk.net # |
|
9 |
+# * Copyright 2015 - 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 # |
... | ... |
@@ -14,8 +14,8 @@ |
14 | 14 |
# Any questions, please contact SimpleDesk.net # |
15 | 15 |
# # |
16 | 16 |
################################################################### |
17 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
18 |
-# File Info: SimpleDesk-Notifications.php / 2.0 Anatidae # |
|
17 |
+# SimpleDesk Version: 2.1 # |
|
18 |
+# File Info: SimpleDesk-Notifications.php / 2.1 # |
|
19 | 19 |
################################################################### |
20 | 20 |
|
21 | 21 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Post.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Post.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Profile.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Profile.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-SSI.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-SSI.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Scheduled.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Scheduled.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Search.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Search.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-TicketTopicMove.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-TicketTopicMove.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk-Unread.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk-Unread.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: SimpleDesk.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: SimpleDesk.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDesk.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDesk.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDeskAdmin.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDeskAdmin.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -633,3 +633,24 @@ function shd_error_types(&$other_error_types, &$error_type, $error_message, $fil |
633 | 633 |
elseif (stripos($file, 'simpledesk') !== false || stripos($error_message, 'shd_') !== false || stripos($error_message, 'simpledesk') !== false) |
634 | 634 |
$error_type = 'simpledesk'; |
635 | 635 |
} |
636 |
+ |
|
637 |
+/** |
|
638 |
+ * Removes an attachment when removed from SMF. |
|
639 |
+ * |
|
640 |
+ * @since 2.1 |
|
641 |
+ * @param array &$attach All attachment IDs removed. |
|
642 |
+*/ |
|
643 |
+function shd_remove_attachments($attach) |
|
644 |
+{ |
|
645 |
+ global $smcFunc; |
|
646 |
+ |
|
647 |
+ // And now lastly to remove SimpleDesk attachments |
|
648 |
+ if (!empty($attach)) |
|
649 |
+ $smcFunc['db_query']('', ' |
|
650 |
+ DELETE FROM {db_prefix}helpdesk_attachments |
|
651 |
+ WHERE id_attach IN ({array_int:attachment_list})', |
|
652 |
+ array( |
|
653 |
+ 'attachment_list' => $attach, |
|
654 |
+ ) |
|
655 |
+ ); |
|
656 |
+} |
|
636 | 657 |
\ No newline at end of file |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDeskBoardIndex.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDeskBoardIndex.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDeskPermissions.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDeskPermissions.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDeskPost.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDeskPost.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -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 2015 - 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 2015 - 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 # |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
-# File Info: Subs-SimpleDeskSearch.php / 2.0 Anatidae # |
|
16 |
+# SimpleDesk Version: 2.1 # |
|
17 |
+# File Info: Subs-SimpleDeskSearch.php / 2.1 # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 2.0 Anatidae; SimpleDesk's administration/departments area |
|
2 |
+// Version: 2.1; SimpleDesk's administration/departments area |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays SimpleDesk's administration for departments - front page, listing the departments, plus the create/edit dialogs. |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 2.0 Anatidae; SimpleDesk's administration/permissions area |
|
2 |
+// Version: 2.1; SimpleDesk's administration/permissions area |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays SimpleDesk's administration for permissions - front page, listing the templates and known defined roles. |