diff --git a/bl-kernel/admin/views/settings.php b/bl-kernel/admin/views/settings.php index ba224f48..0e2bb55d 100644 --- a/bl-kernel/admin/views/settings.php +++ b/bl-kernel/admin/views/settings.php @@ -31,12 +31,6 @@ 'value'=>$security->getTokenCSRF() )); - // Homepage - echo Bootstrap::formInputHidden(array( - 'name'=>'homepage', - 'value'=>$site->homepage() - )); - // Page not found echo Bootstrap::formInputHidden(array( 'name'=>'pageNotFound', @@ -46,6 +40,7 @@
+ $L->g('Site'))); @@ -120,10 +115,12 @@ } catch (Exception $e) { $homeValue = ''; } - echo Bootstrap::formInputText(array( - 'name'=>'homepageTMP', + + echo Bootstrap::formSelect(array( + 'name'=>'homepage', 'label'=>$L->g('Homepage'), - 'value'=>$homeValue, + 'options'=>array(''=>''), + 'selected'=>false, 'class'=>'', 'placeholder'=>$L->g('Start typing a page title to see a list of suggestions.'), 'tip'=>$L->g('Returning page for the main page') @@ -289,76 +286,6 @@ )); ?>
-
@@ -532,11 +459,11 @@ echo Bootstrap::formTextarea(array( 'name'=>'customFields', - 'label'=>$L->g('Custom'), + 'label'=>'JSON Format', 'value'=>json_encode($site->customFields(), JSON_PRETTY_PRINT), 'class'=>'', 'placeholder'=>'', - 'tip'=>'', + 'tip'=>$L->g('define-custom-fields-for-the-content'), 'rows'=>15 )); ?> @@ -594,7 +521,16 @@