This patch add href="#" to the [+] and [-] links for adding and removing search 
terms.
It also defines its style so it doesn't show underlined.

To test:
- Browse your OPAC to "Advanced Search" and then "More options".
- The [+] and [-] don't change the cursor on hover
- Apply the patch, reload and see the cursor changes
- Functionality should remain unchanged

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
---
 koha-tmpl/opac-tmpl/prog/en/css/opac.css           |    4 ++++
 .../opac-tmpl/prog/en/modules/opac-advsearch.tt    |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css 
b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
index 84b8489..06456e5 100644
--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css
+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
@@ -30,6 +30,10 @@ body {
     color : #C00;
 }
 
+a.ButtonPlus, a.ButtonLess {
+       text-decoration : none;
+}
+
 caption {
        font-size : 140%;
        font-weight : bold;
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt 
b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt
index 8f763d1..eeed2eb 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt
@@ -125,8 +125,8 @@
 [% IF ( expanded_options ) %]
         <!--   [% IF ( search_box.scan_index ) %]<input type="checkbox" 
name="scan" id="scan" value="1" /> Scan Indexes[% END %] -->
         [% IF ( !loop.first ) %]
-            <a class="ButtonPlus" name="ButtonPlus" title="Add another 
field">[+]</a>
-            <a class="ButtonLess" title="Remove field">[-]</a>
+            <a class="ButtonPlus" name="ButtonPlus" title="Add another field" 
href="#">[+]</a>
+            <a class="ButtonLess" title="Remove field" href="#">[-]</a>
         [% END %]
 [% END %]
         </p>
-- 
1.7.9.5

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to