blob: 794f3ad7c973543672c7255bc1624cf076fd68ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{assign var=xrefcnt value=$gContent->mInfo.xref|@count}
{jstab title="Cross reference ($xrefcnt)"}
{legend legend="Information References"}
<div class="form-group">
{formlabel label="Cross reference" for="xref"}
{forminput}
<table>
<caption>{tr}List of linked references{/tr}</caption>
<thead>
<tr>
<th>Information</th>
<th>Data</th>
<th>Property</th>
{if $gBitSystem->isFeatureActive( 'contact_list_last_modified' )}
<th>Updated</th>
{/if}
<th>Reference</th>
</tr>
</thead>
<tbody>
{section name=xref loop=$gContent->mInfo.xref}
<tr class="{cycle values="even,odd"}" title="{$list[county].title|escape}">
<td>
{$gContent->mInfo.xref[xref].source_title|escape}
</td>
<td>
{$gContent->mInfo.xref[xref].data|escape}
</td>
<td>
{if isset($gContent->mInfo.xref[xref].usn) && ($gContent->mInfo.xref[xref].usn <> '') }
{$gContent->mInfo.xref[xref].usn|escape}
{smartlink ititle="Link to" ifile="../property/display_property.php" booticon="icon-note-edit" property_id=$gContent->mInfo.xref[xref].usn}
{/if}
</td>
{if $gBitSystem->isFeatureActive( 'contact_list_last_modified' )}
<td>
{$gContent->mInfo.xref[xref].last_update_date|bit_long_date}
</td>
{/if}
<td>
<span class="actionicon">
{smartlink ititle="View" ifile="view_xref.php" booticon="icon-note-go" source=$gContent->mInfo.xref[xref].source xref=$gContent->mInfo.xref[xref].cross_reference}
</span>
<span class="actionicon">
{smartlink ititle="Edit" ifile="edit_xref.php" booticon="icon-note-edit" source=$gContent->mInfo.xref[xref].source xref=$gContent->mInfo.xref[xref].cross_reference} </span>
</span>
<label for="ev_{$gContent->mInfo.xref[xref].cross_reference}">
{$gContent->mInfo.xref[xref].cross_reference}
</label>
</td>
</tr>
{sectionelse}
<tr class="norecords">
<td colspan="3">
{tr}No records found{/tr}
</td>
</tr>
{/section}
</tbody>
</table>
{/forminput}
</div>
{/legend}
{/jstab}
|