This version of AoWoW is based on https://github.com/udw/udwbase and is not yet usable. An initial amount of testing has been finished, and you can import the aowow.sql database into your world database, and create a local copy of config.php.in as config.php to test this version. FirePHP (http://firephp.org/) has been added for testing purposes. Signed-off-by: TheLuda <theluda@getmangos.com>
42 lines
1.1 KiB
Smarty
42 lines
1.1 KiB
Smarty
{config_load file="$conf_file"}
|
|
{include file='header.tpl'}
|
|
|
|
<div id="main">
|
|
<div id="main-precontents"></div>
|
|
<div id="main-contents" class="main-contents">
|
|
<script type="text/javascript">
|
|
g_initPath({$page.path})
|
|
</script>
|
|
<div class="text">
|
|
<div class="h1-links"></div>
|
|
<h1>{#Latest_Comments#}</h1>
|
|
</div>
|
|
<div id="lv-comments" class="listview"></div>
|
|
<script type="text/javascript">
|
|
{strip}
|
|
new Listview({ldelim}template: 'commentpreview', id: 'comments', data: [
|
|
{foreach name=foo from=$comments key=number item=comment}
|
|
{ldelim}
|
|
id:{$comment.id},
|
|
type:{$comment.type},
|
|
typeId:{$comment.typeID},
|
|
subject:'{$comment.subject|escape:"javascript"}',
|
|
preview:'{$comment.preview|escape:"javascript"}',
|
|
user:'{$comment.user|escape:"javascript"}',
|
|
rating: {$comment.rating},
|
|
date:'{$comment.date|date_format:"%Y/%m/%d %H:%M:%S"}',
|
|
elapsed:{$comment.elapsed},
|
|
purged: {$comment.purged},
|
|
deleted:0
|
|
{rdelim}
|
|
{if $smarty.foreach.foo.last}{else},{/if}
|
|
{/foreach}
|
|
]{rdelim});
|
|
{/strip}
|
|
</script>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
{include file='footer.tpl'}
|