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

(-)a/authorities/authorities.pl (-11 / +16 lines)
Lines 330-347 sub CreateKey { Link Here
330
330
331
=cut
331
=cut
332
332
333
sub GetMandatoryFieldZ3950($){
333
sub GetMandatoryFieldZ3950 {
334
    my $authtypecode = shift;
334
    my $authtypecode = shift;
335
335
    if ( C4::Context->preference('marcflavour') eq 'MARC21' ){
336
    #Tags guessed (see GuessAuthTypeCode from AuthoritiesMarc.pm)
336
        return {
337
337
            '100a' => 'authorpersonal',
338
    return {
338
            '110a' => 'authorcorp',
339
        '100'.'a' => 'authorpersonal',
339
            '111a' => 'authormeetingcon',
340
        '110'.'a' => 'authorcorp',
340
            '130a' => 'uniformtitle',
341
        '111'.'a' => 'authormeetingcon',
341
            '150a' => 'topic',
342
        '130'.'a' => 'uniformtitle',
342
        };
343
        '150'.'a' => 'topic',
343
    }else{
344
    };
344
        return {
345
            '200a' => 'authorpersonal',
346
            '210a' => 'authormeetingcon', #210 in UNIMARC is used for both corporation and meeting
347
            '230a' => 'uniformtitle',
348
        };
349
    }
345
}
350
}
346
351
347
sub build_tabs {
352
sub build_tabs {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-5 / +4 lines)
Lines 191-206 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
191
        [% END %]
191
        [% END %]
192
192
193
        [% IF ( show_prevbutton ) %]
193
        [% IF ( show_prevbutton ) %]
194
            <input type="button" name="changepage_prev" value="Previous Page" onclick="$('#current_page').val([% current_page %]-1);$('#page_form').submit();" />
194
            <input type="button" name="changepage_prev" value="Previous page" onclick="$('#current_page').val([% current_page %]-1);$('#page_form').submit();" />
195
        [% END %]
195
        [% END %]
196
        Page [% current_page %] / [% total_pages %]
196
        Page [% current_page %] / [% total_pages %]
197
        [% IF ( show_nextbutton ) %]
197
        [% IF ( show_nextbutton ) %]
198
            <input type="button" name="changepage_next" value="Next Page" onclick="$('#current_page').val([% current_page %]+1);$('#page_form').submit();" />
198
            <input type="button" name="changepage_next" value="Next page" onclick="$('#current_page').val([% current_page %]+1);$('#page_form').submit();" />
199
        [% END %]
199
        [% END %]
200
        <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" />
200
        <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" />
201
    </form>
201
    </form>
202
202
203
<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>
203
<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>
204
    [% ELSE %]
204
    [% ELSE %]
205
        [% IF ( errconn ) %]
205
        [% IF ( errconn ) %]
206
            <div class="dialog alert">
206
            <div class="dialog alert">
Lines 213-219 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
213
            </div>
213
            </div>
214
         [% END %]
214
         [% END %]
215
   <div class="dialog message">Nothing found.</div>
215
   <div class="dialog message">Nothing found.</div>
216
    <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>
216
    <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>
217
    [% END %]
217
    [% END %]
218
218
219
[% END %]
219
[% END %]
220
- 

Return to bug 11961