- Added new phrases fot the extension manager

- Renamed uploadExtension to installExtension in application/controllers/system/extensions/CLI_Manager.php
- Adapted controller system/extensions/Manager.php to use FHC_Controller functionalities
- Changed controller system/extensions/Manager->uploadExtension to get parameters from HTTP post and HTTP file
- Changed view system/extensions/manager.php to use templates/FHC-Header, ajaxlib, tablewidget, phrases and the CI upload library
- Added new column type array to application/widgets/TableWidget.php
- Added new type boolean to the public/js/AjaxLib.js result when checked by the hasData method
- Added new JS public/js/ExtensionsManager.js that contains the extensions manager JS
- Added new view system/extensions/tableWidget.php to display the extensions manager TableWidget
This commit is contained in:
Paolo
2021-09-27 12:45:55 +02:00
parent 063a3fa524
commit 023e0fc934
9 changed files with 365 additions and 187 deletions
+102 -3
View File
@@ -25,7 +25,6 @@
//flag for at least one new phrase
$new = false;
$phrases = array(
//******************* CORE/global
array(
@@ -12472,6 +12471,106 @@ array(
)
)
),
array(
'app' => 'core',
'category' => 'extensions',
'phrase' => 'title',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Extensions manager',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Extensions manager',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'extensions',
'phrase' => 'uploadExtension',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Upload extension',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Upload extension',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'extensions',
'phrase' => 'performSql',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Do not perform SQL',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Do not perform SQL',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'extensions',
'phrase' => 'changeSuccess',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'The extension have been correctly changed',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The extension have been correctly changed',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'extensions',
'phrase' => 'changeError',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'An error occurred while changing the extension',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'An error occurred while changing the extension',
'description' => '',
'insertvon' => 'system'
)
)
),
);
@@ -12594,5 +12693,5 @@ foreach ($phrases as $phrase)
}
}
if(!$new)
echo '<b>Keine neuen Phrasen</b><br>';
if (!$new) echo '<b>Keine neuen Phrasen</b><br>';