UNPKG

kityminder

Version:
34 lines 1.28 kB
{strip} <topic id="{$topic['meta']['id']}" {if $clazz==true}structure-class="org.xmind.ui.map.clockwise" {/if} timestamp="{$topic['meta']['timestamp']}"> {if isset($topic['data']['text'])} <title>{$topic['data']['text']|default:''}</title> {/if} {if isset($topic['data']['priority']) || isset($topic['data']['progress'])} <marker-refs> {if isset($topic['data']['priority'])} <marker-ref marker-id="priority-{$topic['data']['priority']}"/> {/if} {if isset($topic['data']['progress'])} <marker-ref marker-id="{$topic['data']['progress']}"/> {/if} </marker-refs> {/if} {if isset($topic['data']['image'])} <xhtml:img svg:height="{$topic['data']['imageSize']['height']}" svg:width="{$topic['data']['imageSize']['width']}" xhtml:src="xap:{$topic['data']['image']['filepath']}"/> {/if} {if isset( $topic['children'] )} <children> <topics type="attached"> {foreach $topic['children'] as $t} {include file="xmind/topic.xml" topic=$t clazz=false} {/foreach} </topics> </children> {/if} {if isset($topic['data']['resource'])} <labels> <label>{$topic['data']['resource']}</label> </labels> {/if} </topic> {/strip}