Lines 1-3
Link Here
|
|
|
1 |
[% SET footerjs = 1 %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Administration › Libraries and groups |
3 |
<title>Koha › Administration › Libraries and groups |
3 |
[% IF op == 'editcategory' %] |
4 |
[% IF op == 'editcategory' %] |
Lines 12-57
Link Here
|
12 |
</title> |
13 |
</title> |
13 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
15 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
15 |
[% INCLUDE 'datatables.inc' %] |
|
|
16 |
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script> |
17 |
<script type="text/javascript"> |
18 |
//<![CDATA[ |
19 |
$(document).ready(function() { |
20 |
$("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, { |
21 |
"aoColumnDefs": [ |
22 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
23 |
], |
24 |
"iDisplayLength": 10, |
25 |
"sPaginationType": "four_button" |
26 |
})); |
27 |
|
28 |
$("#library_entry").validate({ |
29 |
rules: { |
30 |
branchcode: { |
31 |
required: true, |
32 |
letters_numbers: true |
33 |
}, |
34 |
branchname: "required" |
35 |
} |
36 |
}); |
37 |
}); |
38 |
tinyMCE.init({ |
39 |
mode : "textareas", |
40 |
theme : "advanced", |
41 |
content_css : "[% interface %]/[% theme %]/css/tinymce.css", |
42 |
plugins : "table,save,advhr,advlink,contextmenu", |
43 |
theme_advanced_buttons1 : "save,|,bold,italic,|,cut,copy,paste,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,link,unlink,anchor,cleanup,help,code,advhr,", |
44 |
theme_advanced_buttons2 : "tablecontrols,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,removeformat,|,visualaid,|,sub,sup,|,charmap", |
45 |
// theme_advanced_buttons3 : "", |
46 |
theme_advanced_toolbar_location : "top", |
47 |
theme_advanced_toolbar_align : "left", |
48 |
theme_advanced_path_location : "bottom", |
49 |
theme_advanced_resizing : true, |
50 |
apply_source_formatting : true |
51 |
}); |
52 |
//]]> |
53 |
</script> |
54 |
</head> |
16 |
</head> |
|
|
17 |
|
55 |
<body id="admin_branches" class="admin"> |
18 |
<body id="admin_branches" class="admin"> |
56 |
[% INCLUDE 'header.inc' %] |
19 |
[% INCLUDE 'header.inc' %] |
57 |
[% INCLUDE 'prefs-admin-search.inc' %] |
20 |
[% INCLUDE 'prefs-admin-search.inc' %] |
Lines 407-410
tinyMCE.init({
Link Here
|
407 |
[% INCLUDE 'admin-menu.inc' %] |
370 |
[% INCLUDE 'admin-menu.inc' %] |
408 |
</div> |
371 |
</div> |
409 |
</div> |
372 |
</div> |
|
|
373 |
|
374 |
[% MACRO jsinclude BLOCK %] |
375 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script> |
376 |
[% INCLUDE 'datatables.inc' %] |
377 |
<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script> |
378 |
<script type="text/javascript"> |
379 |
$(document).ready(function() { |
380 |
$("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, { |
381 |
"aoColumnDefs": [ |
382 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
383 |
], |
384 |
"iDisplayLength": 10, |
385 |
"sPaginationType": "four_button" |
386 |
})); |
387 |
|
388 |
$("#library_entry").validate({ |
389 |
rules: { |
390 |
branchcode: { |
391 |
required: true, |
392 |
letters_numbers: true |
393 |
}, |
394 |
branchname: "required" |
395 |
} |
396 |
}); |
397 |
}); |
398 |
tinyMCE.init({ |
399 |
mode : "textareas", |
400 |
theme : "advanced", |
401 |
content_css : "[% interface %]/[% theme %]/css/tinymce.css", |
402 |
plugins : "table,save,advhr,advlink,contextmenu", |
403 |
theme_advanced_buttons1 : "save,|,bold,italic,|,cut,copy,paste,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,link,unlink,anchor,cleanup,help,code,advhr,", |
404 |
theme_advanced_buttons2 : "tablecontrols,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,removeformat,|,visualaid,|,sub,sup,|,charmap", |
405 |
// theme_advanced_buttons3 : "", |
406 |
theme_advanced_toolbar_location : "top", |
407 |
theme_advanced_toolbar_align : "left", |
408 |
theme_advanced_path_location : "bottom", |
409 |
theme_advanced_resizing : true, |
410 |
apply_source_formatting : true |
411 |
}); |
412 |
</script> |
413 |
[% END %] |
410 |
[% INCLUDE 'intranet-bottom.inc' %] |
414 |
[% INCLUDE 'intranet-bottom.inc' %] |