* create namespace Aowow to avoid naming conflicts * inclues/libs/ is outside of the Aowow namespace
15 lines
393 B
PHP
15 lines
393 B
PHP
<?php namespace Aowow; ?>
|
|
|
|
<?php
|
|
if (!empty($this->pageText)):
|
|
?>
|
|
<div class="clear"></div>
|
|
<h3><?=Lang::item('content'); ?></h3>
|
|
|
|
<div id="book-generic"></div>
|
|
<script>//<![CDATA[
|
|
new Book({ parent: 'book-generic', pages: <?=Util::toJSON($this->pageText); ?>})
|
|
//]]></script>
|
|
<?php
|
|
endif;
|
|
?>
|