summaryrefslogtreecommitdiff
path: root/templates/edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit.tpl')
-rwxr-xr-xtemplates/edit.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/edit.tpl b/templates/edit.tpl
index ca3b9cb..9caf1d9 100755
--- a/templates/edit.tpl
+++ b/templates/edit.tpl
@@ -99,16 +99,14 @@
{/legend}
- {if $gContent->mInfo.contact_xref_groups && $gContent->isValid()}
+ {if $gXrefInfo->mGroups && $gContent->isValid()}
{jstabs}
- {section name=xrefGroup loop=$gContent->mInfo.contact_xref_groups}
- {include file=$gContent->getXrefListTemplate($gContent->mInfo.contact_xref_groups[xrefGroup].template)
- source=$gContent->mInfo.contact_xref_groups[xrefGroup].source
- source_title=$gContent->mInfo.contact_xref_groups[xrefGroup].title
- group=$gContent->mInfo.contact_xref_groups[xrefGroup].sort_order
+ {foreach $gXrefInfo->mGroups as $xrefGroup}
+ {include file=$gContent->getXrefListTemplate($xrefGroup->mTemplate)
+ xrefGroup=$xrefGroup
allow_add=true
allow_edit=true}
- {/section}
+ {/foreach}
{/jstabs}
{/if}