* create namespace Aowow to avoid naming conflicts * inclues/libs/ is outside of the Aowow namespace
13 lines
390 B
PHP
13 lines
390 B
PHP
<?php namespace Aowow; ?>
|
|
|
|
<?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;
|
|
?>
|