Viewing file: 7dcb129747b725a52abaa6f8a50e6755d80401a6.php (9.1 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $local_setting = json_decode(get_settings('local_setting')); ?> <div class="form-group"> <div class="row"> <div class="col-12"> <label><?php echo e(trans('admin.settings.language')); ?> </label> <select name="language" class="form-control"> <?php $__currentLoopData = get_available_languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($lang); ?>"><?php echo e($lang); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-6 d-none"> <label><?php echo e(trans('admin.settings.direction')); ?> </label> <select name="direction" class="form-control"> <option <?php echo e(isset($local_setting->direction) && $local_setting->direction=='ltr'?'selected':''); ?> value="ltr"> LTR </option> <option <?php echo e(isset($local_setting->direction) && $local_setting->direction=='rtl'?'selected':''); ?> value="rtl"> RTL </option> </select> </div> </div>
</div> <div class="form-group"> <div class="row"> <div class="col-6"> <label><?php echo e(trans('admin.settings.date_time_format')); ?> </label>
<select name="date_time_format" class="form-control"> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='d m Y'?'selected':''); ?> value="d m Y"><?php echo e(trans('30 12 2021')); ?></option> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='m d Y'?'selected':''); ?> value="m d Y"><?php echo e(trans('12 30 2021')); ?></option> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='Y d m'?'selected':''); ?> value="Y d m"><?php echo e(trans('2021 30 12')); ?></option> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='Y m d'?'selected':''); ?> value="Y m d"><?php echo e(trans('2021 12 30')); ?></option> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='d_M,Y'?'selected':''); ?> value="d_M,Y"><?php echo e(trans('17 July,2021')); ?></option> <option <?php echo e(isset($local_setting->date_time_format) && $local_setting->date_time_format=='M_d,Y'?'selected':''); ?> value="M_d,Y"><?php echo e(trans('July 17,2021')); ?></option> </select> </div> <div class="col-6"> <label><?php echo e(trans('admin.settings.date_time_separator')); ?> </label>
<select name="date_time_separator" class="form-control"> <option <?php echo e(isset($local_setting->date_time_separator) && $local_setting->date_time_separator=='-'?'selected':''); ?> value="-"><?php echo e(trans('-')); ?></option> <option <?php echo e(isset($local_setting->date_time_separator) && $local_setting->date_time_separator=='/'?'selected':''); ?> value="/"><?php echo e(trans('/')); ?></option> </select> </div> </div>
</div> <div class="form-group"> <div class="row"> <div class="col-6"> <label><?php echo e(trans('admin.settings.timezone')); ?> </label>
<select id="timezone" name="timezone" class="form-control select2 select2-hidden-accessible" style="width: 100% !important;">
<?php $__currentLoopData = getAllTimeZones(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $time): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php echo e(isset($local_setting->timezone) && $local_setting->timezone==$time['zone']?'selected':''); ?> value="<?php echo e($time['zone']); ?>"> (<?php echo e($time['GMT_difference']. ' ) '.$time['zone']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-6"> <label><?php echo e(trans('admin.settings.decimal_point')); ?> </label> <select name="decimal_format" class="form-control"> <option <?php echo e(isset($local_setting->decimal_format) && $local_setting->decimal_format==','?'selected':''); ?> value=","><?php echo e(trans('Comma (,)')); ?></option> <option <?php echo e(isset($local_setting->decimal_format) && $local_setting->decimal_format=='.'?'selected':''); ?> value="."><?php echo e(trans('Dot (.)')); ?></option> </select> </div> </div>
</div> <div class="form-group"> <div class="row"> <div class="col-6"> <label><?php echo e(trans('admin.settings.currency_symbol')); ?> </label>
<input value="<?php echo e(isset($local_setting->currency_symbol) ?$local_setting->currency_symbol:''); ?>" class="form-control" type="text" name="currency_symbol">
</div> <div class="col-6"> <label><?php echo e(trans('admin.settings.currency_code')); ?> </label>
<input value="<?php echo e(isset($local_setting->currency_code) ?$local_setting->currency_code:''); ?>" class="form-control" type="text" name="currency_code" placeholder="Ex: usd or eur"> <a target="_blank" class="pull-right" href="https://www.iban.com/currency-codes"><?php echo e(trans('admin.settings.find_yours')); ?></a> </div> </div>
</div> <div class="form-group"> <div class="row"> <div class="col-4"> <label><?php echo e(trans('admin.settings.currency_symbol_position')); ?> </label> <select name="currency_symbol_position" class="form-control"> <option <?php echo e(isset($local_setting->currency_symbol_position) && $local_setting->currency_symbol_position=='before'?'selected':''); ?> value="before"><?php echo e(trans('admin.settings.before')); ?></option> <option <?php echo e(isset($local_setting->currency_symbol_position) && $local_setting->currency_symbol_position=='after'?'selected':''); ?> value="after"><?php echo e(trans('admin.settings.after')); ?></option> </select> </div>
<div class="col-4"> <label><?php echo e(trans('admin.settings.decimals')); ?> </label>
<input value="<?php echo e(isset($local_setting->decimals) ?$local_setting->decimals:'0'); ?>" class="form-control" type="number" name="decimals">
</div>
<div class="col-4"> <label><?php echo e(trans('admin.settings.thousand_separator')); ?> </label> <select name="thousand_separator" class="form-control"> <option <?php echo e(isset($local_setting->thousand_separator) && $local_setting->thousand_separator==','?'selected':''); ?> value=","><?php echo e(trans('Comma (,)')); ?></option> <option <?php echo e(isset($local_setting->thousand_separator) && $local_setting->thousand_separator=='.'?'selected':''); ?> value="."><?php echo e(trans('Dot (.)')); ?></option> </select> </div>
</div>
</div>
<?php /**PATH /home/picotech/domains/smm.picotech.app/public_html/resources/views/admin/settings/local_setting_form.blade.php ENDPATH**/ ?>
|