Date: Sun, 24 Mar 2024 19:33:16 +0100
Subject: [PATCH] Support plugin - Supplement
- fp variables removed from the language files
- Output of the base directory commented out
---
fp-plugins/support/lang/lang.cs-cz.php | 22 ++++++++--------
fp-plugins/support/lang/lang.da-dk.php | 22 ++++++++--------
fp-plugins/support/lang/lang.de-de.php | 22 ++++++++--------
fp-plugins/support/lang/lang.el-gr.php | 22 ++++++++--------
fp-plugins/support/lang/lang.en-us.php | 22 ++++++++--------
fp-plugins/support/lang/lang.es-es.php | 22 ++++++++--------
fp-plugins/support/lang/lang.fr-fr.php | 20 +++++++-------
fp-plugins/support/lang/lang.it-it.php | 22 ++++++++--------
fp-plugins/support/lang/lang.ja-jp.php | 22 ++++++++--------
fp-plugins/support/lang/lang.nl-nl.php | 22 ++++++++--------
fp-plugins/support/lang/lang.pt-br.php | 22 ++++++++--------
fp-plugins/support/lang/lang.ru-ru.php | 22 ++++++++--------
fp-plugins/support/lang/lang.sl-si.php | 22 ++++++++--------
fp-plugins/support/plugin.support.php | 19 +++++++++++---
.../support/tpls/admin.plugin.support.tpl | 26 ++++++++++---------
15 files changed, 172 insertions(+), 157 deletions(-)
diff --git a/fp-plugins/support/lang/lang.cs-cz.php b/fp-plugins/support/lang/lang.cs-cz.php
index 84ea37f..fb425ad 100644
--- a/fp-plugins/support/lang/lang.cs-cz.php
+++ b/fp-plugins/support/lang/lang.cs-cz.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
's následujícími informacemi: Popis chyby, kroky k reprodukci.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.da-dk.php b/fp-plugins/support/lang/lang.da-dk.php
index f483e64..73d69a8 100644
--- a/fp-plugins/support/lang/lang.da-dk.php
+++ b/fp-plugins/support/lang/lang.da-dk.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'med følgende oplysninger: Fejlbeskrivelse, trin til reproduktion.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.de-de.php b/fp-plugins/support/lang/lang.de-de.php
index db5d0f1..d6c6aa8 100644
--- a/fp-plugins/support/lang/lang.de-de.php
+++ b/fp-plugins/support/lang/lang.de-de.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'mit den folgenden Informationen ein: Fehlerbeschreibung, Schritte zur Reproduktion.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.el-gr.php b/fp-plugins/support/lang/lang.el-gr.php
index 5b0c90f..8d9663f 100644
--- a/fp-plugins/support/lang/lang.el-gr.php
+++ b/fp-plugins/support/lang/lang.el-gr.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'αγγλικά με τις ακόλουθες πληροφορίες: Περιγραφή σφάλματος, βήματα για την αναπαραγωγή.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.en-us.php b/fp-plugins/support/lang/lang.en-us.php
index 3c7490a..fe6fc17 100644
--- a/fp-plugins/support/lang/lang.en-us.php
+++ b/fp-plugins/support/lang/lang.en-us.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'with the following information: bug description, steps to reproduce.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.es-es.php b/fp-plugins/support/lang/lang.es-es.php
index 8a055dc..02b287f 100644
--- a/fp-plugins/support/lang/lang.es-es.php
+++ b/fp-plugins/support/lang/lang.es-es.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'con la siguiente información: Descripción del fallo, pasos para reproducirlo.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.fr-fr.php b/fp-plugins/support/lang/lang.fr-fr.php
index 1a68845..7d6d9b2 100644
--- a/fp-plugins/support/lang/lang.fr-fr.php
+++ b/fp-plugins/support/lang/lang.fr-fr.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'avec les informations suivantes : Description de l\'erreur, étapes pour la reproduire.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
'pos_plugins' => 'Activated plugins:
',
'neg_plugins' => 'Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.it-it.php b/fp-plugins/support/lang/lang.it-it.php
index 508a23e..e34ece7 100644
--- a/fp-plugins/support/lang/lang.it-it.php
+++ b/fp-plugins/support/lang/lang.it-it.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'con le seguenti informazioni: Descrizione del bug, passaggi per la riproduzione.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.ja-jp.php b/fp-plugins/support/lang/lang.ja-jp.php
index f573d70..0c586b7 100644
--- a/fp-plugins/support/lang/lang.ja-jp.php
+++ b/fp-plugins/support/lang/lang.ja-jp.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'これらの問題(コピー&38;ペースト)は、以下の情報を英語で貼り付けてください: バグの説明、再現手順',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.nl-nl.php b/fp-plugins/support/lang/lang.nl-nl.php
index 0844181..5a24c30 100644
--- a/fp-plugins/support/lang/lang.nl-nl.php
+++ b/fp-plugins/support/lang/lang.nl-nl.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'met de volgende informatie: Bug beschrijving, stappen om te reproduceren.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.pt-br.php b/fp-plugins/support/lang/lang.pt-br.php
index 8e40a78..2dc93a5 100644
--- a/fp-plugins/support/lang/lang.pt-br.php
+++ b/fp-plugins/support/lang/lang.pt-br.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'com as seguintes informações: Descrição do bug, etapas para reproduzir.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.ru-ru.php b/fp-plugins/support/lang/lang.ru-ru.php
index 3b06032..89d7931 100644
--- a/fp-plugins/support/lang/lang.ru-ru.php
+++ b/fp-plugins/support/lang/lang.ru-ru.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'языке со следующей информацией: Описание ошибки, шаги для воспроизведения.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/lang/lang.sl-si.php b/fp-plugins/support/lang/lang.sl-si.php
index 3a401a1..16674fe 100644
--- a/fp-plugins/support/lang/lang.sl-si.php
+++ b/fp-plugins/support/lang/lang.sl-si.php
@@ -9,33 +9,33 @@ $lang ['admin'] ['maintain'] ['support'] = array(
'z naslednjimi informacijami: Opis napake, koraki za reprodukcijo.',
// output "Setup"
- 'h2_general' => 'FlatPress general',
+ 'h2_general' => 'General',
'h3_setup' => 'Setup',
- 'version' => 'FlatPress version: ' . SYSTEM_VER . '
',
- 'basedir' => 'Base directory: ' . BASE_DIR . '
',
- 'blogbaseurl' => 'Blog base URL: ' . $fp_config ['general'] ['www'] . '
',
+ 'version' => 'FlatPress version: ',
+ 'basedir' => '
Base directory: ',
+ 'blogbaseurl' => '
Blog base URL: ',
- 'pos_LANG_DEFAULT' => '
Language (automatic): ' . LANG_DEFAULT . '
',
+ 'pos_LANG_DEFAULT' => 'Language (automatic): ',
'neg_LANG_DEFAULT' => '
Language (automatic): ℹ not recognized
',
- 'pos_lang' => 'Language (set): ' . $fp_config ['locale'] ['lang'] . '
',
+ 'pos_lang' => 'Language (set): ',
'neg_lang' => '
Language (set): not set
',
- 'pos_charset' => 'Character set: ' . $fp_config ['locale'] ['charset'] . '
',
+ 'pos_charset' => 'Character set: ',
'neg_charset' => '
Character set: not set (default is utf-8)
',
- 'pos_theme' => 'Theme: ' . $fp_config ['general'] ['theme'] . '
',
+ 'pos_theme' => 'Theme: ',
'neg_theme' => '
Theme: not set (default is leggero)
',
- 'pos_style' => 'Style: ' . $fp_config ['general'] ['style'] . '
',
+ 'pos_style' => 'Style: ',
'neg_style' => '
Style: default style
',
- 'pos_plugins' => 'Activated plugins:
',
+ 'pos_plugins' => 'Activated plugins: ',
'neg_plugins' => '
Activated plugins: Could not be determined.
',
// output "Core files"
- 'h2_permissions' => 'FlatPress file and directory permissions',
+ 'h2_permissions' => 'File and directory permissions',
'h3_core_files' => 'Core',
'desc_setupfile' => 'As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.
',
diff --git a/fp-plugins/support/plugin.support.php b/fp-plugins/support/plugin.support.php
index 6ebc036..8ed365a 100644
--- a/fp-plugins/support/plugin.support.php
+++ b/fp-plugins/support/plugin.support.php
@@ -9,7 +9,6 @@
*/
require_once ABS_PATH . 'defaults.php';
require_once INCLUDES_DIR . 'includes.php';
-require_once CONFIG_DIR . 'plugins.conf.php';
if (class_exists('AdminPanelAction')) {
@@ -31,7 +30,10 @@ if (class_exists('AdminPanelAction')) {
require CONFIG_DIR . 'plugins.conf.php';
global $fp_config;
+ $BASE_DIR = null;
$BASE_DIR = BASE_DIR;
+
+ $setupfile = null;
$setupfile = BASE_DIR . '/setup.php';
$LANG_DEFAULT = null;
@@ -61,39 +63,50 @@ if (class_exists('AdminPanelAction')) {
$support ['h3_setup'] = $lang ['admin'] ['maintain'] ['support'] ['h3_setup'];
+ $support ['output_SYSTEM_VER'] = SYSTEM_VER . '