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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt (-4 / +11 lines)
Lines 18-28 Link Here
18
<input type="text" id="received" value="[% result | html %]" disabled />
18
<input type="text" id="received" value="[% result | html %]" disabled />
19
19
20
<p>I will pass back what you type here, if you press OK.</p>
20
<p>I will pass back what you type here, if you press OK.</p>
21
21
<input type="text" id="return" value="[% result | html %]" />
22
<input type="text" id="return" value="[% result | html %]" />
22
<p>
23
23
    <input type="button" value="OK"  onclick="submitMyForm();" />
24
<nav class="navbar navbar-default navbar-fixed-bottom">
24
    <a href="#" class="cancel close">Cancel</a>
25
    <div class="container-fluid">
25
</p>
26
        <fieldset class="action">
27
            <input type="button" class="btn btn-primary" value="OK"  onclick="submitMyForm();" />
28
            <button class="btn btn-default close_window">Cancel</button>
29
        </fieldset>
30
    </div>
31
</nav>
32
26
</form>
33
</form>
27
34
28
<script>
35
<script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.tt (-1 / +9 lines)
Lines 36-42 Link Here
36
                </td>
36
                </td>
37
            </tr>
37
            </tr>
38
        </table>
38
        </table>
39
        <fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
39
40
        <nav class="navbar navbar-default navbar-fixed-bottom">
41
            <div class="container-fluid">
42
                <fieldset class="action">
43
                    <input type="submit" class="btn btn-primary" value="Save" />
44
                    <button class="btn btn-default close_window">Cancel</button>
45
                </fieldset>
46
            </div>
47
        </nav>
40
    </form>
48
    </form>
41
</div> <!-- /.page-section -->
49
</div> <!-- /.page-section -->
42
50
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt (-1 / +8 lines)
Lines 99-105 Link Here
99
        <div id="choices">
99
        <div id="choices">
100
        </div>
100
        </div>
101
101
102
        <fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
102
        <nav class="navbar navbar-default navbar-fixed-bottom">
103
            <div class="container-fluid">
104
                <fieldset class="action">
105
                    <input type="submit" class="btn btn-primary" value="Save" />
106
                    <button class="btn btn-default close_window">Cancel</button>
107
                </fieldset>
108
            </div>
109
        </nav>
103
    </form>
110
    </form>
104
</div> <!-- /.page-section -->
111
</div> <!-- /.page-section -->
105
112
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt (+9 lines)
Lines 49-54 Link Here
49
            </tr>
49
            </tr>
50
        </table>
50
        </table>
51
    </div> <!-- /.page-section -->
51
    </div> <!-- /.page-section -->
52
53
    <nav class="navbar navbar-default navbar-fixed-bottom">
54
        <div class="container-fluid">
55
            <fieldset class="action">
56
                <input type="submit" class="btn btn-primary" value="Save" />
57
                <button class="btn btn-default close_window">Cancel</button>
58
            </fieldset>
59
        </div>
60
    </nav>
52
</form>
61
</form>
53
62
54
[% MACRO jsinclude BLOCK %]
63
[% MACRO jsinclude BLOCK %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt (-1 / +8 lines)
Lines 722-728 Link Here
722
                </td>
722
                </td>
723
            </tr>
723
            </tr>
724
        </table>
724
        </table>
725
        <fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
725
        <nav class="navbar navbar-default navbar-fixed-bottom">
726
            <div class="container-fluid">
727
                <fieldset class="action">
728
                    <input type="submit" class="btn btn-primary" value="Save" />
729
                    <button class="btn btn-default close_window">Cancel</button>
730
                </fieldset>
731
            </div>
732
        </nav>
726
    </div> <!-- /.page-section -->
733
    </div> <!-- /.page-section -->
727
</form>
734
</form>
728
735
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt (-192 / +203 lines)
Lines 12-209 Link Here
12
12
13
<body id="cat_marc21_field_008_classifications" class="cat value_builder">
13
<body id="cat_marc21_field_008_classifications" class="cat value_builder">
14
<h1> 008 Fixed-length data elements</h1>
14
<h1> 008 Fixed-length data elements</h1>
15
<form name="f_pop" onsubmit="report()" action="">
15
16
<input type="hidden" name="plugin_name" value="marc21_field_008_classifications.pl" />
16
<div class="page-section">
17
<input name="f1" value="[% f1 | html %]" type="hidden" />
17
    <form name="f_pop" onsubmit="report()" action="">
18
<table>
18
    <input type="hidden" name="plugin_name" value="marc21_field_008_classifications.pl" />
19
    <tr>
19
    <input name="f1" value="[% f1 | html %]" type="hidden" />
20
        <td>00-05- Date entered on file</td>
20
    <table>
21
        <td>[% f1 | html %]</td>
21
        <tr>
22
    </tr>
22
            <td>00-05- Date entered on file</td>
23
    <tr>
23
            <td>[% f1 | html %]</td>
24
        <td><label for="f6">06- Kind of record</label></td>
24
        </tr>
25
        <td>
25
        <tr>
26
            <select name="f6" id="f6">
26
            <td><label for="f6">06- Kind of record</label></td>
27
            [% IF ( f6a ) %]
27
            <td>
28
                <option value="a" selected="selected">a- Schedule record</option>
28
                <select name="f6" id="f6">
29
            [% ELSE %]
29
                [% IF ( f6a ) %]
30
                <option value="a">a- Schedule record</option>
30
                    <option value="a" selected="selected">a- Schedule record</option>
31
            [% END %]
31
                [% ELSE %]
32
            [% IF ( f6b ) %]
32
                    <option value="a">a- Schedule record</option>
33
                <option value="b" selected="selected">b- Table record</option>
33
                [% END %]
34
            [% ELSE %]
34
                [% IF ( f6b ) %]
35
                <option value="b">b- Table record</option>
35
                    <option value="b" selected="selected">b- Table record</option>
36
            [% END %]
36
                [% ELSE %]
37
            [% IF ( f6c ) %]
37
                    <option value="b">b- Table record</option>
38
                <option value="c" selected="selected">c- Index term record</option>
38
                [% END %]
39
            [% ELSE %]
39
                [% IF ( f6c ) %]
40
                <option value="c">c- Index term record</option>
40
                    <option value="c" selected="selected">c- Index term record</option>
41
            [% END %]
41
                [% ELSE %]
42
            </select>
42
                    <option value="c">c- Index term record</option>
43
        </td>
43
                [% END %]
44
    </tr>
44
                </select>
45
    <tr>
45
            </td>
46
        <td><label for="f7">07- Type of number</label></td>
46
        </tr>
47
        <td>
47
        <tr>
48
            <select name="f7" id="f7">
48
            <td><label for="f7">07- Type of number</label></td>
49
            [% IF ( f7a ) %]
49
            <td>
50
                <option value="a" selected="selected">a- Single number</option>
50
                <select name="f7" id="f7">
51
            [% ELSE %]
51
                [% IF ( f7a ) %]
52
                <option value="a">a- Single number</option>
52
                    <option value="a" selected="selected">a- Single number</option>
53
            [% END %]
53
                [% ELSE %]
54
            [% IF ( f7b ) %]
54
                    <option value="a">a- Single number</option>
55
                <option value="b" selected="selected">b- Defined number span</option>
55
                [% END %]
56
            [% ELSE %]
56
                [% IF ( f7b ) %]
57
                <option value="b">b- Defined number span</option>
57
                    <option value="b" selected="selected">b- Defined number span</option>
58
            [% END %]
58
                [% ELSE %]
59
            [% IF ( f7c ) %]
59
                    <option value="b">b- Defined number span</option>
60
                <option value="c" selected="selected">c- Summary number span</option>
60
                [% END %]
61
            [% ELSE %]
61
                [% IF ( f7c ) %]
62
                <option value="c">c- Summary number span</option>
62
                    <option value="c" selected="selected">c- Summary number span</option>
63
            [% END %]
63
                [% ELSE %]
64
            [% IF ( f7n ) %]
64
                    <option value="c">c- Summary number span</option>
65
                <option value="n" selected="selected">n- Not applicable</option>
65
                [% END %]
66
            [% ELSE %]
66
                [% IF ( f7n ) %]
67
                <option value="n">n - Not applicable</option>
67
                    <option value="n" selected="selected">n- Not applicable</option>
68
            [% END %]
68
                [% ELSE %]
69
            </select>
69
                    <option value="n">n - Not applicable</option>
70
        </td>
70
                [% END %]
71
    </tr>
71
                </select>
72
    <tr>
72
            </td>
73
        <td><label for="f8">08- Classification validity</label></td>
73
        </tr>
74
        <td>
74
        <tr>
75
            <select name="f8" id="f8">
75
            <td><label for="f8">08- Classification validity</label></td>
76
            [% IF ( f8a ) %]
76
            <td>
77
                <option value="a" selected="selected">a- Valid</option>
77
                <select name="f8" id="f8">
78
            [% ELSE %]
78
                [% IF ( f8a ) %]
79
                <option value="a">a- Valid</option>
79
                    <option value="a" selected="selected">a- Valid</option>
80
            [% END %]
80
                [% ELSE %]
81
            [% IF ( f8b ) %]
81
                    <option value="a">a- Valid</option>
82
                <option value="b" selected="selected">b- First number of span invalid</option>
82
                [% END %]
83
            [% ELSE %]
83
                [% IF ( f8b ) %]
84
                <option value="b">b- First number of span invalid</option>
84
                    <option value="b" selected="selected">b- First number of span invalid</option>
85
            [% END %]
85
                [% ELSE %]
86
            [% IF ( f8c ) %]
86
                    <option value="b">b- First number of span invalid</option>
87
                <option value="c" selected="selected">c- Last number of span invalid</option>
87
                [% END %]
88
            [% ELSE %]
88
                [% IF ( f8c ) %]
89
                <option value="c">c- Last number of span invalid</option>
89
                    <option value="c" selected="selected">c- Last number of span invalid</option>
90
            [% END %]
90
                [% ELSE %]
91
            [% IF ( f8d ) %]
91
                    <option value="c">c- Last number of span invalid</option>
92
                <option value="d" selected="selected">d- Completely invalid</option>
92
                [% END %]
93
            [% ELSE %]
93
                [% IF ( f8d ) %]
94
                <option value="d">d- Completely invalid</option>
94
                    <option value="d" selected="selected">d- Completely invalid</option>
95
            [% END %]
95
                [% ELSE %]
96
            [% IF ( f8e ) %]
96
                    <option value="d">d- Completely invalid</option>
97
                <option value="e" selected="selected">e- Obsolete</option>
97
                [% END %]
98
            [% ELSE %]
98
                [% IF ( f8e ) %]
99
                <option value="e">e- Obsolete</option>
99
                    <option value="e" selected="selected">e- Obsolete</option>
100
            [% END %]
100
                [% ELSE %]
101
            [% IF ( f8n ) %]
101
                    <option value="e">e- Obsolete</option>
102
                <option value="n" selected="selected">n- Not applicable</option>
102
                [% END %]
103
            [% ELSE %]
103
                [% IF ( f8n ) %]
104
                <option value="n">n - Not applicable</option>
104
                    <option value="n" selected="selected">n- Not applicable</option>
105
            [% END %]
105
                [% ELSE %]
106
            </select>
106
                    <option value="n">n - Not applicable</option>
107
        </td>
107
                [% END %]
108
    </tr>
108
                </select>
109
    <tr>
109
            </td>
110
        <td><label for="f9">09- Standard or optional designation</label></td>
110
        </tr>
111
        <td>
111
        <tr>
112
            <select name="f9" id="f9">
112
            <td><label for="f9">09- Standard or optional designation</label></td>
113
            [% IF ( f9a ) %]
113
            <td>
114
                <option value="a" selected="selected">a- Standard</option>
114
                <select name="f9" id="f9">
115
            [% ELSE %]
115
                [% IF ( f9a ) %]
116
                <option value="a">a- Standard</option>
116
                    <option value="a" selected="selected">a- Standard</option>
117
            [% END %]
117
                [% ELSE %]
118
            [% IF ( f9b ) %]
118
                    <option value="a">a- Standard</option>
119
                <option value="b" selected="selected">b- Optional</option>
119
                [% END %]
120
            [% ELSE %]
120
                [% IF ( f9b ) %]
121
                <option value="b">b- Optional</option>
121
                    <option value="b" selected="selected">b- Optional</option>
122
            [% END %]
122
                [% ELSE %]
123
            [% IF ( f9n ) %]
123
                    <option value="b">b- Optional</option>
124
                <option value="n" selected="selected">n- Not applicable</option>
124
                [% END %]
125
            [% ELSE %]
125
                [% IF ( f9n ) %]
126
                <option value="n">n - Not applicable</option>
126
                    <option value="n" selected="selected">n- Not applicable</option>
127
            [% END %]
127
                [% ELSE %]
128
            </select>
128
                    <option value="n">n - Not applicable</option>
129
        </td>
129
                [% END %]
130
    </tr>
130
                </select>
131
    <tr>
131
            </td>
132
        <td><label for="f10">10- Record update in process</label></td>
132
        </tr>
133
        <td>
133
        <tr>
134
            <select name="f10" id="f10">
134
            <td><label for="f10">10- Record update in process</label></td>
135
            [% IF ( f10a ) %]
135
            <td>
136
                <option value="a" selected="selected">a- Record can be used</option>
136
                <select name="f10" id="f10">
137
            [% ELSE %]
137
                [% IF ( f10a ) %]
138
                <option value="a">a- Record can be used</option>
138
                    <option value="a" selected="selected">a- Record can be used</option>
139
            [% END %]
139
                [% ELSE %]
140
            [% IF ( f10b ) %]
140
                    <option value="a">a- Record can be used</option>
141
                <option value="b" selected="selected">b- Record is being updated</option>
141
                [% END %]
142
            [% ELSE %]
142
                [% IF ( f10b ) %]
143
                <option value="b">b- Record is being updated</option>
143
                    <option value="b" selected="selected">b- Record is being updated</option>
144
            [% END %]
144
                [% ELSE %]
145
            </select>
145
                    <option value="b">b- Record is being updated</option>
146
        </td>
146
                [% END %]
147
    </tr>
147
                </select>
148
    <tr>
148
            </td>
149
        <td><label for="f11">11- Level of establishment</label></td>
149
        </tr>
150
        <td>
150
        <tr>
151
            <select name="f11" id="f11">
151
            <td><label for="f11">11- Level of establishment</label></td>
152
            [% IF ( f11a ) %]
152
            <td>
153
                <option value="a" selected="selected">a- Fully established</option>
153
                <select name="f11" id="f11">
154
            [% ELSE %]
154
                [% IF ( f11a ) %]
155
                <option value="a">a- Fully established</option>
155
                    <option value="a" selected="selected">a- Fully established</option>
156
            [% END %]
156
                [% ELSE %]
157
            [% IF ( f11c ) %]
157
                    <option value="a">a- Fully established</option>
158
                <option value="c" selected="selected">c- Provisional</option>
158
                [% END %]
159
            [% ELSE %]
159
                [% IF ( f11c ) %]
160
                <option value="c">c- Provisional</option>
160
                    <option value="c" selected="selected">c- Provisional</option>
161
            [% END %]
161
                [% ELSE %]
162
            </select>
162
                    <option value="c">c- Provisional</option>
163
        </td>
163
                [% END %]
164
    </tr>
164
                </select>
165
    <tr>
165
            </td>
166
        <td><label for="f12">12- Synthesized number indication</label></td>
166
        </tr>
167
        <td>
167
        <tr>
168
            <select name="f12" id="f12">
168
            <td><label for="f12">12- Synthesized number indication</label></td>
169
            [% IF ( f12a ) %]
169
            <td>
170
                <option value="a" selected="selected">a- Not synthesized</option>
170
                <select name="f12" id="f12">
171
            [% ELSE %]
171
                [% IF ( f12a ) %]
172
                <option value="a">a- Not synthesized</option>
172
                    <option value="a" selected="selected">a- Not synthesized</option>
173
            [% END %]
173
                [% ELSE %]
174
            [% IF ( f12b ) %]
174
                    <option value="a">a- Not synthesized</option>
175
                <option value="b" selected="selected">b- Synthesized</option>
175
                [% END %]
176
            [% ELSE %]
176
                [% IF ( f12b ) %]
177
                <option value="b">b- Synthesized</option>
177
                    <option value="b" selected="selected">b- Synthesized</option>
178
            [% END %]
178
                [% ELSE %]
179
            [% IF ( f12n ) %]
179
                    <option value="b">b- Synthesized</option>
180
                <option value="n" selected="selected">n- Not applicable</option>
180
                [% END %]
181
            [% ELSE %]
181
                [% IF ( f12n ) %]
182
                <option value="n">n - Not applicable</option>
182
                    <option value="n" selected="selected">n- Not applicable</option>
183
            [% END %]
183
                [% ELSE %]
184
            </select>
184
                    <option value="n">n - Not applicable</option>
185
        </td>
185
                [% END %]
186
    </tr>
186
                </select>
187
    <tr>
187
            </td>
188
        <td><label for="f13">13- Display controller</label></td>
188
        </tr>
189
        <td>
189
        <tr>
190
            <select name="f13" id="f13">
190
            <td><label for="f13">13- Display controller</label></td>
191
            [% IF ( f13a ) %]
191
            <td>
192
                <option value="a" selected="selected">a- Displayed in standard schedules or tables</option>
192
                <select name="f13" id="f13">
193
            [% ELSE %]
193
                [% IF ( f13a ) %]
194
                <option value="a">a- Displayed in standard schedules or tables</option>
194
                    <option value="a" selected="selected">a- Displayed in standard schedules or tables</option>
195
            [% END %]
195
                [% ELSE %]
196
            [% IF ( f13b ) %]
196
                    <option value="a">a- Displayed in standard schedules or tables</option>
197
                <option value="b" selected="selected">b- Extended display</option>
197
                [% END %]
198
            [% ELSE %]
198
                [% IF ( f13b ) %]
199
                <option value="b">b- Extended display</option>
199
                    <option value="b" selected="selected">b- Extended display</option>
200
            [% END %]
200
                [% ELSE %]
201
            </select>
201
                    <option value="b">b- Extended display</option>
202
        </td>
202
                [% END %]
203
    </tr>
203
                </select>
204
</table>
204
            </td>
205
<fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
205
        </tr>
206
</form>
206
    </table>
207
208
        <nav class="navbar navbar-default navbar-fixed-bottom">
209
            <div class="container-fluid">
210
                <fieldset class="action">
211
                    <input type="submit" class="btn btn-primary" value="Save" />
212
                    <button class="btn btn-default close_window">Cancel</button>
213
                </fieldset>
214
            </div>
215
        </nav>
216
    </form>
217
</div> <!-- /.page-section -->
207
218
208
[% MACRO jsinclude BLOCK %]
219
[% MACRO jsinclude BLOCK %]
209
    <script>
220
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt (-1 / +8 lines)
Lines 352-358 Link Here
352
                </tr>
352
                </tr>
353
            </table>
353
            </table>
354
354
355
            <fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
355
            <nav class="navbar navbar-default navbar-fixed-bottom">
356
                <div class="container-fluid">
357
                    <fieldset class="action">
358
                        <input type="submit" class="btn btn-primary" value="Save" />
359
                        <button class="btn btn-default close_window">Cancel</button>
360
                    </fieldset>
361
                </div>
362
            </nav>
356
        </div> <!-- /.page-section -->
363
        </div> <!-- /.page-section -->
357
    </form>
364
    </form>
358
365
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader_authorities.tt (-1 / +9 lines)
Lines 126-132 Link Here
126
                </tr>
126
                </tr>
127
127
128
            </table>
128
            </table>
129
            <fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
129
130
            <nav class="navbar navbar-default navbar-fixed-bottom">
131
                <div class="container-fluid">
132
                    <fieldset class="action">
133
                        <input type="submit" class="btn btn-primary" value="Save" />
134
                        <button class="btn btn-default close_window">Cancel</button>
135
                    </fieldset>
136
                </div>
137
            </nav>
130
        </div> <!-- /.page-section -->
138
        </div> <!-- /.page-section -->
131
    </form>
139
    </form>
132
140
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +4 lines)
Lines 59-65 $(document).ready(function() { Link Here
59
        $( e.target.hash ).find("input:text:first").focus();
59
        $( e.target.hash ).find("input:text:first").focus();
60
    });
60
    });
61
61
62
    $(".close, .close_window").click(function(){ window.close(); });
62
    $(".close, .close_window").on("click", function(e){
63
        e.preventDefault();
64
        window.close();
65
    });
63
66
64
    $("#checkin_search form").preventDoubleFormSubmit();
67
    $("#checkin_search form").preventDoubleFormSubmit();
65
68
66
- 

Return to bug 34566