aowow/template/bricks/book.tpl.php
Sarjuuk 3a6c86092b Core/Compat
* create namespace Aowow to avoid naming conflicts
 * inclues/libs/ is outside of the Aowow namespace
2025-04-01 22:32:37 +02:00

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;
?>