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,56 @@
|
||||
{strip}
|
||||
new Listview({ldelim}
|
||||
template:'quest',
|
||||
id:'{$id}',
|
||||
{if isset($name)}name: LANG.tab_{$name},{/if}
|
||||
{if isset($tabsid)}tabs:{$tabsid},parent:'listview-generic',{/if}
|
||||
data:[
|
||||
{section name=i loop=$data}
|
||||
{ldelim}
|
||||
id: '{$data[i].entry}',
|
||||
name: '{$data[i].Title|escape:"quotes"}',
|
||||
level: '{$data[i].QuestLevel}',
|
||||
{if ($data[i].MinLevel)}
|
||||
reqlevel:{$data[i].MinLevel},
|
||||
{/if}
|
||||
side: '{$data[i].side.side}'
|
||||
{if isset($data[i].itemrewards)}
|
||||
,itemrewards:[
|
||||
{section name=j loop=$data[i].itemrewards}
|
||||
[{$data[i].itemrewards[j].entry},{$data[i].itemrewards[j].count}]
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{/if}
|
||||
{if isset($data[i].itemchoices)}
|
||||
,itemchoices:[
|
||||
{section name=j loop=$data[i].itemchoices}
|
||||
[{$data[i].itemchoices[j].entry},{$data[i].itemchoices[j].count}]
|
||||
{if $smarty.section.j.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{/if}
|
||||
{if isset($data[i].xp)}
|
||||
,xp:{$data[i].xp}
|
||||
{/if}
|
||||
{if isset($data[i].money)}
|
||||
,money:{$data[i].money}
|
||||
{/if}
|
||||
{if isset($data[i].category)}
|
||||
,category:{$data[i].category}
|
||||
{/if}
|
||||
{if isset($data[i].maincat)}
|
||||
,category2:{$data[i].maincat}
|
||||
{/if}
|
||||
{if isset($data[i].type)}
|
||||
,type:{$data[i].type}
|
||||
{/if}
|
||||
{if isset($data[i].Daily)}
|
||||
,daily: 1
|
||||
{/if}
|
||||
{rdelim}
|
||||
{if $smarty.section.i.last}{else},{/if}
|
||||
{/section}
|
||||
]
|
||||
{rdelim});
|
||||
{/strip}
|
||||
Reference in New Issue
Block a user