Fix for Bug 5236 - "hide my tags" link does nothing
authorOwen Leonard <oleonard@myacpl.org>
Thu, 28 Oct 2010 13:23:11 +0000 (09:23 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 1 Nov 2010 22:08:28 +0000 (11:08 +1300)
Removing the link. The suggested functionality doesn't
seem useful.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl

index 6c3cb94..2e6ba39 100644 (file)
                <form method="get" action="opac-tags.pl">
                <fieldset>Show up to <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="<!-- TMPL_VAR NAME="limit" DEFAULT="100" -->" />
                        tags from other users.
-                        <!-- TMPL_IF NAME="hidemytags" -->
-                       <input type="hidden" name="hidemytags" value="1" />
-                        <!-- /TMPL_IF -->
                        <input type="submit" value="OK" />
                         <!-- TMPL_UNLESS NAME="loggedinusername" -->
                           <a href="/cgi-bin/koha/opac-user.pl">Log in</a> to see your own saved tags.
                         <!-- TMPL_ELSE -->
-                          <!-- TMPL_IF NAME="hidemytags" --><a class="hidemytags" href="/cgi-bin/koha/opac-tags.pl?limit=<!-- TMPL_VAR NAME="limit" DEFAULT="100" -->">Show my tags</a>
-                          <!-- TMPL_ELSE --><a class="hidemytags" href="/cgi-bin/koha/opac-tags.pl?limit=<!-- TMPL_VAR NAME="limit" DEFAULT="100" -->&amp;hidemytags=1">Hide my tags</a>
-                          <!-- /TMPL_IF -->
                         <!-- /TMPL_UNLESS --></fieldset>
                </form>
        
          <!-- /TMPL_IF -->
        <!-- /TMPL_IF -->
 
-       <!-- TMPL_UNLESS NAME="hidemytags" -->
        <!-- TMPL_IF NAME="MY_TAGS" -->
                <form method="post" action="opac-tags.pl">
                <h2>My Tags</h2>
                </table>
                </form>
        <!-- /TMPL_IF -->
-       <!-- /TMPL_UNLESS -->
 
 </div>
 </div>