Files
aowow/template/pages/compare.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

30 lines
815 B
PHP

<?php $this->brick('header'); ?>
<div class="main" id="main">
<div class="main-precontents" id="main-precontents"></div>
<div class="main-contents" id="main-contents">
<?php
$this->brick('announcement');
$this->brick('pageTemplate');
?>
<div class="text">
<div id="compare-generic"></div>
<script type="text/javascript">//<![CDATA[
<?php
foreach ($this->cmpItems as $iId => $iData):
echo ' g_items.add('.$iId.', '.Util::toJSON($iData).");\n";
endforeach;
?>
new Summary(<?=Util::toJSON($this->summary); ?>);
//]]></script>
</div>
<div class="clear"></div>
</div><!-- main-contents -->
</div><!-- main -->
<?php $this->brick('footer'); ?>