- 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
13 lines
382 B
PHP
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;
|
|
?>
|