mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* distinguish between articles for dbpage and other articles * can be served by url instead of arbitrary picked type/typeId-pair * save access to article in db (not used yet) * serve correct g_pageInfo if on article-page SiteReputation/Privileges * implemented info pages
12 lines
363 B
PHP
12 lines
363 B
PHP
<?php
|
|
if (!empty($this->article)):
|
|
?>
|
|
<div id="article-generic" class="left"></div>
|
|
<script type="text/javascript">//<![CDATA[
|
|
Markup.printHtml("<?=strtr($this->article['text'], ['scr\\"+\\"ipt' => 'scr"+"ipt']);?>", "article-generic", <?=Util::toJSON($this->article['params']);?>);
|
|
//]]></script>
|
|
<div class="pad2"></div>
|
|
<?php
|
|
endif;
|
|
?>
|