git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: promote news article class to represent all pages
[minimedit.git]
/
page.php
diff --git
a/page.php
b/page.php
index 894efc003cc2671014e5115b2012870a4c55da2e..fb39f5143dfcd68f56aeb9ea07f5025e1ed29b74 100644
(file)
--- a/
page.php
+++ b/
page.php
@@
-165,6
+165,9
@@
elseif ($User and $User->admin) {
# load static contents
+require_once('article.inc.php');
+$Article = new ArchiveArticle($staticpage);
+
ob_start(); # page body
ob_start(); # inner html
print '<div class="static">'."\n\n";