Commit 2e3e92ce authored by Nigel McNie's avatar Nigel McNie

Some whitespace cleanups after smarty->dwoo migration for leap export.

It's no where near as good as it was.. sigh.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent ee73ce1e
......@@ -3,4 +3,3 @@
<email>{$email}</email>
<uri>portfolio:artefactinternal</uri>
</author>
{foreach from=$categories item=category}
<category term="{$category.term|escape}"{if $category.scheme} scheme="categories:{$category.scheme|escape}#"{/if}{if $category.label && $category.label != $category.term} label="{$category.label|escape}"{/if}/>
{foreach from=$categories item=category} <category term="{$category.term|escape}"{if $category.scheme} scheme="categories:{$category.scheme|escape}#"{/if}{if $category.label && $category.label != $category.term} label="{$category.label|escape}"{/if}/>
{/foreach}
{include file="export:leap:entryheader.tpl"}
<entry>
<title>{$title|escape}</title>
<id>{$id}</id>
{if $author} <author>
<name>{$author|display_name|escape}</name>
</author>
{/if}
{if $updated} <updated>{$updated}</updated>
{/if}
{if $created} <published>{$created}</published>
{/if}
{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|export_leap_rewrite_links}{elseif $summarytype == 'html'}{$summary|clean_html|export_leap_rewrite_links|escape}{else}{$summary|escape}{/if}{if $summarytype == 'xhtml'}</div>{/if}</summary>
{/if}
{if $updated} <updated>{$updated}</updated>{/if}
{if $created} <published>{$created}</published>{/if}
{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|export_leap_rewrite_links}{elseif $summarytype == 'html'}{$summary|clean_html|export_leap_rewrite_links|escape}{else}{$summary|escape}{/if}{if $summarytype == 'xhtml'}</div>{/if}</summary>{/if}
<content{if $contenttype != 'text'} type="{$contenttype|escape}"{/if}{if $contentsrc} src="{$contentsrc|escape}"{/if}>{if $contenttype == 'xhtml'}<div xmlns="http://www.w3.org/1999/xhtml">{/if}{if $contenttype == 'xhtml'}{$content|clean_html|export_leap_rewrite_links}{elseif $contenttype == 'html'}{$content|clean_html|export_leap_rewrite_links|escape}{else}{$content|escape}{/if}{if $contenttype == 'xhtml'}</div>{/if}</content>
<rdf:type rdf:resource="leaptype:{$leaptype}"/>
{if $artefacttype} <mahara:artefactplugin mahara:type="{$artefacttype}" mahara:plugin="{$artefactplugin}"/>
{/if}
{if $artefacttype} <mahara:artefactplugin mahara:type="{$artefacttype}" mahara:plugin="{$artefactplugin}"/>{/if}
{include file="export:leap:links.tpl"}
{include file="export:leap:categories.tpl"}
{if !$skipfooter}
......
{foreach from=$links item=link}
<link rel="{$link->type|escape}" href="{$link->id|escape}"{if $link->display_order} leap:display_order="{$link->display_order|escape}"{/if}/>
{foreach from=$links item=link} <link rel="{$link->type|escape}" href="{$link->id|escape}"{if $link->display_order} leap:display_order="{$link->display_order|escape}"{/if}/>
{/foreach}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment