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>
22 lines
549 B
Smarty
22 lines
549 B
Smarty
{strip}
|
|
new Listview({ldelim}
|
|
template:'zone',
|
|
id:'fished-in',
|
|
{if $name}name: LANG.tab_{$name}{/if},
|
|
tabs:tabsRelated,
|
|
parent:'listview-generic',
|
|
hiddenCols: ['instancetype', 'level', 'territory', 'category'],
|
|
extraCols: [Listview.extraCols.percent],
|
|
sort:['-percent', 'name'],
|
|
data:[
|
|
{section name=i loop=$data}
|
|
{ldelim}
|
|
id: '{$data[i].id}',
|
|
name: '{$data[i].name|escape:"quotes"}',
|
|
percent: {$data[i].percent}
|
|
{rdelim}
|
|
{if $smarty.section.i.last}{else},{/if}
|
|
{/section}
|
|
]
|
|
{rdelim});
|
|
{/strip} |