mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #90 from openclassify/vedatakdd
translated update & category icon update & cf fnc. added theme
This commit is contained in:
commit
3a8f140c34
@ -97,12 +97,9 @@ return [
|
|||||||
|
|
||||||
|
|
||||||
'contact_mail' => [
|
'contact_mail' => [
|
||||||
'type' => 'anomaly.field_type.text',
|
'type' => 'anomaly.field_type.email',
|
||||||
'bind' => 'adv.contact_mail',
|
'bind' => 'adv.contact_mail',
|
||||||
'env' => 'ADV_MAIL',
|
'env' => 'ADV_MAIL',
|
||||||
'config' => [
|
|
||||||
'default_value' => 'support',
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
'google_map_key' => [
|
'google_map_key' => [
|
||||||
'type' => 'anomaly.field_type.text',
|
'type' => 'anomaly.field_type.text',
|
||||||
|
|||||||
@ -365,51 +365,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="recommended-cta">
|
<div class="recommended-cta">
|
||||||
<div class="cta">
|
{{ blocks('list-item-right-sidebar') }}
|
||||||
<!-- 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>
|
|
||||||
</div><!-- cta -->
|
</div><!-- cta -->
|
||||||
</div>
|
</div>
|
||||||
</div><!-- row -->
|
</div><!-- row -->
|
||||||
|
|||||||
@ -211,7 +211,7 @@ class AdvSeeder extends Seeder
|
|||||||
<a href="#" class="download-app">
|
<a href="#" class="download-app">
|
||||||
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
|
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
|
||||||
<span class="pull-left">
|
<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>
|
<strong>App Store</strong>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@ -245,7 +245,7 @@ class AdvSeeder extends Seeder
|
|||||||
<a href="#" class="download-app">
|
<a href="#" class="download-app">
|
||||||
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
|
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
|
||||||
<span class="pull-left">
|
<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>
|
<strong>App Store</strong>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@ -373,5 +373,256 @@ class AdvSeeder extends Seeder
|
|||||||
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
|
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
|
||||||
'entry_id' => $blockhtml->id,
|
'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,
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,8 +29,8 @@ class VisiosoftModuleCatsCreateCatsFields extends Migration
|
|||||||
],
|
],
|
||||||
'order' => 'anomaly.field_type.integer',
|
'order' => 'anomaly.field_type.integer',
|
||||||
'deleted_at' => "anomaly.field_type.datetime",
|
'deleted_at' => "anomaly.field_type.datetime",
|
||||||
'files' => [
|
'icon' => [
|
||||||
'type' => 'visiosoft.field_type.media',
|
'type' => 'anomaly.field_type.file',
|
||||||
'config' => [
|
'config' => [
|
||||||
'folders' => ["images"],
|
'folders' => ["images"],
|
||||||
'mode' => 'upload',
|
'mode' => 'upload',
|
||||||
|
|||||||
@ -37,7 +37,7 @@ class VisiosoftModuleCatsCreateCategoryStream extends Migration
|
|||||||
'parent_category',
|
'parent_category',
|
||||||
'order',
|
'order',
|
||||||
'deleted_at',
|
'deleted_at',
|
||||||
'files',
|
'icon',
|
||||||
'seo_keyword',
|
'seo_keyword',
|
||||||
'seo_description',
|
'seo_description',
|
||||||
];
|
];
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
<input type="hidden" name="parent_category"
|
<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 %}">
|
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.order|raw }}
|
||||||
{{ form.fields.files|raw }}
|
{{ form.fields.icon|raw }}
|
||||||
{{ form.fields.seo_keyword|raw }}
|
{{ form.fields.seo_keyword|raw }}
|
||||||
{{ form.fields.seo_description|raw }}
|
{{ form.fields.seo_description|raw }}
|
||||||
</div><!-- section -->
|
</div><!-- section -->
|
||||||
@ -37,5 +37,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ asset_add("scripts.js", "visiosoft.module.cats::js/admin-cat.js") }}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@ -24,7 +24,7 @@ return [
|
|||||||
'subscribe' => 'Subscribe!',
|
'subscribe' => 'Subscribe!',
|
||||||
'your_email' => 'Your email',
|
'your_email' => 'Your email',
|
||||||
'sign_up' => 'Sign Up',
|
'sign_up' => 'Sign Up',
|
||||||
'copyright' => 'Copyright 2019. Developed by',
|
'copyright' => 'Copyright 2019.| Developed by',
|
||||||
'cart' => 'My Cart',
|
'cart' => 'My Cart',
|
||||||
'search' => 'Search',
|
'search' => 'Search',
|
||||||
'type_your_keyword' => 'Type Your Keyword',
|
'type_your_keyword' => 'Type Your Keyword',
|
||||||
|
|||||||
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'send' => [
|
||||||
|
'name' => 'Send',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'post_ad' => 'Post Your Ad',
|
'post_ad' => 'Post Your Ad',
|
||||||
'featured_ads' => "Featured Ads",
|
'featured_ads' => "Featured Ads",
|
||||||
'recent_ads' => "Recent Ads",
|
'recent_ads' => "Recent Ads",
|
||||||
'trending_ads' => 'Trending Ads',
|
'trending_ads' => 'Trending Ads',
|
||||||
'search_map' => 'Search on Map',
|
'search_map' => 'Search on Map',
|
||||||
'search' => 'Search',
|
'search' => 'Search',
|
||||||
@ -14,5 +14,20 @@ return [
|
|||||||
'sign-in' => 'Sign In',
|
'sign-in' => 'Sign In',
|
||||||
'new-here' => 'New here ?',
|
'new-here' => 'New here ?',
|
||||||
'scroll-screen-for-details' => 'Scroll Screen for Table View',
|
'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',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
@ -21,7 +21,7 @@ return [
|
|||||||
'subscribe' => 'Abone Olun!',
|
'subscribe' => 'Abone Olun!',
|
||||||
'your_email' => 'Email Adresiniz',
|
'your_email' => 'Email Adresiniz',
|
||||||
'sign_up' => 'Kayıt Olun',
|
'sign_up' => 'Kayıt Olun',
|
||||||
'copyright' => 'Bütün Hakları Saklıdır © 2019 ',
|
'copyright' => 'Bütün Hakları Saklıdır | 2019 ',
|
||||||
'cart' => 'Sepetim',
|
'cart' => 'Sepetim',
|
||||||
'search' => 'Ara',
|
'search' => 'Ara',
|
||||||
'type_your_keyword' => 'Aramak istediginiz kelime...',
|
'type_your_keyword' => 'Aramak istediginiz kelime...',
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'send' => [
|
||||||
|
'name' => 'Gönder',
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
@ -8,5 +8,28 @@ return [
|
|||||||
'sign-in' => 'Üye Girişi',
|
'sign-in' => 'Üye Girişi',
|
||||||
'new-here' => 'Avantajlar için ',
|
'new-here' => 'Avantajlar için ',
|
||||||
'scroll-screen-for-details' => 'Ayrıntılar için Ekranı Kaydır',
|
'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',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
@ -82,27 +82,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<!-- banner-form -->
|
|
||||||
</div><!-- banner -->
|
|
||||||
<!-- main-content -->
|
|
||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
<!-- row -->
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="hidden-xs hidden-sm col-md-2 text-center">
|
<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') }}
|
{{ blocks('left-home-banner-area') }}
|
||||||
|
|
||||||
{#{% endif %}#}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- product-list -->
|
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<!-- categorys -->
|
|
||||||
{% if entries('advs').isEnabled('dopings') %}
|
{% if entries('advs').isEnabled('dopings') %}
|
||||||
{% set doping_advs = entries('dopings').get().getFeaturedAds(1) %}
|
{% set doping_advs = entries('dopings').get().getFeaturedAds(1) %}
|
||||||
{% if(doping_advs|length>0) %}
|
{% if(doping_advs|length>0) %}
|
||||||
@ -110,15 +96,13 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<div class="section-title featured-top">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- featured-slider -->
|
|
||||||
<div class="featured-slider">
|
<div class="featured-slider">
|
||||||
<div id="featured-slider">
|
<div id="featured-slider">
|
||||||
<!-- featured -->
|
|
||||||
{% for adv in doping_advs %}
|
{% for adv in doping_advs %}
|
||||||
<div class="featured">
|
<div class="featured">
|
||||||
<div class="featured-image">
|
<div class="featured-image">
|
||||||
@ -180,17 +164,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% 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') }}
|
{{ blocks('middle-home-banner-area') }}
|
||||||
|
|
||||||
<!-- ad-section -->
|
|
||||||
{#{% endif %}#}
|
|
||||||
|
|
||||||
<!-- trending-ads -->
|
|
||||||
<div class="section trending-ads">
|
<div class="section trending-ads">
|
||||||
<div class="section-title tab-manu">
|
<div class="section-title tab-manu">
|
||||||
<!-- Nav tabs -->
|
<!-- Nav tabs -->
|
||||||
|
|||||||
@ -39,7 +39,13 @@
|
|||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="feedback">
|
<div class="feedback">
|
||||||
<h2>{{ trans('visiosoft.module.advs::field.send_us_your_feedback') }}</h2>
|
<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>
|
||||||
</div><!-- feedback -->
|
</div><!-- feedback -->
|
||||||
</div><!-- row -->
|
</div><!-- row -->
|
||||||
|
|||||||
@ -79,7 +79,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="newsletter-text">
|
<div class="newsletter-text">
|
||||||
<span>{{ trans("visiosoft.theme.default::addon.help_center") }}</span><br>
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b><i class="fa fa-user"></i>
|
<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>
|
class="caret"></span></a>
|
||||||
<ul id="login-dp" class="dropdown-menu">
|
<ul id="login-dp" class="dropdown-menu">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
33
addons/default/visiosoft/defaultadmin-theme/resources/js/vendor/visiosoft.js
vendored
Normal file
33
addons/default/visiosoft/defaultadmin-theme/resources/js/vendor/visiosoft.js
vendored
Normal 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);
|
||||||
|
});
|
||||||
|
});
|
||||||
@ -35,25 +35,25 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'city' => [
|
'city' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'district' => [
|
'district' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'neighborhood' => [
|
'neighborhood' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'village' => [
|
'village' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
@ -63,8 +63,9 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
|
|||||||
'office_phone' => 'anomaly.field_type.text',
|
'office_phone' => 'anomaly.field_type.text',
|
||||||
'register_type' => [
|
'register_type' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" =>[
|
"config" => [
|
||||||
"options" => ['1' => 'individual','2' => 'Corporate'],
|
"handler" => \Visiosoft\ProfileModule\Profile\Handler\registerType::class,
|
||||||
|
'default_value' => 1,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'identification_number' => 'anomaly.field_type.text',
|
'identification_number' => 'anomaly.field_type.text',
|
||||||
@ -79,25 +80,25 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'adress_city' => [
|
'adress_city' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'adress_district' => [
|
'adress_district' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'adress_neighborhood' => [
|
'adress_neighborhood' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'adress_village' => [
|
'adress_village' => [
|
||||||
"type" => "anomaly.field_type.select",
|
"type" => "anomaly.field_type.select",
|
||||||
"config" => [
|
"config" => [
|
||||||
"options" => [],
|
"options" => [],
|
||||||
]
|
]
|
||||||
@ -107,27 +108,27 @@ class VisiosoftModuleProfileCreateProfileFields extends Migration
|
|||||||
'adress_gsm_phone' => 'anomaly.field_type.text',
|
'adress_gsm_phone' => 'anomaly.field_type.text',
|
||||||
'adress_land_phone' => 'anomaly.field_type.text',
|
'adress_land_phone' => 'anomaly.field_type.text',
|
||||||
'notified_new_updates' => [
|
'notified_new_updates' => [
|
||||||
'type' => 'anomaly.field_type.select',
|
'type' => 'anomaly.field_type.select',
|
||||||
'config' => [
|
'config' => [
|
||||||
'default_value' => 1,
|
'default_value' => 1,
|
||||||
'options' => [0 => 'Active', 1 => 'Passive'],
|
'options' => [0 => 'Active', 1 => 'Passive'],
|
||||||
'separator' => ':',
|
'separator' => ':',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'notified_about_ads' => [
|
'notified_about_ads' => [
|
||||||
'type' => 'anomaly.field_type.select',
|
'type' => 'anomaly.field_type.select',
|
||||||
'config' => [
|
'config' => [
|
||||||
'default_value' => 1,
|
'default_value' => 1,
|
||||||
'options' => [0 => 'Active', 1 => 'Passive'],
|
'options' => [0 => 'Active', 1 => 'Passive'],
|
||||||
'separator' => ':',
|
'separator' => ':',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'receive_messages_email' => [
|
'receive_messages_email' => [
|
||||||
'type' => 'anomaly.field_type.select',
|
'type' => 'anomaly.field_type.select',
|
||||||
'config' => [
|
'config' => [
|
||||||
'default_value' => 1,
|
'default_value' => 1,
|
||||||
'options' => [0 => 'Active', 1 => 'Passive'],
|
'options' => [0 => 'Active', 1 => 'Passive'],
|
||||||
'separator' => ':',
|
'separator' => ':',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'adv_listing_banner' => [
|
'adv_listing_banner' => [
|
||||||
|
|||||||
@ -89,12 +89,12 @@ function advs(type) {
|
|||||||
"<span><a href='#'>" + advs.cat1_name + "</a></span> / " +
|
"<span><a href='#'>" + advs.cat1_name + "</a></span> / " +
|
||||||
"<span><a href='#'>" + advs.cat2_name + "</a></span>" +
|
"<span><a href='#'>" + advs.cat2_name + "</a></span>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class=\"item-cat\">Status:" +
|
"<div class=\"item-cat\">"+status_name+":" +
|
||||||
"<span class='status" + advs.id + "' style='color:#f7941d'>";
|
"<span class='status" + advs.id + "' style='color:#f7941d'>";
|
||||||
|
|
||||||
if (advs.status == "pending_user" || advs.status == "passive") {
|
if (advs.status == "pending_user" || advs.status == "passive") {
|
||||||
var date = advs.created_at.split(' ');
|
var date = advs.created_at.split(' ');
|
||||||
top += "Passive</span></div>" +
|
top += status_passive+"</span></div>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class='ad-meta'><div class='meta-content'>" +
|
"<div class='ad-meta'><div class='meta-content'>" +
|
||||||
"<span class='dated'>Posted On: <a href='#'>" + date[0] + "</a></span>" +
|
"<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>";
|
"title='' data-original-title='Approve this ad'>Approved</a>";
|
||||||
}
|
}
|
||||||
else if (advs.status == "pending_admin") {
|
else if (advs.status == "pending_admin") {
|
||||||
top += "Pending</span></div>" +
|
top += status_pending+"</span></div>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class='ad-meta'><div class='meta-content'>" +
|
"<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>" +
|
||||||
@ -113,10 +113,10 @@ function advs(type) {
|
|||||||
"data-id='" + advs.id + "' data-content='passive' data-toggle='tooltip' data-placement='top'" +
|
"data-id='" + advs.id + "' data-content='passive' data-toggle='tooltip' data-placement='top'" +
|
||||||
"title='' data-original-title='Approve this ad'>Passive</a>";
|
"title='' data-original-title='Approve this ad'>Passive</a>";
|
||||||
} else {
|
} else {
|
||||||
top += "Approved</span></div>" +
|
top += status_approved+"</span></div>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class='ad-meta'><div class='meta-content'>" +
|
"<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'>";
|
top += "</div><div class='user-option pull-right'>";
|
||||||
|
|||||||
@ -414,6 +414,13 @@ return [
|
|||||||
'name' => 'Day',
|
'name' => 'Day',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'individual' => [
|
||||||
|
'name' => 'individual',
|
||||||
|
],
|
||||||
|
'corporate' => [
|
||||||
|
'name' => 'corporate',
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@ -302,7 +302,7 @@
|
|||||||
"fav_advs" =>"Favori İlanlar",
|
"fav_advs" =>"Favori İlanlar",
|
||||||
"fav_sellers" =>"Fav Satıcıları",
|
"fav_sellers" =>"Fav Satıcıları",
|
||||||
"fav_searches" =>"Fav Aramalar",
|
"fav_searches" =>"Fav Aramalar",
|
||||||
"posted_on" =>"Yayınlanan",
|
"posted_on" =>"Yayınlama",
|
||||||
"message_details" =>"Mesaj Detayları",
|
"message_details" =>"Mesaj Detayları",
|
||||||
"adv_no" =>"İlan No",
|
"adv_no" =>"İlan No",
|
||||||
"bill_address" => [
|
"bill_address" => [
|
||||||
@ -442,7 +442,7 @@
|
|||||||
|
|
||||||
],
|
],
|
||||||
"status" => [
|
"status" => [
|
||||||
"name" =>"durum",
|
"name" =>"Durum",
|
||||||
|
|
||||||
],
|
],
|
||||||
"cancel_sale" => [
|
"cancel_sale" => [
|
||||||
@ -530,4 +530,11 @@
|
|||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'individual' => [
|
||||||
|
'name' => 'Bireysel',
|
||||||
|
],
|
||||||
|
'corporate' => [
|
||||||
|
'name' => 'Kurumsal',
|
||||||
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
@ -6,49 +6,7 @@
|
|||||||
|
|
||||||
<div class="col-sm-12 text-center">
|
<div class="col-sm-12 text-center">
|
||||||
<div class="recommended-cta">
|
<div class="recommended-cta">
|
||||||
<div class="cta">
|
{{ blocks('profile-right-sidebar') }}
|
||||||
<!-- 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>
|
|
||||||
</div><!-- cta -->
|
</div><!-- cta -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -93,6 +93,11 @@
|
|||||||
</section>
|
</section>
|
||||||
<script>
|
<script>
|
||||||
var resimNone = "{{ img('theme::images/no-image-ads.jpg').url }}";
|
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>
|
</script>
|
||||||
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/intlTelInput.js") }}
|
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/intlTelInput.js") }}
|
||||||
{{ asset_add("theme.css", "theme::css.default.intlTelInput.min.css") }}
|
{{ asset_add("theme.css", "theme::css.default.intlTelInput.min.css") }}
|
||||||
|
|||||||
@ -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')
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user