@extends('frame') @section('title') blikk :: {{ trans('auth.profile') }} @stop @section('css') @stop @section('js') @include('regprofscript') @stop @section('content')

{{ trans('auth.profile') }}

{!! Form::model($user,['id'=>'mb_uploadform','url'=>LaravelLocalization::getLocalizedURL(null,'profile/upload'),'method'=>'POST','enctype'=>'multipart/formdata']) !!} {!! Form::hidden('ID') !!}
@if ( ! $user->Provider || $user->Provider === 'blikk') @endif
@if ( ! $usericon_update )
{{ trans('auth.profile_choose') }}

{{ trans('auth.profile_drag') }}

@endif
{!! Form::close() !!} {!! Form::model($user,['id'=>'mb_register_form','name'=>'profile','url'=>LaravelLocalization::getLocalizedURL(null,'profile'),'method'=>'PUT']) !!} {!! Form::hidden('ID') !!} {!! Form::hidden('hasicon',!empty($user->UserIcon) ? $user->UserIcon.'?'.uniqid() : '',['id' => 'usericon']) !!} @if ($errors->any())
{{ trans('auth.register_error') }}
@endif @if ( $manually_update ) {{ trans('auth.profile_manually_update') }} @endif
{{ $errors->first('UserName') }}
{!! Form::label('mb_loginusername',trans('auth.login_username')) !!} {!! Form::text('UserName',null,['id'=>'mb_loginusername','disabled'=>'disabled']) !!} @if (empty($user->Provider) || $user->Provider === 'blikk') {{ trans('auth.profile_changepw') }} @endif
{{ $errors->first('oldpass') }}
{!! Form::label('mb_oldloginpass',trans('auth.profile_oldpw')) !!} {!! Form::password('oldpassword',['id'=>'mb_oldloginpass']) !!}
{{ $errors->first('password') }}
{!! Form::label('mb_loginpass1',trans('auth.profile_newpw')) !!} {!! Form::password('password',['id'=>'mb_loginpass1']) !!} @include('regprof') @if (config('auth.privdomainmanagement') && $user->mayPrivdomain())
{!! Form::checkbox('Privdomain','1',$user->Privdomain,['id'=>'mb_privdomainmanagement']) !!}
@endif
{{ trans('auth.cancel') }} {!! Form::submit(trans('auth.profile_submit'),['class'=>'authbtn btn_submit']) !!}
{!! Form::close() !!}
@stop