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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-6 / +23 lines)
Lines 28-33 Link Here
28
    });
28
    });
29
29
30
    $("#closemenu").click(function(e){
30
    $("#closemenu").click(function(e){
31
        e.preventDefault();
31
        $(".linktools").hide();
32
        $(".linktools").hide();
32
        $("tr").removeClass("selected");
33
        $("tr").removeClass("selected");
33
    });
34
    });
Lines 64-69 Link Here
64
        $("#dataPreviewLabel").html("");
65
        $("#dataPreviewLabel").html("");
65
        $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
66
        $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
66
    });
67
    });
68
    $( ".submit" ).on( "click", function() {
69
        $( "body" ).css( "cursor", "wait" );
70
    });
71
    $( "[name='changepage_prev']" ).on( "click", function() {
72
        var data_current_page_prev = $( this ).data( "currentpage" );
73
        $( '#current_page' ).val( data_current_page_prev - 1 );
74
        $( '#page_form' ).submit();
75
    });
76
    $( "[name='changepage_next']" ).on( "click", function() {
77
        var data_current_page_next = $( this ).data( "currentpage" );
78
        $( '#current_page' ).val( data_current_page_next + 1 );
79
        $( '#page_form' ).submit();
80
    });
81
    $( "[name='changepage_goto']" ).on( "click", function() {
82
        return validate_goto_page();
83
    });
67
});
84
});
68
85
69
[% IF ( total_pages ) %]
86
[% IF ( total_pages ) %]
Lines 128-142 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
128
                 [% END %]
145
                 [% END %]
129
              </select>
146
              </select>
130
              </li>
147
              </li>
148
              <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
131
         </ol>
149
         </ol>
132
        <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
133
    </fieldset>
150
    </fieldset>
134
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
151
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
135
    <input type="hidden" name="basketno" value="[% basketno %]" />
152
    <input type="hidden" name="basketno" value="[% basketno %]" />
136
    <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
153
    <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
137
	    </div>
154
	    </div>
138
<div class="yui-u second">
155
<div class="yui-u second">
139
<h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#">Select all</a></span><span class="clearall"><a id="CheckNone" href="#">Clear all</a></span></span></h2>
156
<h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></span></h2>
140
    <div id="z3950_search_targets_acq">
157
    <div id="z3950_search_targets_acq">
141
    [% FOREACH serverloo IN serverloop %]
158
    [% FOREACH serverloo IN serverloop %]
142
        <p>
159
        <p>
Lines 153-159 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
153
  </div>
170
  </div>
154
</div>
171
</div>
155
172
156
    <fieldset class="action"><input type="submit"  class="submit" value="Search" onclick="cursor :'wait'"/> <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Cancel</a></fieldset>
173
    <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Cancel</a></fieldset>
157
</form>
174
</form>
158
175
159
176
Lines 233-245 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
233
        [% END %]
250
        [% END %]
234
251
235
        [% IF ( show_prevbutton ) %]
252
        [% IF ( show_prevbutton ) %]
236
            <input type="button" name="changepage_prev" value="Previous Page" onclick="$('#current_page').val([% current_page %]-1);$('#page_form').submit();" />
253
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
237
        [% END %]
254
        [% END %]
238
        Page [% current_page %] / [% total_pages %]
255
        Page [% current_page %] / [% total_pages %]
239
        [% IF ( show_nextbutton ) %]
256
        [% IF ( show_nextbutton ) %]
240
            <input type="button" name="changepage_next" value="Next Page" onclick="$('#current_page').val([% current_page %]+1);$('#page_form').submit();" />
257
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
241
        [% END %]
258
        [% END %]
242
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" onclick="return validate_goto_page();" value="Go" />
259
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
243
    </form>
260
    </form>
244
261
245
    [% ELSE %]
262
    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-13 / +38 lines)
Lines 12-22 function Import(Breeding,AuthType,authid) { Link Here
12
    return false;
12
    return false;
13
}
13
}
14
14
15
function closemenu(){
16
    $(".linktools").hide();
17
    $("tr").removeClass("selected");
18
}
19
20
$(document).ready(function(){
15
$(document).ready(function(){
21
    $("#CheckAll").click(function(){
16
    $("#CheckAll").click(function(){
22
        $(".checkboxed").checkCheckboxes();
17
        $(".checkboxed").checkCheckboxes();
Lines 73-78 $(document).ready(function(){ Link Here
73
        $("#marcPreviewLabel").html("");
68
        $("#marcPreviewLabel").html("");
74
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
69
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
75
    });
70
    });
71
    $( ".submit" ).on( "click", function() {
72
        $( "body" ).css( "cursor", "wait" );
73
    });
74
    $( ".import_auth_record" ).on( "click", function(e) {
75
        e.preventDefault();
76
        var data_breedingid = $( this ).data( "breedingid" );
77
        var data_headingcode = $( this ).data( "heading_code" );
78
        var data_authid = $( this ).data( "authid" );
79
        Import(data_breedingid, data_headingcode, data_authid );
80
        return false;
81
    });
82
    $( "#close_menu" ).on( "click", function(e) {
83
        e.preventDefault();
84
        $(".linktools").hide();
85
        $("tr").removeClass("selected");
86
        return false;
87
    });
88
    $( "[name='changepage_prev']" ).on( "click", function() {
89
        var data_current_page_prev = $( this ).data( "currentpage" );
90
        $( '#current_page' ).val( data_current_page_prev - 1 );
91
        $( '#page_form' ).submit();
92
    });
93
    $( "[name='changepage_next']" ).on( "click", function() {
94
        var data_current_page_next = $( this ).data( "currentpage" );
95
        $( '#current_page' ).val( data_current_page_next + 1 );
96
        $( '#page_form' ).submit();
97
    });
98
    $( "[name='changepage_goto']" ).on( "click", function() {
99
        return validate_goto_page();
100
    });
76
});
101
});
77
102
78
[% IF ( total_pages ) %]
103
[% IF ( total_pages ) %]
Lines 139-150 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
139
                    <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
164
                    <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
140
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
165
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
141
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
166
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
167
                    <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
142
                </ol>
168
                </ol>
143
                <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
144
                </fieldset>
169
                </fieldset>
145
            </div>
170
            </div>
146
            <div class="yui-g">
171
            <div class="yui-g">
147
                <h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#">Select all</a></span><span class="clearall"><a id="CheckNone" href="#">Clear all</a></span></span></h2>
172
                <h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></span></h2>
148
                <div id="z3950_search_targets_auth">
173
                <div id="z3950_search_targets_auth">
149
                [% FOREACH serverloo IN serverloop %]
174
                [% FOREACH serverloo IN serverloop %]
150
                    <p>
175
                    <p>
Lines 158-164 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
158
                [% END %]
183
                [% END %]
159
                </div>
184
                </div>
160
            </div>
185
            </div>
161
        <fieldset class="action"><input type="submit"  class="submit" value="Search" onclick="cursor :'wait'"/> <a class="cancel close" href="#">Cancel</a></fieldset>
186
        <fieldset class="action"><input type="submit"  class="submit" value="Search"/> <a class="cancel close" href="#">Cancel</a></fieldset>
162
        </form>
187
        </form>
163
[% ELSE %]
188
[% ELSE %]
164
    <h2>Results for Authority Records</h2>
189
    <h2>Results for Authority Records</h2>
Lines 174-184 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
174
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
199
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
175
        [% IF ( breeding_loo.breedingid ) %]
200
        [% IF ( breeding_loo.breedingid ) %]
176
        <tr id="row[% breeding_loo.breedingid %]">
201
        <tr id="row[% breeding_loo.breedingid %]">
177
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">Preview MARC</a> <a href="#" onclick="Import([% breeding_loo.breedingid %],'[% breeding_loo.heading_code %]','[% breeding_loo.authid %]'); return false">Import</a><a href="#" onclick="closemenu();return false;" title="Close this menu"> X </a></div> </td>
202
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">Preview MARC</a> <a href="#" class="import_auth_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a><a href="#" id="close_menu" title="Close this menu"> X </a></div> </td>
178
            <td>[% breeding_loo.heading %]</td>
203
            <td>[% breeding_loo.heading %]</td>
179
            <td>[% breeding_loo.heading_code %]</td>
204
            <td>[% breeding_loo.heading_code %]</td>
180
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">MARC</a></td>
205
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">MARC</a></td>
181
            <td><a href="#" onclick="Import([% breeding_loo.breedingid %],'[% breeding_loo.heading_code %]','[% breeding_loo.authid %]'); return false">Import</a></td>
206
            <td><a href="#" class="import_auth_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a></td>
182
        </tr>
207
        </tr>
183
        [% END %]
208
        [% END %]
184
    [% END %]</tbody>
209
    [% END %]</tbody>
Lines 215-227 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
215
        [% END %]
240
        [% END %]
216
241
217
        [% IF ( show_prevbutton ) %]
242
        [% IF ( show_prevbutton ) %]
218
            <input type="button" name="changepage_prev" value="Previous page" onclick="$('#current_page').val([% current_page %]-1);$('#page_form').submit();" />
243
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
219
        [% END %]
244
        [% END %]
220
        Page [% current_page %] / [% total_pages %]
245
        Page [% current_page %] / [% total_pages %]
221
        [% IF ( show_nextbutton ) %]
246
        [% IF ( show_nextbutton ) %]
222
            <input type="button" name="changepage_next" value="Next page" onclick="$('#current_page').val([% current_page %]+1);$('#page_form').submit();" />
247
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
223
        [% END %]
248
        [% END %]
224
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" onclick="return validate_goto_page();" value="Go" />
249
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
225
    </form>
250
    </form>
226
251
227
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search"/></form></p>
252
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search"/></form></p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-15 / +38 lines)
Lines 12-22 function Import(GetThisOne,biblionumber) { Link Here
12
    return false;
12
    return false;
13
}
13
}
14
14
15
function closemenu(){
16
    $(".linktools").hide();
17
    $("tr").removeClass("selected");
18
}
19
20
$(document).ready(function(){
15
$(document).ready(function(){
21
    $("#CheckAll").click(function(){
16
    $("#CheckAll").click(function(){
22
        $(".checkboxed").checkCheckboxes();
17
        $(".checkboxed").checkCheckboxes();
Lines 74-80 $(document).ready(function(){ Link Here
74
        $("#dataPreviewLabel").html("");
69
        $("#dataPreviewLabel").html("");
75
        $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
70
        $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
76
    });
71
    });
77
72
    $( ".submit" ).on( "click", function() {
73
        $( "body" ).css( "cursor", "wait" );
74
    });
75
    $( ".import_auth_record" ).on( "click", function(e) {
76
        e.preventDefault();
77
        var data_breedingid = $( this ).data( "breedingid" );
78
        var data_headingcode = $( this ).data( "heading_code" );
79
        var data_authid = $( this ).data( "authid" );
80
        Import(data_breedingid, data_headingcode, data_authid );
81
        return false;
82
    });
83
    $( "#close_menu" ).on( "click", function(e) {
84
        e.preventDefault();
85
        $(".linktools").hide();
86
        $("tr").removeClass("selected");
87
        return false;
88
    });
89
    $( "[name='changepage_prev']" ).on( "click", function() {
90
        var data_current_page_prev = $( this ).data( "currentpage" );
91
        $( '#current_page' ).val( data_current_page_prev - 1 );
92
        $( '#page_form' ).submit();
93
    });
94
    $( "[name='changepage_next']" ).on( "click", function() {
95
        var data_current_page_next = $( this ).data( "currentpage" );
96
        $( '#current_page' ).val( data_current_page_next + 1 );
97
        $( '#page_form' ).submit();
98
    });
99
    $( "[name='changepage_goto']" ).on( "click", function() {
100
        return validate_goto_page();
101
    });
78
});
102
});
79
103
80
[% IF ( total_pages ) %]
104
[% IF ( total_pages ) %]
Lines 135-147 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
135
        <li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
159
        <li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
136
        <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
160
        <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
137
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
161
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
162
        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
138
        </ol>
163
        </ol>
139
    <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
140
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
164
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
141
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
165
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
142
    </div>
166
    </div>
143
    <div class="yui-g">
167
    <div class="yui-g">
144
      <h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#">Select all</a></span><span class="clearall"><a id="CheckNone" href="#">Clear all</a></span></span></h2>
168
      <h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></span></h2>
145
      <div id="z3950_search_targets">
169
      <div id="z3950_search_targets">
146
    [% FOREACH serverloo IN serverloop %]
170
    [% FOREACH serverloo IN serverloop %]
147
        <p> 
171
        <p> 
Lines 156-162 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
156
    [% END %]
180
    [% END %]
157
      </div>
181
      </div>
158
    </div>
182
    </div>
159
    <fieldset class="action"><input type="submit"  class="submit" value="Search" onclick="cursor :'wait'"/> <a class="cancel close" href="#">Cancel</a></fieldset>
183
    <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
160
    </form>
184
    </form>
161
185
162
186
Lines 206-212 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
206
        [% IF ( breeding_loo.breedingid ) %]
230
        [% IF ( breeding_loo.breedingid ) %]
207
231
208
	    <tr id="row[% breeding_loo.breedingid %]">
232
	    <tr id="row[% breeding_loo.breedingid %]">
209
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="#" onclick="Import([% breeding_loo.breedingid %],[% breeding_loo.biblionumber %]); return false">Import</a><a href="#" onclick="closemenu();return false;" title="Close this menu"> X </a></div> </td>
233
            <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Preview card</a> <a href="#" class="import_auth_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a><a href="#" id="close_menu" title="Close this menu"> X </a></div> </td>
210
            <td>[% breeding_loo.title |html %]</td>
234
            <td>[% breeding_loo.title |html %]</td>
211
            <td>[% breeding_loo.author %]</td>
235
            <td>[% breeding_loo.author %]</td>
212
            <td>[% breeding_loo.date %]</td>
236
            <td>[% breeding_loo.date %]</td>
Lines 215-221 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
215
            <td>[% breeding_loo.lccn %]</td>
239
            <td>[% breeding_loo.lccn %]</td>
216
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">MARC</a></td>
240
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">MARC</a></td>
217
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Card</a></td>
241
            <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" class="previewData">Card</a></td>
218
            <td><a href="#" onclick="Import([% breeding_loo.breedingid %],[% breeding_loo.biblionumber %]); return false">Import</a></td> 
242
            <td><a href="#" class="import_auth_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a></td> 
219
        </tr>
243
        </tr>
220
        [% END %]
244
        [% END %]
221
    [% END %]</tbody>
245
    [% END %]</tbody>
Lines 253-265 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
253
        [% END %]
277
        [% END %]
254
278
255
        [% IF ( show_prevbutton ) %]
279
        [% IF ( show_prevbutton ) %]
256
            <input type="button" name="changepage_prev" value="Previous Page" onclick="$('#current_page').val([% current_page %]-1);$('#page_form').submit();" />
280
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
257
        [% END %]
281
        [% END %]
258
        Page [% current_page %] / [% total_pages %]
282
        Page [% current_page %] / [% total_pages %]
259
        [% IF ( show_nextbutton ) %]
283
        [% IF ( show_nextbutton ) %]
260
            <input type="button" name="changepage_next" value="Next Page" onclick="$('#current_page').val([% current_page %]+1);$('#page_form').submit();" />
284
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
261
        [% END %]
285
        [% END %]
262
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" onclick="return validate_goto_page();" value="Go" />
286
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
263
    </form>
287
    </form>
264
288
265
    [% ELSE %]
289
    [% ELSE %]
266
- 

Return to bug 16812