aowow/template/bricks/book.tpl.php
Sarjuuk 9c7c2e29b5 removing smarty - part V
- added ObjectPage and ObjectsPage
- moved loot-related functions from Util to own class
- moved template-related functions from Util to GenericPage
- removed redundancies from user class
- enabled cache (may need some tweaking but it finally works as it should)
- some bugfixes
2014-06-21 16:46:01 +02:00

13 lines
382 B
PHP

<?php
if (!empty($this->pageText)):
?>
<div class="clear"></div>
<h3><?php echo Lang::$main['content']; ?></h3>
<div id="book-generic"></div>
<script>//<![CDATA[
new Book({ parent: 'book-generic', pages: <?php echo json_encode($this->pageText); ?>})
//]]></script>
<?php
endif;
?>