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