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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt (-2 / +2 lines)
Lines 4-10 Link Here
4
<head>
4
<head>
5
<title>Gestion des index MACLES</title>
5
<title>Gestion des index MACLES</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
<script type="text/javascript">
7
<script>
8
//<![CDATA[
8
//<![CDATA[
9
9
10
    $(document).ready(function() {
10
    $(document).ready(function() {
Lines 89-95 Link Here
89
    [% END %]
89
    [% END %]
90
</div>
90
</div>
91
</form>
91
</form>
92
<script type="text/javascript">
92
<script>
93
//<![CDATA[
93
//<![CDATA[
94
function Activate(numlayer)
94
function Activate(numlayer)
95
{
95
{
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt (-1 / +1 lines)
Lines 34-40 Link Here
34
34
35
[% MACRO jsinclude BLOCK %]
35
[% MACRO jsinclude BLOCK %]
36
    [% Asset.js("js/xmlControlfield.js") | $raw %]
36
    [% Asset.js("js/xmlControlfield.js") | $raw %]
37
    <script type="text/javascript">
37
    <script>
38
        var objXmlControlField;
38
        var objXmlControlField;
39
        var tr_result;
39
        var tr_result;
40
        var h4_result;
40
        var h4_result;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt (-1 / +1 lines)
Lines 94-100 Link Here
94
</form>
94
</form>
95
95
96
[% MACRO jsinclude BLOCK %]
96
[% MACRO jsinclude BLOCK %]
97
<script type="text/javascript">
97
<script>
98
    function report() {
98
    function report() {
99
        var doc = opener.document;
99
        var doc = opener.document;
100
        var field = doc.getElementById("[% index | html %]");
100
        var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt (-1 / +1 lines)
Lines 716-722 Link Here
716
</form>
716
</form>
717
717
718
[% MACRO jsinclude BLOCK %]
718
[% MACRO jsinclude BLOCK %]
719
    <script type="text/javascript">
719
    <script>
720
        function report() {
720
        function report() {
721
            var doc   = opener.document;
721
            var doc   = opener.document;
722
            var field = doc.getElementById("[% index | html %]");
722
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt (-1 / +1 lines)
Lines 200-206 Link Here
200
</form>
200
</form>
201
201
202
[% MACRO jsinclude BLOCK %]
202
[% MACRO jsinclude BLOCK %]
203
    <script type="text/javascript">
203
    <script>
204
        function report() {
204
        function report() {
205
            var doc   = opener.document;
205
            var doc   = opener.document;
206
            var field = doc.getElementById("[% index | html %]");
206
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt (-1 / +1 lines)
Lines 325-331 Link Here
325
</form>
325
</form>
326
326
327
[% MACRO jsinclude BLOCK %]
327
[% MACRO jsinclude BLOCK %]
328
    <script type="text/javascript">
328
    <script>
329
        function report() {
329
        function report() {
330
                var doc   = opener.document;
330
                var doc   = opener.document;
331
                var field = doc.getElementById("[% index | html %]");
331
                var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt (-1 / +1 lines)
Lines 122-128 Link Here
122
</form>
122
</form>
123
123
124
[% MACRO jsinclude BLOCK %]
124
[% MACRO jsinclude BLOCK %]
125
    <script type="text/javascript">
125
    <script>
126
        function report() {
126
        function report() {
127
            var doc   = opener.document;
127
            var doc   = opener.document;
128
            var field = doc.getElementById("[% index | html %]");
128
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt (-3 / +3 lines)
Lines 127-133 Link Here
127
127
128
[% MACRO jsinclude BLOCK %]
128
[% MACRO jsinclude BLOCK %]
129
    [% IF ( fillinput ) %]
129
    [% IF ( fillinput ) %]
130
        <script type="text/javascript">
130
        <script>
131
            function go() {
131
            function go() {
132
132
133
                var index_start = "[% index | html %]";
133
                var index_start = "[% index | html %]";
Lines 207-213 Link Here
207
            window.close();
207
            window.close();
208
        </script>
208
        </script>
209
    [% ELSE %]
209
    [% ELSE %]
210
        <script type="text/javascript">
210
        <script>
211
            function report(value2report) {
211
            function report(value2report) {
212
                if (document.f_pop.result.value.length == 0) {
212
                if (document.f_pop.result.value.length == 0) {
213
                    document.f_pop.result.value = value2report;
213
                    document.f_pop.result.value = value2report;
Lines 224-230 Link Here
224
            }
224
            }
225
        </script>
225
        </script>
226
    [% END %]
226
    [% END %]
227
    <script type="text/javascript">
227
    <script>
228
        function jumpfull(page){
228
        function jumpfull(page){
229
            window.open(page,'','width=100,height=100,toolbar=false,scrollbars=yes');
229
            window.open(page,'','width=100,height=100,toolbar=false,scrollbars=yes');
230
        }
230
        }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_field_007.tt (-1 / +1 lines)
Lines 69-75 Link Here
69
69
70
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
70
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
71
</form>
71
</form>
72
<script type="text/javascript">
72
<script>
73
//<![CDATA[
73
//<![CDATA[
74
function report() {
74
function report() {
75
            var doc   = opener.document; 
75
            var doc   = opener.document; 
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_field_008.tt (-1 / +1 lines)
Lines 205-211 Link Here
205
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
205
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
206
</form>
206
</form>
207
207
208
<script type="text/javascript">//<![CDATA[
208
<script>//<![CDATA[
209
209
210
function RedrawChoices(typ){
210
function RedrawChoices(typ){
211
  var divOutput=document.getElementById("choices");
211
  var divOutput=document.getElementById("choices");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_leader.tt (-1 / +1 lines)
Lines 197-203 Link Here
197
</table>
197
</table>
198
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
198
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
199
</form>
199
</form>
200
<script type="text/javascript">
200
<script>
201
//<![CDATA[
201
//<![CDATA[
202
function report() {
202
function report() {
203
            var doc   = opener.document; 
203
            var doc   = opener.document; 
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100.tt (-1 / +1 lines)
Lines 687-693 languages and obsolete typography)</option> Link Here
687
</form>
687
</form>
688
688
689
[% MACRO jsinclude BLOCK %]
689
[% MACRO jsinclude BLOCK %]
690
    <script type="text/javascript">
690
    <script>
691
        function report() {
691
        function report() {
692
            var doc   = opener.document;
692
            var doc   = opener.document;
693
            var field = doc.getElementById("[% index | html %]");
693
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt (-1 / +1 lines)
Lines 352-358 languages and obsolete typography)</option> Link Here
352
</form>
352
</form>
353
353
354
[% MACRO jsinclude BLOCK %]
354
[% MACRO jsinclude BLOCK %]
355
    <script type="text/javascript">
355
    <script>
356
        function report() {
356
        function report() {
357
            var doc   = opener.document;
357
            var doc   = opener.document;
358
            var field = doc.getElementById("[% index | html %]");
358
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_105.tt (-1 / +1 lines)
Lines 1137-1143 Link Here
1137
</form>
1137
</form>
1138
1138
1139
[% MACRO jsinclude BLOCK %]
1139
[% MACRO jsinclude BLOCK %]
1140
    <script type="text/javascript">
1140
    <script>
1141
        function report() {
1141
        function report() {
1142
                var doc   = opener.document;
1142
                var doc   = opener.document;
1143
                var field = doc.getElementById("[% index | html %]");
1143
                var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_106.tt (-1 / +1 lines)
Lines 87-93 supplement)</option> Link Here
87
</form>
87
</form>
88
88
89
[% MACRO jsinclude BLOCK %]
89
[% MACRO jsinclude BLOCK %]
90
    <script type="text/javascript">
90
    <script>
91
        function report() {
91
        function report() {
92
            var doc   = opener.document;
92
            var doc   = opener.document;
93
            var field = doc.getElementById("[% index | html %]");
93
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_110.tt (-1 / +1 lines)
Lines 595-601 Link Here
595
</form>
595
</form>
596
596
597
[% MACRO jsinclude BLOCK %]
597
[% MACRO jsinclude BLOCK %]
598
    <script type="text/javascript">
598
    <script>
599
        function report() {
599
        function report() {
600
            document.f_pop.f5.value=document.f_pop.f5.value+'   ';
600
            document.f_pop.f5.value=document.f_pop.f5.value+'   ';
601
            document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
601
            document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_115a.tt (-1 / +1 lines)
Lines 1192-1198 Link Here
1192
</form>
1192
</form>
1193
1193
1194
[% MACRO jsinclude BLOCK %]
1194
[% MACRO jsinclude BLOCK %]
1195
    <script type="text/javascript">
1195
    <script>
1196
        function report() {
1196
        function report() {
1197
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
1197
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
1198
            document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);
1198
            document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_115b.tt (-1 / +1 lines)
Lines 639-645 Link Here
639
</form>
639
</form>
640
640
641
[% MACRO jsinclude BLOCK %]
641
[% MACRO jsinclude BLOCK %]
642
    <script type="text/javascript">
642
    <script>
643
        function report() {
643
        function report() {
644
                document.f_pop.f10.value=document.f_pop.f10.value+'    ';
644
                document.f_pop.f10.value=document.f_pop.f10.value+'    ';
645
                document.f_pop.f10.value=document.f_pop.f10.value.substring(0,4);
645
                document.f_pop.f10.value=document.f_pop.f10.value.substring(0,4);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_116.tt (-1 / +1 lines)
Lines 1590-1596 Link Here
1590
</form>
1590
</form>
1591
1591
1592
[% MACRO jsinclude BLOCK %]
1592
[% MACRO jsinclude BLOCK %]
1593
    <script type="text/javascript">
1593
    <script>
1594
        function report() {
1594
        function report() {
1595
            var doc   = opener.document;
1595
            var doc   = opener.document;
1596
            var field = doc.getElementById("[% index | html %]");
1596
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_117.tt (-1 / +1 lines)
Lines 813-819 Link Here
813
</form>
813
</form>
814
814
815
[% MACRO jsinclude BLOCK %]
815
[% MACRO jsinclude BLOCK %]
816
    <script type="text/javascript">
816
    <script>
817
        function report() {
817
        function report() {
818
            var doc   = opener.document;
818
            var doc   = opener.document;
819
                var field = doc.getElementById("[% index | html %]");
819
                var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_120.tt (-1 / +1 lines)
Lines 1126-1132 Link Here
1126
</form>
1126
</form>
1127
1127
1128
[% MACRO jsinclude BLOCK %]
1128
[% MACRO jsinclude BLOCK %]
1129
    <script type="text/javascript">
1129
    <script>
1130
        function report() {
1130
        function report() {
1131
            var doc   = opener.document;
1131
            var doc   = opener.document;
1132
                var field = doc.getElementById("[% index | html %]");
1132
                var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_121a.tt (-1 / +1 lines)
Lines 339-345 Link Here
339
</form>
339
</form>
340
340
341
[% MACRO jsinclude BLOCK %]
341
[% MACRO jsinclude BLOCK %]
342
    <script type="text/javascript">
342
    <script>
343
        function report() {
343
        function report() {
344
            var doc   = opener.document;
344
            var doc   = opener.document;
345
            var field = doc.getElementById("[% index | html %]");
345
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_121b.tt (-1 / +1 lines)
Lines 248-254 Link Here
248
</form>
248
</form>
249
249
250
[% MACRO jsinclude BLOCK %]
250
[% MACRO jsinclude BLOCK %]
251
    <script type="text/javascript">
251
    <script>
252
        function report() {
252
        function report() {
253
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
253
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
254
254
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_122.tt (-1 / +1 lines)
Lines 43-49 Link Here
43
</form>
43
</form>
44
44
45
[% MACRO jsinclude BLOCK %]
45
[% MACRO jsinclude BLOCK %]
46
    <script type="text/javascript">
46
    <script>
47
        function report() {
47
        function report() {
48
            document.f_pop.f2.value=document.f_pop.f2.value+'    ';
48
            document.f_pop.f2.value=document.f_pop.f2.value+'    ';
49
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
49
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123a.tt (-1 / +1 lines)
Lines 33-39 Link Here
33
</form>
33
</form>
34
34
35
[% MACRO jsinclude BLOCK %]
35
[% MACRO jsinclude BLOCK %]
36
    <script type="text/javascript">
36
    <script>
37
        function report() {
37
        function report() {
38
            var doc   = opener.document;
38
            var doc   = opener.document;
39
            var field = doc.getElementById("[% index | html %]");
39
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123d.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
</form>
49
</form>
50
50
51
[% MACRO jsinclude BLOCK %]
51
[% MACRO jsinclude BLOCK %]
52
    <script type="text/javascript">
52
    <script>
53
        function report() {
53
        function report() {
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123e.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
</form>
49
</form>
50
50
51
[% MACRO jsinclude BLOCK %]
51
[% MACRO jsinclude BLOCK %]
52
    <script type="text/javascript">
52
    <script>
53
        function report() {
53
        function report() {
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123f.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
</form>
49
</form>
50
50
51
[% MACRO jsinclude BLOCK %]
51
[% MACRO jsinclude BLOCK %]
52
    <script type="text/javascript">
52
    <script>
53
        function report() {
53
        function report() {
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123g.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
</form>
49
</form>
50
50
51
[% MACRO jsinclude BLOCK %]
51
[% MACRO jsinclude BLOCK %]
52
    <script type="text/javascript">
52
    <script>
53
        function report() {
53
        function report() {
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
54
            document.f_pop.f2.value=document.f_pop.f2.value+'   ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
55
            document.f_pop.f3.value=document.f_pop.f3.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_123i_j.tt (-1 / +1 lines)
Lines 39-45 Link Here
39
</form>
39
</form>
40
40
41
[% MACRO jsinclude BLOCK %]
41
[% MACRO jsinclude BLOCK %]
42
    <script type="text/javascript">
42
    <script>
43
        function report() {
43
        function report() {
44
            var f2= "000" + document.f_pop.f2.value;
44
            var f2= "000" + document.f_pop.f2.value;
45
            f2 = f2.substring(f2.length-3);
45
            f2 = f2.substring(f2.length-3);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124a.tt (-1 / +1 lines)
Lines 34-40 Link Here
34
</form>
34
</form>
35
35
36
[% MACRO jsinclude BLOCK %]
36
[% MACRO jsinclude BLOCK %]
37
    <script type="text/javascript">
37
    <script>
38
        function report() {
38
        function report() {
39
            var doc = opener.document;
39
            var doc = opener.document;
40
            var field = doc.getElementById("[% index | html %]");
40
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124b.tt (-1 / +1 lines)
Lines 75-81 Link Here
75
</form>
75
</form>
76
76
77
[% MACRO jsinclude BLOCK %]
77
[% MACRO jsinclude BLOCK %]
78
    <script type="text/javascript">
78
    <script>
79
        function report() {
79
        function report() {
80
            var doc   = opener.document;
80
            var doc   = opener.document;
81
            var field = doc.getElementById("[% index | html %]");
81
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124c.tt (-1 / +1 lines)
Lines 130-136 Link Here
130
</form>
130
</form>
131
131
132
[% MACRO jsinclude BLOCK %]
132
[% MACRO jsinclude BLOCK %]
133
    <script type="text/javascript">
133
    <script>
134
        function report() {
134
        function report() {
135
            var doc = opener.document;
135
            var doc = opener.document;
136
            var field = doc.getElementById("[% index | html %]");
136
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124d.tt (-1 / +1 lines)
Lines 34-40 Link Here
34
</form>
34
</form>
35
35
36
[% MACRO jsinclude BLOCK %]
36
[% MACRO jsinclude BLOCK %]
37
    <script type="text/javascript">
37
    <script>
38
        function report() {
38
        function report() {
39
            var doc = opener.document;
39
            var doc = opener.document;
40
            var field = doc.getElementById("[% index | html %]");
40
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124e.tt (-1 / +1 lines)
Lines 35-41 Link Here
35
</form>
35
</form>
36
36
37
[% MACRO jsinclude BLOCK %]
37
[% MACRO jsinclude BLOCK %]
38
    <script type="text/javascript">
38
    <script>
39
        function report() {
39
        function report() {
40
            var doc     = opener.document;
40
            var doc     = opener.document;
41
                var field   = doc.getElementById("[% index | html %]");
41
                var field   = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124f.tt (-1 / +1 lines)
Lines 109-115 Link Here
109
</form>
109
</form>
110
110
111
[% MACRO jsinclude BLOCK %]
111
[% MACRO jsinclude BLOCK %]
112
    <script type="text/javascript">
112
    <script>
113
        function report() {
113
        function report() {
114
                var doc   = opener.document;
114
                var doc   = opener.document;
115
                var field = doc.getElementById("[% index | html %]");
115
                var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_124g.tt (-1 / +1 lines)
Lines 70-76 Link Here
70
</form>
70
</form>
71
71
72
[% MACRO jsinclude BLOCK %]
72
[% MACRO jsinclude BLOCK %]
73
    <script type="text/javascript">
73
    <script>
74
        function report() {
74
        function report() {
75
            var doc = opener.document;
75
            var doc = opener.document;
76
            var field = doc.getElementById("[% index | html %]");
76
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_125a.tt (-1 / +1 lines)
Lines 136-142 Link Here
136
</form>
136
</form>
137
137
138
[% MACRO jsinclude BLOCK %]
138
[% MACRO jsinclude BLOCK %]
139
    <script type="text/javascript">
139
    <script>
140
        function report() {
140
        function report() {
141
            var doc = opener.document;
141
            var doc = opener.document;
142
            var field = doc.getElementById("[% index | html %]");
142
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_125b.tt (-1 / +1 lines)
Lines 129-135 Link Here
129
</form>
129
</form>
130
130
131
[% MACRO jsinclude BLOCK %]
131
[% MACRO jsinclude BLOCK %]
132
    <script type="text/javascript">
132
    <script>
133
        function report() {
133
        function report() {
134
            var doc   = opener.document;
134
            var doc   = opener.document;
135
            var field = doc.getElementById("[% index | html %]");
135
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_126a.tt (-1 / +1 lines)
Lines 1030-1036 Link Here
1030
</form>
1030
</form>
1031
1031
1032
[% MACRO jsinclude BLOCK %]
1032
[% MACRO jsinclude BLOCK %]
1033
    <script type="text/javascript">
1033
    <script>
1034
        function report() {
1034
        function report() {
1035
            var doc   = opener.document;
1035
            var doc   = opener.document;
1036
            var field = doc.getElementById("[% index | html %]");
1036
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_126b.tt (-1 / +1 lines)
Lines 173-179 Link Here
173
</form>
173
</form>
174
174
175
[% MACRO jsinclude BLOCK %]
175
[% MACRO jsinclude BLOCK %]
176
    <script type="text/javascript">
176
    <script>
177
        function report() {
177
        function report() {
178
            var doc = opener.document;
178
            var doc = opener.document;
179
            var field = doc.getElementById("[% index | html %]");
179
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_127.tt (-1 / +1 lines)
Lines 27-33 Link Here
27
</form>
27
</form>
28
28
29
[% MACRO jsinclude BLOCK %]
29
[% MACRO jsinclude BLOCK %]
30
    <script type="text/javascript">
30
    <script>
31
        function report() {
31
        function report() {
32
            document.f_pop.f1.value=document.f_pop.f1.value+'   ';
32
            document.f_pop.f1.value=document.f_pop.f1.value+'   ';
33
            document.f_pop.f2.value=document.f_pop.f2.value+'  ';
33
            document.f_pop.f2.value=document.f_pop.f2.value+'  ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt (-1 / +1 lines)
Lines 369-375 Link Here
369
</form>
369
</form>
370
370
371
[% MACRO jsinclude BLOCK %]
371
[% MACRO jsinclude BLOCK %]
372
    <script type="text/javascript">
372
    <script>
373
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
373
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
374
        function report() {
374
        function report() {
375
            var doc = opener.document;
375
            var doc = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128b.tt (-1 / +1 lines)
Lines 465-471 Link Here
465
</form>
465
</form>
466
466
467
[% MACRO jsinclude BLOCK %]
467
[% MACRO jsinclude BLOCK %]
468
    <script type="text/javascript">
468
    <script>
469
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
469
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
470
        function report() {
470
        function report() {
471
            var doc   = opener.document;
471
            var doc   = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128c.tt (-1 / +1 lines)
Lines 459-465 Link Here
459
</form>
459
</form>
460
460
461
[% MACRO jsinclude BLOCK %]
461
[% MACRO jsinclude BLOCK %]
462
    <script type="text/javascript">
462
    <script>
463
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
463
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
464
        function report() {
464
        function report() {
465
            var doc   = opener.document;
465
            var doc   = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt (-1 / +1 lines)
Lines 329-335 value="[% f5 | html %]" /></td> Link Here
329
</form>
329
</form>
330
330
331
[% MACRO jsinclude BLOCK %]
331
[% MACRO jsinclude BLOCK %]
332
    <script type="text/javascript">
332
    <script>
333
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
333
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
334
        function report() {
334
        function report() {
335
            document.f_pop.f5.value=document.f_pop.f5.value+'   ';
335
            document.f_pop.f5.value=document.f_pop.f5.value+'   ';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_135a.tt (-1 / +1 lines)
Lines 60-66 Link Here
60
</form>
60
</form>
61
61
62
[% MACRO jsinclude BLOCK %]
62
[% MACRO jsinclude BLOCK %]
63
    <script type="text/javascript">
63
    <script>
64
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
64
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
65
        function report() {
65
        function report() {
66
            var doc   = opener.document;
66
            var doc   = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt (-1 / +1 lines)
Lines 1725-1731 Link Here
1725
</form>
1725
</form>
1726
1726
1727
[% MACRO jsinclude BLOCK %]
1727
[% MACRO jsinclude BLOCK %]
1728
    <script type="text/javascript">
1728
    <script>
1729
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
1729
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
1730
        function report() {
1730
        function report() {
1731
            var doc = opener.document;
1731
            var doc = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_141.tt (-1 / +1 lines)
Lines 368-374 Link Here
368
</form>
368
</form>
369
369
370
[% MACRO jsinclude BLOCK %]
370
[% MACRO jsinclude BLOCK %]
371
    <script type="text/javascript">
371
    <script>
372
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
372
        var dateformat = "[% Koha.Preference('dateformat') | html %]";
373
        function report() {
373
        function report() {
374
            var doc = opener.document;
374
            var doc = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt (-1 / +1 lines)
Lines 25-31 Link Here
25
    </div>
25
    </div>
26
26
27
[% MACRO jsinclude BLOCK %]
27
[% MACRO jsinclude BLOCK %]
28
    <script type="text/javascript">
28
    <script>
29
        function report() {
29
        function report() {
30
            var doc   = opener.document;
30
            var doc   = opener.document;
31
            var field = doc.getElementById("[% index | html %]");
31
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a.tt (-1 / +1 lines)
Lines 28-34 Link Here
28
28
29
29
30
[% MACRO jsinclude BLOCK %]
30
[% MACRO jsinclude BLOCK %]
31
    <script type="text/javascript">
31
    <script>
32
        function report() {
32
        function report() {
33
            var doc   = opener.document;
33
            var doc   = opener.document;
34
            var field = doc.getElementById("[% index | html %]");
34
            var field = doc.getElementById("[% index | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_225a_bis.tt (-1 / +1 lines)
Lines 23-29 Link Here
23
    </div>
23
    </div>
24
24
25
[% MACRO jsinclude BLOCK %]
25
[% MACRO jsinclude BLOCK %]
26
    <script type="text/javascript">
26
    <script>
27
        $(document).ready(function(){
27
        $(document).ready(function(){
28
            $("#findvalue").autocomplete({
28
            $("#findvalue").autocomplete({
29
                source: "/cgi-bin/koha/cataloguing/ysearch.pl?table=biblioitems&field=collectiontitle",
29
                source: "/cgi-bin/koha/cataloguing/ysearch.pl?table=biblioitems&field=collectiontitle",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_700-4.tt (-1 / +1 lines)
Lines 48-54 Link Here
48
</form>
48
</form>
49
49
50
[% MACRO jsinclude BLOCK %]
50
[% MACRO jsinclude BLOCK %]
51
    <script type="text/javascript">
51
    <script>
52
        function report() {
52
        function report() {
53
            x = document.f_pop.f1.value.split(' - ');
53
            x = document.f_pop.f1.value.split(' - ');
54
            var doc   = opener.document;
54
            var doc   = opener.document;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader.tt (-2 / +1 lines)
Lines 294-300 Link Here
294
</form>
294
</form>
295
295
296
[% MACRO jsinclude BLOCK %]
296
[% MACRO jsinclude BLOCK %]
297
    <script type="text/javascript">
297
    <script>
298
        function report() {
298
        function report() {
299
            var doc   = opener.document;
299
            var doc   = opener.document;
300
            var field = doc.getElementById("[% index | html %]");
300
            var field = doc.getElementById("[% index | html %]");
301
- 

Return to bug 27531