Imported AoWoW.
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>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{strip}
|
||||
var lv_comments = [
|
||||
{foreach name=foo from=$comments key=number item=comment}
|
||||
{ldelim}
|
||||
number:{$comment.number},
|
||||
user:'{$comment.user}',
|
||||
body:'{$comment.body|escape:"javascript"}',
|
||||
date:'{$comment.date|date_format:"%Y/%m/%d %H:%M:%S"}',
|
||||
{if $comment.roles!=0}
|
||||
roles: {$comment.roles},
|
||||
{/if}
|
||||
{if $comment.indent!=0}
|
||||
indent: {$comment.indent},
|
||||
{/if}
|
||||
rating: {$comment.rating},
|
||||
replyTo: {$comment.replyto},
|
||||
purged: {$comment.purged},
|
||||
deleted:0,
|
||||
raters:[{foreach name=foo2 key=id from=$comment.raters item=rater}[{$rater.userid},{$rater.rate}]{if $smarty.foreach.foo2.last}{else},{/if}{/foreach}],
|
||||
id:{$comment.id}
|
||||
{rdelim}
|
||||
{if $smarty.foreach.foo.last}{else},{/if}
|
||||
{/foreach}
|
||||
];
|
||||
{/strip}
|
||||
Reference in New Issue
Block a user