Basic functionality
This commit is contained in:
10
app/modules/Front/Error4xx/Error4xxPresenter.php
Executable file
10
app/modules/Front/Error4xx/Error4xxPresenter.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php declare(strict_types = 1);
|
||||
|
||||
namespace App\Modules\Front\Error4xx;
|
||||
|
||||
use App\Modules\Base\BaseError4xxPresenter;
|
||||
|
||||
final class Error4xxPresenter extends BaseError4xxPresenter
|
||||
{
|
||||
|
||||
}
|
||||
7
app/modules/Front/Error4xx/templates/403.latte
Executable file
7
app/modules/Front/Error4xx/templates/403.latte
Executable file
@@ -0,0 +1,7 @@
|
||||
{block #content}
|
||||
<h1 n:block=title>Access Denied</h1>
|
||||
|
||||
<p>You do not have permission to view this page. Please try contact the web
|
||||
site administrator if you believe you should be able to view this page.</p>
|
||||
|
||||
<p><small>error 403</small></p>
|
||||
8
app/modules/Front/Error4xx/templates/404.latte
Executable file
8
app/modules/Front/Error4xx/templates/404.latte
Executable file
@@ -0,0 +1,8 @@
|
||||
{block #content}
|
||||
<h1 n:block=title>Page Not Found</h1>
|
||||
|
||||
<p>The page you requested could not be found. It is possible that the address is
|
||||
incorrect, or that the page no longer exists. Please use a search engine to find
|
||||
what you are looking for.</p>
|
||||
|
||||
<p><small>error 404</small></p>
|
||||
6
app/modules/Front/Error4xx/templates/405.latte
Executable file
6
app/modules/Front/Error4xx/templates/405.latte
Executable file
@@ -0,0 +1,6 @@
|
||||
{block #content}
|
||||
<h1 n:block=title>Method Not Allowed</h1>
|
||||
|
||||
<p>The requested method is not allowed for the URL.</p>
|
||||
|
||||
<p><small>error 405</small></p>
|
||||
6
app/modules/Front/Error4xx/templates/410.latte
Executable file
6
app/modules/Front/Error4xx/templates/410.latte
Executable file
@@ -0,0 +1,6 @@
|
||||
{block #content}
|
||||
<h1 n:block=title>Page Not Found</h1>
|
||||
|
||||
<p>The page you requested has been taken off the site. We apologize for the inconvenience.</p>
|
||||
|
||||
<p><small>error 410</small></p>
|
||||
4
app/modules/Front/Error4xx/templates/4xx.latte
Executable file
4
app/modules/Front/Error4xx/templates/4xx.latte
Executable file
@@ -0,0 +1,4 @@
|
||||
{block #content}
|
||||
<h1 n:block=title>Oops...</h1>
|
||||
|
||||
<p>Your browser sent a request that this server could not understand or process.</p>
|
||||
Reference in New Issue
Block a user