entry.tpl 1.52 KB
Newer Older
1
{auto_escape off}
2
    <entry>
3
        <title>{$title}</title>
4
        <id>{$id}</id>
5
{if $author}        <author>
6
            <name>{$author}</name>
7
8
        </author>
{/if}
9
10
{if $updated}        <updated>{$updated}</updated>{/if}
{if $created}        <published>{$created}</published>{/if}
11
{if $summary}        <summary{if $summarytype != 'text'} type="{$summarytype}"{/if}>{if $summarytype == 'xhtml'}<div xmlns="http://www.w3.org/1999/xhtml">{/if}{if $summarytype == 'xhtml'}{$summary|clean_html:true|export_leap_rewrite_links|safe}{elseif $summarytype == 'html'}{$summary|clean_html|export_leap_rewrite_links}{else}{$summary}{/if}{if $summarytype == 'xhtml'}</div>{/if}</summary>{/if}
12
        <content{if $contenttype != 'text'} type="{$contenttype}"{/if}>{if $contenttype == 'xhtml'}<div xmlns="http://www.w3.org/1999/xhtml">{/if}{if $contenttype == 'xhtml'}{$content|clean_html:true|export_leap_rewrite_links|safe}{elseif $contenttype == 'html'}{$content|clean_html|export_leap_rewrite_links}{else}{$content}{/if}{if $contenttype == 'xhtml'}</div>{/if}</content>
13
        <rdf:type rdf:resource="leap2:{$leaptype}"/>
14
{if $artefacttype}        <mahara:artefactplugin mahara:type="{$artefacttype}" mahara:plugin="{$artefactplugin}"/>{/if}
15
16
{include file="export:leap:links.tpl"}
{include file="export:leap:categories.tpl"}
17
{foreach from=$dates item=date}
18
        <leap2:date leap2:point="{$date.point}"{if $date.label} leap2:label="{$date.label}"{/if}>{$date.date}</leap2:date>
19
{/foreach}
20
21
22
{if !$skipfooter}
{include file="export:leap:entryfooter.tpl"}
{/if}