Merge pull request #274 from openclassify/vedat

add settings section
This commit is contained in:
Fatih Alp 2020-02-03 12:41:35 +03:00 committed by GitHub
commit dd5da38f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 50 deletions

View File

@ -0,0 +1,34 @@
<?php
return [
'monitoring' => [
'stacked' => true,
'tabs' => [
'general' => [
'title' => 'visiosoft.module.advs::section.general',
'fields' => [
'favicon', 'iban_numbers', 'google_statistic_code', 'ogImage', 'free_currencyconverterapi_key',
'enabled_currencies'
],
],
'ads' => [
'title' => 'visiosoft.module.advs::section.ads',
'fields' => [
'latest-limit', 'auto_approve', 'default_published_time', 'default_adv_limit', 'default_GET',
'watermark_type', 'watermark_text', 'watermark_image', 'watermark_position', 'watermark_opacity',
'listing_page_image',
],
],
'user' => [
'title' => 'visiosoft.module.advs::section.user',
'fields' => [
'register_email_field',
],
],
],
],
];

View File

@ -50,22 +50,6 @@ return [
'default_value' => 15,
],
],
'address' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.address',
'env' => 'ADV_ADDRESS',
'config' => [
'default_value' => 'Basaksehir Istanbul',
],
],
'phone' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.phone',
'env' => 'ADV_PHONE',
'config' => [
'default_value' => '212 555 55 55',
],
],
'iban_numbers' => [
'type' => 'anomaly.field_type.wysiwyg',
@ -118,38 +102,6 @@ return [
'default_value' => 0,
],
],
'twitter' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.twitter',
'env' => 'ADV_TWITTER',
'config' => [
'default_value' => '/twitter.com/visiosoft'
]
],
'facebook' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.facebook',
'env' => 'ADV_FACEBOOK',
'config' => [
'default_value' => '/facebook.com/visiosoft'
]
],
'youtube' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.youtube',
'env' => 'ADV_YOUTUBE',
'config' => [
'default_value' => '/youtube.com/visiosoft'
]
],
'google' => [
'type' => 'anomaly.field_type.text',
'bind' => 'adv.google',
'env' => 'ADV_GOOGLE',
'config' => [
'default_value' => '/plus.google.com/visiosoft'
]
],
'watermark_type' => [
'type' => 'anomaly.field_type.select',
'bind' => 'adv.watermark_type',

View File

@ -36,5 +36,8 @@ return [
],
'assets_clear' => [
'name' => 'Assets Clear'
]
],
'general' => 'General',
'ads' => 'Ads',
'user' => 'User',
];

View File

@ -36,5 +36,8 @@ return [
],
'assets_clear' => [
'name' => 'Önbellek sil'
]
],
'general' => 'Genel',
'ads' => 'İlan',
'user' => 'Kullanıcı',
];