[% META title = 'Resources » Referrers & Referral Sources' %] [% SET skip_wrappers = 1 IF c.stash.skip_wrapper # shared between resource & popup %] [% IF ! location_type %]
Choose a resource type to search the CfH data files:
[% END %] [% BLOCK row; query_param = c.query.param('lookup') || c.query.param('type'); class = query_param.match(t) ? 'highlight' : 'normal'; %] [ [% t %] ] [% END %]Search: [% FOREACH entry IN data_files.sort; INCLUDE row t = entry; END; %]
[% IF location_type %]
source file: [% file_data.filename %].csv; status: updated [% file_data.age %] months ago [% IF age AND c.user_can('edit_pid') # otherwise need to use admin function %] [ update file ] [% END %]
[% END %] [% END %] [% IF c.query.param('string') %] [% IF matches.size %]Found [% matches.size %] [% location_type %]s matching "[% c.query.param('string') %]":
[% INCLUDE file_update %]| Code | Details | |
|---|---|---|
| [% loop.count %] | [% IF class.match('bold') %] [% location.code %] [% ELSE %] [% location.code %] [% END %] | [% display = location.display | html; # escape, then add markup: highlight(display) # callback %] |
No matches found for "[% c.query.param('string') %]"
[% INCLUDE file_update %] [% END %] [% END %]