alltube/templates/error.tpl
Pierre Rudloff ac8c53375a Easier to maintain template structure
This the head and footer don't have to be included everytime and the hierarchy is easier to read
2022-02-03 21:41:07 +01:00

8 lines
214 B
Smarty

{extends file='page.tpl'}
{block name='main'}
<div class="error">
{include file="inc/logo.tpl"}
<h2>{t}An error occurred{/t}</h2>
<p><i>{$error|escape|nl2br}</i></p>
</div>
{/block}