vocab="" for nofollow links feature/tpac_conifer_2_7
authorDan Scott <dscott@laurentian.ca>
Fri, 13 Feb 2015 14:40:37 +0000 (09:40 -0500)
committerDan Scott <dscott@laurentian.ca>
Fri, 13 Feb 2015 14:40:37 +0000 (09:40 -0500)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates_conifer/opac/parts/record/extras.tt2
Open-ILS/src/templates_conifer/opac/parts/result/table.tt2

index 8162696..956fb21 100644 (file)
@@ -85,8 +85,8 @@
                         img_url = arrow_img;
                     END;
                 %]
-                <a name='[% name %]' href='[% href %]' rel="nofollow"><img alt='[% extra.label %]' src='[% img_url %]'/></a>
-                <a name='[% name %]_lbl' href='[% href %]' class="rdetail_extras_lbl" rel="nofollow">[% extra.label %]</a>
+                <a name='[% name %]' href='[% href %]' rel="nofollow" vocab=""><img alt='[% extra.label %]' src='[% img_url %]'/></a>
+                <a name='[% name %]_lbl' href='[% href %]' class="rdetail_extras_lbl" rel="nofollow" vocab="">[% extra.label %]</a>
             </div>
         </div>
         <div class='rdetail_extras_div'>
index 36ea968..d063ec1 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))
-                                                                    -%]" rel="nofollow">[% attrs.author | html %]</a>
+                                                                    -%]" rel="nofollow" vocab="">[% attrs.author | html %]</a>
 [%-
 FOR entry IN attrs.graphic_authors;
     FOR alt IN entry.graphic;
@@ -317,7 +317,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" rel="nofollow"><img
+                                                                    class="no-dec" rel="nofollow" vocab=""><img
                                                                 src="[% ctx.media_prefix %]/images/green_check.png"
                                                                 alt=""/><span class="result_place_hold">[% l('Place Hold') %]</span></a>
                                                         </div>
@@ -336,7 +336,7 @@ END;
                                                                         {record => rec.id, anchor => 'record_' _ rec.id}, 1);
                                                             %]      
                                                             <a href="[% href %]" class="no-dec" 
-                                                                [% html_text_attr('title', title_label) %] rel="nofollow">
+                                                                [% html_text_attr('title', title_label) %] rel="nofollow" vocab="">
                                                                 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
                                                                 [% label %]
                                                             </a>
@@ -349,7 +349,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" rel="nofollow">
+                                                                    ENV.OILS_CONTENT_CAFE_PASS %]&amp;ItemKey=[% ident | uri %]&amp;Options=Y" rel="nofollow" vocab="">
                                                                 <img src='[% ctx.media_prefix %]/images/starz.png' alt="[% l('Ratings Icon') %]"/> 
                                                                 <span class="results_reviews">[% l('Reviews &amp; More') %]</span>
                                                             </a>