insanelyBlog/themes/murkyhellyeah/components/page.php

8 lines
256 B
PHP
Raw Normal View History

2016-06-18 10:07:35 +02:00
<?php
if ($page->readable())
{
addTitle($page->data['pageTitle']);
echo "<article><div class='content'>".entry_show_all($page->data['pageContent'])."</div></article>";
} else
echo "<h2>$_locale[page_not_found]</h2><p>$_locale[page_not_found_text]</p>";