mirror of
https://github.com/humhub/humhub.git
synced 2025-04-21 15:41:54 +02:00
Moved available language/translation list to config & removed deprecated auth part from default config
This commit is contained in:
parent
c4a188b05a
commit
e89298b02b
@ -77,14 +77,11 @@ return array(
|
||||
'params' => array(
|
||||
// Installed Flag
|
||||
'installed' => false,
|
||||
// Authentication Options
|
||||
'auth' => array(
|
||||
// Available Registration Types
|
||||
'modes' => array('local'),
|
||||
// Local Authentication Options
|
||||
'local' => array(
|
||||
'freeRegistration' => true,
|
||||
),
|
||||
'availableLanguages' => array(
|
||||
'en' => 'English',
|
||||
'de' => 'Deutsch*',
|
||||
'fr' => 'Francais*',
|
||||
'nl' => 'Nederlands*'
|
||||
),
|
||||
'dynamicConfigFile' => dirname(__FILE__) . '/_settings.php',
|
||||
),
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<?php echo $form->labelEx($model, 'language'); ?>
|
||||
<?php echo $form->dropDownList($model, 'language', array('en' => 'English', 'de' => 'Deutsch*', 'fr' => 'Francais*'), array('class' => 'form-control')); ?>
|
||||
<?php echo $form->dropDownList($model, 'language', Yii::app()->params['availableLanguages'], array('class' => 'form-control')); ?>
|
||||
<?php echo $form->error($model, 'language'); ?>
|
||||
</div>
|
||||
<hr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user