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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt (-7 / +7 lines)
Lines 42-49 Link Here
42
		$("#mytagst").tablesorter({[% IF ( dateformat == 'metric' ) %]
42
		$("#mytagst").tablesorter({[% IF ( dateformat == 'metric' ) %]
43
    dateFormat: 'uk',[% END %]
43
    dateFormat: 'uk',[% END %]
44
            widgets : ['zebra'],
44
            widgets : ['zebra'],
45
			headers: { 3: { sorter: false }},
45
			headers: { 0: {sorter: false},4: { sorter: false }},
46
            sortList: [[2,0]]
46
            sortList: [[3,1]]
47
        });
47
        });
48
	});
48
	});
49
//]]>
49
//]]>
Lines 98-107 Link Here
98
	[% END %]
98
	[% END %]
99
	[% IF ( add_op ) %]
99
	[% IF ( add_op ) %]
100
	  [% IF ( added_count ) %]
100
	  [% IF ( added_count ) %]
101
		<div class="dialog message">[% added_count %] [% IF ( added_count ==1 ) %] tag[% ELSE %]tags[% END %] successfully added.</div>
101
		<div class="dialog message">[% added_count %] [% IF ( added_count ==1 ) %] tag[% ELSE %] tags[% END %] successfully added.</div>
102
	  [% END %]
102
	  [% END %]
103
	  [% IF ( deleted_count ) %]
103
	  [% IF ( deleted_count ) %]
104
		<div class="dialog message">[% deleted_count %][% IF ( deleted_count ==1 ) %] tag[% ELSE %]tags[% END %] successfully deleted.</div>
104
		<div class="dialog message">[% deleted_count %][% IF ( deleted_count ==1 ) %] tag[% ELSE %] tags[% END %] successfully deleted.</div>
105
	  [% END %]
105
	  [% END %]
106
	[% END %]
106
	[% END %]
107
107
Lines 109-118 Link Here
109
		<form method="post" action="opac-tags.pl">
109
		<form method="post" action="opac-tags.pl">
110
		<h2>My Tags</h2>
110
		<h2>My Tags</h2>
111
		<table id="mytagst">
111
		<table id="mytagst">
112
		<thead><tr><th>Term</th><th>Title</th><th>Date Added</th><th>Delete</th>
112
		<thead><tr><th>&nbsp;</th><th>Term</th><th>Title</th><th>Date Added</th><th>Delete</th>
113
		</tr></thead>
113
		</tr></thead>
114
	<tbody>[% FOREACH MY_TAG IN MY_TAGS %]
114
	<tbody>[% FOREACH MY_TAG IN MY_TAGS %]
115
		<tr><td><a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
115
		<tr><td><input type="checkbox" name="del[% MY_TAG.tag_id %]" value="1" /> </td><td><a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
116
				[% MY_TAG.term |html %]</a>
116
				[% MY_TAG.term |html %]</a>
117
			</td>
117
			</td>
118
			<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
118
			<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
Lines 122-127 Link Here
122
		</tr>
122
		</tr>
123
	[% END %]</tbody>
123
	[% END %]</tbody>
124
		</table>
124
		</table>
125
		<input type="submit" value="Delete selected tags" />
125
		</form>
126
		</form>
126
	[% END %]
127
	[% END %]
127
128
128
- 

Return to bug 7626