Lines 5-18
Link Here
|
5 |
[% IF ( delete_confirmed ) %]MARC frameworks › Data deleted[% END %] |
5 |
[% IF ( delete_confirmed ) %]MARC frameworks › Data deleted[% END %] |
6 |
[% IF ( else ) %]MARC frameworks[% END %]</title> |
6 |
[% IF ( else ) %]MARC frameworks[% END %]</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
8 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
9 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
9 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
10 |
<script type="text/javascript" id="js">$(document).ready(function() { |
10 |
[% INCLUDE 'datatables-strings.inc' %] |
11 |
$("#table_marctagstructure").tablesorter({ |
11 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
12 |
sortList: [[0,0]], |
12 |
|
13 |
headers: { 5: { sorter: false},6: { sorter: false},7: { sorter: false}} |
|
|
14 |
}).tablesorterPager({container: $("#pagertable_marctagstructure"),positionFixed: false,size: 20}); |
15 |
}); </script> |
16 |
<script type="text/javascript"> |
13 |
<script type="text/javascript"> |
17 |
//<![CDATA[ |
14 |
//<![CDATA[ |
18 |
function Check(f) { |
15 |
function Check(f) { |
Lines 30-35
function Check(f) {
Link Here
|
30 |
alert(alertString2); |
27 |
alert(alertString2); |
31 |
} |
28 |
} |
32 |
} |
29 |
} |
|
|
30 |
|
31 |
$(document).ready(function() { |
32 |
$("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
33 |
"aoColumnDefs": [ |
34 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
35 |
], |
36 |
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], |
37 |
"iDisplayLength": 20, |
38 |
"sPaginationType": "four_button" |
39 |
})); |
40 |
}); |
41 |
|
33 |
//]]> |
42 |
//]]> |
34 |
</script> |
43 |
</script> |
35 |
</head> |
44 |
</head> |
Lines 152-162
function Check(f) {
Link Here
|
152 |
[% END %]</p> |
161 |
[% END %]</p> |
153 |
</fieldset> |
162 |
</fieldset> |
154 |
</form> |
163 |
</form> |
155 |
<div id="pagertable_marctagstructure"> |
164 |
|
156 |
[% INCLUDE 'table-pager.inc' perpage='20' %] |
|
|
157 |
</div> |
158 |
<table id="table_marctagstructure"> |
165 |
<table id="table_marctagstructure"> |
159 |
<thead> |
166 |
<thead> |
|
|
167 |
<tr> |
160 |
<th>Tag</th> |
168 |
<th>Tag</th> |
161 |
<th>Lib</th> |
169 |
<th>Lib</th> |
162 |
<th>Repeatable</th> |
170 |
<th>Repeatable</th> |
Lines 165-172
function Check(f) {
Link Here
|
165 |
<th>Subfields</th> |
173 |
<th>Subfields</th> |
166 |
<th>Edit</th> |
174 |
<th>Edit</th> |
167 |
<th>Delete</th> |
175 |
<th>Delete</th> |
|
|
176 |
</tr> |
168 |
</thead> |
177 |
</thead> |
169 |
|
178 |
<tbody> |
170 |
[% IF ( select_display ) %] |
179 |
[% IF ( select_display ) %] |
171 |
[% FOREACH loo IN loop %] |
180 |
[% FOREACH loo IN loop %] |
172 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
181 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
Lines 204-209
function Check(f) {
Link Here
|
204 |
</tr> |
213 |
</tr> |
205 |
[% END %] |
214 |
[% END %] |
206 |
[% END %] |
215 |
[% END %] |
|
|
216 |
</tbody> |
207 |
</table> |
217 |
</table> |
208 |
|
218 |
|
209 |
|
219 |
|
210 |
- |
|
|