update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
@@ -66,7 +66,7 @@ class = "active"
|
||||
$article = $article->where('status', '1');
|
||||
}
|
||||
$article = $article->where('type', '1');
|
||||
$article = $article->get();
|
||||
$article = $article->orderBy('publish_time','desc')->get();
|
||||
?>
|
||||
@forelse($article as $arti)
|
||||
<li>
|
||||
@@ -77,7 +77,7 @@ class = "active"
|
||||
$str = $arti->description;
|
||||
$len = strlen($str);
|
||||
|
||||
$excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 50);
|
||||
$excerpt = App\Http\Controllers\Client\kb\UserController::getExcerpt($str, $startPos = 0, $maxLength = 20);
|
||||
?>
|
||||
{!! strip_tags($excerpt) !!} <br/><a class="more-link text-center" href="{{url('show/'.$arti->slug)}}" style="color: orange">{!! Lang::get('lang.read_more') !!}</a>
|
||||
</li>
|
||||
|
@@ -1,14 +1,4 @@
|
||||
@extends('themes.default1.client.layout.client')
|
||||
@section('breadcrumb')
|
||||
<div class="site-hero clearfix">
|
||||
|
||||
<ol class="breadcrumb breadcrumb-custom">
|
||||
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
|
||||
<li class="active">{{$page->name}}</li>
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
@stop
|
||||
@section('content')
|
||||
|
||||
<!-- Start of Page Container -->
|
||||
|
Reference in New Issue
Block a user