Admin part: home and teams part done
This commit is contained in:
parent
568a6beef0
commit
166be860c8
11 changed files with 249 additions and 54 deletions
19
onyx/tpl/bootstrap/admin/export_teams.tpl
Normal file
19
onyx/tpl/bootstrap/admin/export_teams.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<teams>
|
||||
{foreach from=$teams item=t}
|
||||
<team>
|
||||
<name>{$t->team_name}</name>
|
||||
{if $t->slogan}<slogan>{$t->slogan}</slogan>{/if}
|
||||
{if $t->get_members()}
|
||||
{foreach from=$t->get_members() item=m}
|
||||
<member>
|
||||
<lastname>{$m->lastname}</lastname>
|
||||
<firstname>{$m->firstname}</firstname>
|
||||
{if $m->nickname}<nickname>{$m->nickname}</nickname>{/if}
|
||||
{if $m->company}<company>{$m->company}</company>{/if}
|
||||
</member>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</team>
|
||||
{/foreach}
|
||||
</teams>
|
||||
Reference in a new issue