mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-13 01:59:28 +00:00
d7b700f781
- 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
57 lines
1.5 KiB
PHP
57 lines
1.5 KiB
PHP
<?php
|
|
/* Copyright (C) 2013 FH Technikum-Wien
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
*/
|
|
|
|
$phrases = array(
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'captcha',
|
|
'phrase' => 'label',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Tippen Sie die angezeigten<br>Zeichen in das untere Feld.',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Enter the characters in<br>the field below.',
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'captcha',
|
|
'phrase' => 'reload',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => 'Ich kann das Bild nicht lesen - neu laden',
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => 'Reload picture',
|
|
'description' => '',
|
|
)
|
|
)
|
|
)
|
|
);
|
|
|