diff --git a/.gitignore b/.gitignore
index 8af6621df..d03fe3072 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,7 @@ public_html/siteconfig.php
system/lib-custom.php
public_html/sitemap.xml
-public_html/filemanager/scripts/filemanager.config.js
+public_html/filemanager/scripts/filemanager.config.json
# cache files
data/layout_cache/**
diff --git a/build.xml b/build.xml
index 1717eeb8d..f417e17ff 100644
--- a/build.xml
+++ b/build.xml
@@ -84,6 +84,9 @@
+
+
+
@@ -128,6 +131,7 @@
+
diff --git a/language/afrikaans.php b/language/afrikaans.php
index e8d4f61e0..4c1e07ff0 100644
--- a/language/afrikaans.php
+++ b/language/afrikaans.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/afrikaans_utf-8.php b/language/afrikaans_utf-8.php
index b0e3cd646..7ea9df5ea 100644
--- a/language/afrikaans_utf-8.php
+++ b/language/afrikaans_utf-8.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/bosnian.php b/language/bosnian.php
index 7123d8db1..170921997 100644
--- a/language/bosnian.php
+++ b/language/bosnian.php
@@ -930,7 +930,7 @@
52 => '',
53 => 'nije koristena. Morate ukljuciti ovu sliku u intro ili body prije nego spasite vase izmjene',
54 => 'Ukljucene slike nisu koristene',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Prikazi ikonu teme',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/bosnian_utf-8.php b/language/bosnian_utf-8.php
index 596b951b8..61a917c69 100644
--- a/language/bosnian_utf-8.php
+++ b/language/bosnian_utf-8.php
@@ -930,7 +930,7 @@
52 => '',
53 => 'nije koristena. Morate ukljuciti ovu sliku u intro ili body prije nego spasite vase izmjene',
54 => 'Ukljucene slike nisu koristene',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Prikazi ikonu teme',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/bulgarian.php b/language/bulgarian.php
index 4b1d42cd1..d34fdc7fa 100644
--- a/language/bulgarian.php
+++ b/language/bulgarian.php
@@ -926,7 +926,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/bulgarian_utf-8.php b/language/bulgarian_utf-8.php
index 26caa59ea..0ee313a3d 100644
--- a/language/bulgarian_utf-8.php
+++ b/language/bulgarian_utf-8.php
@@ -926,7 +926,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/catalan.php b/language/catalan.php
index a18795429..4c2302b22 100644
--- a/language/catalan.php
+++ b/language/catalan.php
@@ -1160,6 +1160,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1273,7 +1275,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1456,8 +1458,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2510,4 +2512,3 @@
);
-?>
diff --git a/language/catalan_utf-8.php b/language/catalan_utf-8.php
index 3233ffd71..6e1e3beec 100644
--- a/language/catalan_utf-8.php
+++ b/language/catalan_utf-8.php
@@ -1160,6 +1160,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1273,7 +1275,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1456,8 +1458,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2510,4 +2512,3 @@
);
-?>
diff --git a/language/chinese_simplified_utf-8.php b/language/chinese_simplified_utf-8.php
index 5936b5d38..486581200 100644
--- a/language/chinese_simplified_utf-8.php
+++ b/language/chinese_simplified_utf-8.php
@@ -1165,6 +1165,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1278,7 +1280,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/chinese_traditional_utf-8.php b/language/chinese_traditional_utf-8.php
index d124a222e..cb29b468b 100644
--- a/language/chinese_traditional_utf-8.php
+++ b/language/chinese_traditional_utf-8.php
@@ -1165,6 +1165,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1278,7 +1280,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/croatian.php b/language/croatian.php
index 268d578a3..2b6af66e8 100644
--- a/language/croatian.php
+++ b/language/croatian.php
@@ -926,7 +926,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Prika緄 ikonu teme',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/croatian_utf-8.php b/language/croatian_utf-8.php
index 4b380c02c..3297cd190 100644
--- a/language/croatian_utf-8.php
+++ b/language/croatian_utf-8.php
@@ -928,7 +928,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Prika戮i ikonu teme',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1164,6 +1164,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1277,7 +1279,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1460,8 +1462,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2514,4 +2516,3 @@
);
-?>
diff --git a/language/czech.php b/language/czech.php
index 57c080cf2..05087ec0f 100644
--- a/language/czech.php
+++ b/language/czech.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/czech_utf-8.php b/language/czech_utf-8.php
index 7d14e09b6..0963d89df 100644
--- a/language/czech_utf-8.php
+++ b/language/czech_utf-8.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/danish.php b/language/danish.php
index b056c0395..f11936b06 100644
--- a/language/danish.php
+++ b/language/danish.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/danish_utf-8.php b/language/danish_utf-8.php
index 51de42350..56d186587 100644
--- a/language/danish_utf-8.php
+++ b/language/danish_utf-8.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/dutch.php b/language/dutch.php
index 758794a1a..8e4a94ccf 100644
--- a/language/dutch.php
+++ b/language/dutch.php
@@ -1168,6 +1168,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1281,7 +1283,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2518,4 +2520,3 @@
);
-?>
diff --git a/language/dutch_utf-8.php b/language/dutch_utf-8.php
index 1b475b06c..69ae13a6a 100644
--- a/language/dutch_utf-8.php
+++ b/language/dutch_utf-8.php
@@ -1168,6 +1168,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1281,7 +1283,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2518,4 +2520,3 @@
);
-?>
diff --git a/language/english.php b/language/english.php
index d347ac986..a438c0710 100644
--- a/language/english.php
+++ b/language/english.php
@@ -747,7 +747,14 @@
'ok' => 'OK',
'on' => 'On',
'open_basedir' => 'If open_basedir restrictions are enabled on your site, it may cause permission problems during the install. The File System Check below should point out any issues.',
- 'php_req_version' => 'Geeklog requires PHP version 5.2.0 or newer.',
+ 'database_settings' => 'Database Settings',
+ 'database_mysql_version' => 'MySQL Version',
+ 'database_mysql_req_version' => 'Geeklog requires MySQL version 4.1.2 or newer (MySQL 5 recommended).',
+ 'database_pgsql_version' => 'Postgresql Version',
+ 'database_pgsql_req_version' => 'Geeklog requires Postgresql version 9.1.7 or newer.',
+ 'database_dms' => 'Database Management System',
+ 'database_dms_notes' => 'Failed to determine Database Management System. Geeklog requires either MySQL or Postgresql',
+ 'php_req_version' => 'Geeklog requires PHP version 5.3.3 or newer.',
'php_settings' => 'PHP Settings',
'php_version' => 'PHP Version',
'php_warning' => 'If any of the items below are marked in red, you may encounter problems with your Geeklog site. Check with your hosting provider for information on changing any of these PHP settings.',
@@ -869,7 +876,12 @@
'autotag_desc_block' => '[block:name class:block-autotag] - Displays a block. Class not required. Class specifies the css class and will wrap the block in a div. The class block-autotag will always be included with the div.',
'position' => 'Position',
'cache_time' => 'Cache Time',
- 'cache_time_desc' => 'This block will be cached for no longer than this many seconds. If 0 caching is disabled. If -1 cached until block is edited again. (3600 = 1 hour, 86400 = 1 day)'
+ 'cache_time_desc' => 'This block will be cached for no longer than this many seconds. If 0 caching is disabled. If -1 cached until block is edited again. (3600 = 1 hour, 86400 = 1 day)',
+ 'block_type_gldefault' => 'System',
+ 'block_type_normal' => 'Normal',
+ 'block_type_phpblock' => 'PHP',
+ 'block_type_portal' => 'Portal',
+ 'block_type_dynamic' => 'Dynamic'
);
###############################################################################
@@ -1168,6 +1180,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1285,7 +1299,7 @@
// to match the PHP error constants,
// http://www.php.net/manual/en/features.file-upload.errors.php
// TBD: move to a separate $LANG array
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1466,8 +1480,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
diff --git a/language/english_utf-8.php b/language/english_utf-8.php
index a79616064..57346e0ab 100644
--- a/language/english_utf-8.php
+++ b/language/english_utf-8.php
@@ -746,8 +746,15 @@
'off' => 'Off',
'ok' => 'OK',
'on' => 'On',
+ 'database_settings' => 'Database Settings',
+ 'database_mysql_version' => 'MySQL Version',
+ 'database_mysql_req_version' => 'Geeklog requires MySQL version 4.1.2 or newer (MySQL 5 recommended).',
+ 'database_pgsql_version' => 'Postgresql Version',
+ 'database_pgsql_req_version' => 'Geeklog requires Postgresql version 9.1.7 or newer.',
+ 'database_dms' => 'Database Management System',
+ 'database_dms_notes' => 'Failed to determine Database Management System. Geeklog requires either MySQL or Postgresql',
'open_basedir' => 'If open_basedir restrictions are enabled on your site, it may cause permission problems during the install. The File System Check below should point out any issues.',
- 'php_req_version' => 'Geeklog requires PHP version 5.2.0 or newer.',
+ 'php_req_version' => 'Geeklog requires PHP version 5.3.3 or newer.',
'php_settings' => 'PHP Settings',
'php_version' => 'PHP Version',
'php_warning' => 'If any of the items below are marked in red, you may encounter problems with your Geeklog site. Check with your hosting provider for information on changing any of these PHP settings.',
@@ -869,7 +876,12 @@
'autotag_desc_block' => '[block:name class:block-autotag] - Displays a block. Class not required. Class specifies the css class and will wrap the block in a div. The class block-autotag will always be included with the div.',
'position' => 'Position',
'cache_time' => 'Cache Time',
- 'cache_time_desc' => 'This block will be cached for no longer than this many seconds. If 0 caching is disabled. If -1 cached until block is edited again. (3600 = 1 hour, 86400 = 1 day)'
+ 'cache_time_desc' => 'This block will be cached for no longer than this many seconds. If 0 caching is disabled. If -1 cached until block is edited again. (3600 = 1 hour, 86400 = 1 day)',
+ 'block_type_gldefault' => 'System',
+ 'block_type_normal' => 'Normal',
+ 'block_type_phpblock' => 'PHP',
+ 'block_type_portal' => 'Portal',
+ 'block_type_dynamic' => 'Dynamic'
);
###############################################################################
@@ -1168,6 +1180,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1285,7 +1299,7 @@
// to match the PHP error constants,
// http://www.php.net/manual/en/features.file-upload.errors.php
// TBD: move to a separate $LANG array
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1466,8 +1480,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
diff --git a/language/estonian.php b/language/estonian.php
index 3c527f35a..53edce310 100644
--- a/language/estonian.php
+++ b/language/estonian.php
@@ -1163,6 +1163,8 @@
41 => 'Kommentaaride sisestused',
42 => 'Kasutaja nimi',
43 => 'Auto-publitseeri kommentaarid?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/estonian_utf-8.php b/language/estonian_utf-8.php
index 9689f43a6..6333c9f6d 100644
--- a/language/estonian_utf-8.php
+++ b/language/estonian_utf-8.php
@@ -1163,6 +1163,8 @@
41 => 'Kommentaaride sisestused',
42 => 'Kasutaja nimi',
43 => 'Auto-publitseeri kommentaarid?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/farsi_utf-8.php b/language/farsi_utf-8.php
index 852162df4..9ca18ff37 100644
--- a/language/farsi_utf-8.php
+++ b/language/farsi_utf-8.php
@@ -1150,6 +1150,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1263,7 +1265,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1446,8 +1448,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2500,4 +2502,3 @@
);
-?>
diff --git a/language/finnish.php b/language/finnish.php
index 8294888b7..34866101a 100644
--- a/language/finnish.php
+++ b/language/finnish.php
@@ -1163,6 +1163,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1276,7 +1278,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1459,8 +1461,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/finnish_utf-8.php b/language/finnish_utf-8.php
index 614a40317..7bbee7c7e 100644
--- a/language/finnish_utf-8.php
+++ b/language/finnish_utf-8.php
@@ -1165,6 +1165,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1278,7 +1280,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1461,8 +1463,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/french_canada.php b/language/french_canada.php
index a034bae0c..c578d3e87 100644
--- a/language/french_canada.php
+++ b/language/french_canada.php
@@ -1165,6 +1165,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1278,7 +1280,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/french_canada_utf-8.php b/language/french_canada_utf-8.php
index 3dadf90f0..2ea1fb4b3 100644
--- a/language/french_canada_utf-8.php
+++ b/language/french_canada_utf-8.php
@@ -1165,6 +1165,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1278,7 +1280,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1461,8 +1463,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/french_france.php b/language/french_france.php
index ab669ee15..5665edc95 100644
--- a/language/french_france.php
+++ b/language/french_france.php
@@ -1163,6 +1163,8 @@
41 => 'Soumission des commentaires',
42 => 'Nom du membre',
43 => 'Auto-publier les commentaires?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/french_france_utf-8.php b/language/french_france_utf-8.php
index f0135d42c..1b2ef1aec 100644
--- a/language/french_france_utf-8.php
+++ b/language/french_france_utf-8.php
@@ -1163,6 +1163,8 @@
41 => 'Soumission des commentaires',
42 => 'Nom du membre',
43 => 'Auto-publier les commentaires?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1910,7 +1912,7 @@
'token_expiry' => 'Vous avez jusque %s pour saisir vos informations. Pass茅 ce d茅lais et pour des raisons de s茅curit茅, vous perdrez votre saisie.',
'token_expired' => 'Le d茅lais de s茅curit茅 pour cette op茅ratiton 脿 expir茅. Merci de vous identifier 脿 nouveau pour continuer.',
'reauth_msg' => 'Le d茅lais de s茅curit茅 pour cette op茅ratiton 脿 expir茅. Si vous souhaitez poursuivre l\'op茅ration, merci de vous identifier 脿 nouveau ci-dessous. Cela permettra de conserver vos derni猫res modifications.',
- 'authenticate' => 'Authentification',
+ 'authenticate' => 'authentication',
'approve' => 'Approve',
'device' => 'Device',
'device_desc' => 'For what device do you want this item to display for?',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/german.php b/language/german.php
index cb6a7dc6c..33b6426c8 100644
--- a/language/german.php
+++ b/language/german.php
@@ -1166,6 +1166,8 @@
41 => 'Beitr鋑e: Kommentare',
42 => 'Username',
43 => 'Moderation aufheben?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/german_formal.php b/language/german_formal.php
index d91191fb9..f48371afe 100644
--- a/language/german_formal.php
+++ b/language/german_formal.php
@@ -1167,6 +1167,8 @@
41 => 'Beitr鋑e: Kommentare',
42 => 'Username',
43 => 'Moderation aufheben?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2517,4 +2519,3 @@
);
-?>
diff --git a/language/german_formal_utf-8.php b/language/german_formal_utf-8.php
index dfc3f792c..3b1e17284 100644
--- a/language/german_formal_utf-8.php
+++ b/language/german_formal_utf-8.php
@@ -1167,6 +1167,8 @@
41 => 'Beitr盲ge: Kommentare',
42 => 'Username',
43 => 'Moderation aufheben?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2517,4 +2519,3 @@
);
-?>
diff --git a/language/german_utf-8.php b/language/german_utf-8.php
index ffe48f53d..5b2a8666a 100644
--- a/language/german_utf-8.php
+++ b/language/german_utf-8.php
@@ -1166,6 +1166,8 @@
41 => 'Beitr盲ge: Kommentare',
42 => 'Username',
43 => 'Moderation aufheben?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/hebrew_utf-8.php b/language/hebrew_utf-8.php
index fd400e68f..5873d5f0b 100644
--- a/language/hebrew_utf-8.php
+++ b/language/hebrew_utf-8.php
@@ -1164,6 +1164,8 @@
41 => '讛讙砖讜转 转讙讜讘讜转',
42 => '砖诐 诪砖转诪砖',
43 => '讛讗诐 诇驻专住诐 讗讜讟讜诪讟讬转 转讙讜讘讜转?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2514,4 +2516,3 @@
);
-?>
diff --git a/language/hellenic.php b/language/hellenic.php
index ee3c564a7..fb07da67a 100644
--- a/language/hellenic.php
+++ b/language/hellenic.php
@@ -1170,6 +1170,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1283,7 +1285,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1466,8 +1468,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2520,4 +2522,3 @@
);
-?>
diff --git a/language/hellenic_utf-8.php b/language/hellenic_utf-8.php
index b8dc403cc..ef1b19d5b 100644
--- a/language/hellenic_utf-8.php
+++ b/language/hellenic_utf-8.php
@@ -1170,6 +1170,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1283,7 +1285,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1466,8 +1468,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2520,4 +2522,3 @@
);
-?>
diff --git a/language/indonesian.php b/language/indonesian.php
index 218b80d9b..62d88db8b 100644
--- a/language/indonesian.php
+++ b/language/indonesian.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/indonesian_utf-8.php b/language/indonesian_utf-8.php
index ea5e98f47..acaca6d1e 100644
--- a/language/indonesian_utf-8.php
+++ b/language/indonesian_utf-8.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/italian.php b/language/italian.php
index d08eb3d0c..6cd07763f 100644
--- a/language/italian.php
+++ b/language/italian.php
@@ -1164,6 +1164,8 @@
41 => 'Commenti Inviati',
42 => 'Nome utente',
43 => 'Auto-Pubblicare Commenti?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2514,4 +2516,3 @@
);
-?>
diff --git a/language/italian_utf-8.php b/language/italian_utf-8.php
index 42398974a..51698802d 100644
--- a/language/italian_utf-8.php
+++ b/language/italian_utf-8.php
@@ -1164,6 +1164,8 @@
41 => 'Commenti Inviati',
42 => 'Nome utente',
43 => 'Auto-Pubblicare Commenti?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2514,4 +2516,3 @@
);
-?>
diff --git a/language/japanese_utf-8.php b/language/japanese_utf-8.php
index 562cfd5b5..199f01f4b 100644
--- a/language/japanese_utf-8.php
+++ b/language/japanese_utf-8.php
@@ -755,7 +755,14 @@
'ok' => 'OK',
'on' => 'On',
'open_basedir' => 'open_basedir 銇埗闄愩亴銇撱伄銈点偆銉堛仹鏈夊姽銇牬鍚堛併偆銉炽偣銉堛兗銉伄闅涖伀銉戙兗銉熴儍銈枫儳銉炽仹鍟忛銇岃捣銇嶃倠銇嬨倐銇椼倢銇俱仜銈撱備互涓嬨伄銉曘偂銈ゃ儷銈枫偣銉嗐儬銉併偋銉冦偗銈掕銇c仸銇忋仩銇曘亜銆',
- 'php_req_version' => 'Geeklog銇伅PHP version 5.2.0浠ラ檷銇屽繀瑕併仹銇欍',
+ 'database_settings' => 'Database Settings',
+ 'database_mysql_version' => 'MySQL Version',
+ 'database_mysql_req_version' => 'Geeklog requires MySQL version 4.1.2 or newer (MySQL 5 recommended).',
+ 'database_pgsql_version' => 'Postgresql Version',
+ 'database_pgsql_req_version' => 'Geeklog requires Postgresql version 9.1.7 or newer.',
+ 'database_dms' => 'Database Management System',
+ 'database_dms_notes' => 'Failed to determine Database Management System. Geeklog requires either MySQL or Postgresql',
+ 'php_req_version' => 'Geeklog銇伅PHP version 5.3.3浠ラ檷銇屽繀瑕併仹銇欍',
'php_settings' => 'PHP銇ō瀹',
'php_version' => 'PHP銇儛銉笺偢銉с兂',
'php_warning' => '浠ヤ笅銇儶銈广儓銇璧ゆ枃瀛椼伄绠囨墍銇屻亗銈屻伆銆併亗銇仧銇瓽eeklog銈点偆銉堛仹鍟忛銇岀櫤鐢熴仚銈嬨亱銈傘仐銈屻伨銇涖倱銆傘亾銈屻倝銇甈HP瑷畾銈掋儧銈广儐銈c兂銈般儣銉儛銈ゃ儉銉笺伄鎯呭牨銇収銈夈仐鍚堛倧銇涖仸銉併偋銉冦偗銇椼仸銇忋仩銇曘亜銆',
@@ -806,8 +813,8 @@
2 => '銇撱伄銉栥儹銉冦偗銈掔法闆嗐仚銈嬫ī闄愩亴銇傘倞銇俱仜銈撱',
3 => '銉栥儹銉冦偗銇法闆',
4 => '銉曘偅銉笺儔銇銇胯炯銇裤仹銈ㄣ儵銉笺亴鐧虹敓銇椼伨銇椼仧銆(error.log銈掑弬鐓с仐銇︺亸銇犮仌銇勩)',
- 5 => 'Yes',
- 6 => 'No',
+ 5 => '銇亜',
+ 6 => '銇勩亜銇',
7 => '銇欍伖銇',
8 => '銉栥儹銉冦偗銇偦銈儱銉儐銈c儸銉欍儷',
9 => '闋嗗簭',
@@ -872,9 +879,14 @@
68 => '銇撱伄銉濄兗銈裤儷銉栥儹銉冦偗銇儠銈c兗銉夈伅闀枫仚銇庛仸琛ㄧず銇с亶銇俱仜銈撱傘儢銉儍銈ō瀹氱敾闈€仹銉栥儹銉冦偗銇〃绀恒仚銈嬭浜嬨伄鏈澶ф暟銈掕ō瀹氥仚銈嬨亱銆併偝銉炽儠銈c偖銉ャ儸銉笺偡銉с兂銇ф婧栥伄鏈澶ф暟銈掕ō瀹氥仐銇︺亸銇犮仌銇勩',
69 => '銉椼儵銈般偆銉冲悕',
'autotag_desc_block' => '[block:name class:block-autotag] - Displays a block. Class not required. Class specifies the css class and will wrap the block in a div. The class block-autotag will always be included with the div.',
- 'position' => 'Position',
+ 'position' => '浣嶇疆',
'cache_time' => '銈儯銉冦偡銉ユ湡闁',
- 'cache_time_desc' => '銇撱伄銉栥儹銉冦偗銇寚瀹氥仌銈屻仧绉掓暟銇枔銈儯銉冦偡銉ャ仌銈屻伨銇欍0 銈掓寚瀹氥仚銈嬨仺銈儯銉冦偡銉ャ仐銇俱仜銈撱(3600 = 1鏅傞枔銆86400 = 1鏃)'
+ 'cache_time_desc' => '銇撱伄銉栥儹銉冦偗銇寚瀹氥仌銈屻仧绉掓暟銇枔銈儯銉冦偡銉ャ仌銈屻伨銇欍0 銈掓寚瀹氥仚銈嬨仺銈儯銉冦偡銉ャ仐銇俱仜銈撱(3600 = 1鏅傞枔銆86400 = 1鏃)',
+ 'block_type_gldefault' => '銈枫偣銉嗐儬',
+ 'block_type_normal' => '銉庛兗銉炪儷',
+ 'block_type_phpblock' => 'PHP',
+ 'block_type_portal' => '銉濄兗銈裤儷',
+ 'block_type_dynamic' => '銉銈ゃ儕銉熴儍銈'
);
###############################################################################
@@ -1171,11 +1183,13 @@
41 => '銈炽儭銉炽儓銇姇绋跨敵璜',
42 => '銉︺兗銈躲兗鍚',
43 => '銈炽儭銉炽儓銈掕嚜鍕曠殑銇叕闁?',
+ 44 => '鎶曠ǹ銇嚘鐞嗙祼鏋',
+ 45 => '銉︺兗銈躲兗銇屾姇绋裤仐銇︺亜銈嬮爡鐩伄銇嗐仭 %1$d 浠躲倰鎵胯獚銆%2$d 浠躲倰鍓婇櫎銇椼伨銇椼仧銆',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
'users' => 'Users',
- 'submissions_desc' => '銉︺兗銈躲兗銇姇绋裤倰绶ㄩ泦銇俱仧銇墛闄ゃ仚銈嬨伀銇併仢銇偄銈ゃ儐銉犮伄绶ㄩ泦銈€偆銈炽兂銈掋偗銉儍銈仐銇︺亸銇犮仌銇勩傘優銉儊銉椼儷鎶曠ǹ銈掓壙瑾嶃佸墛闄ゃ仚銈嬨伀銇併儶銈广儓銇儵銈ゃ偢銈偑銉椼偡銉с兂銈掕│鐢ㄣ仐銇︿繚瀛樸倰銈儶銉冦偗銇椼仸銇忋仩銇曘亜銆'
+ 'submissions_desc' => '銉︺兗銈躲兗銇姇绋裤倰绶ㄩ泦銇俱仧銇墛闄ゃ仚銈嬨伀銇併仢銇偄銈ゃ儐銉犮伄绶ㄩ泦銈€偆銈炽兂銈掋偗銉儍銈仐銇︺亸銇犮仌銇勩傛姇绋裤倰涓鎷仐銇︽壙瑾嶃兓鍓婇櫎銇欍倠銇伅銆併儶銈广儓銇儵銈搞偑銉溿偪銉炽倰閬告姙銇椼仸銇嬨倝淇濆瓨銈掋偗銉儍銈仐銇︺亸銇犮仌銇勩'
);
###############################################################################
@@ -1466,9 +1480,9 @@
68 => '姝c仐銇勭従鍦ㄣ伄銉戙偣銉兗銉夈倰鍏ュ姏銇椼仸銇忋仩銇曘亜銆',
69 => '銈€偒銈︺兂銉堛倰銉儍銈仐銇俱仐銇熴',
70 => '銈€偒銈︺兂銉堛伅绠$悊鑰呫伄鎵胯獚寰呫仭銇с仚銆',
- 71 => '銈€偒銈︺兂銉堛伄纰鸿獚銈掋仐銇俱仐銇熴併仢銇椼仸绠$悊鑰呫伄鎵胯獚寰呫仭銇с仚銆',
- 72 => '銉椼儵銈般偆銉炽伄銈ゃ兂銈广儓銉笺儷銇椼仸銈嬮枔銇偍銉┿兗銇岀櫤鐢熴仐銇俱仐銇熴俥rror.log銈掔⒑瑾嶃仐銇︺亸銇犮仌銇勩',
- 73 => '銉椼儵銈般偆銉炽伄銈€兂銈ゃ兂銈广儓銉笺儷銇椼仸銇勩倠闁撱伀銈ㄣ儵銉笺亴鐧虹敓銇椼伨銇椼仧銆俥rror.log銈掔⒑瑾嶃仐銇︺亸銇犮仌銇勩',
+ 71 => '銈€偒銈︺兂銉堛伄纰鸿獚銈掕銇勩伨銇椼仧銆併仢銇椼仸绠$悊鑰呫伄鎵胯獚寰呫仭銇с仚銆',
+ 72 => '銉椼儵銈般偆銉炽倰銈ゃ兂銈广儓銉笺儷銇椼仸銇勩倠闁撱伀銈ㄣ儵銉笺亴鐧虹敓銇椼伨銇椼仧銆俥rror.log銈掔⒑瑾嶃仐銇︺亸銇犮仌銇勩',
+ 73 => '銉椼儵銈般偆銉炽倰銈€兂銈ゃ兂銈广儓銉笺儷銇椼仸銇勩倠闁撱伀銈ㄣ儵銉笺亴鐧虹敓銇椼伨銇椼仧銆俥rror.log銈掔⒑瑾嶃仐銇︺亸銇犮仌銇勩',
74 => '銉斻兂銈般儛銉冦偗銈掗佷俊銇椼伨銇椼仧銆',
75 => '銉堛儵銉冦偗銉愩儍銈伅POST銉偗銈ㄣ偣銉堛倰浣跨敤銇椼仸閫佷俊銇椼仾銇戙倢銇般仾銈娿伨銇涖倱銆',
76 => '銇撱伄闋呯洰銈掑墛闄ゃ仐銇︺倐銈堛亜銇с仚銇?',
@@ -2521,4 +2535,3 @@
);
-?>
diff --git a/language/korean.php b/language/korean.php
index e4e231938..9d0d73daa 100644
--- a/language/korean.php
+++ b/language/korean.php
@@ -1163,6 +1163,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1276,7 +1278,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/korean_utf-8.php b/language/korean_utf-8.php
index 18ffc8544..a010563bc 100644
--- a/language/korean_utf-8.php
+++ b/language/korean_utf-8.php
@@ -1163,6 +1163,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1276,7 +1278,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/norwegian.php b/language/norwegian.php
index 1e3ff073b..cd01a1735 100644
--- a/language/norwegian.php
+++ b/language/norwegian.php
@@ -1175,6 +1175,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1288,7 +1290,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1471,8 +1473,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2525,4 +2527,3 @@
);
-?>
diff --git a/language/norwegian_utf-8.php b/language/norwegian_utf-8.php
index 69b330719..2e18745d1 100644
--- a/language/norwegian_utf-8.php
+++ b/language/norwegian_utf-8.php
@@ -1175,6 +1175,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1288,7 +1290,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1471,8 +1473,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2525,4 +2527,3 @@
);
-?>
diff --git a/language/polish.php b/language/polish.php
index 03e46ab87..fdabebcd7 100644
--- a/language/polish.php
+++ b/language/polish.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/polish_utf-8.php b/language/polish_utf-8.php
index 2dff942e1..26d438b36 100644
--- a/language/polish_utf-8.php
+++ b/language/polish_utf-8.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/portuguese.php b/language/portuguese.php
index fda87141b..24ae731ce 100644
--- a/language/portuguese.php
+++ b/language/portuguese.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/portuguese_brazil.php b/language/portuguese_brazil.php
index acf354203..e8aae249d 100644
--- a/language/portuguese_brazil.php
+++ b/language/portuguese_brazil.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/portuguese_brazil_utf-8.php b/language/portuguese_brazil_utf-8.php
index c3a478370..caa53b2f7 100644
--- a/language/portuguese_brazil_utf-8.php
+++ b/language/portuguese_brazil_utf-8.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/portuguese_utf-8.php b/language/portuguese_utf-8.php
index 8fde95afd..e695c422b 100644
--- a/language/portuguese_utf-8.php
+++ b/language/portuguese_utf-8.php
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/romanian.php b/language/romanian.php
index d9a2265bd..d997d7c7e 100644
--- a/language/romanian.php
+++ b/language/romanian.php
@@ -925,7 +925,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your stire. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your stire. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/romanian_utf-8.php b/language/romanian_utf-8.php
index a4ef56082..4e83aa89e 100644
--- a/language/romanian_utf-8.php
+++ b/language/romanian_utf-8.php
@@ -925,7 +925,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your stire. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your stire. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Story Management',
@@ -1161,6 +1161,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1274,7 +1276,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,8 +1459,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2511,4 +2513,3 @@
);
-?>
diff --git a/language/russian.php b/language/russian.php
index 9c834214d..1b096eb0a 100644
--- a/language/russian.php
+++ b/language/russian.php
@@ -1178,6 +1178,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1291,7 +1293,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2528,4 +2530,3 @@
);
-?>
diff --git a/language/russian_utf-8.php b/language/russian_utf-8.php
index ba0c3c4bb..424dda52e 100644
--- a/language/russian_utf-8.php
+++ b/language/russian_utf-8.php
@@ -1178,6 +1178,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1291,7 +1293,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2528,4 +2530,3 @@
);
-?>
diff --git a/language/serbian.php b/language/serbian.php
index 222140c77..ed3efecf4 100644
--- a/language/serbian.php
+++ b/language/serbian.php
@@ -1167,6 +1167,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1280,7 +1282,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2517,4 +2519,3 @@
);
-?>
diff --git a/language/serbian_utf-8.php b/language/serbian_utf-8.php
index 5322dfeb2..3181bc1d2 100644
--- a/language/serbian_utf-8.php
+++ b/language/serbian_utf-8.php
@@ -1167,6 +1167,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1280,7 +1282,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2517,4 +2519,3 @@
);
-?>
diff --git a/language/slovak.php b/language/slovak.php
index 4833907bf..73961ee20 100644
--- a/language/slovak.php
+++ b/language/slovak.php
@@ -926,7 +926,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Spr醰a 鑜醤ku',
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'User Name',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/slovak_utf-8.php b/language/slovak_utf-8.php
index 2427e6afc..0ba5252b5 100644
--- a/language/slovak_utf-8.php
+++ b/language/slovak_utf-8.php
@@ -926,7 +926,7 @@
52 => '',
53 => 'was not used. You must include this image in the intro or body before you can save your changes',
54 => 'Attached Images Not Used',
- 55 => 'The following errors occured while trying to save your story. Please correct these errors before saving',
+ 55 => 'The following errors occurred while trying to save your story. Please correct these errors before saving',
56 => 'Show Topic Icon',
57 => 'View unscaled image',
58 => 'Spr谩va 膷l谩nku',
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'User Name',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1458,8 +1460,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/slovenian.php b/language/slovenian.php
index 16df7adbf..73916b79b 100644
--- a/language/slovenian.php
+++ b/language/slovenian.php
@@ -1165,6 +1165,8 @@
41 => 'Oddaje komentarjev',
42 => 'Uporabni歬o ime',
43 => 'Samodejno objavi komentarje?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/slovenian_utf-8.php b/language/slovenian_utf-8.php
index b44beb060..2ef3fdc19 100644
--- a/language/slovenian_utf-8.php
+++ b/language/slovenian_utf-8.php
@@ -1165,6 +1165,8 @@
41 => 'Oddaje komentarjev',
42 => 'Uporabni拧ko ime',
43 => 'Samodejno objavi komentarje?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -2515,4 +2517,3 @@
);
-?>
diff --git a/language/spanish.php b/language/spanish.php
index 95ed6d841..18a930c3f 100644
--- a/language/spanish.php
+++ b/language/spanish.php
@@ -1160,6 +1160,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1273,7 +1275,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1457,7 +1459,7 @@
70 => 'Su cuenta est pendiente de aprobaci髇 de el administrador.',
71 => 'Su cuenta ha sido confirmada y est pendiente de ser activada por el administrador.',
72 => 'Hubo un error al intentar instalar el plugin. Por favor, revise el archivo error.log par m醩 detalles.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => '縎eguro que desea eliminar este elemento?',
@@ -2510,4 +2512,3 @@
);
-?>
diff --git a/language/spanish_argentina.php b/language/spanish_argentina.php
index ae75ce3ef..bc2e57fb3 100644
--- a/language/spanish_argentina.php
+++ b/language/spanish_argentina.php
@@ -1160,6 +1160,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1273,7 +1275,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1456,8 +1458,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2510,4 +2512,3 @@
);
-?>
diff --git a/language/spanish_argentina_utf-8.php b/language/spanish_argentina_utf-8.php
index 7d42010a3..ab41f5281 100644
--- a/language/spanish_argentina_utf-8.php
+++ b/language/spanish_argentina_utf-8.php
@@ -1160,6 +1160,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1273,7 +1275,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1456,8 +1458,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2510,4 +2512,3 @@
);
-?>
diff --git a/language/spanish_utf-8.php b/language/spanish_utf-8.php
index 2ab3f5179..df7c7784a 100644
--- a/language/spanish_utf-8.php
+++ b/language/spanish_utf-8.php
@@ -1163,6 +1163,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1276,7 +1278,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2513,4 +2515,3 @@
);
-?>
diff --git a/language/swedish.php b/language/swedish.php
index cdbd7464e..9def0c4f0 100644
--- a/language/swedish.php
+++ b/language/swedish.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/swedish_utf-8.php b/language/swedish_utf-8.php
index 5ae4df1e9..9f87bbfaf 100644
--- a/language/swedish_utf-8.php
+++ b/language/swedish_utf-8.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -1462,8 +1464,8 @@
69 => 'Your account has been blocked!',
70 => 'Your account is awaiting administrator approval.',
71 => 'Your account has now been confirmed and is awaiting administrator approval.',
- 72 => 'An error occured while attempting to install the plugin. See error.log for details.',
- 73 => 'An error occured while attempting to uninstall the plugin. See error.log for details.',
+ 72 => 'An error occurred while attempting to install the plugin. See error.log for details.',
+ 73 => 'An error occurred while attempting to uninstall the plugin. See error.log for details.',
74 => 'The pingback has been successfully sent.',
75 => 'Trackbacks must be sent using a POST request.',
76 => 'Do you really want to delete this item?',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/turkish.php b/language/turkish.php
index 215da690b..48323bbdb 100644
--- a/language/turkish.php
+++ b/language/turkish.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/turkish_utf-8.php b/language/turkish_utf-8.php
index e36c2f360..b9bc047f6 100644
--- a/language/turkish_utf-8.php
+++ b/language/turkish_utf-8.php
@@ -1162,6 +1162,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1275,7 +1277,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2512,4 +2514,3 @@
);
-?>
diff --git a/language/ukrainian.php b/language/ukrainian.php
index be4a13746..55040812f 100644
--- a/language/ukrainian.php
+++ b/language/ukrainian.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/ukrainian_koi8-u.php b/language/ukrainian_koi8-u.php
index 69edcf85a..80881d8e8 100644
--- a/language/ukrainian_koi8-u.php
+++ b/language/ukrainian_koi8-u.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/language/ukrainian_utf-8.php b/language/ukrainian_utf-8.php
index 1bb5bbdd6..39df4a52c 100644
--- a/language/ukrainian_utf-8.php
+++ b/language/ukrainian_utf-8.php
@@ -1166,6 +1166,8 @@
41 => 'Comment Submissions',
42 => 'Username',
43 => 'Auto-publish Comments?',
+ 44 => 'Results of your moderation',
+ 45 => 'Approved %1$d items and deleted %2$d items of user submissions.',
'core' => 'Core',
'plugins' => 'Plugins',
'tools' => 'Tools',
@@ -1279,7 +1281,7 @@
67 => 'The directory "%s" is not writable.',
68 => 'You do not have the required permissions to install plugins.',
69 => 'You do not have the required permissions to upload plugins.',
- 99 => 'An unknown error occured',
+ 99 => 'An unknown error occurred',
100 => 'Ok.',
101 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
102 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
@@ -2516,4 +2518,3 @@
);
-?>
diff --git a/plugins/calendar/configuration_validation.php b/plugins/calendar/configuration_validation.php
index a5bb8a6de..b8b8a4ff7 100644
--- a/plugins/calendar/configuration_validation.php
+++ b/plugins/calendar/configuration_validation.php
@@ -30,7 +30,7 @@
// | |
// +---------------------------------------------------------------------------+
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'configuration_validation.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -78,5 +78,3 @@
$_CONF_VALIDATE['calendar']['autotag_permissions_event[3]'] = array(
'rule' => array('inList', array(0, 2), true)
);
-
-?>
diff --git a/plugins/calendar/functions.inc b/plugins/calendar/functions.inc
index 03d0f8a49..c23803988 100644
--- a/plugins/calendar/functions.inc
+++ b/plugins/calendar/functions.inc
@@ -40,7 +40,7 @@
* @package Calendar
*/
-if (stripos($_SERVER['PHP_SELF'], 'functions.inc') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own.');
}
@@ -113,14 +113,9 @@ function phpblock_calendar($help = '', $title = '')
if ($range == 0) {
$range = 14; // fallback: 14 days
}
- $dateonly = $_CONF['dateonly'];
- if (empty($dateonly)) {
- $dateonly = '%d-%b'; // fallback: day - abbrev. month name
- }
if (empty($title)) {
- $title = DB_getItem($_TABLES['blocks'], 'title',
- "name = 'events_block'");
+ $title = DB_getItem($_TABLES['blocks'], 'title', "name = 'events_block'");
}
$eventSql = 'SELECT eid,title,url,datestart,dateend,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon '
. "FROM {$_TABLES['events']} ";
@@ -132,19 +127,19 @@ function phpblock_calendar($help = '', $title = '')
$eventSql .= 'ORDER BY datestart,timestart';
if (($_CA_CONF['personalcalendars'] == 1) && !COM_isAnonUser()) {
- $personaleventsql = 'SELECT eid,title,url,datestart,dateend,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon '
+ $personalEventSql = 'SELECT eid,title,url,datestart,dateend,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon '
. "FROM {$_TABLES['personal_events']} ";
- if ($_DB_dbms == 'pgsql') {
- $personaleventsql .= "WHERE uid = {$_USER['uid']} AND dateend >= (NOW() - INTERVAL '1 day') AND (NOW() - INTERVAL '$range days') < datestart ";
+ if ($_DB_dbms === 'pgsql') {
+ $personalEventSql .= "WHERE uid = {$_USER['uid']} AND dateend >= (NOW() - INTERVAL '1 day') AND (NOW() - INTERVAL '$range days') < datestart ";
} else {
- $personaleventsql .= "WHERE uid = {$_USER['uid']} AND dateend >= (NOW() - INTERVAL 24 HOUR) AND (TO_DAYS(datestart) - TO_DAYS(NOW()) < $range) ";
+ $personalEventSql .= "WHERE uid = {$_USER['uid']} AND dateend >= (NOW() - INTERVAL 24 HOUR) AND (TO_DAYS(datestart) - TO_DAYS(NOW()) < $range) ";
}
- $personaleventsql .= 'ORDER BY datestart, dateend';
+ $personalEventSql .= 'ORDER BY datestart, dateend';
}
$allEvents = DB_query($eventSql);
$numRows = DB_numRows($allEvents);
- $totalrows = $numRows;
+ $totalRows = $numRows;
$numDays = 0; // Without limits, I'll force them.
$theRow = 1; // Start with today!
@@ -162,18 +157,18 @@ function phpblock_calendar($help = '', $title = '')
for ($z = 1; $z <= $iterations; $z++) {
if ($z == 2) {
- $allEvents = DB_query($personaleventsql);
+ $allEvents = DB_query($personalEventSql);
$numRows = DB_numRows($allEvents);
- $totalrows = $totalrows + $numRows;
+ $totalRows = $totalRows + $numRows;
$numDays = 0; // Without limits, I'll force them.
$theRow = 1; // Start with today!
$oldDate1 = 'no_day'; // Invalid Date!
$oldDate2 = 'last_d'; // Invalid Date!
- $classname = 'list-new-plugins';
+ $className = 'list-new-plugins';
$headline = false;
} else {
- $classname = 'list-new-plugins';
+ $className = 'list-new-plugins';
$headline = false;
}
if ($_CA_CONF['personalcalendars'] == 0) {
@@ -182,7 +177,7 @@ function phpblock_calendar($help = '', $title = '')
}
while ($theRow <= $numRows && $numDays < $range) {
- // Retreive the next event, and format the start date.
+ // Retrieve the next event, and format the start date.
$theEvent = DB_fetchArray($allEvents);
if (SEC_hasAccess($theEvent['owner_id'], $theEvent['group_id'],
@@ -194,11 +189,11 @@ function phpblock_calendar($help = '', $title = '')
if (!$headline) {
if ($z == 2) {
if ($numRows > 0) {
- $retval .= '' . $LANG_CAL_1[23] . '
';
+ $retval .= '' . $LANG_CAL_1[23] . '
';
}
} else {
- if ($totalrows > 0) {
- $retval .= '' . $LANG_CAL_1[24] . '
';
+ if ($totalRows > 0) {
+ $retval .= '' . $LANG_CAL_1[24] . '
';
}
}
$headline = true;
@@ -208,13 +203,13 @@ function phpblock_calendar($help = '', $title = '')
$startDate = $theEvent['datestart'];
$theTime1 = strtotime($startDate);
$dayName1 = strftime('%A', $theTime1);
- $abbrDate1 = strftime($dateonly, $theTime1);
+ list($abbrDate1,) = COM_getUserDateTimeFormat($theTime1, 'dateonly');
// End Date strings...
$endDate = $theEvent['dateend'];
$theTime2 = strtotime($endDate);
$dayName2 = strftime('%A', $theTime2);
- $abbrDate2 = strftime($dateonly, $theTime2);
+ list($abbrDate2,) = COM_getUserDateTimeFormat($theTime2, 'dateonly');
$todaysEvent = false;
if (date('Ymd', $theTime1) == date('Ymd', time())) {
@@ -233,8 +228,8 @@ function phpblock_calendar($help = '', $title = '')
$numDays++;
if ($numDays < $range) {
- if (!empty($newevents)) {
- $retval .= COM_makeList($newevents, $classname);
+ if (!empty($newEvents)) {
+ $retval .= COM_makeList($newEvents, $className);
}
if ($skipFirstBreak) {
$skipFirstBreak = false;
@@ -255,36 +250,36 @@ function phpblock_calendar($help = '', $title = '')
$retval .= '';
}
}
- $newevents = array();
+ $newEvents = array();
}
// Now display this event record.
if ($numDays < $range) {
// Display the url now!
- $newevent_url = $_CONF['site_url']
+ $newEventUrl = $_CONF['site_url']
. '/calendar/event.php?';
if ($z == 2) {
- $newevent_url .= 'mode=personal&';
+ $newEventUrl .= 'mode=personal&';
}
- $newevent_url .= 'eid=' . $theEvent['eid'];
+ $newEventUrl .= 'eid=' . $theEvent['eid'];
$attr = array();
if ($todaysEvent) {
$attr = array('class' => $todaysClassName);
}
- $newevent = COM_createLink(
+ $newEvent = COM_createLink(
stripslashes($theEvent['title']),
- $newevent_url,
+ $newEventUrl,
$attr
);
- $newevents[] = $newevent;
+ $newEvents[] = $newEvent;
}
- if (!empty($newevents)) {
- $retval .= COM_makeList($newevents, $classname);
- $newevents = array();
+ if (!empty($newEvents)) {
+ $retval .= COM_makeList($newEvents, $className);
+ $newEvents = array();
}
}
$theRow++;
@@ -418,7 +413,7 @@ function plugin_savesubmission_calendar($A)
$retval = '';
- $A['title'] = strip_tags(COM_checkWords($A['title']));
+ $A['title'] = GLText::stripTags(COM_checkWords($A['title']));
$A['title'] = GLText::remove4byteUtf8Chars($A['title']);
$A['start_year'] = COM_applyFilter($A['start_year'], true);
$A['start_month'] = COM_applyFilter($A['start_month'], true);
@@ -507,13 +502,13 @@ function plugin_savesubmission_calendar($A)
// Remove any autotags the user doesn't have permission to use
$A['description'] = PLG_replaceTags($A['description'], '', true);
$A['description'] = DB_escapeString(htmlspecialchars(GLText::remove4byteUtf8Chars(COM_checkWords($A['description']))));
- $A['address1'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['address1']))));
- $A['address2'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['address2']))));
- $A['city'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['city']))));
- $A['zipcode'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['zipcode']))));
- $A['state'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['state']))));
- $A['location'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['location']))));
- $A['event_type'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['event_type']))));
+ $A['address1'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['address1']))));
+ $A['address2'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['address2']))));
+ $A['city'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['city']))));
+ $A['zipcode'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['zipcode']))));
+ $A['state'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['state']))));
+ $A['location'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['location']))));
+ $A['event_type'] = DB_escapeString(GLText::remove4byteUtf8Chars(GLText::stripTags(COM_checkWords($A['event_type']))));
$A['title'] = DB_escapeString(GLText::remove4byteUtf8Chars($A['title']));
$A['url'] = DB_escapeString(COM_sanitizeUrl($A['url']));
@@ -655,7 +650,7 @@ function plugin_getheadercode_calendar()
global $_SCRIPTS;
// use the CSS only if we are on the plugin's pages
- if (substr_count($_SERVER['PHP_SELF'], '/calendar/') > 0) {
+ if (substr_count(Geeklog\Input::server('PHP_SELF'), '/calendar/') > 0) {
$_SCRIPTS->setCSSFile('calendar', CTL_plugin_themeFindFile('calendar', 'css', 'style.css'), false);
}
}
@@ -667,42 +662,29 @@ function plugin_submit_calendar($mode = 'master')
{
global $_CONF, $_CA_CONF, $LANG_CAL_1, $LANG12, $MESSAGE, $_SCRIPTS;
- if (isset($_POST['calendar_type'])) {
- $mode = $_POST['calendar_type'];
+ $mode = Geeklog\Input::fPost('calendar_type', null);
+
+ if ($mode !== null) {
if (!in_array($mode, array('master', 'personal', 'quickadd'))) {
$mode = 'master';
}
- } elseif (isset($_REQUEST['mode']) && ($_REQUEST['mode'] == 'personal')) {
+ } elseif (Geeklog\Input::fRequest('mode') === 'personal') {
$mode = 'personal';
}
- if (($_CA_CONF['personalcalendars'] == 1) && ($mode == 'quickadd')) {
+ if (($_CA_CONF['personalcalendars'] == 1) && ($mode === 'quickadd')) {
// quick add form, just save it.
$display = plugin_savesubmission_calendar($_POST);
return $display;
} elseif (SEC_hasRights('calendar.edit') && ($mode != 'personal')) {
// admin posts non-personal, go to editor
- if (isset($_REQUEST['year'])) {
- $year = COM_applyFilter($_REQUEST['year'], true);
- } else {
- $year = date('Y', time());
- }
- if (isset($_REQUEST['month'])) {
- $month = COM_applyFilter($_REQUEST['month'], true);
- } else {
- $month = date('m', time());
- }
- if (isset($_REQUEST['day'])) {
- $day = COM_applyFilter($_REQUEST['day'], true);
- } else {
- $day = date('d', time());
- }
- if (isset($_REQUEST['hour'])) {
- $hour = COM_applyFilter($_REQUEST['hour'], true);
- } else {
- $hour = date('H', time());
- }
+ $currentTime = time();
+ $year = (int) Geeklog\Input::fRequest('year', date('Y', $currentTime));
+ $month = (int) Geeklog\Input::fRequest('month', date('m', $currentTime));
+ $day = (int) Geeklog\Input::fRequest('day', date('d', $currentTime));
+ $hour = (int) Geeklog\Input::fRequest('hour', date('H', $currentTime));
+
$startat = '';
if ($year > 0) {
$startat = '&datestart='
@@ -717,8 +699,7 @@ function plugin_submit_calendar($mode = 'master')
// otherwise non-admin or admin-personal. do personal form or public submission.
// Loads jQuery UI datepicker and timepicker-addon
- $_SCRIPTS->setJavaScriptLibrary('jquery.ui.slider');
- $_SCRIPTS->setJavaScriptLibrary('jquery.ui.datepicker');
+ $_SCRIPTS->setJavaScriptLibrary('jquery-ui'); // Require slider and date picker
$_SCRIPTS->setJavaScriptLibrary('jquery-ui-i18n');
$_SCRIPTS->setJavaScriptLibrary('jquery-ui-timepicker-addon');
$_SCRIPTS->setJavaScriptLibrary('jquery-ui-timepicker-addon-i18n');
@@ -889,11 +870,7 @@ function CALENDAR_listOld()
global $_CONF, $_TABLES, $LANG_ADMIN, $LANG_CAL_ADMIN, $LANG_ACCESS,
$LANG01, $_IMAGE_TYPE;
- if (isset($_REQUEST['usr_time'])) {
- $usr_time = $_REQUEST['usr_time'];
- } else {
- $usr_time = 12;
- }
+ $usr_time = (int) Geeklog\Input::fRequest('usr_time', 12);
require_once $_CONF['path_system'] . 'lib-admin.php';
@@ -979,18 +956,14 @@ function CALENDAR_deleteOld()
global $_CONF, $LANG_CAL_ADMIN;
$msg = '';
- $event_list = array();
- if (isset($_POST['delitem'])) {
- $event_list = $_POST['delitem'];
- }
+ $event_list = Geeklog\Input::fPost('delitem', array());
- if (count($event_list) == 0) {
+ if (count($event_list) === 0) {
$msg = $LANG_CAL_ADMIN[33] . "
";
}
$c = 0;
if (isset($event_list) && is_array($event_list)) {
foreach ($event_list as $delitem) {
- $delitem = COM_applyFilter($delitem);
if (!CALENDAR_deleteEvent($delitem)) {
$msg .= "{$LANG_CAL_ADMIN[34]} $delitem $LANG_CAL_ADMIN[35]}
\n";
} else {
@@ -1084,30 +1057,28 @@ function CALENDAR_sendNotification($table, $A)
$title = stripslashes($A['title']);
$description = stripslashes($A['description']);
-
- $mailbody = "$LANG09[16]: $title\n"
- . "$LANG09[17]: " . strftime($_CONF['date'],
- strtotime($A['datestart'] . ' ' . $A['timestart']));
+ list($dateTime, ) = COM_getUserDateTimeFormat(strtotime($A['datestart'] . ' ' . $A['timestart']), 'date');
+ $mailBody = sprintf("%s: %s\n%s: %s", $LANG09[16], $title, $LANG09[17], $dateTime);
if ($A['allday']) {
- $mailbody .= ' (' . $LANG_CAL_2[26] . ')';
+ $mailBody .= ' (' . $LANG_CAL_2[26] . ')';
}
- $mailbody .= "\n";
- if (!empty($A['url']) && ($A['url'] != 'http://')) {
- $mailbody .= "$LANG09[33]: <" . $A['url'] . ">\n";
+ $mailBody .= "\n";
+ if (!empty($A['url']) && ($A['url'] !== 'http://') && ($A['url'] !== 'https://')) {
+ $mailBody .= "$LANG09[33]: <" . $A['url'] . ">\n";
}
- $mailbody .= "\n" . $description . "\n\n";
+ $mailBody .= "\n" . $description . "\n\n";
if ($table == $_TABLES['eventsubmission']) {
- $mailbody .= "$LANG01[10] <{$_CONF['site_admin_url']}/moderation.php>\n\n";
+ $mailBody .= "$LANG01[10] <{$_CONF['site_admin_url']}/moderation.php>\n\n";
} else {
- $mailbody .= "$LANG_CAL_1[12] <{$_CONF['site_url']}/calendar/event.php?eid={$A['eid']}>\n\n";
+ $mailBody .= "$LANG_CAL_1[12] <{$_CONF['site_url']}/calendar/event.php?eid={$A['eid']}>\n\n";
}
- $mailsubject = $_CONF['site_name'] . ' ' . $LANG_CAL_2[43];
+ $mailSubject = $_CONF['site_name'] . ' ' . $LANG_CAL_2[43];
- $mailbody .= "\n------------------------------\n";
- $mailbody .= "\n$LANG08[34]\n";
- $mailbody .= "\n------------------------------\n";
+ $mailBody .= "\n------------------------------\n";
+ $mailBody .= "\n$LANG08[34]\n";
+ $mailBody .= "\n------------------------------\n";
- COM_mail($_CONF['site_mail'], $mailsubject, $mailbody);
+ COM_mail($_CONF['site_mail'], $mailSubject, $mailBody);
}
/**
diff --git a/plugins/calendar/install_defaults.php b/plugins/calendar/install_defaults.php
index 7626d06de..bb4878e75 100644
--- a/plugins/calendar/install_defaults.php
+++ b/plugins/calendar/install_defaults.php
@@ -37,7 +37,7 @@
//
// $Id: install_defaults.php,v 1.8 2008/09/21 08:37:08 dhaun Exp $
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'install_defaults.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/calendar/language/czech.php b/plugins/calendar/language/czech.php
index 163532527..b2a44446e 100644
--- a/plugins/calendar/language/czech.php
+++ b/plugins/calendar/language/czech.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/czech_utf-8.php b/plugins/calendar/language/czech_utf-8.php
index eee5719ab..0f3621d6a 100644
--- a/plugins/calendar/language/czech_utf-8.php
+++ b/plugins/calendar/language/czech_utf-8.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/danish.php b/plugins/calendar/language/danish.php
index 679bef513..e0930bda3 100644
--- a/plugins/calendar/language/danish.php
+++ b/plugins/calendar/language/danish.php
@@ -250,4 +250,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/danish_utf-8.php b/plugins/calendar/language/danish_utf-8.php
index 43f334942..9ce3274ae 100644
--- a/plugins/calendar/language/danish_utf-8.php
+++ b/plugins/calendar/language/danish_utf-8.php
@@ -250,4 +250,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/dutch.php b/plugins/calendar/language/dutch.php
index d718843f1..e58ddc9e2 100644
--- a/plugins/calendar/language/dutch.php
+++ b/plugins/calendar/language/dutch.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/dutch_utf-8.php b/plugins/calendar/language/dutch_utf-8.php
index 3460628ec..330c38af7 100644
--- a/plugins/calendar/language/dutch_utf-8.php
+++ b/plugins/calendar/language/dutch_utf-8.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/estonian.php b/plugins/calendar/language/estonian.php
index 1d174a664..afdebda4d 100644
--- a/plugins/calendar/language/estonian.php
+++ b/plugins/calendar/language/estonian.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/estonian_utf-8.php b/plugins/calendar/language/estonian_utf-8.php
index 7c6868acb..5a41fbd08 100644
--- a/plugins/calendar/language/estonian_utf-8.php
+++ b/plugins/calendar/language/estonian_utf-8.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/french_canada.php b/plugins/calendar/language/french_canada.php
index c083d75a8..926823fcf 100644
--- a/plugins/calendar/language/french_canada.php
+++ b/plugins/calendar/language/french_canada.php
@@ -251,4 +251,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/french_canada_utf-8.php b/plugins/calendar/language/french_canada_utf-8.php
index 7c8fdace7..8de7dee0f 100644
--- a/plugins/calendar/language/french_canada_utf-8.php
+++ b/plugins/calendar/language/french_canada_utf-8.php
@@ -251,4 +251,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/french_france.php b/plugins/calendar/language/french_france.php
index 4e44f1347..8eda8f4b9 100644
--- a/plugins/calendar/language/french_france.php
+++ b/plugins/calendar/language/french_france.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/french_france_utf-8.php b/plugins/calendar/language/french_france_utf-8.php
index 5766a360b..05f09745c 100644
--- a/plugins/calendar/language/french_france_utf-8.php
+++ b/plugins/calendar/language/french_france_utf-8.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/german.php b/plugins/calendar/language/german.php
index 21e7e3b4a..92e3a7a9a 100644
--- a/plugins/calendar/language/german.php
+++ b/plugins/calendar/language/german.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/german_formal.php b/plugins/calendar/language/german_formal.php
index 31ac79ddf..a71cfb06e 100644
--- a/plugins/calendar/language/german_formal.php
+++ b/plugins/calendar/language/german_formal.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/german_formal_utf-8.php b/plugins/calendar/language/german_formal_utf-8.php
index 8897318da..6fcc361f4 100644
--- a/plugins/calendar/language/german_formal_utf-8.php
+++ b/plugins/calendar/language/german_formal_utf-8.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/german_utf-8.php b/plugins/calendar/language/german_utf-8.php
index 224acdc74..916e9fec6 100644
--- a/plugins/calendar/language/german_utf-8.php
+++ b/plugins/calendar/language/german_utf-8.php
@@ -249,4 +249,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/hebrew_utf-8.php b/plugins/calendar/language/hebrew_utf-8.php
index 5e2676c6d..70d526a2a 100644
--- a/plugins/calendar/language/hebrew_utf-8.php
+++ b/plugins/calendar/language/hebrew_utf-8.php
@@ -249,4 +249,3 @@
15 => array('讻讜诇诐' => 'all', '讚祝 讛讘讬转 讘诇讘讚' => 'homeonly', '讘讞讬专转 谞讜砖讗讬诐' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/italian.php b/plugins/calendar/language/italian.php
index 8fbd8401f..c159cb3b9 100644
--- a/plugins/calendar/language/italian.php
+++ b/plugins/calendar/language/italian.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/italian_utf-8.php b/plugins/calendar/language/italian_utf-8.php
index 281a1c1e3..fa7519fb0 100644
--- a/plugins/calendar/language/italian_utf-8.php
+++ b/plugins/calendar/language/italian_utf-8.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/japanese_utf-8.php b/plugins/calendar/language/japanese_utf-8.php
index 09b4831f0..bc2bb44fa 100644
--- a/plugins/calendar/language/japanese_utf-8.php
+++ b/plugins/calendar/language/japanese_utf-8.php
@@ -256,4 +256,3 @@
15 => array('銇欍伖銇' => 'all', '銉涖兗銉犮儦銉笺偢銇伩' => 'homeonly', '瑭遍銈掗伕鎶炪仚銈' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/korean.php b/plugins/calendar/language/korean.php
index 07ac91b69..caed60e16 100644
--- a/plugins/calendar/language/korean.php
+++ b/plugins/calendar/language/korean.php
@@ -251,4 +251,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/korean_utf-8.php b/plugins/calendar/language/korean_utf-8.php
index 8bb4f7442..0482c451d 100644
--- a/plugins/calendar/language/korean_utf-8.php
+++ b/plugins/calendar/language/korean_utf-8.php
@@ -251,4 +251,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/russian.php b/plugins/calendar/language/russian.php
index 64819c29d..3fed2cb5a 100644
--- a/plugins/calendar/language/russian.php
+++ b/plugins/calendar/language/russian.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/russian_utf-8.php b/plugins/calendar/language/russian_utf-8.php
index 15293a62f..52335abf1 100644
--- a/plugins/calendar/language/russian_utf-8.php
+++ b/plugins/calendar/language/russian_utf-8.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/slovak.php b/plugins/calendar/language/slovak.php
index 21f4f8729..c7ea381d4 100644
--- a/plugins/calendar/language/slovak.php
+++ b/plugins/calendar/language/slovak.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/slovak_utf-8.php b/plugins/calendar/language/slovak_utf-8.php
index 18befd2a6..8b2eabbd4 100644
--- a/plugins/calendar/language/slovak_utf-8.php
+++ b/plugins/calendar/language/slovak_utf-8.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/slovenian.php b/plugins/calendar/language/slovenian.php
index adf3ce8e2..219151221 100644
--- a/plugins/calendar/language/slovenian.php
+++ b/plugins/calendar/language/slovenian.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/slovenian_utf-8.php b/plugins/calendar/language/slovenian_utf-8.php
index 4ab617634..579aac748 100644
--- a/plugins/calendar/language/slovenian_utf-8.php
+++ b/plugins/calendar/language/slovenian_utf-8.php
@@ -252,4 +252,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/spanish.php b/plugins/calendar/language/spanish.php
index 6c992c44f..369d23647 100644
--- a/plugins/calendar/language/spanish.php
+++ b/plugins/calendar/language/spanish.php
@@ -253,4 +253,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/spanish_utf-8.php b/plugins/calendar/language/spanish_utf-8.php
index 75d19a6ef..422a01bd3 100644
--- a/plugins/calendar/language/spanish_utf-8.php
+++ b/plugins/calendar/language/spanish_utf-8.php
@@ -253,4 +253,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/ukrainian.php b/plugins/calendar/language/ukrainian.php
index 42d2c8901..f73aa5dbc 100644
--- a/plugins/calendar/language/ukrainian.php
+++ b/plugins/calendar/language/ukrainian.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/ukrainian_koi8-u.php b/plugins/calendar/language/ukrainian_koi8-u.php
index 0f7041066..42c5fecb3 100644
--- a/plugins/calendar/language/ukrainian_koi8-u.php
+++ b/plugins/calendar/language/ukrainian_koi8-u.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/calendar/language/ukrainian_utf-8.php b/plugins/calendar/language/ukrainian_utf-8.php
index e24d7917d..874569e1f 100644
--- a/plugins/calendar/language/ukrainian_utf-8.php
+++ b/plugins/calendar/language/ukrainian_utf-8.php
@@ -248,4 +248,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/links/autoinstall.php b/plugins/links/autoinstall.php
index a6b1889fa..089f9622c 100644
--- a/plugins/links/autoinstall.php
+++ b/plugins/links/autoinstall.php
@@ -125,7 +125,7 @@ function plugin_load_configuration_links($pi_name)
* We're inserting our default data here since it depends on other stuff that
* has to happen first ...
*
-* @return boolean true = proceed with install, false = an error occured
+* @return boolean true = proceed with install, false = an error occurred
*
*/
function plugin_postinstall_links($pi_name)
diff --git a/plugins/links/configuration_validation.php b/plugins/links/configuration_validation.php
index ee95ac11c..63a67c68e 100644
--- a/plugins/links/configuration_validation.php
+++ b/plugins/links/configuration_validation.php
@@ -30,7 +30,7 @@
// | |
// +---------------------------------------------------------------------------+
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'configuration_validation.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/links/functions.inc b/plugins/links/functions.inc
index b7bf60b5e..1059833a6 100644
--- a/plugins/links/functions.inc
+++ b/plugins/links/functions.inc
@@ -42,7 +42,7 @@
* @package Links
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own.');
}
@@ -1032,10 +1032,7 @@ function plugin_submit_links()
$linkform->set_var('lang_title', $LANG12[10]);
$linkform->set_var('lang_link', $LANG_LINKS_SUBMIT[2]);
$linkform->set_var('lang_category', $LANG_LINKS_SUBMIT[3]);
- $category = '';
- if (isset($_REQUEST['cid'])) {
- $category = $_REQUEST['cid'];
- }
+ $category = Geeklog\Input::request('cid', '');
$linkform->set_var('link_category_options', links_select_box(2, $category));
$linkform->set_var('lang_description', $LANG12[15]);
$linkform->set_var('lang_htmlnotallowed', $LANG12[35]);
@@ -1088,7 +1085,7 @@ function plugin_save_submit_links($A)
return $retval;
}
- $A['cid'] = strip_tags(COM_stripslashes($A['categorydd']));
+ $A['cid'] = GLText::stripTags(COM_stripslashes($A['categorydd']));
$validcat = false;
if (!empty($A['cid'])) {
@@ -1111,7 +1108,7 @@ function plugin_save_submit_links($A)
// Remove any autotags the user doesn't have permission to use
$A['description'] = PLG_replaceTags($A['description'], '', true);
$A['description'] = DB_escapeString(htmlspecialchars(COM_checkWords($A['description'])));
- $A['title'] = DB_escapeString(strip_tags(COM_checkWords($A['title'])));
+ $A['title'] = DB_escapeString(GLText::stripTags(COM_checkWords($A['title'])));
$A['url'] = DB_escapeString(COM_sanitizeUrl($A['url']));
$A['lid'] = DB_escapeString(COM_makeSid());
diff --git a/plugins/links/install_defaults.php b/plugins/links/install_defaults.php
index c41ef29ba..a5da5c13d 100644
--- a/plugins/links/install_defaults.php
+++ b/plugins/links/install_defaults.php
@@ -42,7 +42,7 @@
* @package Links
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'install_defaults.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/links/language/chinese_simplified_utf-8.php b/plugins/links/language/chinese_simplified_utf-8.php
index 3d7583bf7..e20b2571e 100644
--- a/plugins/links/language/chinese_simplified_utf-8.php
+++ b/plugins/links/language/chinese_simplified_utf-8.php
@@ -273,4 +273,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/chinese_traditional_utf-8.php b/plugins/links/language/chinese_traditional_utf-8.php
index f2465074a..0f40681d3 100644
--- a/plugins/links/language/chinese_traditional_utf-8.php
+++ b/plugins/links/language/chinese_traditional_utf-8.php
@@ -273,4 +273,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/czech.php b/plugins/links/language/czech.php
index ad360f06b..e8af63301 100644
--- a/plugins/links/language/czech.php
+++ b/plugins/links/language/czech.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/czech_utf-8.php b/plugins/links/language/czech_utf-8.php
index b74d13d64..5c6d3e212 100644
--- a/plugins/links/language/czech_utf-8.php
+++ b/plugins/links/language/czech_utf-8.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/dutch.php b/plugins/links/language/dutch.php
index 5bedf95ac..2c62b999f 100644
--- a/plugins/links/language/dutch.php
+++ b/plugins/links/language/dutch.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/dutch_utf-8.php b/plugins/links/language/dutch_utf-8.php
index 5bedf95ac..2c62b999f 100644
--- a/plugins/links/language/dutch_utf-8.php
+++ b/plugins/links/language/dutch_utf-8.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/estonian.php b/plugins/links/language/estonian.php
index f19c457db..95c6570c2 100644
--- a/plugins/links/language/estonian.php
+++ b/plugins/links/language/estonian.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/estonian_utf-8.php b/plugins/links/language/estonian_utf-8.php
index 6ee1a28cb..401559b24 100644
--- a/plugins/links/language/estonian_utf-8.php
+++ b/plugins/links/language/estonian_utf-8.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/french_canada.php b/plugins/links/language/french_canada.php
index 575708910..7739afea1 100644
--- a/plugins/links/language/french_canada.php
+++ b/plugins/links/language/french_canada.php
@@ -273,4 +273,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/french_canada_utf-8.php b/plugins/links/language/french_canada_utf-8.php
index f830b5fc3..699801a77 100644
--- a/plugins/links/language/french_canada_utf-8.php
+++ b/plugins/links/language/french_canada_utf-8.php
@@ -273,4 +273,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/french_france.php b/plugins/links/language/french_france.php
index 3e0e9cdd4..74661b608 100644
--- a/plugins/links/language/french_france.php
+++ b/plugins/links/language/french_france.php
@@ -273,4 +273,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/french_france_utf-8.php b/plugins/links/language/french_france_utf-8.php
index 5f74055da..c5cc58a8f 100644
--- a/plugins/links/language/french_france_utf-8.php
+++ b/plugins/links/language/french_france_utf-8.php
@@ -273,4 +273,3 @@
13 => array('Pas d\'acc猫s' => 0, 'Utiliser' => 2)
);
-?>
diff --git a/plugins/links/language/german.php b/plugins/links/language/german.php
index 286ba1290..4d38c7808 100644
--- a/plugins/links/language/german.php
+++ b/plugins/links/language/german.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/german_formal.php b/plugins/links/language/german_formal.php
index 81a0ceab6..6286ade2c 100644
--- a/plugins/links/language/german_formal.php
+++ b/plugins/links/language/german_formal.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/german_formal_utf-8.php b/plugins/links/language/german_formal_utf-8.php
index 1b364db33..178950ce6 100644
--- a/plugins/links/language/german_formal_utf-8.php
+++ b/plugins/links/language/german_formal_utf-8.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/german_utf-8.php b/plugins/links/language/german_utf-8.php
index 4c32e98e6..7830367eb 100644
--- a/plugins/links/language/german_utf-8.php
+++ b/plugins/links/language/german_utf-8.php
@@ -272,4 +272,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/hebrew_utf-8.php b/plugins/links/language/hebrew_utf-8.php
index 5ba232c5c..60b3542c2 100644
--- a/plugins/links/language/hebrew_utf-8.php
+++ b/plugins/links/language/hebrew_utf-8.php
@@ -272,4 +272,3 @@
13 => array('讗讬谉 讙讬砖讛' => 0, '诪讜转专 诇砖讬诪讜砖' => 2)
);
-?>
diff --git a/plugins/links/language/italian.php b/plugins/links/language/italian.php
index d49072d9b..b772c95dd 100644
--- a/plugins/links/language/italian.php
+++ b/plugins/links/language/italian.php
@@ -270,4 +270,3 @@
13 => array('Nessun Accesso' => 0, 'Utilizzo' => 2)
);
-?>
diff --git a/plugins/links/language/italian_utf-8.php b/plugins/links/language/italian_utf-8.php
index 5454b8a5a..6410a2d8e 100644
--- a/plugins/links/language/italian_utf-8.php
+++ b/plugins/links/language/italian_utf-8.php
@@ -270,4 +270,3 @@
13 => array('Nessun Accesso' => 0, 'Utilizzo' => 2)
);
-?>
diff --git a/plugins/links/language/japanese_utf-8.php b/plugins/links/language/japanese_utf-8.php
index 1735c3c4c..e2b417fcc 100644
--- a/plugins/links/language/japanese_utf-8.php
+++ b/plugins/links/language/japanese_utf-8.php
@@ -278,4 +278,3 @@
13 => array('銈€偗銈汇偣涓嶅彲' => 0, '鍒╃敤銇欍倠' => 2)
);
-?>
diff --git a/plugins/links/language/korean.php b/plugins/links/language/korean.php
index c9234d2fa..a1cd22bce 100644
--- a/plugins/links/language/korean.php
+++ b/plugins/links/language/korean.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/korean_utf-8.php b/plugins/links/language/korean_utf-8.php
index 1b5d89ba9..4bb7f96ab 100644
--- a/plugins/links/language/korean_utf-8.php
+++ b/plugins/links/language/korean_utf-8.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/polish.php b/plugins/links/language/polish.php
index 4899b891a..01e82c2dd 100644
--- a/plugins/links/language/polish.php
+++ b/plugins/links/language/polish.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/polish_utf-8.php b/plugins/links/language/polish_utf-8.php
index d52e56ba9..e45c3a4e2 100644
--- a/plugins/links/language/polish_utf-8.php
+++ b/plugins/links/language/polish_utf-8.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/russian.php b/plugins/links/language/russian.php
index a7669228b..fb1739229 100644
--- a/plugins/links/language/russian.php
+++ b/plugins/links/language/russian.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/russian_utf-8.php b/plugins/links/language/russian_utf-8.php
index c9245e1c6..95c55598c 100644
--- a/plugins/links/language/russian_utf-8.php
+++ b/plugins/links/language/russian_utf-8.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/slovenian.php b/plugins/links/language/slovenian.php
index 235fa7625..f22c1c329 100644
--- a/plugins/links/language/slovenian.php
+++ b/plugins/links/language/slovenian.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/slovenian_utf-8.php b/plugins/links/language/slovenian_utf-8.php
index 3d1f1435b..4cc6be3ba 100644
--- a/plugins/links/language/slovenian_utf-8.php
+++ b/plugins/links/language/slovenian_utf-8.php
@@ -274,4 +274,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/spanish.php b/plugins/links/language/spanish.php
index 8de83681d..ad0f48f35 100644
--- a/plugins/links/language/spanish.php
+++ b/plugins/links/language/spanish.php
@@ -275,4 +275,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/spanish_utf-8.php b/plugins/links/language/spanish_utf-8.php
index da8b3371c..2f2dfa462 100644
--- a/plugins/links/language/spanish_utf-8.php
+++ b/plugins/links/language/spanish_utf-8.php
@@ -275,4 +275,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/ukrainian.php b/plugins/links/language/ukrainian.php
index 010de64ea..e9d65da7d 100644
--- a/plugins/links/language/ukrainian.php
+++ b/plugins/links/language/ukrainian.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/ukrainian_koi8-u.php b/plugins/links/language/ukrainian_koi8-u.php
index d9174d28c..25e51bcc3 100644
--- a/plugins/links/language/ukrainian_koi8-u.php
+++ b/plugins/links/language/ukrainian_koi8-u.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/links/language/ukrainian_utf-8.php b/plugins/links/language/ukrainian_utf-8.php
index 9c22d373f..e939b7308 100644
--- a/plugins/links/language/ukrainian_utf-8.php
+++ b/plugins/links/language/ukrainian_utf-8.php
@@ -270,4 +270,3 @@
13 => array('No access' => 0, 'Use' => 2)
);
-?>
diff --git a/plugins/polls/configuration_validation.php b/plugins/polls/configuration_validation.php
index fe321cb16..fd6729189 100644
--- a/plugins/polls/configuration_validation.php
+++ b/plugins/polls/configuration_validation.php
@@ -30,7 +30,7 @@
// | |
// +---------------------------------------------------------------------------+
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'configuration_validation.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/polls/functions.inc b/plugins/polls/functions.inc
index 3ce7aa6a0..0085d2e99 100644
--- a/plugins/polls/functions.inc
+++ b/plugins/polls/functions.inc
@@ -40,7 +40,7 @@
* @package Polls
*/
-if (stripos($_SERVER['PHP_SELF'], 'functions.inc') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own.');
}
@@ -516,11 +516,7 @@ function POLLS_pollVote($pid, $showall = true, $displaytype = 0, $order = '', $m
$poll->set_var('edit_icon', $editlink);
}
- if (array_key_exists('aid', $_POST)) {
- $aid = $_POST['aid'];
- } else {
- $aid = array();
- }
+ $aid = Geeklog\Input::fPost('aid', array());
for ($j = 0; $j < $nquestions; $j++) {
$Q = DB_fetchArray($questions);
diff --git a/plugins/polls/install_defaults.php b/plugins/polls/install_defaults.php
index 8b1ecf912..948fbc6df 100644
--- a/plugins/polls/install_defaults.php
+++ b/plugins/polls/install_defaults.php
@@ -37,7 +37,7 @@
* @package Polls
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'install_defaults.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/polls/language/chinese_simplified_utf-8.php b/plugins/polls/language/chinese_simplified_utf-8.php
index 7e015db40..c3df034c3 100644
--- a/plugins/polls/language/chinese_simplified_utf-8.php
+++ b/plugins/polls/language/chinese_simplified_utf-8.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/chinese_traditional_utf-8.php b/plugins/polls/language/chinese_traditional_utf-8.php
index 2a21c7e9d..afade2560 100644
--- a/plugins/polls/language/chinese_traditional_utf-8.php
+++ b/plugins/polls/language/chinese_traditional_utf-8.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/dutch.php b/plugins/polls/language/dutch.php
index 8e90e052b..932ff04c8 100644
--- a/plugins/polls/language/dutch.php
+++ b/plugins/polls/language/dutch.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/dutch_utf-8.php b/plugins/polls/language/dutch_utf-8.php
index 8461098ad..1815d6d0a 100644
--- a/plugins/polls/language/dutch_utf-8.php
+++ b/plugins/polls/language/dutch_utf-8.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/estonian.php b/plugins/polls/language/estonian.php
index f88fb973f..6931009fd 100644
--- a/plugins/polls/language/estonian.php
+++ b/plugins/polls/language/estonian.php
@@ -194,4 +194,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/estonian_utf-8.php b/plugins/polls/language/estonian_utf-8.php
index c645544a9..c4efb4db7 100644
--- a/plugins/polls/language/estonian_utf-8.php
+++ b/plugins/polls/language/estonian_utf-8.php
@@ -194,4 +194,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/french_canada.php b/plugins/polls/language/french_canada.php
index 0e0d7670f..c20044025 100644
--- a/plugins/polls/language/french_canada.php
+++ b/plugins/polls/language/french_canada.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/french_canada_utf-8.php b/plugins/polls/language/french_canada_utf-8.php
index c3b24d60e..57f3b54d3 100644
--- a/plugins/polls/language/french_canada_utf-8.php
+++ b/plugins/polls/language/french_canada_utf-8.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/french_france.php b/plugins/polls/language/french_france.php
index ee3e6f496..dc4f7b549 100644
--- a/plugins/polls/language/french_france.php
+++ b/plugins/polls/language/french_france.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/french_france_utf-8.php b/plugins/polls/language/french_france_utf-8.php
index 783e5691e..0ddc55ad2 100644
--- a/plugins/polls/language/french_france_utf-8.php
+++ b/plugins/polls/language/french_france_utf-8.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/german.php b/plugins/polls/language/german.php
index 4f6747111..164b8f5e2 100644
--- a/plugins/polls/language/german.php
+++ b/plugins/polls/language/german.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/german_formal.php b/plugins/polls/language/german_formal.php
index 899874baa..6cbcbdf38 100644
--- a/plugins/polls/language/german_formal.php
+++ b/plugins/polls/language/german_formal.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/german_formal_utf-8.php b/plugins/polls/language/german_formal_utf-8.php
index ca37853bb..a8547f029 100644
--- a/plugins/polls/language/german_formal_utf-8.php
+++ b/plugins/polls/language/german_formal_utf-8.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/german_utf-8.php b/plugins/polls/language/german_utf-8.php
index a2048faba..b56e2fa73 100644
--- a/plugins/polls/language/german_utf-8.php
+++ b/plugins/polls/language/german_utf-8.php
@@ -192,4 +192,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/hebrew_utf-8.php b/plugins/polls/language/hebrew_utf-8.php
index 587bc0598..ba8709d95 100644
--- a/plugins/polls/language/hebrew_utf-8.php
+++ b/plugins/polls/language/hebrew_utf-8.php
@@ -192,4 +192,3 @@
15 => array('讻讜诇诐' => 'all', '讚祝 讛讘讬转 讘诇讘讚' => 'homeonly', '讘讞讬专转 谞讜砖讗讬诐' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/italian.php b/plugins/polls/language/italian.php
index 90d34a33d..8a0d62356 100644
--- a/plugins/polls/language/italian.php
+++ b/plugins/polls/language/italian.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/italian_utf-8.php b/plugins/polls/language/italian_utf-8.php
index ab9fdca4d..e473a931b 100644
--- a/plugins/polls/language/italian_utf-8.php
+++ b/plugins/polls/language/italian_utf-8.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/japanese_utf-8.php b/plugins/polls/language/japanese_utf-8.php
index 8e2d9c900..ab0fe8a0b 100644
--- a/plugins/polls/language/japanese_utf-8.php
+++ b/plugins/polls/language/japanese_utf-8.php
@@ -198,4 +198,3 @@
15 => array('銇欍伖銇' => 'all', '銉涖兗銉犮儦銉笺偢銇伩' => 'homeonly', '瑭遍銈掗伕鎶炪仚銈' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/korean.php b/plugins/polls/language/korean.php
index f7cd07eb6..f31dc2b97 100644
--- a/plugins/polls/language/korean.php
+++ b/plugins/polls/language/korean.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/korean_utf-8.php b/plugins/polls/language/korean_utf-8.php
index 81ff85fea..6aac78634 100644
--- a/plugins/polls/language/korean_utf-8.php
+++ b/plugins/polls/language/korean_utf-8.php
@@ -193,4 +193,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/russian.php b/plugins/polls/language/russian.php
index af5f92a9d..2ca3314ce 100644
--- a/plugins/polls/language/russian.php
+++ b/plugins/polls/language/russian.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/russian_utf-8.php b/plugins/polls/language/russian_utf-8.php
index fe4c46c50..8b1b4b1f9 100644
--- a/plugins/polls/language/russian_utf-8.php
+++ b/plugins/polls/language/russian_utf-8.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/slovenian.php b/plugins/polls/language/slovenian.php
index 79d113978..3ec890405 100644
--- a/plugins/polls/language/slovenian.php
+++ b/plugins/polls/language/slovenian.php
@@ -194,4 +194,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/slovenian_utf-8.php b/plugins/polls/language/slovenian_utf-8.php
index 87567c020..755ee1ae2 100644
--- a/plugins/polls/language/slovenian_utf-8.php
+++ b/plugins/polls/language/slovenian_utf-8.php
@@ -194,4 +194,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/spanish.php b/plugins/polls/language/spanish.php
index 4312ce948..e29009ee6 100644
--- a/plugins/polls/language/spanish.php
+++ b/plugins/polls/language/spanish.php
@@ -195,4 +195,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/spanish_utf-8.php b/plugins/polls/language/spanish_utf-8.php
index d8b9b1d27..99c6dc788 100644
--- a/plugins/polls/language/spanish_utf-8.php
+++ b/plugins/polls/language/spanish_utf-8.php
@@ -195,4 +195,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/ukrainian.php b/plugins/polls/language/ukrainian.php
index d8f6a394e..56f814161 100644
--- a/plugins/polls/language/ukrainian.php
+++ b/plugins/polls/language/ukrainian.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/ukrainian_koi8-u.php b/plugins/polls/language/ukrainian_koi8-u.php
index fcea10651..75ac60586 100644
--- a/plugins/polls/language/ukrainian_koi8-u.php
+++ b/plugins/polls/language/ukrainian_koi8-u.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/polls/language/ukrainian_utf-8.php b/plugins/polls/language/ukrainian_utf-8.php
index 66f45c366..255295b82 100644
--- a/plugins/polls/language/ukrainian_utf-8.php
+++ b/plugins/polls/language/ukrainian_utf-8.php
@@ -190,4 +190,3 @@
15 => array('All' => 'all', 'Homepage Only' => 'homeonly', 'Select Topics' => 'selectedtopics')
);
-?>
diff --git a/plugins/spamx/BanUser.Action.class.php b/plugins/spamx/BanUser.Action.class.php
index 4eac77a01..9ccc3fc4e 100644
--- a/plugins/spamx/BanUser.Action.class.php
+++ b/plugins/spamx/BanUser.Action.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'banuser.action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/BannedUsers.Examine.class.php b/plugins/spamx/BannedUsers.Examine.class.php
index bb36b7723..a5a8aa75e 100644
--- a/plugins/spamx/BannedUsers.Examine.class.php
+++ b/plugins/spamx/BannedUsers.Examine.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'bannedusers.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/BaseAdmin.class.php b/plugins/spamx/BaseAdmin.class.php
index d2476a0d9..a2c285ae8 100644
--- a/plugins/spamx/BaseAdmin.class.php
+++ b/plugins/spamx/BaseAdmin.class.php
@@ -38,14 +38,14 @@ public function __get($name)
*/
protected function getAction()
{
- $action = '';
-
- if (isset($_GET['action'])) {
- $action = $_GET['action'];
- } else if (isset($_POST['paction'])) {
- $action = $_POST['paction'];
- } else if (isset($_POST['delbutton_x']) && isset($_POST['delbutton_y'])) {
- $action = 'mass_delete';
+ $action = Geeklog\Input::get('action', '');
+
+ if (empty($action)) {
+ $action = Geeklog\Input::post('paction', '');
+
+ if (empty($action) && isset($_POST['delbutton_x'], $_POST['delbutton_y'])) {
+ $action = 'mass_delete';
+ }
}
return $action;
@@ -58,12 +58,10 @@ protected function getAction()
*/
protected function getEntry()
{
- $entry = '';
+ $entry = Geeklog\Input::fGet('entry', '');
- if (isset($_GET['entry'])) {
- $entry = COM_stripslashes($_GET['entry']);
- } elseif (isset($_POST['pentry'])) {
- $entry = COM_stripslashes($_POST['pentry']);
+ if (empty($entry)) {
+ $entry = Geeklog\Input::fPost('pentry', '');
}
return $entry;
@@ -176,7 +174,7 @@ public function fieldFunction($fieldName, $fieldValue, $A, $iconArr)
if ($fieldName === 'id') {
$retval = '';
- } else if ($fieldName === 'value') {
+ } elseif ($fieldName === 'value') {
$retval = COM_createLink(
$this->escape($fieldValue),
$_CONF['site_admin_url'] . '/plugins/spamx/index.php?'
@@ -188,7 +186,7 @@ public function fieldFunction($fieldName, $fieldValue, $A, $iconArr)
))
);
- } else if ($fieldName === 'regdate') {
+ } elseif ($fieldName === 'regdate') {
// Does nothing for now
}
@@ -321,7 +319,7 @@ public function display()
case 'mass_delete':
if (isset($_POST['delitem'])) {
- $this->deleteSelectedEntries($_POST['delitem']);
+ $this->deleteSelectedEntries(Geeklog\Input::post('delitem'));
}
break;
diff --git a/plugins/spamx/BlackList.Examine.class.php b/plugins/spamx/BlackList.Examine.class.php
index 99a4cd9bd..86900459e 100644
--- a/plugins/spamx/BlackList.Examine.class.php
+++ b/plugins/spamx/BlackList.Examine.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'blacklist.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/DeleteComment.Action.class.php b/plugins/spamx/DeleteComment.Action.class.php
index c317e4dd8..3142d7d54 100644
--- a/plugins/spamx/DeleteComment.Action.class.php
+++ b/plugins/spamx/DeleteComment.Action.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'deletecomment.action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/EditBlackList.Admin.class.php b/plugins/spamx/EditBlackList.Admin.class.php
index 5819fc262..4e1bb8834 100644
--- a/plugins/spamx/EditBlackList.Admin.class.php
+++ b/plugins/spamx/EditBlackList.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'editblacklist.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -67,7 +67,7 @@ public function display()
case 'mass_delete':
if (isset($_POST['delitem'])) {
- $this->deleteSelectedEntries($_POST['delitem']);
+ $this->deleteSelectedEntries(Geeklog\Input::post('delitem'));
}
break;
diff --git a/plugins/spamx/EditHeader.Admin.class.php b/plugins/spamx/EditHeader.Admin.class.php
index 68f0c4698..62b3a0344 100644
--- a/plugins/spamx/EditHeader.Admin.class.php
+++ b/plugins/spamx/EditHeader.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'editheader.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -86,10 +86,10 @@ public function display()
$this->deleteEntry($entry);
} elseif (($action === $LANG_SX00['addentry']) && SEC_checkToken()) {
$entry = '';
- $name = COM_applyFilter($_REQUEST['header-name']);
+ $name = Geeklog\Input::fRequest('header-name');
$n = explode(':', $name);
$name = $n[0];
- $value = $_REQUEST['header-value'];
+ $value = Geeklog\Input::request('header-value');
if (!empty($name) && !empty($value)) {
$entry = $name . ': ' . $value;
diff --git a/plugins/spamx/EditIP.Admin.class.php b/plugins/spamx/EditIP.Admin.class.php
index 18830bf98..150a46927 100644
--- a/plugins/spamx/EditIP.Admin.class.php
+++ b/plugins/spamx/EditIP.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'editip.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/EditIPofURL.Admin.class.php b/plugins/spamx/EditIPofURL.Admin.class.php
index 9f9bea08a..7bbf574ea 100644
--- a/plugins/spamx/EditIPofURL.Admin.class.php
+++ b/plugins/spamx/EditIPofURL.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'editipofurl.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/EditSFS.Admin.class.php b/plugins/spamx/EditSFS.Admin.class.php
index dfaf8778f..701078938 100644
--- a/plugins/spamx/EditSFS.Admin.class.php
+++ b/plugins/spamx/EditSFS.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'editsfs.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/Header.Examine.class.php b/plugins/spamx/Header.Examine.class.php
index 1af8a1d58..794690e6c 100644
--- a/plugins/spamx/Header.Examine.class.php
+++ b/plugins/spamx/Header.Examine.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'header.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/IP.Examine.class.php b/plugins/spamx/IP.Examine.class.php
index 8e9a2fbf3..af23cdfd1 100644
--- a/plugins/spamx/IP.Examine.class.php
+++ b/plugins/spamx/IP.Examine.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'ip.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/IPofUrl.Examine.class.php b/plugins/spamx/IPofUrl.Examine.class.php
index c7e2f13af..5253c4a99 100644
--- a/plugins/spamx/IPofUrl.Examine.class.php
+++ b/plugins/spamx/IPofUrl.Examine.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'ipofurl.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/MailAdmin.Action.class.php b/plugins/spamx/MailAdmin.Action.class.php
index eaa82442f..61efd2b06 100644
--- a/plugins/spamx/MailAdmin.Action.class.php
+++ b/plugins/spamx/MailAdmin.Action.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'mailadmin.action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/MassDelTrackback.Admin.class.php b/plugins/spamx/MassDelTrackback.Admin.class.php
index 3200afba4..e57e712e4 100644
--- a/plugins/spamx/MassDelTrackback.Admin.class.php
+++ b/plugins/spamx/MassDelTrackback.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'massdeltrackback.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -47,17 +47,8 @@ public function display()
$display = $LANG_SX00['masstb'];
- $act = '';
-
- if (isset($_POST['action'])) {
- $act = COM_applyFilter($_POST['action']);
- }
-
- $lmt = 0;
-
- if (isset($_POST['limit'])) {
- $lmt = COM_applyFilter($_POST['limit'], true);
- }
+ $act = Geeklog\Input::fPost('action', '');
+ $lmt = (int) Geeklog\Input::fPost('limit', 0);
if (($act == $LANG_SX00['deletespam']) && ($lmt > 0) &&
SEC_checkToken()
diff --git a/plugins/spamx/MassDelete.Admin.class.php b/plugins/spamx/MassDelete.Admin.class.php
index 6a7b274e9..93b0623d4 100644
--- a/plugins/spamx/MassDelete.Admin.class.php
+++ b/plugins/spamx/MassDelete.Admin.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'massdelete.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -46,17 +46,8 @@ public function display()
global $_CONF, $_TABLES, $LANG_SX00;
$display = $LANG_SX00['masshead'];
- $act = '';
-
- if (isset($_POST['action'])) {
- $act = COM_applyFilter($_POST['action']);
- }
-
- $lmt = 0;
-
- if (isset($_POST['limit'])) {
- $lmt = COM_applyFilter($_POST['limit'], true);
- }
+ $act = Geeklog\Input::fPost('action', '');
+ $lmt = (int) Geeklog\Input::fPost('limit', 0);
if (($act === $LANG_SX00['deletespam']) && ($lmt > 0) &&
SEC_checkToken()
diff --git a/plugins/spamx/SFS.Examine.class.php b/plugins/spamx/SFS.Examine.class.php
index ee53aa2ca..9fbc2b44d 100644
--- a/plugins/spamx/SFS.Examine.class.php
+++ b/plugins/spamx/SFS.Examine.class.php
@@ -7,7 +7,7 @@
* Licensed under the GNU General Public License
*/
-if (stripos($_SERVER['PHP_SELF'], 'SFS.Examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SFS.Misc.class.php b/plugins/spamx/SFS.Misc.class.php
index 86b55ade0..257161b90 100644
--- a/plugins/spamx/SFS.Misc.class.php
+++ b/plugins/spamx/SFS.Misc.class.php
@@ -14,7 +14,7 @@
* GNU Public License v2 or later
*/
-if (stripos($_SERVER['PHP_SELF'], 'sfs.misc.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SFSbase.class.php b/plugins/spamx/SFSbase.class.php
index 5e817165c..d60d5110d 100644
--- a/plugins/spamx/SFSbase.class.php
+++ b/plugins/spamx/SFSbase.class.php
@@ -9,7 +9,7 @@
*/
-if (stripos($_SERVER['PHP_SELF'], 'SFSbase.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SFSreport.Action.class.php b/plugins/spamx/SFSreport.Action.class.php
index 48bcad61f..3951f8496 100644
--- a/plugins/spamx/SFSreport.Action.class.php
+++ b/plugins/spamx/SFSreport.Action.class.php
@@ -9,7 +9,7 @@
*/
-if (stripos($_SERVER['PHP_SELF'], 'SFSreport.Action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SLV.Examine.class.php b/plugins/spamx/SLV.Examine.class.php
index 3e75b396b..b528bcec4 100644
--- a/plugins/spamx/SLV.Examine.class.php
+++ b/plugins/spamx/SLV.Examine.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'slv.examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SLVbase.class.php b/plugins/spamx/SLVbase.class.php
index 9a04c0dab..b034effcf 100644
--- a/plugins/spamx/SLVbase.class.php
+++ b/plugins/spamx/SLVbase.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'slvbase.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
@@ -190,7 +190,7 @@ public function prepareLinks($comment)
$links = $this->getLinks($comment);
// strip all HTML, then get all the plain text links
- $comment = COM_makeClickableLinks(strip_tags($comment));
+ $comment = COM_makeClickableLinks(GLText::stripTags($comment));
$links += $this->getLinks($comment);
if (count($links) > 0) {
diff --git a/plugins/spamx/SLVreport.Action.class.php b/plugins/spamx/SLVreport.Action.class.php
index d6c56231b..e1ab815be 100644
--- a/plugins/spamx/SLVreport.Action.class.php
+++ b/plugins/spamx/SLVreport.Action.class.php
@@ -11,7 +11,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'slvreport.action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SLVwhitelist.Admin.class.php b/plugins/spamx/SLVwhitelist.Admin.class.php
index 94fb31c7c..81064a581 100644
--- a/plugins/spamx/SLVwhitelist.Admin.class.php
+++ b/plugins/spamx/SLVwhitelist.Admin.class.php
@@ -12,7 +12,7 @@
* @subpackage Modules
*/
-if (stripos($_SERVER['PHP_SELF'], 'slvwhitelist.admin.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SNL.Examine.class.php b/plugins/spamx/SNL.Examine.class.php
index 9148c4fe1..ef8ffb362 100644
--- a/plugins/spamx/SNL.Examine.class.php
+++ b/plugins/spamx/SNL.Examine.class.php
@@ -9,7 +9,7 @@
*/
-if (stripos($_SERVER['PHP_SELF'], 'SNL.Examine.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
diff --git a/plugins/spamx/SNLbase.class.php b/plugins/spamx/SNLbase.class.php
index 5a11b6b24..7f4f23e9d 100644
--- a/plugins/spamx/SNLbase.class.php
+++ b/plugins/spamx/SNLbase.class.php
@@ -9,7 +9,7 @@
*/
-if (stripos($_SERVER['PHP_SELF'], 'SNLbase.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
@@ -126,7 +126,7 @@ public function prepareLinks($comment)
$links = $this->getLinks($comment);
// strip all HTML, then get all the plain text links
- $comment = COM_makeClickableLinks(strip_tags($comment));
+ $comment = COM_makeClickableLinks(GLText::stripTags($comment));
$links += $this->getLinks($comment);
return $links;
diff --git a/plugins/spamx/SNLreport.Action.class.php b/plugins/spamx/SNLreport.Action.class.php
index d846482e6..bd1bb844e 100644
--- a/plugins/spamx/SNLreport.Action.class.php
+++ b/plugins/spamx/SNLreport.Action.class.php
@@ -9,7 +9,7 @@
*/
-if (stripos($_SERVER['PHP_SELF'], 'SNLreport.Action.class.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own!');
}
diff --git a/plugins/spamx/configuration_validation.php b/plugins/spamx/configuration_validation.php
index c8ec0011a..accae0420 100644
--- a/plugins/spamx/configuration_validation.php
+++ b/plugins/spamx/configuration_validation.php
@@ -30,7 +30,7 @@
// | |
// +---------------------------------------------------------------------------+
-if (stripos($_SERVER['PHP_SELF'], 'configuration_validation.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/functions.inc b/plugins/spamx/functions.inc
index 10d589bdd..f0e8a7fad 100644
--- a/plugins/spamx/functions.inc
+++ b/plugins/spamx/functions.inc
@@ -13,7 +13,7 @@
* @package Spam-X
*/
-if (stripos($_SERVER['PHP_SELF'], 'functions.inc') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die ('This file can not be used on its own.');
}
@@ -633,7 +633,7 @@ function plugin_itemPreSave_spamx($type, $username)
if ($type == 'registration') {
require_once $_CONF['path'].'/plugins/spamx/SFS.Misc.class.php';
$EX = new SFS;
- $res = $EX->execute($_POST['email'], $_SERVER['REMOTE_ADDR']);
+ $res = $EX->execute(Geeklog\Input::post('email'), Geeklog\Input::server('REMOTE_ADDR'));
if ($res > 0) {
return $LANG_SX00['invalid_email_or_ip'];
}
diff --git a/plugins/spamx/install_defaults.php b/plugins/spamx/install_defaults.php
index 77796fd84..bf3de13ba 100644
--- a/plugins/spamx/install_defaults.php
+++ b/plugins/spamx/install_defaults.php
@@ -37,7 +37,7 @@
* @package Spam-X
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'install_defaults.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/spamx/language/dutch.php b/plugins/spamx/language/dutch.php
index fb1dc34e4..357076085 100644
--- a/plugins/spamx/language/dutch.php
+++ b/plugins/spamx/language/dutch.php
@@ -187,4 +187,3 @@
1 => array('Waar' => true, 'Fout' => false)
);
-?>
diff --git a/plugins/spamx/language/dutch_utf-8.php b/plugins/spamx/language/dutch_utf-8.php
index b447bc12c..75a0f35eb 100644
--- a/plugins/spamx/language/dutch_utf-8.php
+++ b/plugins/spamx/language/dutch_utf-8.php
@@ -187,4 +187,3 @@
1 => array('Waar' => true, 'Fout' => false)
);
-?>
diff --git a/plugins/spamx/language/estonian.php b/plugins/spamx/language/estonian.php
index 3df5eb308..ed7ed3122 100644
--- a/plugins/spamx/language/estonian.php
+++ b/plugins/spamx/language/estonian.php
@@ -190,4 +190,3 @@
1 => array('Jah' => true, 'Ei' => false)
);
-?>
diff --git a/plugins/spamx/language/estonian_utf-8.php b/plugins/spamx/language/estonian_utf-8.php
index 950b92d4f..5f0f0c822 100644
--- a/plugins/spamx/language/estonian_utf-8.php
+++ b/plugins/spamx/language/estonian_utf-8.php
@@ -190,4 +190,3 @@
1 => array('Jah' => true, 'Ei' => false)
);
-?>
diff --git a/plugins/spamx/language/farsi_utf-8.php b/plugins/spamx/language/farsi_utf-8.php
index aa2954793..e03887088 100644
--- a/plugins/spamx/language/farsi_utf-8.php
+++ b/plugins/spamx/language/farsi_utf-8.php
@@ -191,4 +191,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/french_canada.php b/plugins/spamx/language/french_canada.php
index 6bb7fd989..e545095ca 100644
--- a/plugins/spamx/language/french_canada.php
+++ b/plugins/spamx/language/french_canada.php
@@ -191,4 +191,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/french_canada_utf-8.php b/plugins/spamx/language/french_canada_utf-8.php
index d190fae84..75031e366 100644
--- a/plugins/spamx/language/french_canada_utf-8.php
+++ b/plugins/spamx/language/french_canada_utf-8.php
@@ -191,4 +191,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/french_france.php b/plugins/spamx/language/french_france.php
index cb98c1f04..d94f0d164 100644
--- a/plugins/spamx/language/french_france.php
+++ b/plugins/spamx/language/french_france.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/french_france_utf-8.php b/plugins/spamx/language/french_france_utf-8.php
index 965a346bd..4ff815747 100644
--- a/plugins/spamx/language/french_france_utf-8.php
+++ b/plugins/spamx/language/french_france_utf-8.php
@@ -190,4 +190,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/hebrew_utf-8.php b/plugins/spamx/language/hebrew_utf-8.php
index 14c96c2e7..5e0909afb 100644
--- a/plugins/spamx/language/hebrew_utf-8.php
+++ b/plugins/spamx/language/hebrew_utf-8.php
@@ -189,4 +189,3 @@
1 => array('讻谉' => true, '诇讗' => false)
);
-?>
diff --git a/plugins/spamx/language/italian.php b/plugins/spamx/language/italian.php
index 825fc2d35..de84f0659 100644
--- a/plugins/spamx/language/italian.php
+++ b/plugins/spamx/language/italian.php
@@ -203,4 +203,3 @@
1 => array('Vero' => true, 'Falso' => false)
);
-?>
diff --git a/plugins/spamx/language/italian_utf-8.php b/plugins/spamx/language/italian_utf-8.php
index 88357c102..73d2962b8 100644
--- a/plugins/spamx/language/italian_utf-8.php
+++ b/plugins/spamx/language/italian_utf-8.php
@@ -203,4 +203,3 @@
1 => array('Vero' => true, 'Falso' => false)
);
-?>
diff --git a/plugins/spamx/language/japanese_utf-8.php b/plugins/spamx/language/japanese_utf-8.php
index db34f9be9..19adb395a 100644
--- a/plugins/spamx/language/japanese_utf-8.php
+++ b/plugins/spamx/language/japanese_utf-8.php
@@ -194,4 +194,3 @@
1 => array('銇亜' => true, '銇勩亜銇' => false)
);
-?>
diff --git a/plugins/spamx/language/russian.php b/plugins/spamx/language/russian.php
index 42fbcbfb8..c6c68f5e8 100644
--- a/plugins/spamx/language/russian.php
+++ b/plugins/spamx/language/russian.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/russian_utf-8.php b/plugins/spamx/language/russian_utf-8.php
index a1b3afeb3..186c734ae 100644
--- a/plugins/spamx/language/russian_utf-8.php
+++ b/plugins/spamx/language/russian_utf-8.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/slovenian.php b/plugins/spamx/language/slovenian.php
index 32efc07ce..552a1c080 100644
--- a/plugins/spamx/language/slovenian.php
+++ b/plugins/spamx/language/slovenian.php
@@ -191,4 +191,3 @@
1 => array('Da' => 'velja', 'Ne' => 'ne velja')
);
-?>
diff --git a/plugins/spamx/language/slovenian_utf-8.php b/plugins/spamx/language/slovenian_utf-8.php
index b93efa45f..4dc748120 100644
--- a/plugins/spamx/language/slovenian_utf-8.php
+++ b/plugins/spamx/language/slovenian_utf-8.php
@@ -191,4 +191,3 @@
1 => array('Da' => 'velja', 'Ne' => 'ne velja')
);
-?>
diff --git a/plugins/spamx/language/spanish.php b/plugins/spamx/language/spanish.php
index 0d7c37055..8856ae07e 100644
--- a/plugins/spamx/language/spanish.php
+++ b/plugins/spamx/language/spanish.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/spanish_utf-8.php b/plugins/spamx/language/spanish_utf-8.php
index 8f0e0723d..542f8414b 100644
--- a/plugins/spamx/language/spanish_utf-8.php
+++ b/plugins/spamx/language/spanish_utf-8.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/ukrainian.php b/plugins/spamx/language/ukrainian.php
index 22663815b..919e2fa07 100644
--- a/plugins/spamx/language/ukrainian.php
+++ b/plugins/spamx/language/ukrainian.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/ukrainian_koi8-u.php b/plugins/spamx/language/ukrainian_koi8-u.php
index a12077d01..21594293c 100644
--- a/plugins/spamx/language/ukrainian_koi8-u.php
+++ b/plugins/spamx/language/ukrainian_koi8-u.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/spamx/language/ukrainian_utf-8.php b/plugins/spamx/language/ukrainian_utf-8.php
index e4dbf1da8..603a4f256 100644
--- a/plugins/spamx/language/ukrainian_utf-8.php
+++ b/plugins/spamx/language/ukrainian_utf-8.php
@@ -189,4 +189,3 @@
1 => array('True' => true, 'False' => false)
);
-?>
diff --git a/plugins/staticpages/configuration_validation.php b/plugins/staticpages/configuration_validation.php
index 0ea4bd670..a30f78e16 100644
--- a/plugins/staticpages/configuration_validation.php
+++ b/plugins/staticpages/configuration_validation.php
@@ -30,7 +30,7 @@
// | |
// +---------------------------------------------------------------------------+
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'configuration_validation.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/staticpages/functions.inc b/plugins/staticpages/functions.inc
index ca188abd5..4ef07fd13 100755
--- a/plugins/staticpages/functions.inc
+++ b/plugins/staticpages/functions.inc
@@ -40,7 +40,7 @@
* @package StaticPages
*/
-if (stripos($_SERVER['PHP_SELF'], 'functions.inc') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own.');
}
@@ -1077,12 +1077,9 @@ function plugin_centerblock_staticpages($where = 1, $page = 1, $topic = '')
$what = 'menu';
break;
}
- if (isset($_GET['msg'])) {
- $msg = COM_applyFilter($_GET['msg'], true);
- if ($msg > 0) {
- $retval .= COM_showMessage($msg);
- }
- }
+
+ $msg = (int) Geeklog\Input::fGet('msg', 0);
+ $retval .= COM_showMessage($msg);
}
$spage = COM_newTemplate(CTL_plugin_templatePath('staticpages'));
diff --git a/plugins/staticpages/install_defaults.php b/plugins/staticpages/install_defaults.php
index 7f601b838..37444de16 100644
--- a/plugins/staticpages/install_defaults.php
+++ b/plugins/staticpages/install_defaults.php
@@ -38,7 +38,7 @@
* @package StaticPages
*/
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'install_defaults.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own!');
}
diff --git a/plugins/staticpages/language/chinese_simplified_utf-8.php b/plugins/staticpages/language/chinese_simplified_utf-8.php
index 1f5f82796..5e52d47a6 100644
--- a/plugins/staticpages/language/chinese_simplified_utf-8.php
+++ b/plugins/staticpages/language/chinese_simplified_utf-8.php
@@ -210,4 +210,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/chinese_traditional_utf-8.php b/plugins/staticpages/language/chinese_traditional_utf-8.php
index ea798a350..7e904b8cf 100644
--- a/plugins/staticpages/language/chinese_traditional_utf-8.php
+++ b/plugins/staticpages/language/chinese_traditional_utf-8.php
@@ -210,4 +210,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/czech.php b/plugins/staticpages/language/czech.php
index 018fb9fc1..0134bef6f 100644
--- a/plugins/staticpages/language/czech.php
+++ b/plugins/staticpages/language/czech.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/czech_utf-8.php b/plugins/staticpages/language/czech_utf-8.php
index 8e8bdafb7..577e2a142 100644
--- a/plugins/staticpages/language/czech_utf-8.php
+++ b/plugins/staticpages/language/czech_utf-8.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/danish.php b/plugins/staticpages/language/danish.php
index 07a1d5d8f..082800039 100644
--- a/plugins/staticpages/language/danish.php
+++ b/plugins/staticpages/language/danish.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/danish_utf-8.php b/plugins/staticpages/language/danish_utf-8.php
index a8e34865b..7417fe8b2 100644
--- a/plugins/staticpages/language/danish_utf-8.php
+++ b/plugins/staticpages/language/danish_utf-8.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/dutch.php b/plugins/staticpages/language/dutch.php
index 50e99362f..2d3a05704 100644
--- a/plugins/staticpages/language/dutch.php
+++ b/plugins/staticpages/language/dutch.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/dutch_utf-8.php b/plugins/staticpages/language/dutch_utf-8.php
index 50e99362f..2d3a05704 100644
--- a/plugins/staticpages/language/dutch_utf-8.php
+++ b/plugins/staticpages/language/dutch_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/estonian.php b/plugins/staticpages/language/estonian.php
index bc79b7618..6e60eb281 100644
--- a/plugins/staticpages/language/estonian.php
+++ b/plugins/staticpages/language/estonian.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/estonian_utf-8.php b/plugins/staticpages/language/estonian_utf-8.php
index 6ed31e839..95050025a 100644
--- a/plugins/staticpages/language/estonian_utf-8.php
+++ b/plugins/staticpages/language/estonian_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/farsi_utf-8.php b/plugins/staticpages/language/farsi_utf-8.php
index 2746b249e..d548fc162 100644
--- a/plugins/staticpages/language/farsi_utf-8.php
+++ b/plugins/staticpages/language/farsi_utf-8.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/french_canada.php b/plugins/staticpages/language/french_canada.php
index 9c775cc75..be9f92cee 100644
--- a/plugins/staticpages/language/french_canada.php
+++ b/plugins/staticpages/language/french_canada.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/french_canada_utf-8.php b/plugins/staticpages/language/french_canada_utf-8.php
index abba22bcc..54278e0bf 100644
--- a/plugins/staticpages/language/french_canada_utf-8.php
+++ b/plugins/staticpages/language/french_canada_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/french_france.php b/plugins/staticpages/language/french_france.php
index 0092e95e3..d59525f02 100644
--- a/plugins/staticpages/language/french_france.php
+++ b/plugins/staticpages/language/french_france.php
@@ -207,4 +207,3 @@
17 => array('Commentaires activ閟' => 0, 'Commentaires d閟activ閟' => -1)
);
-?>
diff --git a/plugins/staticpages/language/french_france_utf-8.php b/plugins/staticpages/language/french_france_utf-8.php
index d60d1ead1..7c93f1c8f 100644
--- a/plugins/staticpages/language/french_france_utf-8.php
+++ b/plugins/staticpages/language/french_france_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Commentaires activ茅s' => 0, 'Commentaires d茅sactiv茅s' => -1)
);
-?>
diff --git a/plugins/staticpages/language/german.php b/plugins/staticpages/language/german.php
index 524138f33..81bef5b12 100644
--- a/plugins/staticpages/language/german.php
+++ b/plugins/staticpages/language/german.php
@@ -211,4 +211,3 @@
17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1)
);
-?>
diff --git a/plugins/staticpages/language/german_formal.php b/plugins/staticpages/language/german_formal.php
index 75e713315..99ffce9a4 100644
--- a/plugins/staticpages/language/german_formal.php
+++ b/plugins/staticpages/language/german_formal.php
@@ -211,4 +211,3 @@
17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1)
);
-?>
diff --git a/plugins/staticpages/language/german_formal_utf-8.php b/plugins/staticpages/language/german_formal_utf-8.php
index 693845f8d..09a7c5cae 100644
--- a/plugins/staticpages/language/german_formal_utf-8.php
+++ b/plugins/staticpages/language/german_formal_utf-8.php
@@ -211,4 +211,3 @@
17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1)
);
-?>
diff --git a/plugins/staticpages/language/german_utf-8.php b/plugins/staticpages/language/german_utf-8.php
index 4e264466d..ed05bd752 100644
--- a/plugins/staticpages/language/german_utf-8.php
+++ b/plugins/staticpages/language/german_utf-8.php
@@ -211,4 +211,3 @@
17 => array('Kommentare eingeschaltet' => 0, 'Kommentare ausgeschaltet' => -1)
);
-?>
diff --git a/plugins/staticpages/language/hebrew_utf-8.php b/plugins/staticpages/language/hebrew_utf-8.php
index c5c2afacf..dd00510e7 100644
--- a/plugins/staticpages/language/hebrew_utf-8.php
+++ b/plugins/staticpages/language/hebrew_utf-8.php
@@ -208,4 +208,3 @@
17 => array('讗讬驻砖讜专 转讙讜讘讜转' => 0, '谞讬讟专讜诇 转讙讜讘讜转' => -1)
);
-?>
diff --git a/plugins/staticpages/language/italian.php b/plugins/staticpages/language/italian.php
index 5a654f2b4..19a252c98 100644
--- a/plugins/staticpages/language/italian.php
+++ b/plugins/staticpages/language/italian.php
@@ -208,4 +208,3 @@
17 => array('Commenti Abilitati' => 0, 'Commenti Disabilitati' => -1)
);
-?>
diff --git a/plugins/staticpages/language/italian_utf-8.php b/plugins/staticpages/language/italian_utf-8.php
index 9b3f674d9..b6e095c61 100644
--- a/plugins/staticpages/language/italian_utf-8.php
+++ b/plugins/staticpages/language/italian_utf-8.php
@@ -208,4 +208,3 @@
17 => array('Commenti Abilitati' => 0, 'Commenti Disabilitati' => -1)
);
-?>
diff --git a/plugins/staticpages/language/japanese_utf-8.php b/plugins/staticpages/language/japanese_utf-8.php
index 6d24038b1..eec96e936 100644
--- a/plugins/staticpages/language/japanese_utf-8.php
+++ b/plugins/staticpages/language/japanese_utf-8.php
@@ -212,4 +212,3 @@
17 => array('銈炽儭銉炽儓鏈夊姽' => 0, '銈炽儭銉炽儓鐒″姽' => -1)
);
-?>
diff --git a/plugins/staticpages/language/korean.php b/plugins/staticpages/language/korean.php
index 84191d954..f80e29595 100644
--- a/plugins/staticpages/language/korean.php
+++ b/plugins/staticpages/language/korean.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/korean_utf-8.php b/plugins/staticpages/language/korean_utf-8.php
index c96391a8d..f555d42d3 100644
--- a/plugins/staticpages/language/korean_utf-8.php
+++ b/plugins/staticpages/language/korean_utf-8.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/polish.php b/plugins/staticpages/language/polish.php
index 1e7dec027..37044493f 100644
--- a/plugins/staticpages/language/polish.php
+++ b/plugins/staticpages/language/polish.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/polish_utf-8.php b/plugins/staticpages/language/polish_utf-8.php
index d10906924..035d39870 100644
--- a/plugins/staticpages/language/polish_utf-8.php
+++ b/plugins/staticpages/language/polish_utf-8.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/portuguese_brazil.php b/plugins/staticpages/language/portuguese_brazil.php
index 56ede2c19..3918c63fd 100644
--- a/plugins/staticpages/language/portuguese_brazil.php
+++ b/plugins/staticpages/language/portuguese_brazil.php
@@ -210,4 +210,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/portuguese_brazil_utf-8.php b/plugins/staticpages/language/portuguese_brazil_utf-8.php
index f16bb78e3..1eea1cf6d 100644
--- a/plugins/staticpages/language/portuguese_brazil_utf-8.php
+++ b/plugins/staticpages/language/portuguese_brazil_utf-8.php
@@ -210,4 +210,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/slovenian.php b/plugins/staticpages/language/slovenian.php
index c3739c7cc..9adff03a3 100644
--- a/plugins/staticpages/language/slovenian.php
+++ b/plugins/staticpages/language/slovenian.php
@@ -209,4 +209,3 @@
17 => array('Komentarji omogo鑕ni' => 0, 'Komentarji onemogo鑕ni' => -1)
);
-?>
diff --git a/plugins/staticpages/language/slovenian_utf-8.php b/plugins/staticpages/language/slovenian_utf-8.php
index 9afe189ea..4228f144e 100644
--- a/plugins/staticpages/language/slovenian_utf-8.php
+++ b/plugins/staticpages/language/slovenian_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Komentarji omogo猫eni' => 0, 'Komentarji onemogo猫eni' => -1)
);
-?>
diff --git a/plugins/staticpages/language/spanish.php b/plugins/staticpages/language/spanish.php
index 004a3cc0b..8279a83e8 100644
--- a/plugins/staticpages/language/spanish.php
+++ b/plugins/staticpages/language/spanish.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/spanish_utf-8.php b/plugins/staticpages/language/spanish_utf-8.php
index 3d014c31c..cb5aa6b46 100644
--- a/plugins/staticpages/language/spanish_utf-8.php
+++ b/plugins/staticpages/language/spanish_utf-8.php
@@ -210,4 +210,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/swedish.php b/plugins/staticpages/language/swedish.php
index 5b046da46..fcad85a23 100644
--- a/plugins/staticpages/language/swedish.php
+++ b/plugins/staticpages/language/swedish.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/swedish_utf-8.php b/plugins/staticpages/language/swedish_utf-8.php
index aac583478..4718195da 100644
--- a/plugins/staticpages/language/swedish_utf-8.php
+++ b/plugins/staticpages/language/swedish_utf-8.php
@@ -209,4 +209,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/turkish.php b/plugins/staticpages/language/turkish.php
index fcd7a47da..dfe3b0aad 100644
--- a/plugins/staticpages/language/turkish.php
+++ b/plugins/staticpages/language/turkish.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/turkish_utf-8.php b/plugins/staticpages/language/turkish_utf-8.php
index 1677f7523..500f971d7 100644
--- a/plugins/staticpages/language/turkish_utf-8.php
+++ b/plugins/staticpages/language/turkish_utf-8.php
@@ -208,4 +208,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/ukrainian.php b/plugins/staticpages/language/ukrainian.php
index 56b570b74..b14017307 100644
--- a/plugins/staticpages/language/ukrainian.php
+++ b/plugins/staticpages/language/ukrainian.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/ukrainian_koi8-u.php b/plugins/staticpages/language/ukrainian_koi8-u.php
index bf3281669..0d428830d 100644
--- a/plugins/staticpages/language/ukrainian_koi8-u.php
+++ b/plugins/staticpages/language/ukrainian_koi8-u.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/language/ukrainian_utf-8.php b/plugins/staticpages/language/ukrainian_utf-8.php
index 83fe5ff86..cba541fc0 100644
--- a/plugins/staticpages/language/ukrainian_utf-8.php
+++ b/plugins/staticpages/language/ukrainian_utf-8.php
@@ -207,4 +207,3 @@
17 => array('Comments Enabled' => 0, 'Comments Disabled' => -1)
);
-?>
diff --git a/plugins/staticpages/services.inc.php b/plugins/staticpages/services.inc.php
index d81a12356..16e6e8a53 100644
--- a/plugins/staticpages/services.inc.php
+++ b/plugins/staticpages/services.inc.php
@@ -39,7 +39,7 @@
* @package StaticPages
*/
-if (stripos($_SERVER['PHP_SELF'], 'services.inc.php') !== false) {
+if (stripos($_SERVER['PHP_SELF'], basename(__FILE__)) !== false) {
die('This file can not be used on its own.');
}
@@ -395,16 +395,16 @@ function service_submit_staticpages($args, &$output, &$svc_msg)
}
$sp_content = GLText::remove4byteUtf8Chars($sp_content);
- $sp_title = strip_tags($sp_title);
+ $sp_title = GLText::stripTags($sp_title);
$sp_title = GLText::remove4byteUtf8Chars($sp_title);
- $sp_page_title = strip_tags($sp_page_title);
+ $sp_page_title = GLText::stripTags($sp_page_title);
$sp_page_title = GLText::remove4byteUtf8Chars($sp_page_title);
- $sp_label = strip_tags($sp_label);
+ $sp_label = GLText::stripTags($sp_label);
$sp_label = GLText::remove4byteUtf8Chars($sp_label);
- $meta_description = strip_tags($meta_description);
+ $meta_description = GLText::stripTags($meta_description);
$meta_description = GLText::remove4byteUtf8Chars($meta_description);
- $meta_keywords = strip_tags($meta_keywords);
+ $meta_keywords = GLText::stripTags($meta_keywords);
$meta_keywords = GLText::remove4byteUtf8Chars($meta_keywords);
$sp_help = GLText::remove4byteUtf8Chars($sp_help);
@@ -779,7 +779,7 @@ function service_get_staticpages($args, &$output, &$svc_msg)
if (!isset($args['template'])) {
$output['sp_content'] = SP_render_content($page, $output['sp_content'], $output['sp_php'], $output['cache_time'], $output['template_id']);
}
- } else { // an error occured (page not found, access denied, ...)
+ } else { // an error occurred (page not found, access denied, ...)
/**
* if the user has edit permissions and the page does not exist,
* send them to the editor so they can create it "wiki style"
diff --git a/plugins/staticpages/templates/denim/printable.thtml b/plugins/staticpages/templates/denim/printable.thtml
index 634b0a89f..7b4deede5 100644
--- a/plugins/staticpages/templates/denim/printable.thtml
+++ b/plugins/staticpages/templates/denim/printable.thtml
@@ -24,4 +24,4 @@
{# end {templatelocation} #}