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

(-)a/C4/Record.pm (-1 / +1 lines)
Lines 294-300 sub marc2dcxml { Link Here
294
        };
294
        };
295
    } elsif ( $record =~ /^MARC::Record/ ) { # if OK makes xslt transformation
295
    } elsif ( $record =~ /^MARC::Record/ ) { # if OK makes xslt transformation
296
        my $xslt_engine = Koha::XSLT_Handler->new;
296
        my $xslt_engine = Koha::XSLT_Handler->new;
297
        if ( $format eq 'oaidc' || 'srwdc' || 'rdfdc' ) {
297
        if ( $format =~ /oaidc|srwdc|rdfdc/ ) {
298
            $output = $xslt_engine->transform( $marcxml, $xsl );
298
            $output = $xslt_engine->transform( $marcxml, $xsl );
299
        } else {
299
        } else {
300
            croak "The format argument ($format) not accepted.\n" .
300
            croak "The format argument ($format) not accepted.\n" .
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (+28 lines)
Lines 266-268 CAN_user_serials_create_subscription ) %] Link Here
266
</form>
266
</form>
267
</div>
267
</div>
268
268
269
    <!--Modal for Dublin Core-->
270
    <div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
271
        <div class="modal-header">
272
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">&times;</button>
273
            <h3 id="exportLabelexportModal_">Exporting to Dublin Core...</h3>
274
        </div>
275
        <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
276
        <div class="modal-body">
277
            <fieldset>
278
                <input id="input-simple" type="radio" name="format" value="rdfdc">
279
                <label for="input-simple">Simple DC-RDF</label>
280
                <br>
281
                <input id="input-oai" type="radio" name="format" value="oaidc" checked>
282
                <label for="input-oai">OAI-DC</label>
283
                <br>
284
                <input id="input-srw" type="radio" name="format" value="srwdc">
285
                <label for="input-srw">SRW-DC</label>
286
                <br>
287
            </fieldset>
288
        </div>
289
        <div class="modal-footer">
290
            <button type="submit" class="btn">Export</button>
291
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
292
        </div>
293
        <input type="hidden" name="op" value="export" />
294
        <input type="hidden" name="bib" value="[% biblionumber %]" />
295
        </form>
296
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-29 lines)
Lines 1084-1116 function verify_images() { Link Here
1084
[% END %]
1084
[% END %]
1085
</div>
1085
</div>
1086
1086
1087
    <!--Modal for Dublin Core-->
1088
    <div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
1089
        <div class="modal-header">
1090
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">&times;</button>
1091
            <h3 id="exportLabelexportModal_">Exporting to Dublin Core...</h3>
1092
        </div>
1093
        <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1094
        <div class="modal-body">
1095
            <fieldset>
1096
                <input id="input-simple" type="radio" name="format" value="rdfdc">
1097
                <label for="input-simple">Simple DC-RDF</label>
1098
                <br>
1099
                <input id="input-oai" type="radio" name="format" value="oaidc">
1100
                <label for="input-oai">OAI-DC</label>
1101
                <br>
1102
                <input id="input-srw" type="radio" name="format" value="srwdc">
1103
                <label for="input-srw">SRW-DC</label>
1104
                <br>
1105
            </fieldset>
1106
        </div>
1107
        <div class="modal-footer">
1108
            <button type="submit" class="btn">Export</button>
1109
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
1110
        </div>
1111
        <input type="hidden" name="op" value="export" />
1112
        <input type="hidden" name="bib" value="[% biblionumber %]" />
1113
        </form>
1114
    </div>
1115
1116
[% INCLUDE 'intranet-bottom.inc' %]
1087
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +1 lines)
Lines 1-7 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
2
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}</style>
4
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
5
[% INCLUDE 'browser-strings.inc' %]
5
[% INCLUDE 'browser-strings.inc' %]
6
<!--[if lt IE 9]>
6
<!--[if lt IE 9]>
7
<script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
7
<script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
8
- 

Return to bug 13642