diff --git a/lib/Alchemy/Phrasea/Core/Configuration/RegistryManipulator.php b/lib/Alchemy/Phrasea/Core/Configuration/RegistryManipulator.php index 995347eb6a..027d26e591 100644 --- a/lib/Alchemy/Phrasea/Core/Configuration/RegistryManipulator.php +++ b/lib/Alchemy/Phrasea/Core/Configuration/RegistryManipulator.php @@ -123,19 +123,6 @@ class RegistryManipulator 'auto-select-collections' => true, 'auto-register-enabled' => false, ], - 'classic' => [ - 'search-tab' => 1, - 'adv-search-tab' => 2, - 'topics-tab' => 0, - 'active-tab' => 1, - 'render-topics' => 'tree', - 'stories-preview' => true, - 'basket-rollover' => true, - 'collection-presentation' => 'checkbox', - 'basket-size-display' => true, - 'auto-show-proposals' => true, - 'collection-display' => true, - ], 'maintenance' => [ 'message' => 'The application is down for maintenance', 'enabled' => false, diff --git a/lib/Alchemy/Phrasea/Form/Configuration/ClassicFormType.php b/lib/Alchemy/Phrasea/Form/Configuration/ClassicFormType.php deleted file mode 100644 index 9175afc254..0000000000 --- a/lib/Alchemy/Phrasea/Form/Configuration/ClassicFormType.php +++ /dev/null @@ -1,66 +0,0 @@ -add('search-tab', 'integer', [ - 'label' => 'Search tab position', - ]); - $builder->add('adv-search-tab', 'integer', [ - 'label' => 'Advanced search tab position', - ]); - $builder->add('topics-tab', 'integer', [ - 'label' => 'Topics tab position', - ]); - $builder->add('active-tab', 'integer', [ - 'label' => 'Active tab position', - ]); - - $builder->add('render-topics', 'choice', [ - 'label' => 'Topics display mode', - 'choices' => ['tree' => 'Trees', 'popups' => 'Drop-down'], - ]); - - $builder->add('stories-preview', 'checkbox', [ - 'label' => 'Enable roll-over on stories', - ]); - $builder->add('basket-rollover', 'checkbox', [ - 'label' => 'Enable roll-over on basket elements', - ]); - - $builder->add('collection-presentation', 'choice', [ - 'label' => 'Collections display mode', - 'choices' => ['popup' => 'Drop-down', 'checkbox' => 'Check-box'], - ]); - - $builder->add('basket-size-display', 'checkbox', [ - 'label' => 'Display the total size of the document basket', - ]); - $builder->add('auto-show-proposals', 'checkbox', [ - 'label' => 'Display proposals tab', - ]); - $builder->add('collection-display', 'checkbox', [ - 'label' => 'Display the name of databases and collections', - ]); - } - - public function getName() - { - return null; - } -} diff --git a/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php b/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php index 8f07117319..d16e09c2ad 100644 --- a/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php +++ b/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php @@ -44,9 +44,6 @@ class MainConfigurationFormType extends AbstractType $builder->add('registration', new RegistrationFormType(), [ 'label' => 'Registration', ]); - $builder->add('classic', new ClassicFormType(), [ - 'label' => 'Client', - ]); $builder->add('maintenance', new MaintenanceFormType(), [ 'label' => 'Maintenance state', ]); diff --git a/tests/Alchemy/Tests/Phrasea/Form/Configuration/ClassicFormTypeTest.php b/tests/Alchemy/Tests/Phrasea/Form/Configuration/ClassicFormTypeTest.php deleted file mode 100644 index 8c327e20d3..0000000000 --- a/tests/Alchemy/Tests/Phrasea/Form/Configuration/ClassicFormTypeTest.php +++ /dev/null @@ -1,18 +0,0 @@ -