LP#1414033: Add rel="nofollow" to search/browse links lp_1414033_rel_nofollow
authorDan Scott <dscott@laurentian.ca>
Fri, 6 Feb 2015 22:13:27 +0000 (17:13 -0500)
committerDan Scott <dscott@laurentian.ca>
Fri, 13 Feb 2015 20:59:07 +0000 (15:59 -0500)
Mark links in the TPAC that robots should not attempt to crawl (such as
search results, call number browsing, adding records to temporary lists,
placing holds, logging in) using the rel="nofollow" convention, per
https://support.google.com/webmasters/answer/96569?hl=en

Signed-off-by: Dan Scott <dscott@laurentian.ca>
17 files changed:
Open-ILS/src/templates/opac/browse.tt2
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/record/addedcontent.tt2
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
Open-ILS/src/templates/opac/parts/record/extras.tt2
Open-ILS/src/templates/opac/parts/record/navigation.tt2
Open-ILS/src/templates/opac/parts/record/refworks.tt2
Open-ILS/src/templates/opac/parts/record/series.tt2
Open-ILS/src/templates/opac/parts/record/subjects.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/facets.tt2
Open-ILS/src/templates/opac/parts/result/paginate.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2

index 962dbd0..1ae4831 100644 (file)
@@ -17,9 +17,9 @@
         [%# XXX TODO Give searchbar.tt2 more smarts so we can just do:
           # INCLUDE "opac/parts/searchbar.tt2" %]
         <div id="search-box">
-            <span class="search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/home', {}, depart_list) %]">[% l('Basic Search') %]</a></span>
+            <span class="search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/home', {}, depart_list) %]" rel="nofollow" property="">[% l('Basic Search') %]</a></span>
             <span class="adv_search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/advanced', {}, depart_list) %]"
-                    id="home_adv_search_link">[%l('Advanced Search')%]</a></span>
+                    id="home_adv_search_link" rel="nofollow" property="">[%l('Advanced Search')%]</a></span>
         
             <span class="browse_the_catalog_lbl mobile_hide">[% l('Browse the Catalog') %]</span>
         </div>
                 [% BLOCK browse_pager %]
                 <div class="browse-pager">
                     [% IF ctx.back_pivot %]
-                    <a class="opac-button" href="[% mkurl('', {bpivot => ctx.back_pivot}) %]" onclick="$('browse-pager-spinner-[% id %]').className = '';">&larr; [%l ('Back') %]</a>
+                    <a class="opac-button" href="[% mkurl('', {bpivot => ctx.back_pivot}) %]" onclick="$('browse-pager-spinner-[% id %]').className = '';" rel="nofollow" property="">&larr; [%l ('Back') %]</a>
                     [% END %]
                     [% IF ctx.pager_shortcuts;
                         current_qtype = CGI.param('qtype') || 'title' %]
                     <span class="browse-shortcuts">
                         [% FOR shortcut IN ctx.pager_shortcuts %]
-                            <a href="[% mkurl('', {qtype => current_qtype, bterm => shortcut.0}, ['bpivot','query']) %]">[% shortcut.1 %]</a>
+                            <a href="[% mkurl('', {qtype => current_qtype, bterm => shortcut.0}, ['bpivot','query']) %]" rel="nofollow" property="">[% shortcut.1 %]</a>
                         [% END %]
                     </span>
                     [% END %]
 
                     [% IF ctx.forward_pivot %]
-                    <a class="opac-button" href="[% mkurl('', {bpivot => ctx.forward_pivot}) %]" onclick="$('browse-pager-spinner-[% id %]').className = '';">[%l ('Next') %] &rarr;</a>
+                    <a class="opac-button" href="[% mkurl('', {bpivot => ctx.forward_pivot}) %]" onclick="$('browse-pager-spinner-[% id %]').className = '';" rel="nofollow" property="">[%l ('Next') %] &rarr;</a>
                     [% END %]
 
                     <img id="browse-pager-spinner-[% id %]" 
@@ -91,7 +91,7 @@
                             [% IF ctx.browse_leading_article_alternative %]
                             <p>
                             [% alternative_link = BLOCK %]
-                            <a href="[% mkurl('', {bterm => ctx.browse_leading_article_alternative}, ['bpivot']) %]">[% ctx.browse_leading_article_alternative | html %]</a>
+                            <a href="[% mkurl('', {bterm => ctx.browse_leading_article_alternative}, ['bpivot']) %]" rel="nofollow" property="">[% ctx.browse_leading_article_alternative | html %]</a>
                             [%-  END; # alternative_link BLOCK
                                 l("Did you mean [_1]?", alternative_link);
                             END # IF %]
                                     <a href="[% mkurl(
                                         ctx.opac_root _ '/results', {
                                             'fi:has_browse_entry' => (result.browse_entry _ ',' _ result.fields)
-                                        }) %]">[% result.value | html %]</a>
+                                        }) %]" rel="nofollow" property="">[% result.value | html %]</a>
                                     <span class="browse-result-sources">([%
                                         IF result.accurate == 'f';
                                             l("At least"); " ";
                                                 [% END %]
 
                                                 <li><span class="browse-result-authority-field-name">[% field.name %]</span>
-                                                <a href="[% mkurl(ctx.opac_root _ '/browse', {bterm => h.heading}, ['bpivot']) %]">[% h.heading | html %]</a>
+                                                <a href="[% mkurl(ctx.opac_root _ '/browse', {bterm => h.heading}, ['bpivot']) %]" rel="nofollow" property="">[% h.heading | html %]</a>
                                                 <span class="browse-result-authority-bib-links">([% h.target_count %])</span>
                                                 </li>
                                             [% END %]
                                                 <ul class="browse-result-authority-headings"> 
                                                 [% END %]
                                                 <li><span class="browse-result-authority-field-name">[% field.name %]</span>
-                                                <a href="[% mkurl(ctx.opac_root _ '/results', {query => 'identifier|authority_id[' _ h.target _ ']'}) %]">[% h.heading | html %]</a>
+                                                <a href="[% mkurl(ctx.opac_root _ '/results', {query => 'identifier|authority_id[' _ h.target _ ']'}) %]" rel="nofollow" property="">[% h.heading | html %]</a>
                                                 <span class="browse-result-authority-bib-links">([% h.target_count %])</span>
                                                 </li>
                                             [% END %]
index 5242733..0e3d6c2 100644 (file)
@@ -40,7 +40,7 @@
         </span>
 
         <a href="[% mkurl(ctx.opac_root _ '/advanced', {$loc_name => loc_value}, 1) %]"
-            class="opac-button">[% l('Clear Form') %]</a>
+            class="opac-button" rel="nofollow" property="">[% l('Clear Form') %]</a>
     </div>
 
     <div id='adv_search_filters'>
index 477d278..a738fba 100644 (file)
@@ -29,7 +29,7 @@
                     tab_class = tab_class _ ' hidden';
                 END %]
             <div class="[% tab_class %]" id="ac:[% type %]">
-                <a href="[% mkurl('', {ac => type}) _ '#addedcontent' %]">[% ac_types.$type %]</a>
+                <a href="[% mkurl('', {ac => type}) _ '#addedcontent' %]" rel="nofollow" property="">[% ac_types.$type %]</a>
             </div>
             [% END;
         END;
index 51fbe8f..efc7f70 100644 (file)
@@ -110,7 +110,7 @@ BLOCK build_author_links;
                 iprop = ' typeof="Organization" property="contributor"';
             END;
         END;
-        authtml = ' <span class="rdetail-author-div"' _ iprop _ ' resource="' _ contrib_ref _ '"><a href="' _ url _ '"><span resource="' _ contrib_ref _ '">';
+        authtml = ' <span class="rdetail-author-div"' _ iprop _ ' resource="' _ contrib_ref _ '"><a href="' _ url _ '" rel="nofollow" property=""><span resource="' _ contrib_ref _ '">';
         IF iprop; authtml = authtml _ '<span property="name">'; END;
         authtml = authtml _ link_term.replace('^\s+', '');
         IF iprop; authtml = authtml _ '</span>'; END;
index 51ef1ad..6ac46f4 100644 (file)
                 <tr>
                     <td>
                         <a class='classic_link lbl1' 
-                            href="[% mkurl('', {cnoffset => cnoffset - 1}) %]#cnbrowse">[% l("&lt;&lt; Previous Page") %]</a>
+                            href="[% mkurl('', {cnoffset => cnoffset - 1}) %]#cnbrowse" rel="nofollow" property="">[% l("&lt;&lt; Previous Page") %]</a>
                     </td>
                     <td colspan='1' align='center'>[% l("Shelf Browser") %]</td>
                     <td>
                         <a class='classic_link lbl1' 
-                            href="[% mkurl('', {cnoffset => cnoffset + 1}) %]#cnbrowse">[% l("Next Page &gt;&gt;") %]</a>
+                            href="[% mkurl('', {cnoffset => cnoffset + 1}) %]#cnbrowse" rel="nofollow" property="">[% l("Next Page &gt;&gt;") %]</a>
                     </td>
                 </tr>
             </thead>
@@ -46,7 +46,7 @@
                                 href="[%-
                                     authorquery = rec_attrs.author | replace('[,\.:;]', '');
                                     mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery, $loc_name => loc_value}, 1)
-                                    -%]">[% rec_attrs.author | html %]</a>
+                                    -%]" rel="nofollow" property="">[% rec_attrs.author | html %]</a>
                         </div>[% END %]
                         <div class='cn_browse_info' name='cn_browse_lib'>[% cn.owning_lib.name | html %]</div>
                     </td>
index 7f529b0..edae757 100644 (file)
@@ -98,7 +98,7 @@ END; # FOREACH bib
                 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
                 <meta property="price" content="0.00">
             </td>[% END %]
-            <td><span property="sku">[% callnum | html %]</span> [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](<a href="[% mkurl(ctx.opac_root _ '/sms_cn', {copy_id => copy_info.id}) %]">Text</a>)[% END %]</td>
+            <td><span property="sku">[% callnum | html %]</span> [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](<a href="[% mkurl(ctx.opac_root _ '/sms_cn', {copy_id => copy_info.id}) %]" rel="nofollow" property="">Text</a>)[% END %]</td>
             [%- IF has_parts == 'true' %]
             <td>[% copy_info.part_label | html %]</td>
             [%- END %]
@@ -187,7 +187,7 @@ END; # FOREACH bib
                                 hold_target => copy_info.issuance,
                                 hold_type => 'I',
                                 hold_source_page => mkurl()
-                            }) _ '">' _ l('Issue hold') _ '</a>';
+                            }) _ '" rel="nofollow" property="">' _ l('Issue hold') _ '</a>';
                     END; 
 
                     hold_link;
index 017b75f..f4f2068 100644 (file)
@@ -85,7 +85,7 @@
                         arrow = arrow_right;
                     END;
                 %]
-                <a name='[% name %]' href='[% href %]' class="rdetail_extras_lbl">[% arrow %] [% extra.label | html %]</a>
+                <a name='[% name %]' href='[% href %]' class="rdetail_extras_lbl" rel="nofollow" property="">[% arrow %] [% extra.label | html %]</a>
             </div>
         </div>
         <div class='rdetail_extras_div'>
index 003f6bd..9248044 100644 (file)
@@ -1,7 +1,7 @@
 [% IF ctx.search_result_index.defined && ctx.search_result_index >= 0 %]
 <div class="rdetail_header">
     <span class="rdetail_results">
-        <a href='[% mkurl(ctx.opac_root _ '/results', {}, stop_parms); %]'><span class="nav_arrow_fix">&#9668;</span> [% l('Search Results') %]</a>
+        <a href='[% mkurl(ctx.opac_root _ '/results', {}, stop_parms); %]' rel="nofollow" property=""><span class="nav_arrow_fix">&#9668;</span> [% l('Search Results') %]</a>
         <span class="rdetail_result_count">
             [% l('Showing Item [_1] of [_2]', ctx.search_result_index + 1, ctx.hit_count) %]
         </span>
@@ -18,7 +18,7 @@
                 ctx.prev_rec_url = mkurl(ctx.prev_search_record, prev_args, stop_parms);
         %]
         <a class='np_nav_link classic_link' title='[% l("Previous Record") %]'
-            href='[% ctx.prev_rec_url %]'><span class="nav_arrow_fix">&#9668;</span> [% l('Previous') %]</a>
+            href='[% ctx.prev_rec_url %]' rel="nofollow" property=""><span class="nav_arrow_fix">&#9668;</span> [% l('Previous') %]</a>
         [% END %]
 
         [% 
@@ -30,7 +30,7 @@
                 ctx.next_rec_url = mkurl(ctx.next_search_record, next_args, stop_parms);
         %]
         <a class='np_nav_link classic_link' title='[% l("Next Record") %]'
-            href='[% ctx.next_rec_url %]'>[% l('Next') %] <span class="nav_arrow_fix">&#9658;</span></a>
+            href='[% ctx.next_rec_url %]' rel="nofollow" property="">[% l('Next') %] <span class="nav_arrow_fix">&#9658;</span></a>
         [% END %]
 
     </div>
index 2628063..0865507 100644 (file)
@@ -16,5 +16,5 @@
         ctx.bre_id;
 %]
 <div class="rdetail_aux_utils rdetail_refworks">
-    <a href="[% rw_uri %]"><img src="/images/starz.png" alt="" />[% l('Export to RefWorks') %]</a>
+    <a href="[% rw_uri %]" rel="nofollow" property=""><img src="/images/starz.png" alt="" />[% l('Export to RefWorks') %]</a>
 </div>
index 4be6b83..a48b631 100644 (file)
@@ -26,7 +26,7 @@ BLOCK render_series;
                 url = mkurl(ctx.opac_root _ '/results',
                     { qtype=>'series', query=>total_term }, stop_parms.merge(expert_search_parms, general_search_parms, browse_search_parms, facet_search_parms)
                 );
-                series = series _ '<a href="' _ url _ '">' _ single_term _ '</a> ';
+                series = series _ '<a href="' _ url _ '" rel="nofollow" property="">' _ single_term _ '</a> ';
             END;
             FOREACH link880 IN graphics;
                 link = link880.value | html;
index e074f89..98b7597 100644 (file)
@@ -47,7 +47,7 @@
                 all_terms.push(subfield.textContent.replace('\-', ' ').replace('[#"^$\+,\.:;&|\[\]()]', ''));
                 total_term = all_terms.join(" ").replace('\s+$', '');
             %]
-<a href="[% mkurl(ctx.opac_root _ '/results', {qtype=>'subject', query=>total_term}, stop_parms.merge(expert_search_parms, general_search_parms, browse_search_parms, facet_search_parms)) %]">[% single_term %]</a>
+<a href="[% mkurl(ctx.opac_root _ '/results', {qtype=>'subject', query=>total_term}, stop_parms.merge(expert_search_parms, general_search_parms, browse_search_parms, facet_search_parms)) %]" rel="nofollow" property="">[% single_term %]</a>
             [%- END;
             IF all_terms.size; "<br/>"; END;
             FOREACH link880 IN graphics;
index 79ab4ff..d971b24 100644 (file)
@@ -49,7 +49,7 @@
             <div class="rdetail_aux_utils place_hold">
                 <a href="[% mkurl(ctx.opac_root _ '/place_hold', 
                     {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]" 
-                class="no-dec"><img src="[% ctx.media_prefix %]/images/green_check.png" 
+                class="no-dec" rel="nofollow" property=""><img src="[% ctx.media_prefix %]/images/green_check.png"
                     [% img_alt(l('Place Hold on [_1]', attrs.title)) %]/>
                 <span class="place_hold">[% l('Place Hold') %]</span></a>
             </div>
@@ -62,7 +62,7 @@
                 operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add";
                 label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); 
             %]
-                <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="no-dec">
+                <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="no-dec" rel="nofollow" property="">
                     <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
                     [% label %]
                 </a>
@@ -70,8 +70,8 @@
             </div>
             <div class="rdetail_aux_utils">
                 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="[% l('Print / Email Actions Image') %]" />
-                <a href="[% mkurl(ctx.opac_root _ '/record/print/' _ ctx.bre_id) %]" class="no-dec">[% l('Print') %]</a> /
-                <a href="[% mkurl(ctx.opac_root _ '/record/email/' _ ctx.bre_id) %]" class="no-dec">[% l('Email') %]</a>
+                <a href="[% mkurl(ctx.opac_root _ '/record/print/' _ ctx.bre_id) %]" class="no-dec" rel="nofollow" property="">[% l('Print') %]</a> /
+                <a href="[% mkurl(ctx.opac_root _ '/record/email/' _ ctx.bre_id) %]" class="no-dec" rel="nofollow" property="">[% l('Email') %]</a>
             </div>
             [%- IF ctx.refworks.enabled == 'true' %]
                 [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
index 82d2c6f..4bfb9fc 100644 (file)
@@ -68,13 +68,13 @@ FOR facet IN sorted_facets;
                     END;
                 %]
                     <a class="button" href="[% expand_url %]"
-                      title="[% l('Show Fewer [_1] Entries', facet.cmf.label) %]">
+                      title="[% l('Show Fewer [_1] Entries', facet.cmf.label) %]" rel="nofollow" property="">
                       [% l("Fewer") %]
                     </a>
                 [% ELSIF facet.data.size > DEFAULT_DISPLAY_COUNT %]
                     <a class="button" 
                       title="[% l('Show More [_1] Entries', facet.cmf.label) %]"
-                      href="[% mkurl('', {long_facet => long_facets.merge([long_key])}) %]">
+                      href="[% mkurl('', {long_facet => long_facets.merge([long_key])}) %]" rel="nofollow" property="">
                       [% l("More") %]
                     </a>
                 [% END %]
@@ -113,11 +113,11 @@ FOR facet IN sorted_facets;
                             [% IF new_facets.size == 0 %]
                             <a
                               title="[% l('Show all results, not just those matching this term') %]"
-                              href="[% mkurl('', {}, ['facet']) %]">[% display_value %]</a>
+                              href="[% mkurl('', {}, ['facet']) %]" rel="nofollow" property="">[% display_value %]</a>
                             [% ELSE %]
                             <a
                               title="[% l('Expand to also show results not matching this term') %]"
-                              href="[% mkurl('', {facet => new_facets}) %]">[% display_value %]</a>
+                              href="[% mkurl('', {facet => new_facets}) %]" rel="nofollow" property="">[% display_value %]</a>
                             [% END %]
                         </div>
                         <div class="count">([% facet_data.count %])</div>
@@ -131,7 +131,7 @@ FOR facet IN sorted_facets;
                         <div class="facet">
                             <a
                               title="[% l('Limit to results matching this term') %]"
-                              href='[% mkurl('', {facet => selected_facets.merge([param_string])}, ['page']) %]'>
+                              href='[% mkurl('', {facet => selected_facets.merge([param_string])}, ['page']) %]' rel="nofollow" property="">
                               [% display_value %]
                             </a>
                         </div>
index 86de798..9f34679 100644 (file)
@@ -24,7 +24,7 @@
                             href = mkurl('', {page => page - 1});
                     -%]
                     <a class='[% class %]' href='[% href %]' 
-                        title='[% l("Previous page") %]'><span class="nav_arrow_fix">&#9668;</span> [% l('Previous') %] </a>
+                        title='[% l("Previous page") %]' rel="nofollow" property=""><span class="nav_arrow_fix">&#9668;</span> [% l('Previous') %] </a>
                     [%- END;
 
                         # show links to 4 previous pages, the current page, and 3 more pages.
@@ -39,7 +39,7 @@
                                     IF pageitr == page; %]
                                         <span class='results-paginator-selected'>[% pageitr + 1%]</span>
                                     [% ELSE %]
-                                        <a href="[% mkurl('', {page => pageitr}) %]">[% pageitr + 1%]</a>
+                                        <a href="[% mkurl('', {page => pageitr}) %]" rel="nofollow" property="">[% pageitr + 1%]</a>
                                 [%  END;
                                     added = added + 1;
                                     IF added == 8; LAST; END;
@@ -54,7 +54,7 @@
                             href = mkurl('', {page => page + 1});
                     -%]
                     <a class='[% class %]' href='[% href %]' 
-                        title='[% l("Next page") %]'> [% l('Next') %] <span class="nav_arrow_fix">&#9658;</span></a>
+                        title='[% l("Next page") %]' rel="nofollow" property=""> [% l('Next') %] <span class="nav_arrow_fix">&#9658;</span></a>
                     [%- END; -%]
                 </span>
     </span>
index baebf63..673a2cd 100644 (file)
@@ -115,7 +115,7 @@ END;
                                                                 href="[%- 
                                                                     authorquery = attrs.author | replace('[#"^$\+\-,\.:;&|\[\]()]', ' ');
                                                                     mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, general_search_parms.merge(expert_search_parms, browse_search_parms, facet_search_parms))
-                                                                    -%]">[% attrs.author | html %]</a>
+                                                                    -%]" rel="nofollow" property="">[% attrs.author | html %]</a>
 [%-
 FOR entry IN attrs.graphic_authors;
     FOR alt IN entry.graphic;
@@ -372,7 +372,7 @@ END;
                                                                     {hold_target => rec.id, hold_type => hold_type, 
                                                                       hold_source_page => mkurl()}, ['query','tag','subfield','term','_special','sort','page']) %]"
                                                                 [% html_text_attr('title', l('Place Hold on [_1]', attrs.title)) %]
-                                                                    class="no-dec"><img
+                                                                    class="no-dec" rel="nofollow" property=""><img
                                                                 src="[% ctx.media_prefix %]/images/green_check.png"
                                                                 alt=""/><span class="result_place_hold">[% l('Place Hold') %]</span></a>
                                                         </div>
@@ -391,7 +391,7 @@ END;
                                                                         {record => rec.id, anchor => 'record_' _ rec.id}, 1);
                                                             %]      
                                                             <a href="[% href %]" class="no-dec" 
-                                                                [% html_text_attr('title', title_label) %]>
+                                                                [% html_text_attr('title', title_label) %] rel="nofollow" property="">
                                                                 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
                                                                 [% label %]
                                                             </a>
@@ -404,7 +404,7 @@ END;
                                                                [% html_text_attr('title', l('Reviews and More for [_1]', attrs.title)) %]
                                                                 href="[% ctx.ext_proto %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%- 
                                                                     ENV.OILS_CONTENT_CAFE_USER %]&amp;Password=[%-
-                                                                    ENV.OILS_CONTENT_CAFE_PASS %]&amp;ItemKey=[% ident | uri %]&amp;Options=Y">
+                                                                    ENV.OILS_CONTENT_CAFE_PASS %]&amp;ItemKey=[% ident | uri %]&amp;Options=Y" rel="nofollow" property="">
                                                                 <img src='[% ctx.media_prefix %]/images/starz.png' alt="[% l('Ratings Icon') %]"/> 
                                                                 <span class="results_reviews">[% l('Reviews &amp; More') %]</span>
                                                             </a>
index 5eb3873..a9ca13a 100644 (file)
@@ -7,8 +7,8 @@
     <div id="search-box">
         <span class="search_catalog_lbl mobile_hide">[% l('Search the Catalog') %]</span>
         <span class="adv_search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/advanced', {},  expert_search_parms.merge(browse_search_parms, facet_search_parms)) %]"
-            id="home_adv_search_link">[% l('Advanced Search') %]</a></span>
-        <span class="browse_the_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/browse', {}, expert_search_parms.merge(general_search_parms, facet_search_parms, ['fi:has_browse_entry'])) %]">[% l('Browse the Catalog') %]</a></span>
+            id="home_adv_search_link" rel="nofollow" property="">[% l('Advanced Search') %]</a></span>
+        <span class="browse_the_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/browse', {}, expert_search_parms.merge(general_search_parms, facet_search_parms, ['fi:has_browse_entry'])) %]" rel="nofollow" property="">[% l('Browse the Catalog') %]</a></span>
     </div>
     <div class="searchbar">
         <span class='search_box_wrapper'>
@@ -96,7 +96,7 @@
     [% UNLESS took_care_of_form %]</form>[% END %]
     [% IF (is_advanced AND NOT is_special) AND CGI.param('qtype') %]
     <div class="opac-auto-102">
-        [ <a href="[% mkurl(ctx.opac_root _ '/advanced') %]">[%
+        [ <a href="[% mkurl(ctx.opac_root _ '/advanced') %]" rel="nofollow" property="">[%
             l('Refine My Original Search')
         %]</a> ]
     </div>
index 92ae43c..23b1153 100644 (file)
@@ -34,7 +34,7 @@
           </div>
           [% IF CGI.param('query') %]
           <div>
-            <a href="[% mkurl(ctx.opac_root _ '/results', {}, ['metarecord']); %]">
+            <a href="[% mkurl(ctx.opac_root _ '/results', {}, ['metarecord']); %]" rel="nofollow" property="">
               [% l('&#9668; Return to Grouped Search Results') %]
             </a>
           </div>
         <div id="results_header_bar" [%- IF ctx.metarecord %]class="hidden"[% END -%]>
             <div id="results_header_inner">
                 <div class="results_header_btns">
-                    <a href="[% mkurl(ctx.opac_root _ '/home', {$loc_name => loc_value}, 1) %]">[% l('Another Search') %]</a>
+                    <a href="[% mkurl(ctx.opac_root _ '/home', {$loc_name => loc_value}, 1) %]" rel="nofollow" property="">[% l('Another Search') %]</a>
                 </div>
                 <div class="results_header_btns">
-                    <a href="[% mkurl(ctx.opac_root _ '/advanced',{}, expert_search_parms.merge(browse_search_parms, facet_search_parms)) %]">[% l('Advanced Search') %]</a>
+                    <a href="[% mkurl(ctx.opac_root _ '/advanced',{}, expert_search_parms.merge(browse_search_parms, facet_search_parms)) %]" rel="nofollow" property="">[% l('Advanced Search') %]</a>
                 </div>
                 <div id="refine_hits" class="results_header_btns result_block_visible"><a onclick="getFacety();">[% l('Refine these results') %]</a></div>
                 <div id="return_to_hits" class="results_header_btns"><a onclick="getResulty();">[% l('Back to results') %]</a></div>
@@ -56,7 +56,7 @@
                     [%- IF ctx.user; %]
                     <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]">[% l('View My List') %]</a>
                     [%- ELSE %]
-                    <a href="[% mkurl(ctx.opac_root _ '/mylist') %]">[% l('View My List') %]</a>
+                    <a href="[% mkurl(ctx.opac_root _ '/mylist') %]" rel="nofollow" property="">[% l('View My List') %]</a>
                     [%- END %]
                 </div>
                 [% END %]
@@ -66,8 +66,8 @@
 
                     <div class='results_header_sel' id='simple-detail-view-links'>
                         [% IF CGI.param('detail_record_view') %]
-                        <a href="[% mkurl('', {detail_record_view => ''}) %]">[% l('Show Fewer Details') %]</a> [% ELSE %]
-                        <a href="[% mkurl('', {detail_record_view => 1}) %]">[% l('Show More Details') %]</a>
+                        <a href="[% mkurl('', {detail_record_view => ''}) %]" rel="nofollow" property="">[% l('Show Fewer Details') %]</a> [% ELSE %]
+                        <a href="[% mkurl('', {detail_record_view => 1}) %]" rel="nofollow" property="">[% l('Show More Details') %]</a>
                         [% END %]
                     </div>