TheLuda 947f95fb20 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>
2011-09-25 20:57:24 +02:00

21 lines
797 B
Smarty

{*
ШАБЛОН ТАБЛИЦ
Переменные, передаваемые шаблону:
id - идентификатор/тип табл
name - название табл
tabsid - идентификатор вкладок
data - данные для табл
Пример вставки модуля в текст:
{include file='bricks/table.tpl' id='dropped-by' tabsid='tabsRelated' data=$droppedby name=#droppedby#}
*}
<div id="tabs-generic"></div>
<div id="listview-generic" class="listview"></div>
<script type="text/javascript">
var {$tabsid} = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
{section name=k loop=$data}
{include file=$data[k].file id=$data[k].id tabsid=$tabsid data=$data[k].data name=$data[k].name}
{/section}
tabsRelated.flush();
</script>