[Koha-patches] [PATCH] (bug #2887) Change the "Cart" box from js to tmpl

Owen Leonard oleonard at myacpl.org
Wed Jan 7 18:08:29 CET 2009


> -<!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"></span><!-- /TMPL_IF -->
> +<!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"><a href="#" id="cartmenulink" class=\"\"><i></i><span><i></i><span></span><img src="/opac-tmpl/prog/images/cart.gif" width="14" height="14" alt="" border="0" /> Cart<span id="basketcount"></span></span></a></span><!-- /TMPL_IF -->

The trouble with this change is that now the Cart link will appear to
users who have Javascript turned off. I realize that this is probably
a tiny number of users, but all the same I wish we could find a
solution to this translation problem that kept display of the Cart
button a Javascript-based event.

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org



More information about the Koha-patches mailing list