diff options
| author | Lester Caine <lsces@lsces.co.uk> | 2010-12-08 10:40:14 +0000 |
|---|---|---|
| committer | Lester Caine <lsces@lsces.co.uk> | 2010-12-08 10:40:14 +0000 |
| commit | 10b4f0effa6daad4108dee1dec32b403cea1e46d (patch) | |
| tree | ee1a77676b63527f47b08dedb4b7a3f820787cd4 /templates | |
| parent | f87fa0e8af6da30a49d800faae8d8f8df1ddacf0 (diff) | |
| download | contact-10b4f0effa6daad4108dee1dec32b403cea1e46d.tar.gz contact-10b4f0effa6daad4108dee1dec32b403cea1e46d.tar.bz2 contact-10b4f0effa6daad4108dee1dec32b403cea1e46d.zip | |
Ensure related content item is loaded when accessing a sub-record
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/list_xref_generic.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/list_xref_generic.tpl b/templates/list_xref_generic.tpl index d7124b4..6fff932 100644 --- a/templates/list_xref_generic.tpl +++ b/templates/list_xref_generic.tpl @@ -57,20 +57,20 @@ <td> <span class="actionicon"> {if $gBitUser->hasPermission( 'p_contact_view_detail' )} - {smartlink ititle="View" ifile="view_xref.php" ibiticon="icons/view-fullscreen" xref_id=$pageInfo.$source[xref].xref_id} + {smartlink ititle="View" ifile="view_xref.php" ibiticon="icons/view-fullscreen" content_id=$pageInfo.content_id xref_id=$pageInfo.$source[xref].xref_id} {/if} {if $gBitUser->hasPermission( 'p_contact_update' ) and $source ne 'history' } {if $pageInfo.$source[xref].source eq 'KEY_B' } - {smartlink ititle="Seal" ifile="edit_xref.php" ibiticon="icons/edit-redo" xref_id=$pageInfo.$source[xref].xref_id expunge=2} + {smartlink ititle="Seal" ifile="edit_xref.php" ibiticon="icons/edit-redo" content_id=$pageInfo.content_id xref_id=$pageInfo.$source[xref].xref_id expunge=2} {else} - {smartlink ititle="Edit" ifile="edit_xref.php" ibiticon="icons/accessories-text-editor" xref_id=$pageInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ifile="edit_xref.php" ibiticon="icons/accessories-text-editor" content_id=$pageInfo.content_id xref_id=$pageInfo.$source[xref].xref_id} {/if} {/if} {if $gBitUser->hasPermission( 'p_contact_expunge' ) and $pageInfo.$source[xref].source ne 'KEY_B' } {if $source eq 'history' } - {smartlink ititle="Restore" ifile="edit_xref.php" ibiticon="icons/edit-undo" xref_id=$pageInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ifile="edit_xref.php" ibiticon="icons/edit-undo" content_id=$pageInfo.content_id xref_id=$pageInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ifile="edit_xref.php" ibiticon="icons/edit-delete" xref_id=$pageInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ifile="edit_xref.php" ibiticon="icons/edit-delete" content_id=$pageInfo.content_id xref_id=$pageInfo.$source[xref].xref_id expunge=1} {/if} {/if} </span> |
