![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/medad.corals.io/storage/framework/views/ |
<?php $__env->startSection('title',$title); ?> <?php $__env->startSection('content_header'); ?> <?php $__env->startComponent('components.content_header'); ?> <?php $__env->slot('page_title'); ?> <?php echo e($title); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('breadcrumb'); ?> <?php echo e(Breadcrumbs::render('profile')); ?> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('css'); ?> <?php echo \Html::style('assets/corals/plugins/cropper/cropper.css'); ?> <style> #image_source { cursor: pointer; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php $__env->startComponent('components.box'); ?> <div class="row"> <div class="col-md-12"> <ul class="nav nav-tabs customtab" role="tablist"> <li class="nav-item"> <a href="#profile" class="nav-link <?php echo e($active_tab=="profile"? 'active':''); ?>" role="tab" data-toggle="tab"> <?php echo app('translator')->get('corals-elite-admin::labels.auth.profile'); ?> </a> </li> <?php \Actions::do_action('user_profile_tabs',user(),$active_tab) ?> </ul> <div class="tab-content"> <div class="tab-pane <?php echo e($active_tab=="profile"? 'active':''); ?>" id="profile" role="tabpanel"> <div class="row"> <div class="col-md-12"> <?php echo Form::model($user = user(), ['url' => url('profile'), 'method'=>'PUT','class'=>'ajax-form','files'=>true]); ?> <ul class="nav nav-pills mt-2"> <li class="nav-item"><a href="#edit_profile" class="nav-link active" data-toggle="tab" aria-expanded="false"> <i class="fa fa-pencil"></i> <?php echo app('translator')->get('corals-elite-admin::labels.auth.edit_profile'); ?> </a> </li> <li class="nav-item"> <a href="#profile_addresses" class="nav-link" data-toggle="tab"><i class="fa fa-map-marker"></i> <?php echo app('translator')->get('corals-elite-admin::labels.auth.addresses'); ?></a> </li> <li class="nav-item"> <a href="#reset_password" class="nav-link" data-toggle="tab"><i class="fa fa-lock"></i> <?php echo app('translator')->get('corals-elite-admin::labels.auth.auth_password'); ?></a> </li> <li class="nav-item"> <a href="#notification_preferences" class="nav-link" data-toggle="tab"><i class="fa fa-bell-o"></i> <?php echo app('translator')->get('corals-elite-admin::labels.auth.notification_preferences'); ?></a> </li> </ul> <div class="tab-content py-3"> <div class="tab-pane active" id="edit_profile"> <div class="row"> <div class="col-md-4"> <?php echo CoralsForm::text('name','User::attributes.user.name',true); ?> <?php echo CoralsForm::email('email','User::attributes.user.email',true); ?> <?php echo CoralsForm::textarea('properties[about]', 'User::attributes.user.about' , false, null,[ 'class'=>'limited-text', 'maxlength'=>250, 'help_text'=>'<span class="limit-counter">0</span>/250', 'rows'=>'4']); ?> </div> <div id="country-div" class="col-md-4"> <?php echo CoralsForm::text('last_name','User::attributes.user.last_name',true); ?> <?php echo CoralsForm::text('phone_country_code','User::attributes.user.phone_country_code',false,null,['id'=>'authy-countries']); ?> <?php echo CoralsForm::text('phone_number','User::attributes.user.phone_number',false,null,['id'=>'authy-cellphone']); ?> <?php echo CoralsForm::text('job_title','User::attributes.user.job_title'); ?> </div> <div class="col-md-4"> <div class="text-center"> <img id="image_source" class="profile-user-img img-responsive img-circle" style="width: 200px" src="<?php echo e(user()->picture); ?>" alt="User profile picture"> <?php echo e(Form::hidden('profile_image')); ?> <small class=""><?php echo app('translator')->get('corals-elite-admin::labels.auth.click_pic_update'); ?></small> </div> </div> </div> </div> <div class="tab-pane" id="profile_addresses"> <?php echo $__env->make('Settings::addresses.address_list_form', [ 'url'=>url('users/'.$user->hashed_id.'/address'),'method'=>'POST', 'model'=>$user, 'addressDiv'=>'#profile_addresses' ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <div class="tab-pane" id="notification_preferences"> <?php $__empty_1 = true; $__currentLoopData = \CoralsNotification::getUserNotificationTemplates(user()); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notifications_template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div class="row"> <div class="col-md-12"> <?php echo CoralsForm::checkboxes( 'notification_preferences['.$notifications_template->id .'][]', $notifications_template->friendly_name, false, $options = get_array_key_translation(config('notification.supported_channels')), $selected = $user->notification_preferences[$notifications_template->id] ?? [], ['checkboxes_wrapper'=>'span', 'label'=>['class' => 'm-r-10']]); ?> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <h4><?php echo app('translator')->get('corals-elite-admin::labels.auth.no_notification'); ?></h4> <?php endif; ?> </div> <div class="tab-pane" id="reset_password"> <div class="row"> <div class="col-md-4"> <?php echo CoralsForm::password('password','User::attributes.user.password'); ?> <?php echo CoralsForm::password('password_confirmation','User::attributes.user.password_confirmation'); ?> <?php if(\TwoFactorAuth::isActive()): ?> <?php echo CoralsForm::checkbox('two_factor_auth_enabled','User::attributes.user.two_factor_auth_enabled',\TwoFactorAuth::isEnabled($user)); ?> <?php if(!empty(\TwoFactorAuth::getSupportedChannels())): ?> <?php echo CoralsForm::radio('channel','User::attributes.user.channel', false,\TwoFactorAuth::getSupportedChannels(),\Arr::get($user->getTwoFactorAuthProviderOptions(),'channel', null)); ?> <?php endif; ?> <?php endif; ?> </div> <div class="col-md-6 text-center"> <i class="fa fa-lock" style="color:#7777770f; font-size: 10em;"></i> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <?php echo CoralsForm::formButtons(trans('corals-elite-admin::labels.auth.save',['title' => $title_singular]),[],['href'=>url('dashboard')]); ?> </div> <?php echo Form::close(); ?> </div> </div> </div> <?php \Actions::do_action('user_profile_tabs_content',user(),$active_tab) ?> </div> </div> </div> <?php echo $__env->renderComponent(); ?> <?php echo $__env->make('User::users.profile.cropper_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <?php echo $__env->make('User::users.profile.scripts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/medad.corals.io/resources/themes/elite-admin/auth/profile.blade.php ENDPATH**/ ?>