Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
karir.star4hire.com
/
modules
/
Contact
/
Blocks
✏️
Editing: Contact.php
<?php namespace Modules\Contact\Blocks; use Modules\Template\Blocks\BaseBlock; use Modules\Location\Models\Location; use Modules\Media\Helpers\FileHelper; class Contact extends BaseBlock { function __construct() { $this->setOptions([ 'settings' => [ [ 'id' => 'class', 'type' => 'input', 'inputType' => 'text', 'label' => __('Class Block') ], [ 'id' => 'hide_map', 'type' => 'checkbox', 'label' => __("Hide map?") ], [ 'id' => 'hide_contact_info', 'type' => 'checkbox', 'label' => __("Hide contact info?") ], [ 'id' => 'hide_recruiting', 'type' => 'checkbox', 'label' => __("Hide recruiting section?") ] ], 'category'=>__("Other Block") ]); } public function getName() { return __('Contact Block'); } public function content($model = []) { return view('Contact::frontend.blocks.contact.index', $model); } }
💾 Save Changes
❌ Cancel