gruffen commited on 2011-05-15 07:41:46
Showing 58 changed files, with 232 additions and 212 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>1.1 rev753</version> |
|
5 |
+ <version>2.0</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 --> |
... | ... |
@@ -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>1.1 rev753</version> |
|
5 |
+ <version>2.0</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>1.1</version> |
|
5 |
+ <version>2.0</version> |
|
6 | 6 |
|
7 | 7 |
<file name="$sourcedir/Admin.php"><!-- adds the navbar links to the admin panel --> |
8 | 8 |
<operation><!-- prepend SimpleDesk's ACP helper functions to the list of places to search --> |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk main language file |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Admin.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDeskAdmin.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk administration options |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-LogAction.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDeskLogAction.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk action log |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -14,10 +14,10 @@ |
14 | 14 |
# Any questions, please contact SimpleDesk.net # |
15 | 15 |
# # |
16 | 16 |
################################################################### |
17 |
-# SimpleDesk Version: 1.0 Felidae # |
|
18 |
-# File Info: SimpleDeskNotifications.english.php / 1.0 Felidae # |
|
17 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
18 |
+# File Info: SimpleDeskNotifications.english.php / 2.0 Anatidae # |
|
19 | 19 |
################################################################### |
20 |
-// Version: 1.0 Felidae; SimpleDesk main language file |
|
20 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -26,7 +26,7 @@ |
26 | 26 |
* |
27 | 27 |
* @package language |
28 | 28 |
* @todo Document the text groups in this file. |
29 |
- * @since 1.1 |
|
29 |
+ * @since 2.0 |
|
30 | 30 |
*/ |
31 | 31 |
|
32 | 32 |
// Email subject and body contents |
... | ... |
@@ -13,16 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Permissions.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDeskPermissions.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk permissions |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
23 | 23 |
/** |
24 |
- * This file contains all of the language strings (both main description and help text) for all permissions that SimpleDesk adds to the |
|
25 |
- * permissions pages. Note that both classic and simple view are accounted for, explaining the large number of strings per permission. |
|
24 |
+ * This file contains all of the language strings (both main description and help text) for all permissions that SimpleDesk contains. |
|
26 | 25 |
* |
27 | 26 |
* @package language |
28 | 27 |
* @todo Document the text groups in this file. |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.1 # |
|
17 |
-# File Info: SimpleDesk-Profile.english.php / 1.1 # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDeskProfile.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0; SimpleDesk Profile language file |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -24,7 +24,7 @@ |
24 | 24 |
* This file contains all of the principle language strings used by the Profile page. |
25 | 25 |
* |
26 | 26 |
* @package language |
27 |
- * @since 1.1 |
|
27 |
+ * @since 2.0 |
|
28 | 28 |
*/ |
29 | 29 |
|
30 | 30 |
$txt['shd_profile_area'] = 'Helpdesk'; |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Who.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDeskWho.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk who's online |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -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>1.1</version> |
|
6 |
+ <version>2.0</version> |
|
7 | 7 |
<type>modification</type> |
8 | 8 |
|
9 | 9 |
<install for="1.1.*, 2.0 RC2, 2.0 RC3, 2.0 RC4"> |
... | ... |
@@ -13,10 +13,10 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginFrontPage.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk main language file |
|
19 |
+// Version: 2.0 Anatidae; 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 |
|
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Notifications.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginFrontPage.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 |
- * This file handles sending notifications to users when things happen in the helpdesk. |
|
21 |
+ * This file handles the replacement front page. |
|
22 | 22 |
* |
23 |
- * @package source |
|
24 |
- * @since 1.1 |
|
23 |
+ * @package plugin-frontpage |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -13,13 +13,13 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
########################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: index.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: index.php / 2.0 Anatidae # |
|
18 | 18 |
########################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 |
- * @package plugin-emailnotifications |
|
22 |
- * @since 1.1 |
|
21 |
+ * @package plugin-frontpage |
|
22 |
+ * @since 2.0 |
|
23 | 23 |
*/ |
24 | 24 |
|
25 | 25 |
if (!defined('SHD_VERSION')) |
... | ... |
@@ -43,7 +43,7 @@ if (!defined('SHD_VERSION')) |
43 | 43 |
* hooks |
44 | 44 |
* - key-value pair of hook name to function name or array of function names to be called at the hook point |
45 | 45 |
* |
46 |
- * @since 1.1 |
|
46 |
+ * @since 2.0 |
|
47 | 47 |
*/ |
48 | 48 |
function shdplugin_front_page() |
49 | 49 |
{ |
... | ... |
@@ -55,7 +55,7 @@ function shdplugin_front_page() |
55 | 55 |
'website' => 'http://www.simpledesk.net/', |
56 | 56 |
'version' => '1.0', |
57 | 57 |
'compatibility' => array( |
58 |
- 'SimpleDesk 1.0 Felidae', // should tie up with the SHD_VERSION constants |
|
58 |
+ 'SimpleDesk 2.0 Anatidae', // should tie up with the SHD_VERSION constants |
|
59 | 59 |
), |
60 | 60 |
'acp_url' => 'action=admin;area=helpdesk_options;sa=frontpage', |
61 | 61 |
), |
... | ... |
@@ -1,6 +1,18 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk alternate front page template |
|
3 | 3 |
|
4 |
+/** |
|
5 |
+ * This file handles the replacement front page. |
|
6 |
+ * |
|
7 |
+ * @package plugin-frontpage |
|
8 |
+ * @since 2.0 |
|
9 |
+*/ |
|
10 |
+ |
|
11 |
+/** |
|
12 |
+ * Display the replacement front page. |
|
13 |
+ * |
|
14 |
+ * @since 2.0 |
|
15 |
+*/ |
|
4 | 16 |
function template_shd_frontpage() |
5 | 17 |
{ |
6 | 18 |
global $context, $txt, $settings, $scripturl; |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Admin.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Admin.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AdminCustomField.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AdminCustomField.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core of SimpleDesk's custom ticket fields interface and code. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
if (!defined('SMF')) |
27 | 27 |
die('Hacking attempt...'); |
... | ... |
@@ -31,7 +31,7 @@ if (!defined('SMF')) |
31 | 31 |
* |
32 | 32 |
* Directed here from the main administration centre, after permission checks and a few dependencies loaded, this deals solely with managing custom fields. |
33 | 33 |
* |
34 |
- * @since 1.1 |
|
34 |
+ * @since 2.0 |
|
35 | 35 |
*/ |
36 | 36 |
function shd_admin_custom() |
37 | 37 |
{ |
... | ... |
@@ -66,7 +66,7 @@ function shd_admin_custom() |
66 | 66 |
/** |
67 | 67 |
* Display all the custom fields, including new/edit/save/delete UI hooks |
68 | 68 |
* |
69 |
- * @since 1.1 |
|
69 |
+ * @since 2.0 |
|
70 | 70 |
*/ |
71 | 71 |
function shd_admin_custom_main() |
72 | 72 |
{ |
... | ... |
@@ -105,7 +105,7 @@ function shd_admin_custom_main() |
105 | 105 |
/** |
106 | 106 |
* Display the new field UI |
107 | 107 |
* |
108 |
- * @since 1.1 |
|
108 |
+ * @since 2.0 |
|
109 | 109 |
*/ |
110 | 110 |
function shd_admin_custom_new() |
111 | 111 |
{ |
... | ... |
@@ -144,7 +144,7 @@ function shd_admin_custom_new() |
144 | 144 |
/** |
145 | 145 |
* Display the edit field UI |
146 | 146 |
* |
147 |
- * @since 1.1 |
|
147 |
+ * @since 2.0 |
|
148 | 148 |
*/ |
149 | 149 |
function shd_admin_custom_edit() |
150 | 150 |
{ |
... | ... |
@@ -219,7 +219,7 @@ function shd_admin_custom_edit() |
219 | 219 |
/** |
220 | 220 |
* Handle saving a field |
221 | 221 |
* |
222 |
- * @since 1.1 |
|
222 |
+ * @since 2.0 |
|
223 | 223 |
*/ |
224 | 224 |
function shd_admin_custom_save() |
225 | 225 |
{ |
... | ... |
@@ -486,7 +486,7 @@ function shd_admin_custom_save() |
486 | 486 |
/** |
487 | 487 |
* Handle moving a custom field up or down |
488 | 488 |
* |
489 |
- * @since 1.1 |
|
489 |
+ * @since 2.0 |
|
490 | 490 |
*/ |
491 | 491 |
function shd_admin_custom_move() |
492 | 492 |
{ |
... | ... |
@@ -554,7 +554,7 @@ function shd_admin_custom_move() |
554 | 554 |
* Get possible icons |
555 | 555 |
* |
556 | 556 |
* @return array A list of possible images for the icon selector (everything in Themes/default/images/simpledesk/cf/ that's an image). Each item in the principle array is an array of value/caption pairs. |
557 |
- * @since 1.1 |
|
557 |
+ * @since 2.0 |
|
558 | 558 |
*/ |
559 | 559 |
function shd_admin_cf_icons() |
560 | 560 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AdminDepartments.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AdminDepartments.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core of SimpleDesk's departmental administration. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
if (!defined('SMF')) |
27 | 27 |
die('Hacking attempt...'); |
... | ... |
@@ -29,7 +29,7 @@ if (!defined('SMF')) |
29 | 29 |
/** |
30 | 30 |
* The start point for all interaction with the SimpleDesk departments |
31 | 31 |
* |
32 |
- * @since 1.1 |
|
32 |
+ * @since 2.0 |
|
33 | 33 |
*/ |
34 | 34 |
function shd_admin_departments() |
35 | 35 |
{ |
... | ... |
@@ -53,7 +53,7 @@ function shd_admin_departments() |
53 | 53 |
/** |
54 | 54 |
* Display a list of all the departments currently in the system, with appropriate navigation to edit or create more. |
55 | 55 |
* |
56 |
- * @since 1.1 |
|
56 |
+ * @since 2.0 |
|
57 | 57 |
*/ |
58 | 58 |
function shd_admin_dept_list() |
59 | 59 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AdminMaint.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AdminMaint.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core of SimpleDesk's administrative maintenance. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
if (!defined('SMF')) |
27 | 27 |
die('Hacking attempt...'); |
... | ... |
@@ -31,7 +31,7 @@ if (!defined('SMF')) |
31 | 31 |
* |
32 | 32 |
* We're directed here from the main administration centre, after permission checks and a few dependencies loaded. |
33 | 33 |
* |
34 |
- * @since 1.1 |
|
34 |
+ * @since 2.0 |
|
35 | 35 |
*/ |
36 | 36 |
function shd_admin_maint() |
37 | 37 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AdminPermissions.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AdminPermissions.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core of SimpleDesk's permissions system. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
if (!defined('SMF')) |
27 | 27 |
die('Hacking attempt...'); |
... | ... |
@@ -29,7 +29,7 @@ if (!defined('SMF')) |
29 | 29 |
/** |
30 | 30 |
* This function is the start point for configuration of permissions within SimpleDesk. |
31 | 31 |
* |
32 |
- * @since 1.1 |
|
32 |
+ * @since 2.0 |
|
33 | 33 |
*/ |
34 | 34 |
function shd_admin_permissions() |
35 | 35 |
{ |
... | ... |
@@ -55,7 +55,7 @@ function shd_admin_permissions() |
55 | 55 |
/** |
56 | 56 |
* This function handles displaying a list of roles known to the system. |
57 | 57 |
* |
58 |
- * @since 1.1 |
|
58 |
+ * @since 2.0 |
|
59 | 59 |
*/ |
60 | 60 |
function shd_admin_role_list() |
61 | 61 |
{ |
... | ... |
@@ -80,7 +80,7 @@ function shd_admin_role_list() |
80 | 80 |
/** |
81 | 81 |
* This function deals with creating a new role in the database, based on a specified template. |
82 | 82 |
* |
83 |
- * @since 1.1 |
|
83 |
+ * @since 2.0 |
|
84 | 84 |
*/ |
85 | 85 |
function shd_admin_create_role() |
86 | 86 |
{ |
... | ... |
@@ -209,7 +209,7 @@ function shd_admin_edit_role() |
209 | 209 |
/** |
210 | 210 |
* Handle saving a user defined role. |
211 | 211 |
* |
212 |
- * @since 1.1 |
|
212 |
+ * @since 2.0 |
|
213 | 213 |
*/ |
214 | 214 |
function shd_admin_save_role() |
215 | 215 |
{ |
... | ... |
@@ -495,7 +495,7 @@ function shd_admin_save_role() |
495 | 495 |
/** |
496 | 496 |
* Handles user requests to copy an existing role. |
497 | 497 |
* |
498 |
- * @since 1.1 |
|
498 |
+ * @since 2.0 |
|
499 | 499 |
*/ |
500 | 500 |
function shd_admin_copy_role() |
501 | 501 |
{ |
... | ... |
@@ -645,7 +645,7 @@ function shd_admin_copy_role() |
645 | 645 |
* |
646 | 646 |
* @param int $loadrole Specifies the role to load from the database. If not specified, loads all known roles. |
647 | 647 |
* |
648 |
- * @since 1.1 |
|
648 |
+ * @since 2.0 |
|
649 | 649 |
*/ |
650 | 650 |
function shd_load_role($loadrole = 0) |
651 | 651 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AdminPlugins.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AdminPlugins.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core of SimpleDesk's plugin system administration. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
if (!defined('SMF')) |
27 | 27 |
die('Hacking attempt...'); |
... | ... |
@@ -31,7 +31,7 @@ if (!defined('SMF')) |
31 | 31 |
* |
32 | 32 |
* Directed here from the main administration centre, after permission checks and a few dependencies loaded, this deals solely with managing custom fields. |
33 | 33 |
* |
34 |
- * @since 1.1 |
|
34 |
+ * @since 2.0 |
|
35 | 35 |
*/ |
36 | 36 |
function shd_admin_plugins() |
37 | 37 |
{ |
... | ... |
@@ -234,7 +234,7 @@ function shd_admin_plugins() |
234 | 234 |
* - 'languages' as an array of files to be purged from language loaders (e.g. SDPluginMymod) |
235 | 235 |
* - 'functions' as an array of functions to be purged from function calls (e.g. shd_mymod_helpdesk, shd_mymod_adminopts) |
236 | 236 |
* |
237 |
- * @since 1.1 |
|
237 |
+ * @since 2.0 |
|
238 | 238 |
*/ |
239 | 239 |
function shd_unregister_plugin() |
240 | 240 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-AjaxHandler.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-AjaxHandler.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Assign.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Assign.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Delete.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Delete.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Display.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Display.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -1220,7 +1220,7 @@ function shd_attach_icon($filename) |
1220 | 1220 |
* - status: status of the discovered ticket (numeric) |
1221 | 1221 |
* - status_txt: status of the discovered ticket (textual) |
1222 | 1222 |
* |
1223 |
- * @since 1.1 |
|
1223 |
+ * @since 2.0 |
|
1224 | 1224 |
*/ |
1225 | 1225 |
function shd_load_relationships($ticket = 0) |
1226 | 1226 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-MergeSplit.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-MergeSplit.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles merging and splitting of tickets, both handling the interface and actual processing thereof. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-MiscActions.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-MiscActions.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -294,7 +294,7 @@ function shd_urgency_change_noajax() |
294 | 294 |
* |
295 | 295 |
* Accessed through ?action=helpdesk;sa=relation;ticket=x;linkticket=y;relation=[linked|duplicated|parent|child|delete];sessvar=sessid and will redirect back to the ticket once complete. |
296 | 296 |
* |
297 |
- * @since 1.1 |
|
297 |
+ * @since 2.0 |
|
298 | 298 |
*/ |
299 | 299 |
function shd_ticket_relation() |
300 | 300 |
{ |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Assign.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-MoveDept.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles moving tickets between departments. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -33,7 +33,7 @@ if (!defined('SMF')) |
33 | 33 |
* This validates that the user can see the ticket in question initially, and at least one other department. |
34 | 34 |
* |
35 | 35 |
* @see shd_movedept2() |
36 |
- * @since 1.1 |
|
36 |
+ * @since 2.0 |
|
37 | 37 |
*/ |
38 | 38 |
function shd_movedept() |
39 | 39 |
{ |
... | ... |
@@ -187,7 +187,7 @@ function shd_movedept() |
187 | 187 |
* logging the action before updating the database. |
188 | 188 |
* |
189 | 189 |
* @see shd_movedept() |
190 |
- * @since 1.1 |
|
190 |
+ * @since 2.0 |
|
191 | 191 |
*/ |
192 | 192 |
function shd_movedept2() |
193 | 193 |
{ |
... | ... |
@@ -14,13 +14,13 @@ |
14 | 14 |
# Any questions, please contact SimpleDesk.net # |
15 | 15 |
# # |
16 | 16 |
################################################################### |
17 |
-# SimpleDesk Version: 1.0 Felidae # |
|
18 |
-# File Info: SimpleDesk-Notifications.php / 1.0 Felidae # |
|
17 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
18 |
+# File Info: SimpleDesk-Notifications.php / 2.0 Anatidae # |
|
19 | 19 |
################################################################### |
20 | 20 |
|
21 | 21 |
/** |
22 | 22 |
* @package source |
23 |
- * @since 1.1 |
|
23 |
+ * @since 2.0 |
|
24 | 24 |
*/ |
25 | 25 |
|
26 | 26 |
if (!defined('SMF')) |
... | ... |
@@ -296,7 +296,7 @@ function shd_notifications_notify_assign(&$ticket, &$assignment) |
296 | 296 |
* Handle email notifications |
297 | 297 |
* |
298 | 298 |
* @todo Finish documenting |
299 |
- * @since 1.1 |
|
299 |
+ * @since 2.0 |
|
300 | 300 |
*/ |
301 | 301 |
function shd_notify_users($notify_data) |
302 | 302 |
{ |
... | ... |
@@ -411,7 +411,7 @@ function shd_notify_users($notify_data) |
411 | 411 |
* Display the notice of email. |
412 | 412 |
* |
413 | 413 |
* @todo Finish documenting |
414 |
- * @since 1.1 |
|
414 |
+ * @since 2.0 |
|
415 | 415 |
*/ |
416 | 416 |
function shd_notify_popup() |
417 | 417 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Post.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Post.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -1960,7 +1960,7 @@ function shd_handle_attachments() |
1960 | 1960 |
/** |
1961 | 1961 |
* Establishes the items for the 'additional options' in the posting screen. |
1962 | 1962 |
* |
1963 |
- * @since 1.1 |
|
1963 |
+ * @since 2.0 |
|
1964 | 1964 |
*/ |
1965 | 1965 |
function shd_posting_additional_options() |
1966 | 1966 |
{ |
... | ... |
@@ -1989,7 +1989,7 @@ function shd_posting_additional_options() |
1989 | 1989 |
* Checks dependencies of the current ticket to see if it can be closed. |
1990 | 1990 |
* |
1991 | 1991 |
* @return string Returns empty string if the ticket has no dependency issues, or returns the id for $txt to use as error message. |
1992 |
- * @since 1.1 |
|
1992 |
+ * @since 2.0 |
|
1993 | 1993 |
*/ |
1994 | 1994 |
function shd_check_dependencies() |
1995 | 1995 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.1 # |
|
17 |
-# File Info: SimpleDesk-Profile.php / 1.1 # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Profile.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -22,7 +22,7 @@ |
22 | 22 |
* to personal stats as well as sensitive information (site URL, contact email, etc.). |
23 | 23 |
* |
24 | 24 |
* @package source |
25 |
- * @since 1.1 |
|
25 |
+ * @since 2.0 |
|
26 | 26 |
*/ |
27 | 27 |
|
28 | 28 |
if (!defined('SMF')) |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-SSI.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-SSI.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -30,7 +30,7 @@ |
30 | 30 |
* Unlike other SimpleDesk functions, these use a SSI style camel casing. |
31 | 31 |
* |
32 | 32 |
* @package source |
33 |
- * @since 1.1 |
|
33 |
+ * @since 2.0 |
|
34 | 34 |
*/ |
35 | 35 |
|
36 | 36 |
if (!defined('SMF')) |
... | ... |
@@ -43,7 +43,7 @@ if (!defined('SMF')) |
43 | 43 |
* @param int $limit The number of tickets to limit to, default 10. |
44 | 44 |
* @param string $output_method Set to 'echo' for displaying content, set to 'array' to simply return data. |
45 | 45 |
* @return array An array of data, more details under the underlying function {@link ssi_getSDTickets()} |
46 |
- * @since 1.1 |
|
46 |
+ * @since 2.0 |
|
47 | 47 |
*/ |
48 | 48 |
function ssi_userTickets($started_by = 0, $limit = 10, $output_method = 'echo') |
49 | 49 |
{ |
... | ... |
@@ -71,7 +71,7 @@ function ssi_userTickets($started_by = 0, $limit = 10, $output_method = 'echo') |
71 | 71 |
* @param int $limit The number of tickets to limit to, default 10. |
72 | 72 |
* @param string $output_method Set to 'echo' for displaying content, set to 'array' to simply return data. |
73 | 73 |
* @return array An array of data, more details under the underlying function {@link ssi_getSDTickets()} |
74 |
- * @since 1.1 |
|
74 |
+ * @since 2.0 |
|
75 | 75 |
*/ |
76 | 76 |
function ssi_staffAssignedTickets($assignee = 0, $limit = 10, $output_method = 'echo') |
77 | 77 |
{ |
... | ... |
@@ -99,7 +99,7 @@ function ssi_staffAssignedTickets($assignee = 0, $limit = 10, $output_method = ' |
99 | 99 |
* @param int $limit The number of tickets to limit to, default 10. |
100 | 100 |
* @param string $output_method Set to 'echo' for displaying content, set to 'array' to simply return data. |
101 | 101 |
* @return array An array of data, more details under the underlying function {@link ssi_getSDTickets()} |
102 |
- * @since 1.1 |
|
102 |
+ * @since 2.0 |
|
103 | 103 |
*/ |
104 | 104 |
function ssi_staffTicketsUrgency($urgency, $limit = 10, $output_method = 'echo') |
105 | 105 |
{ |
... | ... |
@@ -159,7 +159,7 @@ function ssi_staffTicketsUrgency($urgency, $limit = 10, $output_method = 'echo') |
159 | 159 |
* <li>status_id: Number representing ticket status</li> |
160 | 160 |
* <li>status_text: String representing ticket status</li> |
161 | 161 |
* </ul> |
162 |
- * @since 1.1 |
|
162 |
+ * @since 2.0 |
|
163 | 163 |
*/ |
164 | 164 |
function ssi_getSDTickets($query_where, $query_where_params = array(), $query_limit = 0, $query_order = 'hdt.id_ticket ASC', $output_method = 'echo') |
165 | 165 |
{ |
... | ... |
@@ -257,7 +257,7 @@ function ssi_getSDTickets($query_where, $query_where_params = array(), $query_li |
257 | 257 |
* @param boolean $honour_admin_setting Within the administration panel is the option to exclude forum admins from being considered staff (so can't assign tickets to them). If true (default), assume the outcome of that should be applied here too. |
258 | 258 |
* @param string $output_method Leave as default or explicitly set to 'echo' for this function to output a list of helpdesk staff members, set to 'array' to block output, and have the standard contents back. |
259 | 259 |
* @return array The return is always an array of members that are staff; contains many details about members since SMF's member context is loaded (including avatar, personal text and so on) |
260 |
- * @since 1.1 |
|
260 |
+ * @since 2.0 |
|
261 | 261 |
*/ |
262 | 262 |
function ssi_staffMembers($honour_admin_setting = true, $output_method = 'echo') |
263 | 263 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Assign.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Scheduled.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -33,7 +33,7 @@ if (!defined('SMF')) |
33 | 33 |
* - close older open tickets (if not replied to within a given number of days) |
34 | 34 |
* - purge deleted tickets (delete their contents aftet a given number of days of being already deleted) |
35 | 35 |
* |
36 |
- * @since 1.1 |
|
36 |
+ * @since 2.0 |
|
37 | 37 |
*/ |
38 | 38 |
|
39 | 39 |
function shd_scheduled() |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-TopicTicketMove.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-TicketTopicMove.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk-Unread.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk-Unread.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles displaying ticket information in the 'unread' and 'unreadreplies' pages. |
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -32,7 +32,7 @@ if (!defined('SMF')) |
32 | 32 |
* |
33 | 33 |
* The content is 'appended' below the unread posts information by way of a template layer. |
34 | 34 |
* |
35 |
- * @since 1.1 |
|
35 |
+ * @since 2.0 |
|
36 | 36 |
*/ |
37 | 37 |
function shd_unread_posts() |
38 | 38 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SimpleDesk.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -436,7 +436,7 @@ function shd_main_helpdesk() |
436 | 436 |
/** |
437 | 437 |
* Sets up viewing the list of departments. |
438 | 438 |
* |
439 |
- * @since 1.1 |
|
439 |
+ * @since 2.0 |
|
440 | 440 |
*/ |
441 | 441 |
function shd_main_dept() |
442 | 442 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: Subs-SimpleDesk.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: Subs-SimpleDesk.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -37,7 +37,7 @@ if (!defined('SMF')) |
37 | 37 |
* Calling multiple times is not significantly detrimental to performance; the function is aware if it has been |
38 | 38 |
* called previously. |
39 | 39 |
* |
40 |
- * @since 1.1 |
|
40 |
+ * @since 2.0 |
|
41 | 41 |
*/ |
42 | 42 |
function shd_init() |
43 | 43 |
{ |
... | ... |
@@ -50,7 +50,7 @@ function shd_init() |
50 | 50 |
$called = true; |
51 | 51 |
|
52 | 52 |
// What SD version are we on? It's now here! |
53 |
- define('SHD_VERSION', 'SimpleDesk 1.0 Felidae'); |
|
53 |
+ define('SHD_VERSION', 'SimpleDesk 2.0 Anatidae'); |
|
54 | 54 |
|
55 | 55 |
// This isn't the SMF way. But for something like this, it's way way more logical and readable. |
56 | 56 |
define('TICKET_STATUS_NEW', 0); |
... | ... |
@@ -997,7 +997,7 @@ function shd_no_expand_pageindex($base_url, &$start, $max_value, $num_per_page, |
997 | 997 |
* |
998 | 998 |
* @param string $langfile Name of a language file to load, typically SimpleDesk prefixed, though could be used for any SMF language file. |
999 | 999 |
* @param string $override_lang Name of a language to load as an override, rather than just the user's default. |
1000 |
- * @since 1.1 |
|
1000 |
+ * @since 2.0 |
|
1001 | 1001 |
*/ |
1002 | 1002 |
function shd_load_language($langfile, $override_lang = '') |
1003 | 1003 |
{ |
... | ... |
@@ -1118,7 +1118,7 @@ function shd_recalc_ids($ticket) |
1118 | 1118 |
* @param mixed $user Normally, an int being the user id of the user whose preferences should be attempted to be loaded. If === false, return the list of default prefs (for the pref UI), or if 0 or omitted, load the current user. |
1119 | 1119 |
* |
1120 | 1120 |
* @return array If $user === false, the list of options, their types and default values is returned. Otherwise, return an array of prefs (adjusted for this user) |
1121 |
- * @since 1.1 |
|
1121 |
+ * @since 2.0 |
|
1122 | 1122 |
*/ |
1123 | 1123 |
function shd_load_user_prefs($user = 0) |
1124 | 1124 |
{ |
... | ... |
@@ -1358,7 +1358,7 @@ function shd_load_user_prefs($user = 0) |
1358 | 1358 |
/** |
1359 | 1359 |
* Loads any source files directed by integration hooks. |
1360 | 1360 |
* |
1361 |
- * @since 1.1 |
|
1361 |
+ * @since 2.0 |
|
1362 | 1362 |
*/ |
1363 | 1363 |
function shd_load_plugin_files($hook = '') |
1364 | 1364 |
{ |
... | ... |
@@ -1378,7 +1378,7 @@ function shd_load_plugin_files($hook = '') |
1378 | 1378 |
/** |
1379 | 1379 |
* Loads any language files directed by integration hooks. |
1380 | 1380 |
* |
1381 |
- * @since 1.1 |
|
1381 |
+ * @since 2.0 |
|
1382 | 1382 |
*/ |
1383 | 1383 |
function shd_load_plugin_langfiles($hook = '') |
1384 | 1384 |
{ |
... | ... |
@@ -1397,7 +1397,7 @@ function shd_load_plugin_langfiles($hook = '') |
1397 | 1397 |
* |
1398 | 1398 |
* This explicitly relies on the display template hook for such things. If the theme does not provide it, the theme author needs to update their theme. |
1399 | 1399 |
* |
1400 |
- * @since 1.1 |
|
1400 |
+ * @since 2.0 |
|
1401 | 1401 |
*/ |
1402 | 1402 |
function shd_display_btn_mvtopic(&$normal_buttons) |
1403 | 1403 |
{ |
... | ... |
@@ -1412,7 +1412,7 @@ function shd_display_btn_mvtopic(&$normal_buttons) |
1412 | 1412 |
* |
1413 | 1413 |
* All scheduled tasks have to have the name prefix scheduled_ and must be defined by the time we get to running AutoTask() in Scheduled.php. Short of modifying that file, we can define a placeholder here (which will exist for AutoTask) and have that be called. |
1414 | 1414 |
* |
1415 |
- * @since 1.1 |
|
1415 |
+ * @since 2.0 |
|
1416 | 1416 |
*/ |
1417 | 1417 |
function scheduled_simpledesk() |
1418 | 1418 |
{ |
... | ... |
@@ -1430,7 +1430,7 @@ function scheduled_simpledesk() |
1430 | 1430 |
* |
1431 | 1431 |
* @param string &$actionArray The master list of actions from index.php |
1432 | 1432 |
* |
1433 |
- * @since 1.1 |
|
1433 |
+ * @since 2.0 |
|
1434 | 1434 |
*/ |
1435 | 1435 |
function shd_init_actions(&$actionArray) |
1436 | 1436 |
{ |
... | ... |
@@ -1487,7 +1487,7 @@ function shd_init_actions(&$actionArray) |
1487 | 1487 |
/** |
1488 | 1488 |
* Last-minute buffer replacements to be made, e.g. removing unwanted content in helpdesk-only mode. |
1489 | 1489 |
* |
1490 |
- * @since 1.1 |
|
1490 |
+ * @since 2.0 |
|
1491 | 1491 |
*/ |
1492 | 1492 |
function shd_buffer_replace(&$buffer) |
1493 | 1493 |
{ |
... | ... |
@@ -1528,7 +1528,7 @@ function shd_buffer_replace(&$buffer) |
1528 | 1528 |
* Add the SimpleDesk options to the main site menu. |
1529 | 1529 |
* |
1530 | 1530 |
* @param array &$menu_buttons The main menu buttons as provided by Subs.php. |
1531 |
- * @since 1.1 |
|
1531 |
+ * @since 2.0 |
|
1532 | 1532 |
*/ |
1533 | 1533 |
function shd_main_menu(&$menu_buttons) |
1534 | 1534 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: Subs-SimpleDeskAdmin.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: Subs-SimpleDeskAdmin.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -366,7 +366,7 @@ function shd_count_action_log_entries($clause = '') |
366 | 366 |
* Perform all the operations required for SimpleDesk to safely start operations inside the admin panel. |
367 | 367 |
* |
368 | 368 |
* @param array &$admin_areas The full admin area array from SMF's Admin.php. |
369 |
- * @since 1.1 |
|
369 |
+ * @since 2.0 |
|
370 | 370 |
*/ |
371 | 371 |
function shd_admin_bootstrap(&$admin_areas) |
372 | 372 |
{ |
... | ... |
@@ -487,7 +487,7 @@ function shd_admin_core_features(&$core_features) |
487 | 487 |
* Perform any processing on SMF permissions subject to SimpleDesk options (namely removing permissions that make no sense in helpdesk-only mode) |
488 | 488 |
* |
489 | 489 |
* All of the parameters are the normal variables provided by ManagePermissions.php to its integration hook. |
490 |
- * @since 1.1 |
|
490 |
+ * @since 2.0 |
|
491 | 491 |
* @param array &$permissionGroups The array of groups of permissions |
492 | 492 |
* @param array &$permissionList The master list of permissions themselves |
493 | 493 |
* @param array &$leftPermissionGroups The list of permission groups that are displayed on the left hand side of the screen in Classic Mode |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: Subs-SimpleDeskBoardIndex.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: Subs-SimpleDeskBoardIndex.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file deals with changes for the board index for board integration. |
22 | 22 |
* |
23 | 23 |
* @package subs |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -13,15 +13,15 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: Subs-SimpleDeskPermissions.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: Subs-SimpleDeskPermissions.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles the core permissions systems for SimpleDesk, including the permissions templates, loading and checking permissions. |
22 | 22 |
* |
23 | 23 |
* @package subs |
24 |
- * @since 1.1 |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -30,7 +30,7 @@ if (!defined('SMF')) |
30 | 30 |
/** |
31 | 31 |
* This function stores the master list of permissions. |
32 | 32 |
* |
33 |
- * @since 1.1 |
|
33 |
+ * @since 2.0 |
|
34 | 34 |
*/ |
35 | 35 |
function shd_load_all_permission_sets() |
36 | 36 |
{ |
... | ... |
@@ -116,7 +116,7 @@ function shd_load_all_permission_sets() |
116 | 116 |
/** |
117 | 117 |
* Provides a list of the known role/permission templates for the system. |
118 | 118 |
* |
119 |
- * @since 1.1 |
|
119 |
+ * @since 2.0 |
|
120 | 120 |
*/ |
121 | 121 |
function shd_load_role_templates() |
122 | 122 |
{ |
... | ... |
@@ -584,7 +584,7 @@ function shd_members_allowed_to($permission, $dept = 0) |
584 | 584 |
* @param string $permission A string naming a permission that members should hold. |
585 | 585 |
* @param int $dept An integer indicating which department should be checked. If only confirmation that the user has the permission in at least one department without reference to any particular department, specify a department of 0. |
586 | 586 |
* @return array Array of arrays containing 'allowed' and 'denied', each of which can contain ids for zero or more membergroups that hold the relevant permission. |
587 |
- * @since 1.1 |
|
587 |
+ * @since 2.0 |
|
588 | 588 |
*/ |
589 | 589 |
function shd_groups_allowed_to($permission, $dept = 0) |
590 | 590 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: Subs-SimpleDeskPost.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: Subs-SimpleDeskPost.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -763,7 +763,7 @@ function shd_get_urgency_options($self_ticket = false, $dept = 0) |
763 | 763 |
* @param bool $is_ticket (default true) Whether to load custom fields based on editing a ticket or a message. |
764 | 764 |
* @param int $ticketContext The appropriate value to load for; if editing a ticket this represents the ticket id, if editing a reply this represents the message id, if empty this is a new instance of either so no need to attempt loading data. |
765 | 765 |
* |
766 |
- * @since 1.1 |
|
766 |
+ * @since 2.0 |
|
767 | 767 |
*/ |
768 | 768 |
function shd_load_custom_fields($is_ticket = true, $ticketContext = 0, $dept = 0) |
769 | 769 |
{ |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk's administration/custom fields area |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk's administration/custom fields area |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays SimpleDesk's administration for custom fields. |
... | ... |
@@ -307,9 +307,18 @@ function template_shd_custom_field_edit() |
307 | 307 |
<div> |
308 | 308 |
<input type="radio" name="default_select" value="0"', $context['custom_field']['default_value'] == 0 ? ' checked="checked"' : '', ' class="input_radio" /> ', $txt['shd_admin_custom_field_no_selected_default']; |
309 | 309 |
|
310 |
+ // Convert it to an array for displaying the main doodah |
|
311 |
+ if ($context['field_type_value'] == CFIELD_TYPE_MULTI) |
|
312 |
+ $context['custom_field']['default_value'] = explode(',', $context['custom_field']['default_value']); |
|
313 |
+ |
|
310 | 314 |
foreach ($context['custom_field']['options'] as $k => $option) |
315 |
+ { |
|
311 | 316 |
echo ' |
312 |
- <br /><input type="radio" name="default_select" value="', $k, '"', $context['custom_field']['default_value'] == $k ? ' checked="checked"' : '', ' class="input_radio" /><input type="text" name="select_option[', $k, ']" value="', $option, '" class="input_text" />'; |
|
317 |
+ <br /> |
|
318 |
+ <input type="radio" name="default_select" value="', $k, '"', $context['field_type_value'] != CFIELD_TYPE_MULTI && $context['custom_field']['default_value'] == $k ? ' checked="checked"' : '', ' class="input_radio default_select_radio" /> |
|
319 |
+ <!-- <input type="checkbox" name="default_select_multi[', $k, ']" value="', $k, '"', $context['field_type_value'] == CFIELD_TYPE_MULTI && in_array($k, $context['custom_field']['default_value']) ? ' checked="checked"' : '', ' class="input_check default_select_check" /> --> |
|
320 |
+ <input type="text" name="select_option[', $k, ']" value="', $option, '" class="input_text" />'; |
|
321 |
+ } |
|
313 | 322 |
|
314 | 323 |
echo ' |
315 | 324 |
<span id="addopt"></span> |
... | ... |
@@ -1,17 +1,17 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk's administration/departments area |
|
2 |
+// Version: 2.0 Anatidae; 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. |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Display the front page of the SimpleDesk departments. |
13 | 13 |
* |
14 |
- * @since 1.1 |
|
14 |
+ * @since 2.0 |
|
15 | 15 |
*/ |
16 | 16 |
function template_shd_departments_home() |
17 | 17 |
{ |
... | ... |
@@ -1,17 +1,17 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk's administration maintenance |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk's administration maintenance |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays SimpleDesk's administration maintenance |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Display the front page of the SimpleDesk admin maintenance, including a list of all the tasks. |
13 | 13 |
* |
14 |
- * @since 1.1 |
|
14 |
+ * @since 2.0 |
|
15 | 15 |
*/ |
16 | 16 |
function template_shd_admin_maint_home() |
17 | 17 |
{ |
... | ... |
@@ -1,17 +1,17 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk's administration/permissions area |
|
2 |
+// Version: 2.0 Anatidae; 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. |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Display the front page of the SimpleDesk permissions area. |
13 | 13 |
* |
14 |
- * @since 1.1 |
|
14 |
+ * @since 2.0 |
|
15 | 15 |
*/ |
16 | 16 |
function template_shd_permissions_home() |
17 | 17 |
{ |
... | ... |
@@ -140,7 +140,7 @@ function template_shd_permissions_home() |
140 | 140 |
* Display the list of icons for a role's permissions. |
141 | 141 |
* |
142 | 142 |
* @param array $permissions An array listing the permissions a given role has. |
143 |
- * @since 1.1 |
|
143 |
+ * @since 2.0 |
|
144 | 144 |
*/ |
145 | 145 |
function template_shd_display_permission_list($permissions) |
146 | 146 |
{ |
... | ... |
@@ -199,7 +199,7 @@ function template_shd_display_permission_list($permissions) |
199 | 199 |
/** |
200 | 200 |
* Display the form to create a new role. |
201 | 201 |
* |
202 |
- * @since 1.1 |
|
202 |
+ * @since 2.0 |
|
203 | 203 |
*/ |
204 | 204 |
function template_shd_create_role() |
205 | 205 |
{ |
... | ... |
@@ -248,7 +248,7 @@ function template_shd_create_role() |
248 | 248 |
/** |
249 | 249 |
* Display the form to edit a role's permissions and settings. |
250 | 250 |
* |
251 |
- * @since 1.1 |
|
251 |
+ * @since 2.0 |
|
252 | 252 |
*/ |
253 | 253 |
function template_shd_edit_role() |
254 | 254 |
{ |
... | ... |
@@ -516,7 +516,7 @@ function template_shd_edit_role() |
516 | 516 |
/** |
517 | 517 |
* Display the form to clone an existing role. |
518 | 518 |
* |
519 |
- * @since 1.1 |
|
519 |
+ * @since 2.0 |
|
520 | 520 |
*/ |
521 | 521 |
function template_shd_copy_role() |
522 | 522 |
{ |
... | ... |
@@ -1,17 +1,17 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk's administration/plugins area |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk's administration/plugins area |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays SimpleDesk's administration for plugins. |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Display the front page of the SimpleDesk plugins area. |
13 | 13 |
* |
14 |
- * @since 1.1 |
|
14 |
+ * @since 2.0 |
|
15 | 15 |
*/ |
16 | 16 |
function template_shd_plugin_listing() |
17 | 17 |
{ |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk ticket display |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk ticket display |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* This file handles just displaying a ticket, its replies and working with SimpleDesk-Post.template.php to arrange the quick reply area. |
... | ... |
@@ -338,7 +338,7 @@ function template_viewticket() |
338 | 338 |
* |
339 | 339 |
* We pull the content into a single column this way to ensure floatleft items are handled properly. |
340 | 340 |
* |
341 |
- * @since 1.1 |
|
341 |
+ * @since 2.0 |
|
342 | 342 |
*/ |
343 | 343 |
function template_ticket_leftcolumn() |
344 | 344 |
{ |
... | ... |
@@ -369,7 +369,7 @@ function template_ticket_leftcolumn() |
369 | 369 |
* |
370 | 370 |
* This function displays all the attachments in the current ticket while in ticket view, rather than when in replies view (which is handled by {@link template_viewreplies()} instead; this function was previously was part of {@link template_viewticket()}. |
371 | 371 |
* |
372 |
- * @since 1.1 |
|
372 |
+ * @since 2.0 |
|
373 | 373 |
*/ |
374 | 374 |
function template_viewticketattach() |
375 | 375 |
{ |
... | ... |
@@ -430,7 +430,7 @@ function template_viewticketattach() |
430 | 430 |
* |
431 | 431 |
* This template displays the "Additional information" block below the ticket body. It contains any custom fields that the admin has set to display there. |
432 | 432 |
* |
433 |
- * @since 1.1 |
|
433 |
+ * @since 2.0 |
|
434 | 434 |
*/ |
435 | 435 |
function template_additional_fields() |
436 | 436 |
{ |
... | ... |
@@ -514,7 +514,7 @@ function template_additional_fields() |
514 | 514 |
* |
515 | 515 |
* Prior to 1.1 this was part of {@link template_viewticket()} |
516 | 516 |
* |
517 |
- * @since 1.1 |
|
517 |
+ * @since 2.0 |
|
518 | 518 |
*/ |
519 | 519 |
function template_quickreply() |
520 | 520 |
{ |
... | ... |
@@ -563,7 +563,7 @@ function template_quickreply() |
563 | 563 |
* |
564 | 564 |
* @param int $msg The message id to look in $context['ticket_attach']['reply'] for attachments. |
565 | 565 |
* |
566 |
- * @since 1.1 |
|
566 |
+ * @since 2.0 |
|
567 | 567 |
* @todo See if it's possible to do a sane CSS replacement instead of using tables. |
568 | 568 |
*/ |
569 | 569 |
// Arantor: I swear I spent more time farting around with this trying to make it not look like crap than I did the rest of the thumbnail code. |
... | ... |
@@ -800,7 +800,7 @@ function template_viewreplies() |
800 | 800 |
* |
801 | 801 |
* Displays the block of tickets that have a relationship to this one. |
802 | 802 |
* |
803 |
- * @since 1.1 |
|
803 |
+ * @since 2.0 |
|
804 | 804 |
*/ |
805 | 805 |
function template_viewrelationships() |
806 | 806 |
{ |
... | ... |
@@ -877,7 +877,7 @@ function template_viewrelationships() |
877 | 877 |
* |
878 | 878 |
* Displays all the non-post type events that apply to the current ticket, as a subset of the master action log. Data is gathered from {@link shd_load_action_log_entries()} |
879 | 879 |
* |
880 |
- * @since 1.1 |
|
880 |
+ * @since 2.0 |
|
881 | 881 |
*/ |
882 | 882 |
function template_ticketactionlog() |
883 | 883 |
{ |
... | ... |
@@ -1,11 +1,11 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk merge/split template |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk merge/split template |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* This file handles gathering information from users for splitting and merging topics. |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
... | ... |
@@ -14,7 +14,7 @@ |
14 | 14 |
* @see shd_merge_ticket() |
15 | 15 |
* @see shd_merge_ticket2() |
16 | 16 |
* |
17 |
- * @since 1.1 |
|
17 |
+ * @since 2.0 |
|
18 | 18 |
*/ |
19 | 19 |
function template_shd_merge_ticket() |
20 | 20 |
{ |
... | ... |
@@ -78,7 +78,7 @@ function template_shd_merge_ticket() |
78 | 78 |
* @see shd_split_ticket() |
79 | 79 |
* @see shd_split_ticket2() |
80 | 80 |
* |
81 |
- * @since 1.1 |
|
81 |
+ * @since 2.0 |
|
82 | 82 |
*/ |
83 | 83 |
function template_shd_split_ticket() |
84 | 84 |
{ |
... | ... |
@@ -148,7 +148,7 @@ function template_shd_split_ticket() |
148 | 148 |
* |
149 | 149 |
* @see shd_split_ticket2() |
150 | 150 |
* |
151 |
- * @since 1.1 |
|
151 |
+ * @since 2.0 |
|
152 | 152 |
*/ |
153 | 153 |
function template_shd_split_ticket2() |
154 | 154 |
{ |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk department moving. |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk department moving. |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Handles moving a ticket between departments. |
... | ... |
@@ -14,7 +14,7 @@ |
14 | 14 |
* Will have been populated by shd_movedept() in SimpleDesk-MoveDept.php, adding into $context['dept_list']. |
15 | 15 |
* |
16 | 16 |
* @see shd_movedept() |
17 |
- * @since 1.1 |
|
17 |
+ * @since 2.0 |
|
18 | 18 |
*/ |
19 | 19 |
function template_movedept() |
20 | 20 |
{ |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk posting and replying |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk posting and replying |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* This file handles everything concerning posting, including displaying the display of ticket facia |
... | ... |
@@ -798,7 +798,7 @@ function template_ticket_pageend() |
798 | 798 |
* Display the message thanking the user for posting. |
799 | 799 |
* |
800 | 800 |
* @see shd_done_posting() |
801 |
- * @since 1.1 |
|
801 |
+ * @since 2.0 |
|
802 | 802 |
*/ |
803 | 803 |
function template_shd_thank_posting() |
804 | 804 |
{ |
... | ... |
@@ -1,17 +1,17 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.1; SimpleDesk profile page template |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk profile page template |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* This file handles displaying the blocks of the profile area for SimpleDesk. |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.1 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Display the profile section. |
13 | 13 |
* |
14 |
- * @since 1.1 |
|
14 |
+ * @since 2.0 |
|
15 | 15 |
*/ |
16 | 16 |
function template_shd_profile_main() |
17 | 17 |
{ |
... | ... |
@@ -1,18 +1,18 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk unread posts layout |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk unread posts layout |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* Displays the ticket information in the unread posts page |
6 | 6 |
* |
7 | 7 |
* @package template |
8 |
- * @since 1.0 |
|
8 |
+ * @since 2.0 |
|
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
/** |
12 | 12 |
* Placeholder for the top part of the 'template layer' as required by SMF. |
13 | 13 |
* |
14 | 14 |
* @see template_shd_unread_below() |
15 |
- * @since 1.1 |
|
15 |
+ * @since 2.0 |
|
16 | 16 |
*/ |
17 | 17 |
function template_shd_unread_above() |
18 | 18 |
{ |
... | ... |
@@ -25,7 +25,7 @@ function template_shd_unread_above() |
25 | 25 |
* Will have been populated by shd_unread_posts() in SimpleDesk-Unread.php, adding into $context['shd_unread_info']. |
26 | 26 |
* |
27 | 27 |
* @see shd_unread_posts() |
28 |
- * @since 1.1 |
|
28 |
+ * @since 2.0 |
|
29 | 29 |
*/ |
30 | 30 |
function template_shd_unread_below() |
31 | 31 |
{ |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
<?php |
2 |
-// Version: 1.0 Felidae; SimpleDesk front page template |
|
2 |
+// Version: 2.0 Anatidae; SimpleDesk front page template |
|
3 | 3 |
|
4 | 4 |
/** |
5 | 5 |
* This file handles displaying the blocks of tickets for the front page, as well as the slightly |
... | ... |
@@ -568,7 +568,7 @@ function template_shd_menu_header($header, $string) |
568 | 568 |
* Displays a header to admins while the helpdesk is in maintenance mode. |
569 | 569 |
* |
570 | 570 |
* The helpdesk is disabled to non admins while in maintenance mode, but this template is added to the template layers if the user is an admin and it's in maintenance mode. |
571 |
- * @since 1.1 |
|
571 |
+ * @since 2.0 |
|
572 | 572 |
*/ |
573 | 573 |
function template_shd_maintenance_above() |
574 | 574 |
{ |
... | ... |
@@ -580,7 +580,7 @@ function template_shd_maintenance_above() |
580 | 580 |
* Displays a footer to admins while the helpdesk is in maintenance mode. |
581 | 581 |
* |
582 | 582 |
* The helpdesk is disabled to non admins while in maintenance mode, but this template is added to the template layers if the user is an admin and it's in maintenance mode. |
583 |
- * @since 1.1 |
|
583 |
+ * @since 2.0 |
|
584 | 584 |
*/ |
585 | 585 |
function template_shd_maintenance_below() |
586 | 586 |
{ |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: uninstall-optional.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: uninstall-optional.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
... | ... |
@@ -13,8 +13,8 @@ |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 | 15 |
############################################################### |
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: uninstall-required.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: uninstall-required.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |