Add PRE points to templates

This commit is contained in:
Visman 2023-10-24 21:01:38 +07:00
parent 4b48914996
commit 7344002a3a
29 changed files with 271 additions and 1 deletions

View file

@ -1,7 +1,11 @@
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('Info') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE mainBefore -->
<div id="fork-ban" class="f-main">
@if ($p->bannedIp)
<p>{!! __('Your IP is blocked') !!}</p>
@ -17,3 +21,5 @@
@endif
<p>{!! __(['Ban message contact %s', $p->adminEmail]) !!}</p>
</div>
<!-- PRE mainAfter -->
<!-- PRE end -->

View file

@ -1,9 +1,15 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-changepass" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv f-lrdiv">
<h2>{!! __('Change pass') !!}</h2>
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -1,16 +1,26 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->legend) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-sendemail" class="f-post-form">
<!-- PRE mainStart -->
<h2>{!! __('Send email title') !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -21,6 +21,8 @@
@endif
@endsection
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
@if (\is_array($p->model->name))
<h1 id="fork-h1">{!! __($p->model->name) !!}</h1>
@ -31,10 +33,14 @@
<p class="f-fdesc">{!! $p->model->forum_desc !!}</p>
@endif
</div>
<!-- PRE h1After -->
@if ($forums = $p->model->subforums)
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
<!-- PRE subforumsBefore -->
<section id="fork-subforums">
<ol class="f-ftlist">
<li id="id-subforums{{ $p->model->id }}" class="f-category">
@ -50,7 +56,9 @@
</li>
</ol>
</section>
<!-- PRE subforumsAfter -->
@endif
<!-- PRE linksBefore -->
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->canCreateTopic || $p->model->pagination)
@ -66,7 +74,9 @@
</div>
@endif
</div>
<!-- PRE linksAfter -->
@if ($p->topics)
<!-- PRE mainBefore -->
<section id="fork-forum" class="f-main">
<h2>{!! __('Topic list') !!}</h2>
<div class="f-ftlist">
@ -172,6 +182,8 @@
</ol>
</div>
</section>
<!-- PRE mainAfter -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@if ($p->model->canCreateTopic || $p->model->pagination || $p->model->canMarkRead || $p->model->canSubscription)
<div class="f-nlinks-a">
@ -201,12 +213,16 @@
@endif
@yield ('crumbs')
</div>
<!-- PRE linksAfter -->
@endif
@if ($p->enableMod && $form = $p->formMod)
<!-- PRE modBefore -->
<aside id="fork-mod" class="f-moderate">
<h2>{!! __('Moderate') !!}</h2>
<div class="f-fdivm">
@include ('layouts/form')
</div>
</aside>
<!-- PRE modAfter -->
@endif
<!-- PRE end -->

View file

@ -1,8 +1,12 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($p->categoryes)
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('Forum list') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE mainBefore -->
<div class="f-main">
<ol class="f-ftlist">
@foreach ($p->categoryes as $id => $forums)
@ -20,7 +24,9 @@
@endforeach
</ol>
</div>
<!-- PRE mainAfter -->
@if ($p->linkMarkRead)
<!-- PRE linksBefore -->
<div class="f-nav-links">
<div class="f-nlinks">
<div class="f-actions-links">
@ -30,6 +36,10 @@
</div>
</div>
</div>
<!-- PRE linksAfter -->
@endif
@endif
<!-- PRE statsBefore -->
@include ('layouts/stats')
<!-- PRE statsafter -->
<!-- PRE end -->

View file

@ -1,12 +1,19 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->adminHeader) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links f-nav-admin{{ $p->mainSuffix or '' }}-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
<!-- PRE mainBefore -->
<div class="f-main f-main-admin{{ $p->mainSuffix or '' }}">
<!-- PRE menuBefore -->
<div id="fork-a-menu">
@if ($p->aNavigation)
<nav id="fork-a-nav" class="f-menu">
@ -20,7 +27,12 @@
</nav>
@endif
</div>
<!-- PRE menuAfter -->
<!-- PRE contentBefore -->
<div id="forka">
@yield ('content')
</div>
<!-- PRE contentAfter -->
</div>
<!-- PRE mainAfter -->
<!-- PRE end -->

View file

@ -1,7 +1,9 @@
@section ('crumbs')
<!-- PRE start -->
<nav class="f-nav-crumbs">
<ol class="f-crumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
@foreach ($p->crumbs as $cur)
<!-- PRE foreachStart -->
@if (\is_object($cur[0]))
<li class="f-crumb @if ($cur[0]->is_subscribed) f-subscribed @endif" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><!-- inline -->
<a class="f-crumb-a @if ($cur[2]) active" aria-current="page @endif" href="{{ $cur[0]->link }}" itemprop="item">
@ -27,7 +29,9 @@
<meta itemprop="position" content="{!! @iteration !!}">
</li><!-- endinline -->
@endif
<!-- PRE foreachEnd -->
@endforeach
</ol>
</nav>
<!-- PRE end -->
@endsection

View file

@ -1,4 +1,6 @@
<!-- PRE start -->
<aside id="fork-debug">
<!-- PRE inStart -->
<p class="f-sim-header">{!! __('Debug table') !!}</p>
<p id="id-fdebugtime">[ {!! __(['Generated in %1$s, %2$s queries', num(\microtime(true) - $p->start, 3), $p->numQueries]) !!} - {!! __(['Memory %1$s, Peak %2$s', size(\memory_get_usage()), size(\memory_get_peak_usage())]) !!} ]</p>
@if ($p->queries)
@ -23,4 +25,6 @@
</tbody>
</table>
@endif
<!-- PRE inEnd -->
</aside>
<!-- PRE end -->

View file

@ -1,5 +1,7 @@
<!-- PRE start -->
@if ($form['action'])
<form @if ($form['id']) id="{{ $form['id'] }}" @endif class="f-form" method="post" action="{{ $form['action'] }}" @if ($form['enctype']) enctype="{{ $form['enctype'] }}" @endif>
<!-- PRE formStart -->
@endif
@foreach ($form['sets'] as $setKey => $setVal)
@if ($setVal['inform'])
@ -31,6 +33,7 @@
</dt>
<dd>
@switch ($cur['type'])
<!-- PRE switchStart -->
@case ('text')
@case ('email')
@case ('number')
@ -97,6 +100,7 @@
</dd>
</dl>
@break
<!-- PRE switchEnd -->
@endswitch
@endforeach
</fieldset>
@ -116,12 +120,16 @@
@endif
<p class="f-btns">
@foreach ($form['btns'] as $key => $cur)
<!-- PRE btnsForeachStart -->
@if ('submit' === $cur['type'])
<button class="f-btn f-fbtn @if($cur['class']) {{ \implode(' ', $cur['class']) }} @endif" name="{{ $key }}" value="{{ $cur['value'] }}" @isset ($cur['accesskey']) accesskey="{{ $cur['accesskey'] }}" @endisset title="{{ $cur['value'] }}" @if ($cur['disabled']) disabled @endif><span>{{ $cur['value'] }}</span></button>
@elseif ('btn'=== $cur['type'])
<a class="f-btn f-fbtn @if($cur['class']) {{ \implode(' ', $cur['class']) }} @endif" data-name="{{ $key }}" href="{{ $cur['href'] }}" @isset ($cur['accesskey']) accesskey="{{ $cur['accesskey'] }}" @endisset title="{{ $cur['value'] }}"><span>{{ $cur['value'] }}</span></a>
@endif
<!-- PRE btnsForeachEnd -->
@endforeach
</p>
<!-- PRE formEnd -->
</form>
@endif
<!-- PRE end -->

View file

@ -1,4 +1,6 @@
<!-- PRE start -->
<aside class="f-iswev-wrap">
<!-- PRE inStart -->
@if ($iswev[FORK_MESS_INFO])
<div class="f-iswev f-info">
<p class="f-sim-header">Info message:</p>
@ -49,4 +51,6 @@
</ul>
</div>
@endif
<!-- PRE inEnd -->
</aside>
<!-- PRE end -->

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ __('lang_identifier') }}" dir="{{ __('lang_direction') }}">
<head>
<!-- PRE headStart -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{! $p->pageTitle !}}</title>
@ -36,28 +37,39 @@
<{{ $pageHeader['type'] }} @foreach ($pageHeader['values'] as $key => $val) {{ $key }}="{{ $val }}" @endforeach>
@endif
@endforeach
<!-- PRE headEnd -->
</head>
<body>
<!-- PRE bodyStart -->
<div id="fork" class="@if ($p->fNavigation)f-with-nav @endif @if($p->fPMFlash) f-pm-flash @endif">
<!-- PRE headerBefore -->
<header id="fork-header">
<p id="id-fhth1"><a id="id-fhtha" rel="home" href="{{ $p->fRootLink }}">{{ $p->fTitle }}</a></p>
@if ('' != $p->fDescription)
<p id="id-fhtdesc">{!! $p->fDescription !!}</p>
@endif
</header>
<!-- PRE headerAfter -->
<!-- PRE mainBefore -->
<main id="fork-main">
@if ($p->fAnnounce)
<aside id="fork-announce">
<!-- PRE announceStart -->
<p class="f-sim-header">{!! __('Announcement') !!}</p>
<p id="id-facontent">{!! $p->fAnnounce !!}</p>
<!-- PRE announceEnd -->
</aside>
@endif
@if ($iswev = $p->fIswev)
@include ('layouts/iswev')
@endif
<!-- PRE contentBefore -->
@yield ('content')
<!-- PRE contentAfter -->
</main>
<!-- PRE mainAfter -->
@if ($p->fNavigation)
<!-- PRE navBefore -->
<nav id="fork-nav" class="f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
<div id="fork-navdir">
<input id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
@ -114,7 +126,9 @@
@endif
</div>
</nav>
<!-- PRE navAfter -->
@endif
<!-- PRE footerBefore -->
<footer id="fork-footer">
<p class="f-sim-header">{!! __('Board footer') !!}</p>
<div id="fork-footer-in">
@ -130,7 +144,9 @@
</div>
<!-- debuginfo -->
</footer>
<!-- PRE footerAfter -->
</div>
<!-- PRE scriptsBefore -->
@foreach ($p->pageHeaders as $pageHeader)
@if ('script' === $pageHeader['type'])
@empty ($pageHeader['values']['inline'])
@ -140,5 +156,7 @@
@endempty
@endif
@endforeach
<!-- PRE scriptsAfter -->
<!-- PRE bodyEnd -->
</body>
</html>

View file

@ -1,12 +1,19 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->pmHeader) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links f-nav-pm-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
<!-- PRE mainBefore -->
<div class="f-main f-main-pm">
<!-- PRE menuBefore -->
<div id="fork-pm-menu">
@if ($p->pmNavigation)
<nav id="fork-pm-nav" class="f-menu">
@ -38,7 +45,12 @@
</nav>
@endif
</div>
<!-- PRE menuAfter -->
<!-- PRE contentBefore -->
<div id="forkpm">
@yield ('content')
</div>
<!-- PRE contentAfter -->
</div>
<!-- PRE mainAfter -->
<!-- PRE end -->

View file

@ -1,6 +1,9 @@
<!-- PRE start -->
<div class="f-post-poll">
<!-- PRE inStart -->
@if ($poll->canVote)
<form class="f-form" method="post" action="{{ $poll->link }}">
<!-- PRE formStart -->
<input type="hidden" name="token" value="{{ $poll->token }}">
@endif
@foreach ($poll->question as $q => $question)
@ -41,8 +44,11 @@
<p class="f-poll-btns">
<button class="f-btn" name="vote" value="{{ __('Vote') }}" title="{{ __('Vote') }}"><span>{!! __('Vote') !!}</span></button>
</p>
<!-- PRE formEnd -->
</form>
@elseif (null !== $poll->status)
<p class="f-poll-status"><span>{!! __($poll->status) !!}</span></p>
@endif
<!-- PRE inEnd -->
</div>
<!-- PRE end -->

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ __('lang_identifier') }}" dir="{{ __('lang_direction') }}">
<head>
<!-- PRE headStart -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="{{ $p->timeout }}; URL={{ $p->link }}">
@ -16,9 +17,12 @@
<{{ $pageHeader['type'] }} @foreach ($pageHeader['values'] as $key => $val) {{ $key }}="{{ $val }}" @endforeach>
@endif
@endforeach
<!-- PRE headEnd -->
</head>
<body>
<!-- PRE bodyStart -->
<div id="fork">
<!-- PRE mainBefore -->
<main id="fork-main">
<aside id="fork-rdrct" class="f-main">
<h2 id="id-rdrct-h2">{!! __('Redirecting') !!}</h2>
@ -27,9 +31,13 @@
@endif
</aside>
</main>
<!-- PRE mainAfter -->
<!-- PRE footerBefore -->
<footer id="fork-footer">
<!-- debuginfo -->
</footer>
<!-- PRE footerAfter -->
</div>
<!-- PRE bodyEnd -->
</body>
</html>

View file

@ -1,4 +1,6 @@
<!-- PRE start -->
<aside id="fork-stats">
<!-- PRE inStart -->
<p class="f-sim-header">{!! __('Stats info') !!}</p>
@if ($p->stats)
<dl id="fork-stboard">
@ -36,4 +38,6 @@
@endforeach
</dl><!-- endinline -->
@endif
<!-- PRE inEnd -->
</aside>
<!-- PRE end -->

View file

@ -1,25 +1,39 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-login" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv f-lrdiv">
<h2>{!! __('Login') !!}</h2>
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
@if ($form = $p->formOAuth)
<!-- PRE oauthBefore -->
<div id="fork-oauth" class="f-main">
<!-- PRE oauthStart -->
<div class="f-fdiv f-lrdiv">
@include ('layouts/form')
</div>
<!-- PRE oauthEnd -->
</div>
<!-- PRE oauthAfter -->
@endif
@if ($p->regLink)
<!-- PRE lgrgBefore -->
<div id="fork-lgrglnk" class="f-main">
<!-- PRE lgrgStart -->
<div class="f-fdiv f-lrdiv">
<div class="f-btns">
<a class="f-btn f-fbtn" href="{{ $p->regLink }}">{!! __('Not registered') !!}</a>
</div>
</div>
<!-- PRE lgrgEnd -->
</div>
<!-- PRE lgrgAfter -->
@endif
<!-- PRE end -->

View file

@ -1,4 +1,5 @@
@extends ('layouts/main')
<!-- PRE start -->
<div class="f-iswev-wrap">
<section class="f-iswev f-info">
<h2>Info message</h2>
@ -7,3 +8,4 @@
</ul>
</section>
</div>
<!-- PRE end -->

View file

@ -1,6 +1,8 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($p->back)
<div id="fork-bcklnk">
<p id="id-bcklnk-p"><a class="f-go-back" href="{{ $p->fRootLink }}">{!! __('Go back') !!}</a></p>
</div>
@endif
<!-- PRE end -->

View file

@ -1,15 +1,25 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->formTitle) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<div id="fork-modform" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</div>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -1,9 +1,15 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-resetpass" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv f-lrdiv">
<h2>{!! __('Passphrase reset') !!}</h2>
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -1,12 +1,18 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->formTitle) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
@if ($p->previewHtml)
<!-- PRE previewBefore -->
<section class="f-preview">
<h2>{!! __('Post preview') !!}</h2>
<div class="f-post-body">
@ -18,16 +24,22 @@
</div>
</div>
</section>
<!-- PRE previewAfter -->
@endif
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section class="f-post-form">
<!-- PRE mainStart -->
<h2>{!! __($p->formTitle) !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
@if ($p->posts)
<!-- PRE postsBefore -->
<section id="fork-view-posts">
<h2>{!! __($p->postsTitle) !!}</h2>
@foreach ($p->posts as $post)
@ -58,4 +70,6 @@
@endif
@endforeach
</section>
<!-- PRE postsAfter -->
@endif
<!-- PRE end -->

View file

@ -2,9 +2,13 @@
@section ('avatar')<img class="f-avatar-img" src="{{ $p->curUser->avatar }}" alt="{{ $p->curUser->username }}"> @endsection
@section ('signature') @if ($p->signatureSection){!! $p->curUser->htmlSign !!} @endif @endsection
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __(['%s\'s profile', $p->curUser->username]) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->actionBtns)
@ -19,19 +23,29 @@
</div>
@endif
</div>
<!-- PRE linksAfter -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-profile{{ $p->profileIdSuffix or '' }}" class="f-main f-main-profile">
<!-- PRE mainStart -->
<h2>@if ($p->profileHeader === $p->curUser->username){{ $p->profileHeader }} @else{!! __($p->profileHeader) !!} @endif</h2>
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
@if ($form = $p->formOAuth)
<!-- PRE oauthBefore -->
<div id="fork-oauth" class="f-main">
<!-- PRE oauthStart -->
<div class="f-fdiv f-lrdiv">
<h2>{!! __('Add account') !!}</h2>
@include ('layouts/form')
</div>
<!-- PRE oauthEnd -->
</div>
<!-- PRE oauthAfter -->
@endif
<!-- PRE end -->

View file

@ -1,16 +1,26 @@
@extends ('layouts/main')
<!-- PRE start -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<section id="fork-reg" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv f-lrdiv">
<h2>{!! __('Register') !!}</h2>
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</section>
<!-- PRE mainAfter -->
@endif
@if ($form = $p->formOAuth)
<!-- PRE oauthBefore -->
<div id="fork-oauth" class="f-main">
<!-- PRE oauthStart -->
<div class="f-fdiv f-lrdiv">
@include ('layouts/form')
</div>
<!-- PRE oauthEnd -->
</div>
<!-- PRE oauthAfter -->
@endif
<!-- PRE end -->

View file

@ -1,15 +1,25 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('Report post') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<div id="fork-report" class="f-post-form">
<!-- PRE mainStart -->
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</div>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -1,18 +1,30 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('Forum rules') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
<!-- PRE mainBefore -->
<div id="fork-rules" class="f-main">
<div id="id-rules">{!! $p->rules !!}</div>
</div>
<!-- PRE mainAfter -->
@if ($form = $p->form)
<!-- PRE regBefore -->
<div id="fork-rconf" class="f-main">
<!-- PRE regStart -->
<div class="f-fdiv f-lrdiv">
@include ('layouts/form')
</div>
<!-- PRE regEnd -->
</div>
<!-- PRE regAfter -->
@endif
<!-- PRE end -->

View file

@ -1,15 +1,25 @@
@include ('layouts/crumbs')
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('Search') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE crumbsBefore -->
<div class="f-nav-links">
@yield ('crumbs')
</div>
<!-- PRE crumbsAfter -->
@if ($form = $p->form)
<!-- PRE mainBefore -->
<div id="fork-search" class="f-main">
<!-- PRE mainStart -->
<div class="f-fdiv">
@include ('layouts/form')
</div>
<!-- PRE mainEnd -->
</div>
<!-- PRE mainAfter -->
@endif
<!-- PRE end -->

View file

@ -21,9 +21,13 @@
@endif
@endsection
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{{ $p->model->name }}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
@ -45,6 +49,8 @@
</div>
@endif
</div>
<!-- PRE linksAfter -->
<!-- PRE mainBefore -->
<section id="fork-topic" class="f-main">
<h2>{!! __('Post list') !!}</h2>
@foreach ($p->posts as $id => $post)
@ -166,6 +172,8 @@
@endif
@endforeach
</section>
<!-- PRE mainAfter -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@if ($p->model->canReply || $p->model->pagination || $p->model->canSubscription)
<div class="f-nlinks-a">
@ -191,22 +199,30 @@
@endif
@yield ('crumbs')
</div>
<!-- PRE linksAfter -->
@if ($p->enableMod && $form = $p->formMod)
<!-- PRE modBefore -->
<aside id="fork-mod" class="f-moderate">
<h2>{!! __('Moderate') !!}</h2>
<div class="f-fdivm">
@include ('layouts/form')
</div>
</aside>
<!-- PRE modAfter -->
@endif
@if ($p->online)
<!-- PRE statsBefore -->
@include ('layouts/stats')
<!-- PRE statsAfter -->
@endif
@if ($form = $p->form)
<!-- PRE quickBefore -->
<section class="f-post-form">
<h2>{!! __('Quick post') !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')
</div>
</section>
<!-- PRE quickAfter -->
@endif
<!-- PRE end -->

View file

@ -21,9 +21,13 @@
@endif
@endsection
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __($p->model->name) !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->pagination)
@ -32,6 +36,8 @@
</div>
@endif
</div>
<!-- PRE linksAfter -->
<!-- PRE mainBefore -->
<section id="fork-topic-ins" class="f-main">
<h2>{!! __('Post list') !!}</h2>
@foreach ($p->posts as $id => $post)
@ -95,6 +101,8 @@
@endif
@endforeach
</section>
<!-- PRE mainAfter -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@if ($p->model->pagination)
<div class="f-nlinks-a">
@ -103,3 +111,5 @@
@endif
@yield ('crumbs')
</div>
<!-- PRE linksAfter -->
<!-- PRE end -->

View file

@ -21,9 +21,13 @@
@endif
@endsection
@extends ('layouts/main')
<!-- PRE start -->
<!-- PRE h1Before -->
<div class="f-mheader">
<h1 id="fork-h1">{!! __('User list') !!}</h1>
</div>
<!-- PRE h1After -->
<!-- PRE linksBefore -->
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->pagination)
@ -32,8 +36,10 @@
</div>
@endif
</div>
<!-- PRE linksAfter -->
@if ($form = $p->form)
<section id="fork-usrlstform" class="f-main">
<!-- PRE searchBefore -->
<section id="fork-usrlstform" class="f-main">
<h2>{!! __($p->userRules->searchUsers ? 'User search head' : 'User sort head') !!}</h2>
<details>
<summary>{!! __($p->userRules->searchUsers ? 'User search head' : 'User sort head') !!}</summary>
@ -42,8 +48,10 @@
</div>
</details>
</section>
<!-- PRE searchAfter -->
@endif
@if ($p->userList)
<!-- PRE mainBefore -->
<section id="fork-usrlst" class="f-main">
<h2>{!! __('User_list') !!}</h2>
<div class="f-ulist">
@ -96,11 +104,15 @@
</ol>
</div>
</section>
<!-- PRE mainAfter -->
@if ($p->pagination)
<!-- PRE linksBefore -->
<div class="f-nav-links">
<div class="f-nlinks">
@yield ('pagination')
</div>
</div>
<!-- PRE linksAfter -->
@endif
@endif
<!-- PRE end -->