[Koha-patches] [PATCH 1/2] [SIGNED OFF] Fix for Bug 5236 - "hide my tags" link does nothing

Galen Charlton gmcharlt at gmail.com
Thu Oct 28 15:23:11 CEST 2010


From: Owen Leonard <oleonard at myacpl.org>

Removing the link. The suggested functionality doesn't
seem useful.

Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl
index 6c3cb94..2e6ba39 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl
@@ -79,16 +79,10 @@
 		<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>
 	
@@ -112,7 +106,6 @@
 	  <!-- /TMPL_IF -->
 	<!-- /TMPL_IF -->
 
-	<!-- TMPL_UNLESS NAME="hidemytags" -->
 	<!-- TMPL_IF NAME="MY_TAGS" -->
 		<form method="post" action="opac-tags.pl">
 		<h2>My Tags</h2>
@@ -132,7 +125,6 @@
 		</table>
 		</form>
 	<!-- /TMPL_IF -->
-	<!-- /TMPL_UNLESS -->
 
 </div>
 </div>
-- 
1.7.0



More information about the Koha-patches mailing list