Merge pull request #90 from openclassify/vedatakdd

translated update & category icon update & cf fnc. added theme
This commit is contained in:
Ozcan Durak 2019-09-17 17:15:18 +03:00 committed by GitHub
commit 3a8f140c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 429 additions and 161 deletions

View File

@ -97,12 +97,9 @@ return [
'contact_mail' => [
'type' => 'anomaly.field_type.text',
'type' => 'anomaly.field_type.email',
'bind' => 'adv.contact_mail',
'env' => 'ADV_MAIL',
'config' => [
'default_value' => 'support',
],
],
'google_map_key' => [
'type' => 'anomaly.field_type.text',

View File

@ -365,51 +365,7 @@
{% endif %}
<div class="recommended-cta">
<div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans('visiosoft.module.advs::field.secure_trading') }}</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans('visiosoft.module.advs::field.24/7') }}</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans('visiosoft.module.advs::field.easy_trading') }}</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>{{ trans('visiosoft.module.advs::field.need_help') }}</h5>
<p><span>{{ trans('visiosoft.module.advs::field.give_a_call') }}</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>
{{ blocks('list-item-right-sidebar') }}
</div><!-- cta -->
</div>
</div><!-- row -->

View File

@ -211,7 +211,7 @@ class AdvSeeder extends Seeder
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>available on</span>
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>App Store</strong>
</span>
</a>
@ -245,7 +245,7 @@ class AdvSeeder extends Seeder
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>available on</span>
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>App Store</strong>
</span>
</a>
@ -373,5 +373,256 @@ class AdvSeeder extends Seeder
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// List item Right Sidebar
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'List item Right Sidebar',
],
'tr' => [
'name' => 'ilan Detay Sağ Alan',
],
'slug' => 'list-item-right-sidebar',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>Need help?</h5>
<p><span>Give a call on</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
'tr' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Güvenli Ticaret</h4>
<p>Kolay, Güvenli ve Avantajlı Alışveriş için</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Saat Destek</h4>
<p>Hızlı ve Kolay çözüm imkanı</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Alışveriş</h4>
<p>Çoklu dil desteği ve Çoklu Para Birimi</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>
<p><span>Hemen Arayın</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// Profile Right Sidebar
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Profile Right Sidebar',
],
'tr' => [
'name' => 'Profil Sağ Alan',
],
'slug' => 'profile-right-sidebar',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>Need help?</h5>
<p><span>Give a call on</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
'tr' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Güvenli Ticaret</h4>
<p>Kolay, Güvenli ve Avantajlı Alışveriş için</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Saat Destek</h4>
<p>Hızlı ve Kolay çözüm imkanı</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Alışveriş</h4>
<p>Çoklu dil desteği ve Çoklu Para Birimi</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>
<p><span>Hemen Arayın</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
}
}

View File

@ -29,8 +29,8 @@ class VisiosoftModuleCatsCreateCatsFields extends Migration
],
'order' => 'anomaly.field_type.integer',
'deleted_at' => "anomaly.field_type.datetime",
'files' => [
'type' => 'visiosoft.field_type.media',
'icon' => [
'type' => 'anomaly.field_type.file',
'config' => [
'folders' => ["images"],
'mode' => 'upload',

View File

@ -37,7 +37,7 @@ class VisiosoftModuleCatsCreateCategoryStream extends Migration
'parent_category',
'order',
'deleted_at',
'files',
'icon',
'seo_keyword',
'seo_description',
];

View File

@ -24,7 +24,7 @@
<input type="hidden" name="parent_category"
value="{% if form.fields.parent_category.value.id is defined %}{{ form.fields.parent_category.value.id }}{% elseif app.request.get('parent') is defined %}{{ app.request.get('parent') }}{% endif %}">
{{ form.fields.order|raw }}
{{ form.fields.files|raw }}
{{ form.fields.icon|raw }}
{{ form.fields.seo_keyword|raw }}
{{ form.fields.seo_description|raw }}
</div><!-- section -->
@ -37,5 +37,4 @@
</div>
</div>
</div>
{{ asset_add("scripts.js", "visiosoft.module.cats::js/admin-cat.js") }}
{% endblock %}

View File

@ -24,7 +24,7 @@ return [
'subscribe' => 'Subscribe!',
'your_email' => 'Your email',
'sign_up' => 'Sign Up',
'copyright' => 'Copyright 2019. Developed by',
'copyright' => 'Copyright 2019.| Developed by',
'cart' => 'My Cart',
'search' => 'Search',
'type_your_keyword' => 'Type Your Keyword',

View File

@ -0,0 +1,8 @@
<?php
return [
'send' => [
'name' => 'Send',
],
];

View File

@ -1,9 +1,9 @@
<?php
return [
'post_ad' => 'Post Your Ad',
'featured_ads' => "Featured Ads",
'recent_ads' => "Recent Ads",
'post_ad' => 'Post Your Ad',
'featured_ads' => "Featured Ads",
'recent_ads' => "Recent Ads",
'trending_ads' => 'Trending Ads',
'search_map' => 'Search on Map',
'search' => 'Search',
@ -14,5 +14,20 @@ return [
'sign-in' => 'Sign In',
'new-here' => 'New here ?',
'scroll-screen-for-details' => 'Scroll Screen for Table View',
'close' => 'Close'
'close' => 'Close',
'login' => 'Login',
'email' => [
'name' => 'Email Address',
],
'name' => [
'name' => 'Name',
],
'subject' => [
'name' => 'Subject',
],
'content' => [
'name' => 'Content',
],
];

View File

@ -21,7 +21,7 @@ return [
'subscribe' => 'Abone Olun!',
'your_email' => 'Email Adresiniz',
'sign_up' => 'Kayıt Olun',
'copyright' => 'Bütün Hakları Saklıdır &copy; 2019 ',
'copyright' => 'Bütün Hakları Saklıdır | 2019 ',
'cart' => 'Sepetim',
'search' => 'Ara',
'type_your_keyword' => 'Aramak istediginiz kelime...',

View File

@ -0,0 +1,9 @@
<?php
return [
'send' => [
'name' => 'Gönder',
],
];

View File

@ -8,5 +8,28 @@ return [
'sign-in' => 'Üye Girişi',
'new-here' => 'Avantajlar için ',
'scroll-screen-for-details' => 'Ayrıntılar için Ekranı Kaydır',
'close' => 'Kapat'
'close' => 'Kapat',
'login' => 'Giriş Yap',
'city' => 'İl',
'categories' => 'Kategori',
'search' => 'Ara',
'search_map' => 'Harita ile Ara',
'recent_ads' => 'Son ilanlar',
'email' => [
'name' => 'Email Adresi',
],
'name' => [
'name' => 'İsim Soyisim',
],
'subject' => [
'name' => 'Konu Başlığı',
],
'content' => [
'name' => 'Açıklama',
],
];

View File

@ -82,27 +82,13 @@
{% endif %}
</div>
<!-- banner-form -->
</div><!-- banner -->
<!-- main-content -->
</div>
<div class="main-content">
<!-- row -->
<div class="row">
<div class="hidden-xs hidden-sm col-md-2 text-center">
{#{% if homepageAdvs['homepage_left_advertisement_place'] %}#}
{#<div class="advertisement">#}
{#<a href="#"><img src="{{ img('theme::images/ads/2.jpg').url }}" alt="Images" class="img-responsive"></a>#}
{#</div>#}
{{ blocks('left-home-banner-area') }}
{#{% endif %}#}
</div>
<!-- product-list -->
<div class="col-md-8">
<!-- categorys -->
{% if entries('advs').isEnabled('dopings') %}
{% set doping_advs = entries('dopings').get().getFeaturedAds(1) %}
{% if(doping_advs|length>0) %}
@ -110,15 +96,13 @@
<div class="row">
<div class="col-sm-12">
<div class="section-title featured-top">
<h4>{{ trans('visiosoft.theme.default::fields.featured_ads') }}</h4>
<h4>{{ trans('theme::fields.featured_ads') }}</h4>
</div>
</div>
</div>
<!-- featured-slider -->
<div class="featured-slider">
<div id="featured-slider">
<!-- featured -->
{% for adv in doping_advs %}
<div class="featured">
<div class="featured-image">
@ -180,17 +164,10 @@
{% endif %}
{% endif %}
{#{% if homepageAdvs['homepage_left_advertisement_place'] %}#}
<!-- ad-section -->
{#<div class="ad-section text-center">#}
{#<a href="#"><img src="{{ img('theme::images/ads/3.jpg').url }}" alt="Image" class="img-responsive"></a>#}
{#</div>#}
{{ blocks('middle-home-banner-area') }}
<!-- ad-section -->
{#{% endif %}#}
<!-- trending-ads -->
<div class="section trending-ads">
<div class="section-title tab-manu">
<!-- Nav tabs -->

View File

@ -39,7 +39,13 @@
<div class="col-sm-8">
<div class="feedback">
<h2>{{ trans('visiosoft.module.advs::field.send_us_your_feedback') }}</h2>
<p>{{ form('contact').to('example@domain.com')|raw }}</p>
<p>{{ form('contact').to('info@openclassify.com').from(setting_value('streams::email')).
handler('\\Anomaly\\ContactPlugin\\Form\\ContactFormHandler@handle').
fields({'email': {'label': trans('theme::fields.email.name'),'type': 'email','required': true,},
'name': {'label': trans('theme::fields.name.name'),'type': 'text','required': true,},
'subject': {'label': trans('theme::fields.subject.name'),'type': 'text','required': true,},
'content': {'label': trans('theme::fields.content.name'),'type': 'textarea','required': true,}})
.actions({'submit': {'text': trans('theme::button.send.name')}})|raw }}</p>
</div>
</div><!-- feedback -->
</div><!-- row -->

View File

@ -79,7 +79,7 @@
</div>
<div class="newsletter-text">
<span>{{ trans("visiosoft.theme.default::addon.help_center") }}</span><br>
<span>{{ setting_value('visiosoft.module.advs::contact_mail') }}</span>
<span>{{ setting_value('visiosoft.module.advs::contact_mail','support@openclassify.com') }}</span>
</div>
</div>
</div>

View File

@ -95,7 +95,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b><i class="fa fa-user"></i>
Login</b> <span
{{ trans('theme::fields.login') }}</b> <span
class="caret"></span></a>
<ul id="login-dp" class="dropdown-menu">
<li>

View File

@ -0,0 +1,33 @@
$( document ).ready(function() {
$("select[name='parent_category']").select2({
ajax: {
url: window.location.origin + "/keySearch",
type: "GET",
data: function (params) {
return {
q: params.term // search term
};
},
processResults: function (data) {
return {
results: $.map(data.category, function (item) {
return {
text: item.parents,
id: item.id
}
})
};
},
cache: true
},
allowClear: true,
theme: "classic",
placeholder:"All" ,
minimumInputLength: 3
});
$("select[name='parent_category']").on('select2:select', function (e) {
var data = e.params.data;
$("input[name='category_name']").val(data.text);
});
});

View File

@ -35,25 +35,25 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
]
],
'city' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'district' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'neighborhood' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'village' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
@ -63,8 +63,9 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
'office_phone' => 'anomaly.field_type.text',
'register_type' => [
"type" => "anomaly.field_type.select",
"config" =>[
"options" => ['1' => 'individual','2' => 'Corporate'],
"config" => [
"handler" => \Visiosoft\ProfileModule\Profile\Handler\registerType::class,
'default_value' => 1,
]
],
'identification_number' => 'anomaly.field_type.text',
@ -79,25 +80,25 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
]
],
'adress_city' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'adress_district' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'adress_neighborhood' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
],
'adress_village' => [
"type" => "anomaly.field_type.select",
"type" => "anomaly.field_type.select",
"config" => [
"options" => [],
]
@ -107,27 +108,27 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
'adress_gsm_phone' => 'anomaly.field_type.text',
'adress_land_phone' => 'anomaly.field_type.text',
'notified_new_updates' => [
'type' => 'anomaly.field_type.select',
'type' => 'anomaly.field_type.select',
'config' => [
'default_value' => 1,
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
]
],
'notified_about_ads' => [
'type' => 'anomaly.field_type.select',
'type' => 'anomaly.field_type.select',
'config' => [
'default_value' => 1,
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
]
],
'receive_messages_email' => [
'type' => 'anomaly.field_type.select',
'type' => 'anomaly.field_type.select',
'config' => [
'default_value' => 1,
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
'options' => [0 => 'Active', 1 => 'Passive'],
'separator' => ':',
]
],
'adv_listing_banner' => [

View File

@ -89,12 +89,12 @@ function advs(type) {
"<span><a href='#'>" + advs.cat1_name + "</a></span> / " +
"<span><a href='#'>" + advs.cat2_name + "</a></span>" +
"</div>" +
"<div class=\"item-cat\">Status:" +
"<div class=\"item-cat\">"+status_name+":" +
"<span class='status" + advs.id + "' style='color:#f7941d'>";
if (advs.status == "pending_user" || advs.status == "passive") {
var date = advs.created_at.split(' ');
top += "Passive</span></div>" +
top += status_passive+"</span></div>" +
"</div>" +
"<div class='ad-meta'><div class='meta-content'>" +
"<span class='dated'>Posted On: <a href='#'>" + date[0] + "</a></span>" +
@ -104,7 +104,7 @@ function advs(type) {
"title='' data-original-title='Approve this ad'>Approved</a>";
}
else if (advs.status == "pending_admin") {
top += "Pending</span></div>" +
top += status_pending+"</span></div>" +
"</div>" +
"<div class='ad-meta'><div class='meta-content'>" +
"<span class='dated'>Posted On: <a href='#'>" + advs.created_at + "</a></span>" +
@ -113,10 +113,10 @@ function advs(type) {
"data-id='" + advs.id + "' data-content='passive' data-toggle='tooltip' data-placement='top'" +
"title='' data-original-title='Approve this ad'>Passive</a>";
} else {
top += "Approved</span></div>" +
top += status_approved+"</span></div>" +
"</div>" +
"<div class='ad-meta'><div class='meta-content'>" +
"<span class='dated'>Posted On: <a href='#'>" + advs.created_at + "</a></span>";
"<span class='dated'>"+posted_on+": <a href='#'>" + advs.created_at + "</a></span>";
}
top += "</div><div class='user-option pull-right'>";

View File

@ -414,6 +414,13 @@ return [
'name' => 'Day',
],
'individual' => [
'name' => 'individual',
],
'corporate' => [
'name' => 'corporate',
],
];

View File

@ -302,7 +302,7 @@
"fav_advs" =>"Favori İlanlar",
"fav_sellers" =>"Fav Satıcıları",
"fav_searches" =>"Fav Aramalar",
"posted_on" =>"Yayınlanan",
"posted_on" =>"Yayınlama",
"message_details" =>"Mesaj Detayları",
"adv_no" =>"İlan No",
"bill_address" => [
@ -442,7 +442,7 @@
],
"status" => [
"name" =>"durum",
"name" =>"Durum",
],
"cancel_sale" => [
@ -530,4 +530,11 @@
],
'individual' => [
'name' => 'Bireysel',
],
'corporate' => [
'name' => 'Kurumsal',
],
];

View File

@ -6,49 +6,7 @@
<div class="col-sm-12 text-center">
<div class="recommended-cta">
<div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans("visiosoft.module.profile::field.right_secure_trading_subject.name") }}</h4>
<p>{{ trans("visiosoft.module.profile::field.right_secure_trading_msg.name") }}</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans("visiosoft.module.profile::field.right_support_subject.name") }}</h4>
<p>{{ trans("visiosoft.module.profile::field.right_support_msg.name") }}</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>{{ trans("visiosoft.module.profile::field.right_easy_trading_subject.name") }}</h4>
<p>{{ trans("visiosoft.module.profile::field.right_easy_trading_msg.name") }}</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>{{ trans("visiosoft.module.profile::field.right_need_help_subject.name") }}</h5>
<p><span>{{ trans("visiosoft.module.profile::field.right_need_help_msg.name") }}</span><a
href="tellto:{{ setting_value('visiosoft.module.advs::phone') }}"> {{ setting_value('visiosoft.module.advs::phone') }}</a>
</p>
</div><!-- single-cta -->
</div>
{{ blocks('profile-right-sidebar') }}
</div><!-- cta -->
</div>

View File

@ -93,6 +93,11 @@
</section>
<script>
var resimNone = "{{ img('theme::images/no-image-ads.jpg').url }}";
var status_name = "{{ trans('visiosoft.module.profile::field.status.name' )}}";
var status_passive = "{{ trans('visiosoft.module.profile::field.passive.name' )}}";
var status_pending = "{{ trans('visiosoft.module.profile::field.pending.name' )}}";
var status_approved = "{{ trans('visiosoft.module.profile::field.approved.name' )}}";
var posted_on = "{{ trans('visiosoft.module.profile::field.posted_on' )}}";
</script>
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/intlTelInput.js") }}
{{ asset_add("theme.css", "theme::css.default.intlTelInput.min.css") }}

View File

@ -0,0 +1,16 @@
<?php namespace Visiosoft\ProfileModule\Profile\Handler;
use Anomaly\SelectFieldType\SelectFieldType;
class registerType
{
public function handle(SelectFieldType $fieldType)
{
$fieldType->setOptions(
[
'1' => trans('visiosoft.module.profile::field.individual.name'),
'2' => trans('visiosoft.module.profile::field.corporate.name')
]
);
}
}