|
@@ -1,156 +1,156 @@
|
|
@section ('crumbs')
|
|
@section ('crumbs')
|
|
<ul class="f-crumbs">
|
|
<ul class="f-crumbs">
|
|
- @foreach ($p->crumbs as $cur)
|
|
|
|
|
|
+ @foreach ($p->crumbs as $cur)
|
|
<li class="f-crumb"><!-- inline -->
|
|
<li class="f-crumb"><!-- inline -->
|
|
- @if ($cur[0])
|
|
|
|
|
|
+ @if ($cur[0])
|
|
<a href="{!! $cur[0] !!}" @if ($cur[2]) class="active" @endif>{{ $cur[1] }}</a>
|
|
<a href="{!! $cur[0] !!}" @if ($cur[2]) class="active" @endif>{{ $cur[1] }}</a>
|
|
- @else
|
|
|
|
|
|
+ @else
|
|
<span @if ($cur[2]) class="active" @endif>{{ $cur[1] }}</span>
|
|
<span @if ($cur[2]) class="active" @endif>{{ $cur[1] }}</span>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</li><!-- endinline -->
|
|
</li><!-- endinline -->
|
|
- @endforeach
|
|
|
|
|
|
+ @endforeach
|
|
</ul>
|
|
</ul>
|
|
@endsection
|
|
@endsection
|
|
@section ('linkpost')
|
|
@section ('linkpost')
|
|
- @if ($p->model->canReply || $p->model->closed)
|
|
|
|
|
|
+ @if ($p->model->canReply || $p->model->closed)
|
|
<div class="f-actions-links">
|
|
<div class="f-actions-links">
|
|
- @if ($p->model->closed)
|
|
|
|
|
|
+ @if ($p->model->closed)
|
|
{!! __('Topic closed') !!}
|
|
{!! __('Topic closed') !!}
|
|
- @else
|
|
|
|
|
|
+ @else
|
|
<a class="f-btn f-btn-post-reply" href="{!! $p->model->linkReply !!}">{!! __('Post reply') !!}</a>
|
|
<a class="f-btn f-btn-post-reply" href="{!! $p->model->linkReply !!}">{!! __('Post reply') !!}</a>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
@endsection
|
|
@endsection
|
|
@section ('pagination')
|
|
@section ('pagination')
|
|
- @if ($p->model->pagination)
|
|
|
|
|
|
+ @if ($p->model->pagination)
|
|
<nav class="f-pages">
|
|
<nav class="f-pages">
|
|
- @foreach ($p->model->pagination as $cur)
|
|
|
|
- @if ($cur[2])
|
|
|
|
|
|
+ @foreach ($p->model->pagination as $cur)
|
|
|
|
+ @if ($cur[2])
|
|
<a class="f-page active" href="{!! $cur[0] !!}">{{ $cur[1] }}</a>
|
|
<a class="f-page active" href="{!! $cur[0] !!}">{{ $cur[1] }}</a>
|
|
- @elseif ('info' === $cur[1])
|
|
|
|
|
|
+ @elseif ('info' === $cur[1])
|
|
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
|
<span class="f-pinfo">{!! $cur[0] !!}</span>
|
|
- @elseif ('space' === $cur[1])
|
|
|
|
|
|
+ @elseif ('space' === $cur[1])
|
|
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
|
<span class="f-page f-pspacer">{!! __('Spacer') !!}</span>
|
|
- @elseif ('prev' === $cur[1])
|
|
|
|
|
|
+ @elseif ('prev' === $cur[1])
|
|
<a rel="prev" class="f-page f-pprev" href="{!! $cur[0] !!}">{!! __('Previous') !!}</a>
|
|
<a rel="prev" class="f-page f-pprev" href="{!! $cur[0] !!}">{!! __('Previous') !!}</a>
|
|
- @elseif ('next' === $cur[1])
|
|
|
|
|
|
+ @elseif ('next' === $cur[1])
|
|
<a rel="next" class="f-page f-pnext" href="{!! $cur[0] !!}">{!! __('Next') !!}</a>
|
|
<a rel="next" class="f-page f-pnext" href="{!! $cur[0] !!}">{!! __('Next') !!}</a>
|
|
- @else
|
|
|
|
|
|
+ @else
|
|
<a class="f-page" href="{!! $cur[0] !!}">{{ $cur[1] }}</a>
|
|
<a class="f-page" href="{!! $cur[0] !!}">{{ $cur[1] }}</a>
|
|
- @endif
|
|
|
|
- @endforeach
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @endforeach
|
|
</nav>
|
|
</nav>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
@endsection
|
|
@endsection
|
|
@extends ('layouts/main')
|
|
@extends ('layouts/main')
|
|
<div class="f-nav-links">
|
|
<div class="f-nav-links">
|
|
@yield ('crumbs')
|
|
@yield ('crumbs')
|
|
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
|
|
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
|
|
<div class="f-nlinks-b">
|
|
<div class="f-nlinks-b">
|
|
- @yield ('pagination')
|
|
|
|
- @yield ('linkpost')
|
|
|
|
|
|
+ @yield ('pagination')
|
|
|
|
+ @yield ('linkpost')
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<section class="f-main f-topic">
|
|
<section class="f-main f-topic">
|
|
<h2>{{ cens($p->model->subject) }}</h2>
|
|
<h2>{{ cens($p->model->subject) }}</h2>
|
|
@foreach ($p->posts as $id => $post)
|
|
@foreach ($p->posts as $id => $post)
|
|
- @if (empty($post->id) && $iswev = ['e' => [__('Message %s was not found in the database', $id)]])
|
|
|
|
- @include ('layouts/iswev')
|
|
|
|
- @else
|
|
|
|
- <article id="p{!! $post->id !!}" class="f-post @if ($post->user->gender == 1) f-user-male @elseif ($post->user->gender == 2) f-user-female @endif @if ($post->user->online) f-user-online @endif @if (1 === $post->postNumber) f-post-first @endif">
|
|
|
|
|
|
+ @if (empty($post->id) && $iswev = ['e' => [__('Message %s was not found in the database', $id)]])
|
|
|
|
+ @include ('layouts/iswev')
|
|
|
|
+ @else
|
|
|
|
+ <article id="p{!! $post->id !!}" class="f-post @if (1 == $post->user->gender) f-user-male @elseif (2 == $post->user->gender) f-user-female @endif @if ($post->user->online) f-user-online @endif @if (1 === $post->postNumber) f-post-first @endif">
|
|
<header class="f-post-header clearfix">
|
|
<header class="f-post-header clearfix">
|
|
<h3>@if ($post->postNumber > 1) {!! __('Re') !!} @endif {{ cens($p->model->subject) }}</h3>
|
|
<h3>@if ($post->postNumber > 1) {!! __('Re') !!} @endif {{ cens($p->model->subject) }}</h3>
|
|
<span class="f-post-posted"><a href="{!! $post->link !!}" rel="bookmark"><time datetime="{{ utc($post->posted) }}">{{ dt($post->posted) }}</time></a></span>
|
|
<span class="f-post-posted"><a href="{!! $post->link !!}" rel="bookmark"><time datetime="{{ utc($post->posted) }}">{{ dt($post->posted) }}</time></a></span>
|
|
- @if ($post->edited)
|
|
|
|
|
|
+ @if ($post->edited)
|
|
<span class="f-post-edited" title="{!! __('Last edit', $post->edited_by, dt($post->edited)) !!}">{!! __('Edited') !!}</span>
|
|
<span class="f-post-edited" title="{!! __('Last edit', $post->edited_by, dt($post->edited)) !!}">{!! __('Edited') !!}</span>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
<span class="f-post-number">#{!! $post->postNumber !!}</span>
|
|
<span class="f-post-number">#{!! $post->postNumber !!}</span>
|
|
</header>
|
|
</header>
|
|
<div class="f-post-body clearfix">
|
|
<div class="f-post-body clearfix">
|
|
<address class="f-post-left">
|
|
<address class="f-post-left">
|
|
<ul class="f-user-info">
|
|
<ul class="f-user-info">
|
|
- @if ($p->user->viewUsers && $post->user->link)
|
|
|
|
|
|
+ @if ($p->user->viewUsers && $post->user->link)
|
|
<li class="f-username"><a href="{!! $post->user->link !!}">{{ $post->user->username }}</a></li>
|
|
<li class="f-username"><a href="{!! $post->user->link !!}">{{ $post->user->username }}</a></li>
|
|
- @else
|
|
|
|
|
|
+ @else
|
|
<li class="f-username">{{ $post->user->username }}</li>
|
|
<li class="f-username">{{ $post->user->username }}</li>
|
|
- @endif
|
|
|
|
- @if ($p->user->showAvatar && $post->user->avatar)
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if ($p->user->showAvatar && $post->user->avatar)
|
|
<li class="f-avatar">
|
|
<li class="f-avatar">
|
|
<img alt="{{ $post->user->username }}" src="{!! $post->user->avatar !!}">
|
|
<img alt="{{ $post->user->username }}" src="{!! $post->user->avatar !!}">
|
|
</li>
|
|
</li>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
<li class="f-usertitle">{{ $post->user->title() }}</li>
|
|
<li class="f-usertitle">{{ $post->user->title() }}</li>
|
|
- @if ($p->user->showUserInfo && $p->user->showPostCount && $post->user->num_posts)
|
|
|
|
|
|
+ @if ($p->user->showUserInfo && $p->user->showPostCount && $post->user->num_posts)
|
|
<li class="f-postcount">{!! __('%s post', $post->user->num_posts, num($post->user->num_posts)) !!}</li>
|
|
<li class="f-postcount">{!! __('%s post', $post->user->num_posts, num($post->user->num_posts)) !!}</li>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</ul>
|
|
</ul>
|
|
- @if (! $post->user->isGuest && $p->user->showUserInfo)
|
|
|
|
|
|
+ @if (! $post->user->isGuest && $p->user->showUserInfo)
|
|
<ul class="f-user-info-add">
|
|
<ul class="f-user-info-add">
|
|
<li>{!! __('Registered:') !!} {{ dt($post->user->registered, true) }}</li>
|
|
<li>{!! __('Registered:') !!} {{ dt($post->user->registered, true) }}</li>
|
|
- @if ($post->user->location)
|
|
|
|
|
|
+ @if ($post->user->location)
|
|
<li>{!! __('From') !!} {{ cens($post->user->location) }}</li>
|
|
<li>{!! __('From') !!} {{ cens($post->user->location) }}</li>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</ul>
|
|
</ul>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</address>
|
|
</address>
|
|
<div class="f-post-right f-post-main">
|
|
<div class="f-post-right f-post-main">
|
|
{!! $post->html() !!}
|
|
{!! $post->html() !!}
|
|
</div>
|
|
</div>
|
|
- @if ($p->user->showSignature && '' != $post->user->signature)
|
|
|
|
|
|
+ @if ($p->user->showSignature && '' != $post->user->signature)
|
|
<div class="f-post-right f-post-signature">
|
|
<div class="f-post-right f-post-signature">
|
|
<hr>
|
|
<hr>
|
|
{!! $post->user->htmlSign !!}
|
|
{!! $post->user->htmlSign !!}
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
<footer class="f-post-footer clearfix">
|
|
<footer class="f-post-footer clearfix">
|
|
<div class="f-post-left">
|
|
<div class="f-post-left">
|
|
- @if (! $post->user->isGuest)
|
|
|
|
|
|
+ @if (! $post->user->isGuest)
|
|
<span class="f-userstatus">{!! __($post->user->online ? 'Online' : 'Offline') !!}</span>
|
|
<span class="f-userstatus">{!! __($post->user->online ? 'Online' : 'Offline') !!}</span>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
- @if ($post->canReport || $post->canDelete || $post->canEdit || $post->canQuote)
|
|
|
|
|
|
+ @if ($post->canReport || $post->canDelete || $post->canEdit || $post->canQuote)
|
|
<div class="f-post-right">
|
|
<div class="f-post-right">
|
|
<ul>
|
|
<ul>
|
|
- @if ($post->canReport)
|
|
|
|
|
|
+ @if ($post->canReport)
|
|
<li class="f-postreport"><a class="f-btn f-minor" href="{!! $post->linkReport !!}">{!! __('Report') !!}</a></li>
|
|
<li class="f-postreport"><a class="f-btn f-minor" href="{!! $post->linkReport !!}">{!! __('Report') !!}</a></li>
|
|
- @endif
|
|
|
|
- @if ($post->canDelete)
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if ($post->canDelete)
|
|
<li class="f-postdelete"><a class="f-btn" href="{!! $post->linkDelete !!}">{!! __('Delete') !!}</a></li>
|
|
<li class="f-postdelete"><a class="f-btn" href="{!! $post->linkDelete !!}">{!! __('Delete') !!}</a></li>
|
|
- @endif
|
|
|
|
- @if ($post->canEdit)
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if ($post->canEdit)
|
|
<li class="f-postedit"><a class="f-btn" href="{!! $post->linkEdit !!}">{!! __('Edit') !!}</a></li>
|
|
<li class="f-postedit"><a class="f-btn" href="{!! $post->linkEdit !!}">{!! __('Edit') !!}</a></li>
|
|
- @endif
|
|
|
|
- @if ($post->canQuote)
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if ($post->canQuote)
|
|
<li class="f-postquote"><a class="f-btn" href="{!! $post->linkQuote !!}">{!! __('Quote') !!}</a></li>
|
|
<li class="f-postquote"><a class="f-btn" href="{!! $post->linkQuote !!}">{!! __('Quote') !!}</a></li>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</footer>
|
|
</footer>
|
|
</article>
|
|
</article>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
@endforeach
|
|
@endforeach
|
|
</section>
|
|
</section>
|
|
<div class="f-nav-links">
|
|
<div class="f-nav-links">
|
|
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
|
|
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
|
|
<div class="f-nlinks-a">
|
|
<div class="f-nlinks-a">
|
|
- @yield ('linkpost')
|
|
|
|
- @yield ('pagination')
|
|
|
|
|
|
+ @yield ('linkpost')
|
|
|
|
+ @yield ('pagination')
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@yield ('crumbs')
|
|
@yield ('crumbs')
|
|
</div>
|
|
</div>
|
|
@if ($p->online)
|
|
@if ($p->online)
|
|
- @include ('layouts/stats')
|
|
|
|
|
|
+ @include ('layouts/stats')
|
|
@endif
|
|
@endif
|
|
@if ($form = $p->form)
|
|
@if ($form = $p->form)
|
|
<section class="f-post-form">
|
|
<section class="f-post-form">
|
|
<h2>{!! __('Quick post') !!}</h2>
|
|
<h2>{!! __('Quick post') !!}</h2>
|
|
<div class="f-fdiv">
|
|
<div class="f-fdiv">
|
|
- @include ('layouts/form')
|
|
|
|
|
|
+ @include ('layouts/form')
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
@endif
|
|
@endif
|