| Line | |
|---|
| 1 | {strip}
|
|---|
| 2 | new Listview({ldelim}
|
|---|
| 3 | template: 'itemset',
|
|---|
| 4 | id: 'itemsets',
|
|---|
| 5 | {if isset($name)}name: LANG.tab_{$name},{/if}
|
|---|
| 6 | {if isset($tabsid)}tabs:{$tabsid},parent:'listview-generic',{/if}
|
|---|
| 7 | data: [
|
|---|
| 8 | {section name=i loop=$data}
|
|---|
| 9 | {ldelim}
|
|---|
| 10 | name: '{$data[i].quality2}{$data[i].name|escape:"quotes"}',
|
|---|
| 11 | {if $data[i].minlevel}minlevel: {$data[i].minlevel},{/if}
|
|---|
| 12 | {if $data[i].maxlevel}maxlevel: {$data[i].maxlevel},{/if}
|
|---|
| 13 | {if $data[i].pieces}pieces:[{section name=j loop=$data[i].pieces}{$data[i].pieces[j]}{if $smarty.section.j.last}{else},{/if}{/section}],{/if}
|
|---|
| 14 | {if isset($data[i].type)}type: {$data[i].type},{/if}
|
|---|
| 15 | id: {$data[i].entry}
|
|---|
| 16 | {rdelim}
|
|---|
| 17 | {if $smarty.section.i.last}{else},{/if}
|
|---|
| 18 | {/section}
|
|---|
| 19 | ]
|
|---|
| 20 | {rdelim});
|
|---|
| 21 | {/strip}
|
|---|
| 22 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.