This commit is contained in:
sujitprasad
2015-12-24 18:39:37 +05:30
parent 0e085c7beb
commit 5fc77c9205
21 changed files with 172 additions and 73 deletions

View File

@@ -179,7 +179,7 @@ class="active"
{!! Form::label('primary_dpt',Lang::get('lang.primary_department')) !!}
{!! $errors->first('primary_dpt', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('primary_dpt', [''=>'Select a Department','Departments'=>$departments->lists('name','name')],null,['class' => 'form-control select']) !!}
{!! Form::select('primary_dpt', [''=>'Select a Department','Departments'=>$departments->lists('name','name')],null,['class' => 'form-control select']) !!}
</div>

View File

@@ -37,7 +37,7 @@ class="active"
</div>
@endif
{!! Form::model($settings,['url'=>'','method'=>'PATCH']) !!}
{!! Form::model($settings,['url'=>'post-smtp','method'=>'PATCH']) !!}
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{!! Lang::get('lang.outgoing_emails') !!}</h3>
@@ -56,7 +56,6 @@ class="active"
<option> select </option>
<option <?php if($settings->driver == "smtp"){ echo "selected='selected'"; } ?> value="smtp">smtp</option>
<option <?php if($settings->driver == "mail"){ echo "selected='selected'"; } ?> value="mail">mail</option>
</select>
</div>
@@ -97,11 +96,14 @@ class="active"
<div class="col-md-4 form-group {{ $errors->has('password') ? 'has-error' : '' }}">
{!! Form::label('password',Lang::get('lang.password')) !!}
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
<input type="password" name="" value="*********" class="form-control">
@if(isset($settings->password))
<input type="password" name="password" class="form-control" value="{!! Crypt::decrypt($settings->password) !!}">
@else
<input type="password" name="password" class="form-control" value="">
@endif
</div>
</div>
</div>
</div>
@stop

View File

@@ -108,6 +108,13 @@ class="active"
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
{!! Form::checkbox('notification_cron',1,true) !!}&nbsp;{{Lang::get('lang.cron_notification')}}
</div>
</div>
</div>
<!-- Accept All Emails: CHECKBOX: Accept email from unknown Users -->
<div class="row">
<div class="col-md-6">

View File

@@ -258,10 +258,11 @@ $i = count($tickets);
</ul>
</div>
<div class="tabs-pane @yield('plugin-bar')" id="tabP">
{{-- Event fire --}}
<ul class="nav navbar-nav"><?php \Event::fire(new App\Events\TopNavEvent()); ?>
<li id="bar" @yield('plugin')><a href="{{ url('plugins') }}" >{!! Lang::get('lang.plugin') !!}</a></li></a></li>
<li id="bar" @yield('plugin')>
<a href="{{ url('plugins') }}" >{!! Lang::get('lang.plugin') !!}</a>
</li>
</ul>
</div>
</div>