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/web/images/adv_row_close_btn.png [deleted file]
Open-ILS/web/images/adv_search_minus_btn.png [deleted file]
Open-ILS/web/images/adv_search_plus_btn.png [deleted file]
Open-ILS/web/images/expert_row_close_btn.png [new file with mode: 0644]
Open-ILS/web/images/staff_search_minus_btn.png [new file with mode: 0644]
Open-ILS/web/images/staff_search_plus_btn.png [new file with mode: 0644]

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') %]"/>
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') %]"/>
index 0250651..ade1290 100644 (file)
@@ -6,9 +6,9 @@
         <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 class="clear">&nbsp;</div>
diff --git a/Open-ILS/web/images/adv_row_close_btn.png b/Open-ILS/web/images/adv_row_close_btn.png
deleted file mode 100644 (file)
index edccf37..0000000
Binary files a/Open-ILS/web/images/adv_row_close_btn.png and /dev/null differ
diff --git a/Open-ILS/web/images/adv_search_minus_btn.png b/Open-ILS/web/images/adv_search_minus_btn.png
deleted file mode 100644 (file)
index 4050595..0000000
Binary files a/Open-ILS/web/images/adv_search_minus_btn.png and /dev/null differ
diff --git a/Open-ILS/web/images/adv_search_plus_btn.png b/Open-ILS/web/images/adv_search_plus_btn.png
deleted file mode 100644 (file)
index 7f1ae93..0000000
Binary files a/Open-ILS/web/images/adv_search_plus_btn.png and /dev/null differ
diff --git a/Open-ILS/web/images/expert_row_close_btn.png b/Open-ILS/web/images/expert_row_close_btn.png
new file mode 100644 (file)
index 0000000..edccf37
Binary files /dev/null and b/Open-ILS/web/images/expert_row_close_btn.png differ
diff --git a/Open-ILS/web/images/staff_search_minus_btn.png b/Open-ILS/web/images/staff_search_minus_btn.png
new file mode 100644 (file)
index 0000000..4050595
Binary files /dev/null and b/Open-ILS/web/images/staff_search_minus_btn.png differ
diff --git a/Open-ILS/web/images/staff_search_plus_btn.png b/Open-ILS/web/images/staff_search_plus_btn.png
new file mode 100644 (file)
index 0000000..7f1ae93
Binary files /dev/null and b/Open-ILS/web/images/staff_search_plus_btn.png differ