Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Phlogi/6dd3b9d1f91a49ebae85c21e31950010 to your computer and use it in GitHub Desktop.
Save Phlogi/6dd3b9d1f91a49ebae85c21e31950010 to your computer and use it in GitHub Desktop.
<?php $__env->startSection('content'); ?>
<div class="settings">
<div class="breadcrumb">
<div class="<?php echo e(auth()->user()->getFluidLayout()); ?>">
<div class="row">
<div class="col-xs-12">
<ul class="horizontal">
<li>
<a href="/dashboard"><?php echo e(trans('app.breadcrumb_dashboard')); ?></a>
</li>
<li>
<?php echo e(trans('app.breadcrumb_settings')); ?>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="<?php echo e(auth()->user()->getFluidLayout()); ?>">
<div class="row">
<?php echo $__env->make('settings._sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<div class="col-xs-12 col-md-9">
<?php echo $__env->make('partials.errors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php if(session('status')): ?>
<div class="alert alert-success">
<?php echo e(session('status')); ?>
</div>
<?php endif; ?>
<form action="/settings/save" method="POST">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<p><?php echo e(trans('settings.name', ['name' => auth()->user()->name])); ?></p>
</div>
<div class="form-group">
<label for="email"><?php echo e(trans('settings.email')); ?></label>
<input type="email" class="form-control" name="email" id="email" placeholder="<?php echo e(trans('settings.email_placeholder')); ?>" required value="<?php echo e(auth()->user()->email); ?>">
<small id="emailHelp" class="form-text text-muted"><?php echo e(trans('settings.email_help')); ?></small>
</div>
<div class="form-group">
<label for="locale"><?php echo e(trans('settings.locale')); ?></label>
<select class="form-control" name="locale" id="locale">
<?php $__currentLoopData = config('monica.langs'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($lang); ?>" <?php echo e((auth()->user()->locale == $lang)?'selected':''); ?>><?php echo e(trans('settings.locale_'.$lang)); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<label for="layout"><?php echo e(trans('settings.currency')); ?></label>
<?php echo $__env->make('partials.components.currency-select', ['selectionID' => auth()->user()->currency_id ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
<div class="form-group">
<label for="name_order"><?php echo e(trans('settings.name_order')); ?></label>
<select name="name_order" class="form-control">
<option value="firstname_first" <?php echo e((auth()->user()->name_order == 'firstname_first')?'selected':''); ?>><?php echo e(trans('settings.name_order_firstname_first')); ?></option>
<option value="lastname_first" <?php echo e((auth()->user()->name_order == 'lastname_first')?'selected':''); ?>><?php echo e(trans('settings.name_order_lastname_first')); ?></option>
</select>
</div>
<div class="form-group">
<label for="timezone"><?php echo e(trans('settings.timezone')); ?></label>
<select class="form-control" name="timezone" id="timezone">
<option value='US/Eastern' <?php echo e((auth()->user()->timezone == 'US/Eastern')?'selected':''); ?>>(UTC-05:00) Montreal/New-York</option>
<option value='US/Central' <?php echo e((auth()->user()->timezone == 'US/Central')?'selected':''); ?>>(UTC-06:00) Central Time (US &amp; Canada)</option>
<option value='America/Los_Angeles' <?php echo e((auth()->user()->timezone == 'America/Los_Angeles')?'selected':''); ?>>(UTC-08:00) Pacific Time (US &amp; Canada)</option>
<option value='Pacific/Midway' <?php echo e((auth()->user()->timezone == 'Pacific/Midway')?'selected':''); ?>>(UTC-11:00) Midway Island</option>
<option value='Pacific/Samoa' <?php echo e((auth()->user()->timezone == 'Pacific/Samoa')?'selected':''); ?>>(UTC-11:00) Samoa</option>
<option value='Pacific/Honolulu' <?php echo e((auth()->user()->timezone == 'Pacific/Honolulu')?'selected':''); ?>>(UTC-10:00) Hawaii</option>
<option value='US/Alaska' <?php echo e((auth()->user()->timezone == 'US/Alaska')?'selected':''); ?>>(UTC-09:00) Alaska</option>
<option value='America/Tijuana' <?php echo e((auth()->user()->timezone == 'America/Tijuana')?'selected':''); ?>>(UTC-08:00) Tijuana</option>
<option value='US/Arizona' <?php echo e((auth()->user()->timezone == 'US/Arizona')?'selected':''); ?>>(UTC-07:00) Arizona</option>
<option value='America/Chihuahua' <?php echo e((auth()->user()->timezone == 'America/Chihuahua')?'selected':''); ?>>(UTC-07:00) Chihuahua</option>
<option value='America/Chihuahua' <?php echo e((auth()->user()->timezone == 'America/Chihuahua')?'selected':''); ?>>(UTC-07:00) La Paz</option>
<option value='America/Mazatlan' <?php echo e((auth()->user()->timezone == 'America/Mazatlan')?'selected':''); ?>>(UTC-07:00) Mazatlan</option>
<option value='US/Mountain' <?php echo e((auth()->user()->timezone == 'US/Mountain')?'selected':''); ?>>(UTC-07:00) Mountain Time (US &amp; Canada)</option>
<option value='America/Managua' <?php echo e((auth()->user()->timezone == 'America/Managua')?'selected':''); ?>>(UTC-06:00) Central America</option>
<option value='US/Central' <?php echo e((auth()->user()->timezone == 'US/Central')?'selected':''); ?>>(UTC-06:00) Central Time (US &amp; Canada)</option>
<option value='America/Mexico_City' <?php echo e((auth()->user()->timezone == 'America/Mexico_City')?'selected':''); ?>>(UTC-06:00) Guadalajara</option>
<option value='America/Mexico_City' <?php echo e((auth()->user()->timezone == 'America/Mexico_City')?'selected':''); ?>>(UTC-06:00) Mexico City</option>
<option value='America/Monterrey' <?php echo e((auth()->user()->timezone == 'America/Monterrey')?'selected':''); ?>>(UTC-06:00) Monterrey</option>
<option value='Canada/Saskatchewan' <?php echo e((auth()->user()->timezone == 'Canada/Saskatchewan')?'selected':''); ?>>(UTC-06:00) Saskatchewan</option>
<option value='America/Bogota' <?php echo e((auth()->user()->timezone == 'America/Bogota')?'selected':''); ?>>(UTC-05:00) Bogota</option>
<option value='US/Eastern' <?php echo e((auth()->user()->timezone == 'US/Eastern')?'selected':''); ?>>(UTC-05:00) Eastern Time (US &amp; Canada)</option>
<option value='US/East- <?php echo e((auth()->user()->timezone == 'US/East')?'selected':''); ?>Indiana'>(UTC-05:00) Indiana (East)</option>
<option value='America/Lima' <?php echo e((auth()->user()->timezone == 'America/Lima')?'selected':''); ?>>(UTC-05:00) Lima</option>
<option value='America/Bogota' <?php echo e((auth()->user()->timezone == 'America/Bogota')?'selected':''); ?>>(UTC-05:00) Quito</option>
<option value='Canada/Atlantic' <?php echo e((auth()->user()->timezone == 'Canada/Atlantic')?'selected':''); ?>>(UTC-04:00) Atlantic Time (Canada)</option>
<option value='America/Caracas' <?php echo e((auth()->user()->timezone == 'America/Caracas')?'selected':''); ?>>(UTC-04:30) Caracas</option>
<option value='America/La_Paz' <?php echo e((auth()->user()->timezone == 'America/La_Paz')?'selected':''); ?>>(UTC-04:00) La Paz</option>
<option value='America/Santiago' <?php echo e((auth()->user()->timezone == 'America/Santiago')?'selected':''); ?>>(UTC-04:00) Santiago</option>
<option value='Canada/Newfoundland' <?php echo e((auth()->user()->timezone == 'Canada/Newfoundland')?'selected':''); ?>>(UTC-03:30) Newfoundland</option>
<option value='America/Sao_Paulo' <?php echo e((auth()->user()->timezone == 'America/Sao_Paulo')?'selected':''); ?>>(UTC-03:00) Brasilia</option>
<option value='America/Argentina/Buenos_Aires' <?php echo e((auth()->user()->timezone == 'America/Argentina')?'selected':''); ?>>(UTC-03:00) Buenos Aires</option>
<option value='America/Godthab' <?php echo e((auth()->user()->timezone == 'America/Godthab')?'selected':''); ?>>(UTC-03:00) Greenland</option>
<option value='America/Noronha' <?php echo e((auth()->user()->timezone == 'America/Noronha')?'selected':''); ?>>(UTC-02:00) Mid-Atlantic</option>
<option value='Atlantic/Azores' <?php echo e((auth()->user()->timezone == 'Atlantic/Azores')?'selected':''); ?>>(UTC-01:00) Azores</option>
<option value='Atlantic/Cape_Verde' <?php echo e((auth()->user()->timezone == 'Atlantic/Cape_Verde')?'selected':''); ?>>(UTC-01:00) Cape Verde Is.</option>
<option value='Africa/Casablanca' <?php echo e((auth()->user()->timezone == 'Africa/Casablanca')?'selected':''); ?>>(UTC+00:00) Casablanca</option>
<option value='Europe/London' <?php echo e((auth()->user()->timezone == 'Europe/London')?'selected':''); ?>>(UTC+00:00) Edinburgh</option>
<option value='Etc/Greenwich' <?php echo e((auth()->user()->timezone == 'Etc/Greenwich')?'selected':''); ?>>(UTC+00:00) Greenwich Mean Time : Dublin</option>
<option value='Europe/Lisbon' <?php echo e((auth()->user()->timezone == 'Europe/Lisbon')?'selected':''); ?>>(UTC+00:00) Lisbon</option>
<option value='Europe/London' <?php echo e((auth()->user()->timezone == 'Europe/London')?'selected':''); ?>>(UTC+00:00) London</option>
<option value='Africa/Monrovia' <?php echo e((auth()->user()->timezone == 'Africa/Monrovia')?'selected':''); ?>>(UTC+00:00) Monrovia</option>
<option value='UTC' <?php echo e((auth()->user()->timezone == 'UTC')?'selected':''); ?>>(UTC+00:00) UTC</option>
<option value='Europe/Amsterdam' <?php echo e((auth()->user()->timezone == 'Europe/Amsterdam')?'selected':''); ?>>(UTC+01:00) Amsterdam</option>
<option value='Europe/Belgrade' <?php echo e((auth()->user()->timezone == 'Europe/Belgrade')?'selected':''); ?>>(UTC+01:00) Belgrade</option>
<option value='Europe/Berlin' <?php echo e((auth()->user()->timezone == 'Europe/Berlin')?'selected':''); ?>>(UTC+01:00) Berlin</option>
<option value='Europe/Bratislava' <?php echo e((auth()->user()->timezone == 'Europe/Bratislava')?'selected':''); ?>>(UTC+01:00) Bratislava</option>
<option value='Europe/Brussels' <?php echo e((auth()->user()->timezone == 'Europe/Brussels')?'selected':''); ?>>(UTC+01:00) Brussels</option>
<option value='Europe/Budapest' <?php echo e((auth()->user()->timezone == 'Europe/Budapest')?'selected':''); ?>>(UTC+01:00) Budapest</option>
<option value='Europe/Copenhagen' <?php echo e((auth()->user()->timezone == 'Europe/Copenhagen')?'selected':''); ?>>(UTC+01:00) Copenhagen</option>
<option value='Europe/Ljubljana' <?php echo e((auth()->user()->timezone == 'Europe/Ljubljana')?'selected':''); ?>>(UTC+01:00) Ljubljana</option>
<option value='Europe/Madrid' <?php echo e((auth()->user()->timezone == 'Europe/Madrid')?'selected':''); ?>>(UTC+01:00) Madrid</option>
<option value='Europe/Paris' <?php echo e((auth()->user()->timezone == 'Europe/Paris')?'selected':''); ?>>(UTC+01:00) Paris</option>
<option value='Europe/Prague' <?php echo e((auth()->user()->timezone == 'Europe/Prague')?'selected':''); ?>>(UTC+01:00) Prague</option>
<option value='Europe/Rome' <?php echo e((auth()->user()->timezone == 'Europe/Rome')?'selected':''); ?>>(UTC+01:00) Rome</option>
<option value='Europe/Sarajevo' <?php echo e((auth()->user()->timezone == 'Europe/Sarajevo')?'selected':''); ?>>(UTC+01:00) Sarajevo</option>
<option value='Europe/Skopje' <?php echo e((auth()->user()->timezone == 'Europe/Skopje')?'selected':''); ?>>(UTC+01:00) Skopje</option>
<option value='Europe/Stockholm' <?php echo e((auth()->user()->timezone == 'Europe/Stockholm')?'selected':''); ?>>(UTC+01:00) Stockholm</option>
<option value='Europe/Vienna' <?php echo e((auth()->user()->timezone == 'Europe/Vienna')?'selected':''); ?>>(UTC+01:00) Vienna</option>
<option value='Europe/Warsaw' <?php echo e((auth()->user()->timezone == 'Europe/Warsaw')?'selected':''); ?>>(UTC+01:00) Warsaw</option>
<option value='Africa/Lagos' <?php echo e((auth()->user()->timezone == 'Africa/Lagos')?'selected':''); ?>>(UTC+01:00) West Central Africa</option>
<option value='Europe/Zagreb' <?php echo e((auth()->user()->timezone == 'Europe/Zagreb')?'selected':''); ?>>(UTC+01:00) Zagreb</option>
<option value='Europe/Zurich' <?php echo e((auth()->user()->timezone == 'Europe/Zurich')?'selected':''); ?>>(UTC+01:00) Zurich</option>
<option value='Europe/Athens' <?php echo e((auth()->user()->timezone == 'Europe/Athens')?'selected':''); ?>>(UTC+02:00) Athens</option>
<option value='Europe/Bucharest' <?php echo e((auth()->user()->timezone == 'Europe/Bucharest')?'selected':''); ?>>(UTC+02:00) Bucharest</option>
<option value='Africa/Cairo' <?php echo e((auth()->user()->timezone == 'Africa/Cairo')?'selected':''); ?>>(UTC+02:00) Cairo</option>
<option value='Africa/Harare' <?php echo e((auth()->user()->timezone == 'Africa/Harare')?'selected':''); ?>>(UTC+02:00) Harare</option>
<option value='Europe/Helsinki' <?php echo e((auth()->user()->timezone == 'Europe/Helsinki')?'selected':''); ?>>(UTC+02:00) Helsinki</option>
<option value='Europe/Istanbul' <?php echo e((auth()->user()->timezone == 'Europe/Istanbul')?'selected':''); ?>>(UTC+02:00) Istanbul</option>
<option value='Asia/Jerusalem' <?php echo e((auth()->user()->timezone == 'Asia/Jerusalem')?'selected':''); ?>>(UTC+02:00) Jerusalem</option>
<option value='Europe/Helsinki' <?php echo e((auth()->user()->timezone == 'Europe/Helsinki')?'selected':''); ?>>(UTC+02:00) Kyiv</option>
<option value='Africa/Johannesburg' <?php echo e((auth()->user()->timezone == 'Africa/Johannesburg')?'selected':''); ?>>(UTC+02:00) Pretoria</option>
<option value='Europe/Riga' <?php echo e((auth()->user()->timezone == 'Europe/Riga')?'selected':''); ?>>(UTC+02:00) Riga</option>
<option value='Europe/Sofia' <?php echo e((auth()->user()->timezone == 'Europe/Sofia')?'selected':''); ?>>(UTC+02:00) Sofia</option>
<option value='Europe/Tallinn' <?php echo e((auth()->user()->timezone == 'Europe/Tallinn')?'selected':''); ?>>(UTC+02:00) Tallinn</option>
<option value='Europe/Vilnius' <?php echo e((auth()->user()->timezone == 'Europe/Vilnius')?'selected':''); ?>>(UTC+02:00) Vilnius</option>
<option value='Asia/Baghdad' <?php echo e((auth()->user()->timezone == 'Asia/Baghdad')?'selected':''); ?>>(UTC+03:00) Baghdad</option>
<option value='Asia/Kuwait' <?php echo e((auth()->user()->timezone == 'Asia/Kuwait')?'selected':''); ?>>(UTC+03:00) Kuwait</option>
<option value='Europe/Minsk' <?php echo e((auth()->user()->timezone == 'Europe/Minsk')?'selected':''); ?>>(UTC+03:00) Minsk</option>
<option value='Africa/Nairobi' <?php echo e((auth()->user()->timezone == 'Africa/Nairobi')?'selected':''); ?>>(UTC+03:00) Nairobi</option>
<option value='Asia/Riyadh' <?php echo e((auth()->user()->timezone == 'Asia/Riyadh')?'selected':''); ?>>(UTC+03:00) Riyadh</option>
<option value='Europe/Volgograd' <?php echo e((auth()->user()->timezone == 'Europe/Volgograd')?'selected':''); ?>>(UTC+03:00) Volgograd</option>
<option value='Asia/Tehran' <?php echo e((auth()->user()->timezone == 'Asia/Tehran')?'selected':''); ?>>(UTC+03:30) Tehran</option>
<option value='Asia/Muscat' <?php echo e((auth()->user()->timezone == 'Asia/Muscat')?'selected':''); ?>>(UTC+04:00) Abu Dhabi</option>
<option value='Asia/Baku' <?php echo e((auth()->user()->timezone == 'Asia/Baku')?'selected':''); ?>>(UTC+04:00) Baku</option>
<option value='Europe/Moscow' <?php echo e((auth()->user()->timezone == 'Europe/Moscow')?'selected':''); ?>>(UTC+04:00) Moscow</option>
<option value='Asia/Muscat' <?php echo e((auth()->user()->timezone == 'Asia/Muscat')?'selected':''); ?>>(UTC+04:00) Muscat</option>
<option value='Europe/Moscow' <?php echo e((auth()->user()->timezone == 'Europe/Moscow')?'selected':''); ?>>(UTC+04:00) St. Petersburg</option>
<option value='Asia/Tbilisi' <?php echo e((auth()->user()->timezone == 'Asia/Tbilisi')?'selected':''); ?>>(UTC+04:00) Tbilisi</option>
<option value='Asia/Yerevan' <?php echo e((auth()->user()->timezone == 'Asia/Yerevan')?'selected':''); ?>>(UTC+04:00) Yerevan</option>
<option value='Asia/Kabul' <?php echo e((auth()->user()->timezone == 'Asia/Kabul')?'selected':''); ?>>(UTC+04:30) Kabul</option>
<option value='Asia/Karachi' <?php echo e((auth()->user()->timezone == 'Asia/Karachi')?'selected':''); ?>>(UTC+05:00) Islamabad</option>
<option value='Asia/Karachi' <?php echo e((auth()->user()->timezone == 'Asia/Karachi')?'selected':''); ?>>(UTC+05:00) Karachi</option>
<option value='Asia/Tashkent' <?php echo e((auth()->user()->timezone == 'Asia/Tashkent')?'selected':''); ?>>(UTC+05:00) Tashkent</option>
<option value='Asia/Calcutta' <?php echo e((auth()->user()->timezone == 'Asia/Calcutta')?'selected':''); ?>>(UTC+05:30) Chennai</option>
<option value='Asia/Kolkata' <?php echo e((auth()->user()->timezone == 'Asia/Kolkata')?'selected':''); ?>>(UTC+05:30) Kolkata</option>
<option value='Asia/Calcutta' <?php echo e((auth()->user()->timezone == 'Asia/Calcutta')?'selected':''); ?>>(UTC+05:30) Mumbai</option>
<option value='Asia/Calcutta' <?php echo e((auth()->user()->timezone == 'Asia/Calcutta')?'selected':''); ?>>(UTC+05:30) New Delhi</option>
<option value='Asia/Calcutta' <?php echo e((auth()->user()->timezone == 'Asia/Calcutta')?'selected':''); ?>>(UTC+05:30) Sri Jayawardenepura</option>
<option value='Asia/Katmandu' <?php echo e((auth()->user()->timezone == 'Asia/Katmandu')?'selected':''); ?>>(UTC+05:45) Kathmandu</option>
<option value='Asia/Almaty' <?php echo e((auth()->user()->timezone == 'Asia/Almaty')?'selected':''); ?>>(UTC+06:00) Almaty</option>
<option value='Asia/Dhaka' <?php echo e((auth()->user()->timezone == 'Asia/Dhaka')?'selected':''); ?>>(UTC+06:00) Astana</option>
<option value='Asia/Dhaka' <?php echo e((auth()->user()->timezone == 'Asia/Dhaka')?'selected':''); ?>>(UTC+06:00) Dhaka</option>
<option value='Asia/Yekaterinburg' <?php echo e((auth()->user()->timezone == 'Asia/Yekaterinburg')?'selected':''); ?>>(UTC+06:00) Ekaterinburg</option>
<option value='Asia/Rangoon' <?php echo e((auth()->user()->timezone == 'Asia/Rangoon')?'selected':''); ?>>(UTC+06:30) Rangoon</option>
<option value='Asia/Bangkok' <?php echo e((auth()->user()->timezone == 'Asia/Bangkok')?'selected':''); ?>>(UTC+07:00) Bangkok</option>
<option value='Asia/Bangkok' <?php echo e((auth()->user()->timezone == 'Asia/Bangkok')?'selected':''); ?>>(UTC+07:00) Hanoi</option>
<option value='Asia/Jakarta' <?php echo e((auth()->user()->timezone == 'Asia/Jakarta')?'selected':''); ?>>(UTC+07:00) Jakarta</option>
<option value='Asia/Novosibirsk' <?php echo e((auth()->user()->timezone == 'Asia/Novosibirsk')?'selected':''); ?>>(UTC+07:00) Novosibirsk</option>
<option value='Asia/Hong_Kong' <?php echo e((auth()->user()->timezone == 'Asia/Hong_Kong')?'selected':''); ?>>(UTC+08:00) Beijing</option>
<option value='Asia/Chongqing' <?php echo e((auth()->user()->timezone == 'Asia/Chongqing')?'selected':''); ?>>(UTC+08:00) Chongqing</option>
<option value='Asia/Hong_Kong' <?php echo e((auth()->user()->timezone == 'Asia/Hong_Kong')?'selected':''); ?>>(UTC+08:00) Hong Kong</option>
<option value='Asia/Krasnoyarsk' <?php echo e((auth()->user()->timezone == 'Asia/Krasnoyarsk')?'selected':''); ?>>(UTC+08:00) Krasnoyarsk</option>
<option value='Asia/Kuala_Lumpur' <?php echo e((auth()->user()->timezone == 'Asia/Kuala_Lumpur')?'selected':''); ?>>(UTC+08:00) Kuala Lumpur</option>
<option value='Australia/Perth' <?php echo e((auth()->user()->timezone == 'Australia/Perth')?'selected':''); ?>>(UTC+08:00) Perth</option>
<option value='Asia/Singapore' <?php echo e((auth()->user()->timezone == 'Asia/Singapore')?'selected':''); ?>>(UTC+08:00) Singapore</option>
<option value='Asia/Taipei' <?php echo e((auth()->user()->timezone == 'Asia/Taipei')?'selected':''); ?>>(UTC+08:00) Taipei</option>
<option value='Asia/Ulan_Bator' <?php echo e((auth()->user()->timezone == 'Asia/Ulan_Bator')?'selected':''); ?>>(UTC+08:00) Ulaan Bataar</option>
<option value='Asia/Urumqi' <?php echo e((auth()->user()->timezone == 'Asia/Urumqi')?'selected':''); ?>>(UTC+08:00) Urumqi</option>
<option value='Asia/Irkutsk' <?php echo e((auth()->user()->timezone == 'Asia/Irkutsk')?'selected':''); ?>>(UTC+09:00) Irkutsk</option>
<option value='Asia/Tokyo' <?php echo e((auth()->user()->timezone == 'Asia/Tokyo')?'selected':''); ?>>(UTC+09:00) Osaka</option>
<option value='Asia/Tokyo' <?php echo e((auth()->user()->timezone == 'Asia/Tokyo')?'selected':''); ?>>(UTC+09:00) Sapporo</option>
<option value='Asia/Seoul' <?php echo e((auth()->user()->timezone == 'Asia/Seoul')?'selected':''); ?>>(UTC+09:00) Seoul</option>
<option value='Asia/Tokyo' <?php echo e((auth()->user()->timezone == 'Asia/Tokyo')?'selected':''); ?>>(UTC+09:00) Tokyo</option>
<option value='Australia/Adelaide' <?php echo e((auth()->user()->timezone == 'Australia/Adelaide')?'selected':''); ?>>(UTC+09:30) Adelaide</option>
<option value='Australia/Darwin' <?php echo e((auth()->user()->timezone == 'Australia/Darwin')?'selected':''); ?>>(UTC+09:30) Darwin</option>
<option value='Australia/Brisbane' <?php echo e((auth()->user()->timezone == 'Australia/Brisbane')?'selected':''); ?>>(UTC+10:00) Brisbane</option>
<option value='Australia/Canberra' <?php echo e((auth()->user()->timezone == 'Australia/Canberra')?'selected':''); ?>>(UTC+10:00) Canberra</option>
<option value='Pacific/Guam' <?php echo e((auth()->user()->timezone == 'Pacific/Guam')?'selected':''); ?>>(UTC+10:00) Guam</option>
<option value='Australia/Hobart' <?php echo e((auth()->user()->timezone == 'Australia/Hobart')?'selected':''); ?>>(UTC+10:00) Hobart</option>
<option value='Australia/Melbourne' <?php echo e((auth()->user()->timezone == 'Australia/Melbourne')?'selected':''); ?>>(UTC+10:00) Melbourne</option>
<option value='Pacific/Port_Moresby' <?php echo e((auth()->user()->timezone == 'Pacific/Port_Moresby')?'selected':''); ?>>(UTC+10:00) Port Moresby</option>
<option value='Australia/Sydney' <?php echo e((auth()->user()->timezone == 'Australia/Sydney')?'selected':''); ?>>(UTC+10:00) Sydney</option>
<option value='Asia/Yakutsk' <?php echo e((auth()->user()->timezone == 'Asia/Yakutsk')?'selected':''); ?>>(UTC+10:00) Yakutsk</option>
<option value='Asia/Vladivostok' <?php echo e((auth()->user()->timezone == 'Asia/Vladivostok')?'selected':''); ?>>(UTC+11:00) Vladivostok</option>
<option value='Pacific/Auckland' <?php echo e((auth()->user()->timezone == 'Pacific/Auckland')?'selected':''); ?>>(UTC+12:00) Auckland</option>
<option value='Pacific/Fiji' <?php echo e((auth()->user()->timezone == 'Pacific/Fiji')?'selected':''); ?>>(UTC+12:00) Fiji</option>
<option value='Pacific/Kwajalein' <?php echo e((auth()->user()->timezone == 'Pacific/Kwajalein')?'selected':''); ?>>(UTC+12:00) International Date Line West</option>
<option value='Asia/Kamchatka' <?php echo e((auth()->user()->timezone == 'Asia/Kamchatka')?'selected':''); ?>>(UTC+12:00) Kamchatka</option>
<option value='Asia/Magadan' <?php echo e((auth()->user()->timezone == 'Asia/Magadan')?'selected':''); ?>>(UTC+12:00) Magadan</option>
<option value='Pacific/Fiji' <?php echo e((auth()->user()->timezone == 'Pacific/Fiji')?'selected':''); ?>>(UTC+12:00) Marshall Is.</option>
<option value='Asia/Magadan' <?php echo e((auth()->user()->timezone == 'Asia/Magadan')?'selected':''); ?>>(UTC+12:00) New Caledonia</option>
<option value='Asia/Magadan' <?php echo e((auth()->user()->timezone == 'Asia/Magadan')?'selected':''); ?>>(UTC+12:00) Solomon Is.</option>
<option value='Pacific/Auckland' <?php echo e((auth()->user()->timezone == 'Pacific/Auckland')?'selected':''); ?>>(UTC+12:00) Wellington</option>
<option value='Pacific/Tongatapu' <?php echo e((auth()->user()->timezone == 'Pacific/Tongatapu')?'selected':''); ?>>(UTC+13:00) Nuku'alofa</option>
</select>
</div>
<div class="form-group">
<label for="layout"><?php echo e(trans('settings.layout')); ?></label>
<select class="form-control" name="layout" id="layout">
<option value='false' <?php echo e((auth()->user()->fluid_container == 'false')?'selected':''); ?>><?php echo e(trans('settings.layout_small')); ?></option>
<option value='true' <?php echo e((auth()->user()->fluid_container == 'true')?'selected':''); ?>><?php echo e(trans('settings.layout_big')); ?></option>
</select>
</div>
<button type="submit" class="btn btn-primary"><?php echo e(trans('settings.save')); ?></button>
</form>
<div class="settings-delete">
<a href="/settings/delete" onclick="return confirm('<?php echo e(trans('settings.delete_notice')); ?>')"><?php echo e(trans('settings.delete_cta')); ?></a>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.skeleton', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment