- Added new FilterWidget in the Administration menu for the phrases

- Extension installer is visible only for system/extensions
- Removed the old phrases editor from Vilesci
- system/checksystem.php does not call anymore system/phrasesupdate.php
- system/phrasesupdate.php has been removed
- Added new directory application/phrases
- application/phrases contains one file for each phrases category, and one file contains all the phrases for that category
- Added new controller system/phrases/Manager to install phrases in the core
- Added new constants CORE_PHRASES_DIRECTORY, INSERT_BY, APP, CATEGORY, PHRASE, SPRACHE, TEXT and DESCRIPTION to libraries/PhrasesLib
- libraries/PhrasesLib now loads EPrintfLib
- Removed public methods getPhraseByApp, getPhraseInhalt, delPhrasentext, savePhrase, getPhrasentextById, insertPhraseinhalt, getVorlagetextById and updatePhraseInhalt from libraries/PhrasesLib
- Renamed public method getJSON to toJSON in libraries/PhrasesLib
- Added new public methods installFromCore and installFrom to libraries/PhrasesLib
- Added new private methods _installPhrases and _addPhrases to libraries/PhrasesLib
This commit is contained in:
Paolo
2021-11-16 17:22:24 +01:00
parent 63105951a0
commit d7b700f781
38 changed files with 12498 additions and 14401 deletions
-11
View File
@@ -62,17 +62,6 @@ echo '<div>';
require_once($dbupdStr);
echo '</div>';
// ******** phrasenupdate ************/
echo '<H2>Phrasen-Updates!</H2>';
echo '<div>';
echo 'phrasesupdate.php wird aufgerufen...';
echo '</div>';
echo '<div>';
require_once('phrasesupdate.php');
echo '</div>';
// ******** filtersupdate ************/
echo '<H2>Filters time!</H2>';
+23
View File
@@ -956,6 +956,29 @@ $filters = array(
}
',
'oe_kurzbz' => null,
),
array(
'app' => 'core',
'dataset_name' => 'phrases',
'filter_kurzbz' => 'all',
'description' => '{"All phrases", "All phrases", "All phrases", "All phrases"}',
'sort' => 1,
'default_filter' => true,
'filter' => '
{
"name": "All phrases",
"columns": [
{"name": "PhraseId"},
{"name": "Application"},
{"name": "Category"},
{"name": "PhraseName"},
{"name": "Language"},
{"name": "Phrase"}
],
"filters": []
}
',
'oe_kurzbz' => null
)
);
File diff suppressed because it is too large Load Diff