View | Details | Raw Unified | Return to bug 7743
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt (-1 / +3 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
2
1
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Tags
3
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Tags
2
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
3
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
Lines 117-123 Link Here
117
			</td>
119
			</td>
118
			<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
120
			<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
119
				[% MY_TAG.bib_summary |html %]</a></td>
121
				[% MY_TAG.bib_summary |html %]</a></td>
120
			<td>[% MY_TAG.date_created_display %]</td>
122
			<td>[% MY_TAG.date_created | $KohaDates %]</td>
121
			<td><input type="submit" name="del[% MY_TAG.tag_id %]" value="Delete" /></td>
123
			<td><input type="submit" name="del[% MY_TAG.tag_id %]" value="Delete" /></td>
122
		</tr>
124
		</tr>
123
	[% END %]</tbody>
125
	[% END %]</tbody>
(-)a/opac/opac-tags.pl (-3 lines)
Lines 39-45 use C4::Auth qw(:DEFAULT check_cookie_auth); Link Here
39
use C4::Context;
39
use C4::Context;
40
use C4::Debug;
40
use C4::Debug;
41
use C4::Output 3.02 qw(:html :ajax pagination_bar);
41
use C4::Output 3.02 qw(:html :ajax pagination_bar);
42
use C4::Dates qw(format_date);
43
use C4::Scrubber;
42
use C4::Scrubber;
44
use C4::Biblio;
43
use C4::Biblio;
45
use C4::Tags qw(add_tag get_approval_rows get_tag_rows remove_tag);
44
use C4::Tags qw(add_tag get_approval_rows get_tag_rows remove_tag);
Lines 232-238 if ($loggedinuser) { Link Here
232
		my $date = $_->{date_created} || '';
231
		my $date = $_->{date_created} || '';
233
		$date =~ /\s+(\d{2}\:\d{2}\:\d{2})/;
232
		$date =~ /\s+(\d{2}\:\d{2}\:\d{2})/;
234
		$_->{time_created_display} = $1;
233
		$_->{time_created_display} = $1;
235
		$_->{date_created_display} = format_date($_->{date_created});
236
	}
234
	}
237
}
235
}
238
236
239
- 

Return to bug 7743