gruffen commited on 2011-05-15 07:52:23
Showing 14 changed files, with 78 additions and 77 deletions.
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-############################################################### |
|
2 |
+############################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-############################################################### |
|
4 |
+############################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-############################################################### |
|
6 |
+############################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,11 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-############################################################### |
|
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
18 |
-############################################################### |
|
19 |
-// Version: 1.0 Felidae; SimpleDesk installation test-data |
|
15 |
+############################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginInstallTestdata.english-utf8.php / 2.0 Anatidae # |
|
18 |
+############################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk installation test-data |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-############################################################### |
|
2 |
+############################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-############################################################### |
|
4 |
+############################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-############################################################### |
|
6 |
+############################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,11 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-############################################################### |
|
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
18 |
-############################################################### |
|
19 |
-// Version: 1.0 Felidae; SimpleDesk installation test-data |
|
15 |
+############################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginInstallTestdata.english.php / 2.0 Anatidae # |
|
18 |
+############################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk installation test-data |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-############################################################### |
|
2 |
+############################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-############################################################### |
|
4 |
+############################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-############################################################### |
|
6 |
+############################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,11 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-############################################################### |
|
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
18 |
-############################################################### |
|
19 |
-// Version: 1.0 Felidae; SimpleDesk installation test-data |
|
15 |
+############################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginInstallTestdata.english_british-utf8.php / 2.0 Anatidae # |
|
18 |
+############################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk installation test-data |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-############################################################### |
|
2 |
+############################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-############################################################### |
|
4 |
+############################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-############################################################### |
|
6 |
+############################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,11 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-############################################################### |
|
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
18 |
-############################################################### |
|
19 |
-// Version: 1.0 Felidae; SimpleDesk installation test-data |
|
15 |
+############################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginInstallTestdata.english_british.php / 2.0 Anatidae # |
|
18 |
+############################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk installation test-data |
|
20 | 20 |
|
21 | 21 |
// Important! Before editing these language files please read the text at the top of index.english.php. |
22 | 22 |
|
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-########################################################### |
|
2 |
+############################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-########################################################### |
|
4 |
+############################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-########################################################### |
|
6 |
+############################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,10 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-########################################################### |
|
16 |
-# SimpleDesk Version: 1.0 RC1 # |
|
17 |
-# File Info: install-testdata.php / 1.0 RC1 # |
|
18 |
-########################################################### |
|
15 |
+############################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: install-testdata.php / 2.0 Anatidae # |
|
18 |
+############################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk installation test-data |
|
19 | 20 |
|
20 | 21 |
/** |
21 | 22 |
* This script allows for large volumes of ticket data to be generated quickly for testing SimpleDesk. |
... | ... |
@@ -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 | 21 |
* @package plugin-installtestdata |
22 |
- * @since 1.1 |
|
22 |
+ * @since 2.0 |
|
23 | 23 |
*/ |
24 | 24 |
|
25 | 25 |
if (!defined('SHD_VERSION')) |
... | ... |
@@ -55,7 +55,7 @@ function shdplugin_install_testdata() |
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' => $GLOBALS['boardurl'] . '/install-testdata.php', |
61 | 61 |
), |
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
<?php |
2 |
-############################################################### |
|
2 |
+################################################################## |
|
3 | 3 |
# Simple Desk Project - www.simpledesk.net # |
4 |
-############################################################### |
|
4 |
+################################################################## |
|
5 | 5 |
# An advanced help desk modifcation built on SMF # |
6 |
-############################################################### |
|
6 |
+################################################################## |
|
7 | 7 |
# # |
8 | 8 |
# * Copyright 2010 - SimpleDesk.net # |
9 | 9 |
# # |
... | ... |
@@ -12,11 +12,11 @@ |
12 | 12 |
# states that this software is New BSD Licensed. # |
13 | 13 |
# Any questions, please contact SimpleDesk.net # |
14 | 14 |
# # |
15 |
-############################################################### |
|
16 |
-# SimpleDesk Version: 1.0 Felidae # |
|
17 |
-# File Info: SimpleDesk.english.php / 1.0 Felidae # |
|
18 |
-############################################################### |
|
19 |
-// Version: 1.0 Felidae; SimpleDesk staff list plugin |
|
15 |
+################################################################## |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginReportToHelpdesk.english.php / 2.0 Anatidae # |
|
18 |
+################################################################## |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk staff list plugin |
|
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: SDPluginReportToHelpdesk.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginReportToHelpdesk.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 bootstrapping the report to helpdesk plugin, minimising the per-page performance changes. |
|
22 | 22 |
* |
23 | 23 |
* @package source |
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: SimpleDesk-Notifications.php / 1.0 Felidae # |
|
16 |
+# SimpleDesk Version: 2.0 Anatidae # |
|
17 |
+# File Info: SDPluginReportToHelpdeskMain.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 main work of handling reporting to the helpdesk instead of the original functions. |
|
22 | 22 |
* |
23 | 23 |
* @package source |
24 |
- * @since 1.1 |
|
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-reporttohelpdesk |
|
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_report_to_helpdesk() |
49 | 49 |
{ |
... | ... |
@@ -55,7 +55,7 @@ function shdplugin_report_to_helpdesk() |
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 |
), |
61 | 61 |
'includes' => array( |
... | ... |
@@ -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: SDPluginStaffList.english.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 |
-// Version: 1.0 Felidae; SimpleDesk staff list plugin |
|
19 |
+// Version: 2.0 Anatidae; SimpleDesk staff list plugin |
|
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: SDPluginStaffList.php / 2.0 Anatidae # |
|
18 | 18 |
############################################################### |
19 | 19 |
|
20 | 20 |
/** |
21 | 21 |
* This file handles sending notifications to users when things happen in the helpdesk. |
22 | 22 |
* |
23 |
- * @package source |
|
24 |
- * @since 1.1 |
|
23 |
+ * @package plugin-stafflist |
|
24 |
+ * @since 2.0 |
|
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
if (!defined('SMF')) |
... | ... |
@@ -13,12 +13,12 @@ |
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 |
|
21 |
+ * @package plugin-stafflist |
|
22 | 22 |
* @since 1.1 |
23 | 23 |
*/ |
24 | 24 |
|
... | ... |
@@ -55,7 +55,7 @@ function shdplugin_staff_list() |
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 |
), |
61 | 61 |
'includes' => array( |
62 | 62 |