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>
12 lines
401 B
Smarty
12 lines
401 B
Smarty
{strip}
|
|
new Listview({ldelim}template: 'faction', id: 'factions', data: [
|
|
{section name=i loop=$data}
|
|
{ldelim}
|
|
id: {$data[i].entry},
|
|
name: '{$data[i].name|escape:"quotes"}'
|
|
{if isset($data[i].group)},group: '{$data[i].group|escape:"quotes"}'{/if}
|
|
{if isset($data[i].side)},side: '{$data[i].side|escape:"quotes"}'{/if}
|
|
{rdelim}{if $smarty.section.i.last}{else},{/if}
|
|
{/section}
|
|
]{rdelim});
|
|
{/strip} |