aowow/template/bricks/book.tpl.php
Sarjuuk 08717c36d0 Templates/Listviews
* removed most templates by sensibly restructuring lvTab-data. Util::toJSON() does the rest.
 * taught Util::toJSON() to recognize values prefixed with $ as js-code
 * use Util::toJSON whenever possible
 * misc
   - mail attachments are displyed again
   - always show all currency rewards on Quest-LVs
   - suppress an error, when encountering unused ItemMods
2016-02-11 22:14:42 +01:00

13 lines
366 B
PHP

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