From 212e433920d1fd01216a469a4a77fea9c6ff4aa0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 31 Jul 2008 12:03:52 -0500 Subject: [PATCH] Cleaning up tags display a little bit, adding tablesorter to user tags table. Signed-off-by: Joshua Ferraro --- .../opac-tmpl/prog/en/modules/opac-tags.tmpl | 62 +++++++++++-------- opac/opac-tags.pl | 5 +- 2 files changed, 39 insertions(+), 28 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 2e02d5d133..17972bafad 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl @@ -1,7 +1,9 @@ - Catalog › Tags +Koha Online Catalog › Tags + -
+
@@ -49,7 +59,7 @@
-
There was a problem with this operation: +
There was a problem with this operation: Sorry, tags are not enabled on this system. ERROR: illegal parameter ERROR: You must log in to complete that action. @@ -67,10 +77,10 @@ -

tag(s) successfully added.

+
tagtags successfully added.
-

tag(s) successfully deleted.

+
tagtags successfully deleted.
@@ -78,38 +88,35 @@

My Tags

- - - - +
TermTitleDate/Time AddedDelete
+ + + - + - +
TermTitleDate AddedDelete
&q="> "> - " value="Delete" />
- -
To see any of your own saved tags, first log in.

All Tags

-
+
-

Show up to " /> +

Show up to " /> tags from other users. - -

+ Log in to see your own saved tags.
-
- Results:
-
-
+ +
- -
-
+ +
+
+ diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index 2bd9354bc5..ec3509ef3d 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -184,7 +184,10 @@ if ($loggedinuser and not $query->param('hidemytags')) { $_->{date_created_display} = format_date($_->{date_created}); } } -$template->param(tagsview => 1,); + +$template->param(tagsview => 1, +dateformat => C4::Context->preference("dateformat")); + if ($add_op) { my $adds = 0; for (values %counts) {$adds += $_;} -- 2.39.5