Commit 082e517b authored by Nigel McNie's avatar Nigel McNie
Browse files

Output custom tags to represent the view config for Views.

We will read this information at import time to recreate the View.

Other systems will be able to generate and parse this structure too, so
we're not doing anything evil.
Signed-off-by: default avatarNigel McNie <>
parent 56d48ca5
{include file="export:leap:entry.tpl" skipfooter=true}
{if $ownerformat} <mahara:ownerformat>{$ownerformat|escape}</mahara:ownerformat>
{foreach from=$viewdata item=column}
{foreach from=$column item=blockinstance}
<mahara:blockinstance mahara:blocktype="{$blockinstance.blocktype|escape}" mahara:blocktitle="{$blockinstance.title|escape}">
{foreach from=$blockinstance.config key=fieldname item=fieldvalue}
{include file="export:leap:entryfooter.tpl"}
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