update v1.0.3.5

This commit is contained in:
sujitprasad
2015-12-29 11:05:21 +05:30
parent 828b75f9ec
commit 308be859ae
19 changed files with 828 additions and 115 deletions

View File

@@ -53,9 +53,8 @@ class="active"
{!! Form::label('driver',Lang::get('lang.driver')) !!}
{!! $errors->first('driver', '<spam class="help-block">:message</spam>') !!}
<select name="driver" class="form-control">
<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>
<option <?php if($settings->driver == "smtp"){ echo "selected='selected'"; } ?> value="smtp">smtp</option>
</select>
</div>
@@ -75,7 +74,6 @@ class="active"
{!! Form::label('encryption',Lang::get('lang.encryption')) !!}
{!! $errors->first('encryption', '<spam class="help-block">:message</spam>') !!}
<select name="encryption" class="form-control">
<option> select </option>
<option <?php if($settings->encryption == "ssl"){ echo "selected='selected'"; } ?> value="ssl">SSL</option>
<option <?php if($settings->encryption == "tls"){ echo "selected='selected'"; } ?> value="tls">TLS</option>
</select>
@@ -96,10 +94,10 @@ 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>') !!}
@if(isset($settings->password))
@if($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="">
@else
<input type="password" name="password" class="form-control">
@endif
</div>
</div>

View File

@@ -352,6 +352,25 @@ class="active"
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!--/.col (left) -->
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.system_error_reports')}}</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<hr style="margin-top: 0;margin-bottom: 0;">
<div class="box-body">
<!-- System Errors (enabled by default) -->
<div class="form-group">
{!! Form::checkbox('system_error',1) !!}
{!! Form::label('system_error',Lang::get('lang.Send_app_crash_reports_to_help_Ladybird_improve_Faveo')) !!}
</div>
</div>
</div>
</div>
</div>
</section>
@stop

View File

@@ -1,10 +1,10 @@
@extends('themes.default1.admin.layout.admin')
@section('Plugin')
@section('Settings')
class="active"
@stop
@section('plugin-bar')
@section('settings-bar')
active
@stop

View File

@@ -24,7 +24,7 @@
<div class="row">
<div class="col-md-6">
{!! Form::model($user,['url'=>'post-profile', 'method' => 'PATCH','files'=>true]) !!}
{!! Form::model($user,['url'=>'client-profile-edit', 'method' => 'PATCH','files'=>true]) !!}
<div class="box box-primary">
@@ -145,7 +145,7 @@
</div>
<div class="col-md-6">
{!! Form::model($user,['url'=>'client-profile-password/'.$user->id , 'method' => 'PATCH']) !!}
{!! Form::model($user,['url'=>'client-profile-password' , 'method' => 'PATCH']) !!}
<div class="box box-primary">

View File

@@ -0,0 +1,8 @@
<script type="text/javascript">
jQuery(document).ready(function(){
// dynamic table
oTable = jQuery('#{!! $id !!}').dataTable(
{!! $options !!}
);
});
</script>

View File

@@ -0,0 +1,27 @@
<table id="{!! $id !!}" class="{!! $class !!}">
<colgroup>
@for ($i = 0; $i < count($columns); $i++)
<col class="con{!! $i !!}" />
@endfor
</colgroup>
<thead>
<tr>
@foreach($columns as $i => $c)
<th align="center" valign="middle" class="head{!! $i !!}">{!! $c !!}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach($data as $d)
<tr>
@foreach($d as $dd)
<td>{!! $dd !!}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
@if (!$noScript)
@include(Config::get('chumper.datatable.table.script_view'), array('id' => $id, 'options' => $options))
@endif