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>
14 lines
410 B
Smarty
14 lines
410 B
Smarty
{*
|
||
ШАБЛОН ИНФОРМАЦИИ О ВЕЩЯХ
|
||
Переменные, передаваемые шаблону:
|
||
data - данные для табл
|
||
|
||
Пример вставки модуля в текст:
|
||
{include file='bricks/allitems_table.tpl' data=$allitems}
|
||
*}
|
||
var _ = g_items;
|
||
{strip}
|
||
{foreach from=$data key=id item=item}
|
||
_[{$id}]={ldelim}icon: '{$item.icon}'{rdelim};
|
||
{/foreach}
|
||
{/strip} |