LP#1190508: Rename certain image files to avoid Ad Block Plus's blacklist
authorDan Pearl <dpearl@cwmars.org>
Tue, 26 Aug 2014 20:07:41 +0000 (16:07 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 10 Sep 2014 21:11:45 +0000 (17:11 -0400)
Ad Block Plus was blocking images with /images/adv_ in their pathname. It is
presumed that "adv" was short for "advertisement".  I have renamed the files
and the references to avoid the ABP blacklist.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>

Open-ILS/src/templates/opac/parts/advanced/expert.tt2
Open-ILS/src/templates/opac/parts/advanced/global_row.tt2
Open-ILS/src/templates/opac/parts/staff_saved_searches.tt2
Open-ILS/web/images/expert_row_close_btn.png [moved from Open-ILS/web/images/adv_row_close_btn.png with 100% similarity]
Open-ILS/web/images/staff_search_minus_btn.png [moved from Open-ILS/web/images/adv_search_minus_btn.png with 100% similarity]
Open-ILS/web/images/staff_search_plus_btn.png [moved from Open-ILS/web/images/adv_search_plus_btn.png with 100% similarity]

index 8b8849d..85e2ca2 100644 (file)
@@ -22,7 +22,7 @@
                     <a href="javascript:;" class="row-remover"
                         title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
                         onclick='return killRowIfAtLeast(1, this);'>
-                        <img src="[% ctx.media_prefix %]/images/adv_row_close_btn.png" 
+                        <img src="[% ctx.media_prefix %]/images/expert_row_close_btn.png" 
                             alt="[% l('Remove Search Row') %]"/>
                     </a>
                 </td>
index 6302a29..3743047 100644 (file)
@@ -50,7 +50,7 @@
         <a href="javascript:;" class="row-remover"
             title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
             onclick='return killRowIfAtLeast(2, this);'>
-                <img src="[% ctx.media_prefix %]/images/adv_row_close_btn.png" 
+                <img src="[% ctx.media_prefix %]/images/expert_row_close_btn.png" 
                     alt="[% l('Remove row') %]"/>
             </a>
     </td>
index 0250651..ade1290 100644 (file)
@@ -6,9 +6,9 @@
         </div>
         <div class="button">
             [% IF ctx.saved_searches_expanded %]
-            <a href="[% mkurl('', {'sss_expand' => 0}) %]" title="[% l('Collapse') %]"><img src="[% ctx.media_prefix %]/images/adv_search_minus_btn.png" alt="[% l('Collapse') %]" /></a>
+            <a href="[% mkurl('', {'sss_expand' => 0}) %]" title="[% l('Collapse') %]"><img src="[% ctx.media_prefix %]/images/staff_search_minus_btn.png" alt="[% l('Collapse') %]" /></a>
             [% ELSE %]
-            <a href="[% mkurl('', {'sss_expand' => 1}) %]" title="[% l('Expand') %]"><img src="[% ctx.media_prefix %]/images/adv_search_plus_btn.png" alt="[% l('Expand') %]" /></a>
+            <a href="[% mkurl('', {'sss_expand' => 1}) %]" title="[% l('Expand') %]"><img src="[% ctx.media_prefix %]/images/staff_search_plus_btn.png" alt="[% l('Expand') %]" /></a>
             [% END %]
         </div>
         <div class="clear">&nbsp;</div>