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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt (-12 / +16 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 128a builder</title>
3
<title>UNIMARC field 128a builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_128a" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_128a" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 128a builder</h3>
8
<h3>UNIMARC field 128a builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 365-380 Link Here
365
</table>
367
</table>
366
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
368
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
367
</form>
369
</form>
368
<script type="text/javascript">
369
//<![CDATA[
370
    function report() {
371
        var doc   = opener.document; 
372
        var field = doc.getElementById("[% index %]");
373
        field.value =  document.f_pop.f1.value;
374
        window.close();
375
        return false;
376
    }
377
//]]>
378
</script>
379
370
380
[% INCLUDE 'popup-bottom.inc' %]
371
[% MACRO jsinclude BLOCK %]
372
    <script type="text/javascript">
373
        var dateformat = "[% Koha.Preference('dateformat') %]";
374
        function report() {
375
            var doc = opener.document;
376
            var field = doc.getElementById("[% index %]");
377
            field.value = document.f_pop.f1.value;
378
            window.close();
379
            return false;
380
        }
381
    </script>
382
[% END %]
383
384
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128b.tt (-12 / +15 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 128b builder</title>
3
<title>UNIMARC field 128b builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_128b" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_128b" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 128b builder</h3>
8
<h3>UNIMARC field 128b builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 461-477 Link Here
461
</table>
463
</table>
462
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
464
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
463
</form>
465
</form>
464
<script type="javascript">
466
465
//<![CDATA[
467
[% MACRO jsinclude BLOCK %]
466
	function report() {
468
    <script type="text/javascript">
467
		var doc   = opener.document; 
469
        var dateformat = "[% Koha.Preference('dateformat') %]";
470
        function report() {
471
            var doc   = opener.document;
468
            var field = doc.getElementById("[% index %]");
472
            var field = doc.getElementById("[% index %]");
469
        
473
            field.value = document.f_pop.f1.value;
470
            field.value =  document.f_pop.f1.value;
474
            window.close();
471
		self.close();
475
            return false;
472
		return false;
476
        }
473
	}
477
    </script>
474
//]]>
478
[% END %]
475
</script>
476
479
477
[% INCLUDE 'popup-bottom.inc' %]
480
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128c.tt (-10 / +14 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 128c builder</title>
3
<title>UNIMARC field 128c builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_128c" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_128c" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 128c builder</h3>
8
<h3>UNIMARC field 128c builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 455-470 Link Here
455
</table>
457
</table>
456
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
458
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
457
</form>
459
</form>
458
<script type="text/javascript">
460
459
//<![CDATA[
461
[% MACRO jsinclude BLOCK %]
460
	function report() {
462
    <script type="text/javascript">
461
            var doc   = opener.document; 
463
        var dateformat = "[% Koha.Preference('dateformat') %]";
464
        function report() {
465
            var doc   = opener.document;
462
            var field = doc.getElementById("[% index %]");
466
            var field = doc.getElementById("[% index %]");
463
            field.value =  document.f_pop.f1.value;
467
            field.value =  document.f_pop.f1.value;
464
	    window.close();
468
            window.close();
465
	    return false;
469
            return false;
466
	}
470
        }
467
//]]>
471
    </script>
468
</script>
472
[% END %]
469
473
470
[% INCLUDE 'popup-bottom.inc' %]
474
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt (-12 / +16 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 130 builder</title>
3
<title>UNIMARC field 130 builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_130" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_130" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 130 builder</h3>
8
<h3>UNIMARC field 130 builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 325-342 value="[% f5 %]" /></td> Link Here
325
</table>
327
</table>
326
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
328
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
327
</form>
329
</form>
328
<script type="text/javascript">
330
329
//<![CDATA[
331
[% MACRO jsinclude BLOCK %]
330
	function report() {
332
    <script type="text/javascript">
331
	    document.f_pop.f5.value=document.f_pop.f5.value+'   ';
333
        var dateformat = "[% Koha.Preference('dateformat') %]";
332
	    document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
334
        function report() {
333
	    var doc   = opener.document; 
335
            document.f_pop.f5.value=document.f_pop.f5.value+'   ';
336
            document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
337
            var doc   = opener.document;
334
            var field = doc.getElementById("[% index %]");
338
            var field = doc.getElementById("[% index %]");
335
            field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value ;
339
            field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value ;
336
	    window.close();
340
            window.close();
337
	    return false;
341
            return false;
338
	}
342
        }
339
//]]>
343
    </script>
340
</script>
344
[% END %]
341
345
342
[% INCLUDE 'popup-bottom.inc' %]
346
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_135a.tt (-9 / +13 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 135a builder</title>
3
<title>UNIMARC field 135a builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_135a" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_135a" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 135a builder</h3>
8
<h3>UNIMARC field 135a builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 56-72 Link Here
56
</table>
58
</table>
57
<p><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></p>
59
<p><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></p>
58
</form>
60
</form>
59
<script type="text/javascript">
61
60
//<![CDATA[
62
[% MACRO jsinclude BLOCK %]
61
	function report() {
63
    <script type="text/javascript">
62
            var doc   = opener.document; 
64
        var dateformat = "[% Koha.Preference('dateformat') %]";
65
        function report() {
66
            var doc   = opener.document;
63
            var field = doc.getElementById("[% index %]");
67
            var field = doc.getElementById("[% index %]");
64
            
68
65
            field.value =  document.f_pop.f1.value;
69
            field.value =  document.f_pop.f1.value;
66
            window.close();
70
            window.close();
67
            return false;
71
            return false;
68
	}
72
        }
69
//]]>
73
    </script>
70
</script>
74
[% END %]
71
75
72
[% INCLUDE 'popup-bottom.inc' %]
76
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt (-12 / +16 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 140 builder</title>
3
<title>UNIMARC field 140 builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_140" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_140" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 140 builder</h3>
8
<h3>UNIMARC field 140 builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 1721-1736 Link Here
1721
</table>
1723
</table>
1722
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
1724
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
1723
</form>
1725
</form>
1724
<script type="text/javascript">
1725
//<![CDATA[
1726
    function report() {
1727
        var doc = opener.document; 
1728
        var field = doc.getElementById("[% index %]");
1729
        field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value+document.f_pop.f10.value+document.f_pop.f11.value+document.f_pop.f12.value+document.f_pop.f13.value+document.f_pop.f14.value+document.f_pop.f15.value+document.f_pop.f16.value+document.f_pop.f17.value+document.f_pop.f18.value+document.f_pop.f19.value+document.f_pop.f20.value+document.f_pop.f21.value;
1730
        self.close();
1731
        return false;
1732
    }
1733
//]]>
1734
</script>
1735
1726
1736
[% INCLUDE 'popup-bottom.inc' %]
1727
[% MACRO jsinclude BLOCK %]
1728
    <script type="text/javascript">
1729
        var dateformat = "[% Koha.Preference('dateformat') %]";
1730
        function report() {
1731
            var doc = opener.document;
1732
            var field = doc.getElementById("[% index %]");
1733
            field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value+document.f_pop.f10.value+document.f_pop.f11.value+document.f_pop.f12.value+document.f_pop.f13.value+document.f_pop.f14.value+document.f_pop.f15.value+document.f_pop.f16.value+document.f_pop.f17.value+document.f_pop.f18.value+document.f_pop.f19.value+document.f_pop.f20.value+document.f_pop.f21.value;
1734
            self.close();
1735
            return false;
1736
        }
1737
    </script>
1738
[% END %]
1739
1740
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_141.tt (-14 / +17 lines)
Lines 1-7 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>UNIMARC field 141 builder</title>
3
<title>UNIMARC field 141 builder</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
6
5
<body id="cat_unimarc_field_141" class="cat" style="padding:1em;">
7
<body id="cat_unimarc_field_141" class="cat" style="padding:1em;">
6
<h3>UNIMARC field 141 builder</h3>
8
<h3>UNIMARC field 141 builder</h3>
7
<form name="f_pop" action="">
9
<form name="f_pop" action="">
Lines 364-380 Link Here
364
</table>
366
</table>
365
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
367
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
366
</form>
368
</form>
367
<script type="text/javascript">
368
//<![CDATA[
369
    function report() {
370
        var doc   = opener.document; 
371
        var field = doc.getElementById("[% index %]");
372
    
373
        field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value;
374
        self.close();
375
        return false;
376
    }
377
//]]>
378
</script>
379
369
380
[% INCLUDE 'popup-bottom.inc' %]
370
[% MACRO jsinclude BLOCK %]
371
    <script type="text/javascript">
372
        var dateformat = "[% Koha.Preference('dateformat') %]";
373
        function report() {
374
            var doc = opener.document;
375
            var field = doc.getElementById("[% index %]");
376
377
            field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value;
378
            self.close();
379
            return false;
380
        }
381
    </script>
382
[% END %]
383
384
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
381
- 

Return to bug 19877