summaryrefslogtreecommitdiff
path: root/templates/list_xref_generic.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list_xref_generic.tpl')
-rwxr-xr-xtemplates/list_xref_generic.tpl50
1 files changed, 0 insertions, 50 deletions
diff --git a/templates/list_xref_generic.tpl b/templates/list_xref_generic.tpl
deleted file mode 100755
index aeeff7c..0000000
--- a/templates/list_xref_generic.tpl
+++ /dev/null
@@ -1,50 +0,0 @@
-{* if isset( $gContent->mInfo.$source ) *}
- {assign var=xrefcnt value=$gContent->mInfo.$source|default:[]|@count}
- {jstab title="$source_title ($xrefcnt)"}
- {legend legend=$source_title}
- <div class="form-group table-responsive">
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Link</th>
- <th>Data</th>
- <th>Note</th>
- {if $source ne 'history' }
- <th>Started</th>
- {else}
- <th>Ended</th>
- {/if}
- </td>
- {if $gBitSystem->isFeatureActive( 'contact_list_last_modified' )}
- <th>Updated</th>
- {/if}
- <th>Edit</th>
- </tr>
- </thead>
- <tbody>
- {section name=xref loop=$gContent->mInfo.$source}
- {assign var=_rowTpl value=$gContent->mInfo.$source[xref].template}
- <tr class="{cycle values="even,odd"}" title="{$gContent->mInfo.title|escape}">
- {include file=$gContent->getXrefRecordTemplate($_rowTpl)}
- </tr>
- {sectionelse}
- <tr class="norecords">
- <td colspan="3">
- {tr}No {$source} records found{/tr}
- </td>
- </tr>
- {/section}
- </tbody>
- </table>
- </div>
- {if $gBitUser->hasPermission('p_contact_update')}
- <div>
- {if $source ne 'history' }
- {smartlink ititle="Add additional detail record" ifile="add_xref.php" biticon="list-add" content_id=$gContent->mInfo.content_id group=$group}
- {/if}
- </div>
- {/if}
- {/legend}
- {/jstab}
-{* /if *}