From 009e8e05ae77e6c344b86dbaad4efe109cbf50ec Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Wed, 24 Feb 2021 10:44:35 +0300 Subject: [PATCH] new section in general settings --- .../advs-module/resources/config/settings/sections.php | 9 +++++++-- .../visiosoft/advs-module/resources/lang/en/section.php | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php index 8eba00d32..fef02718d 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php @@ -35,10 +35,15 @@ return [ 'get_categories', 'listing_page_image', 'show_ads_count', - 'ads_id_date_hidden', - 'hide_seller_info', ], ], + 'ads_detail' => [ + 'title' => 'visiosoft.module.advs::section.ads_detail', + 'fields' => [ + 'ads_id_date_hidden', + 'hide_seller_info', + ] + ], 'create_ad' => [ 'title' => 'visiosoft.module.advs::section.create_ad', 'fields' => [ diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/section.php b/addons/default/visiosoft/advs-module/resources/lang/en/section.php index d7f9f96a1..43dfe6651 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/section.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/section.php @@ -59,4 +59,6 @@ return [ 'status' => [ 'title' => 'Status', ], + 'ads_detail' => 'Ads Detail', + ];