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