New plugin loader, page features, API0.2b, Bugfixes
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
if ($page->readable())
|
||||
{
|
||||
addTitle($page->data['pageTitle']);
|
||||
echo "<article><div class='content'>".entry_show_all($page->data['pageContent'])."</div></article>";
|
||||
} else
|
||||
<?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>";
|
Reference in New Issue
Block a user