-
Notifications
You must be signed in to change notification settings - Fork 0
/
addjob.jsp
176 lines (172 loc) · 14.9 KB
/
addjob.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<%@include file="util.jsp"%>
<%@include file="logincheck.jsp" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%
Properties properties = getStore(application).loadProfile(request.getParameter("name"));
%>
<form action="addjob2.jsp">
<input type="hidden" name="name" value="<% out.print(properties.getProperty("name", "")); %>">
<input type="hidden" name="exporttype" value="manual">
<table width="100%">
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> urval - tidsintervall</b></td>
</tr>
<tr>
<td colspan="2">
<font color="#ff0000">OBS! Lägg inte in ett intervall som är större än 6 månader. Sökningen blir då för tung och kommer inte att fungera. Använd "fullständigt uttag" i vänstermenyn om det är det ni vill ha.</font></td></tr>
<tr>
<td nowrap class="default"> start (yyyy-mm-dd):</td>
<td><input type="text" size="10" name="start"/></td>
</tr>
<tr>
<td nowrap class="default"> stop (yyyy-mm-dd):</td>
<td><input type="text" size="10" name="stop"/></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> urval - beståndsposter</b></td>
</tr>
<tr>
<td colspan="2" class="default">
exportera bibliografiska poster när tillhörande beståndspost: <input type="checkbox" name="holdcreate" <% if (properties.getProperty("holdcreate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>skapas <input type="checkbox" name="holdupdate" <% if (properties.getProperty("holdupdate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/> ändras <input type="checkbox" name="holddelete" <% if (properties.getProperty("holddelete", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/> tas bort
</td>
</tr>
<tr>
<td nowrap class="default"> begränsa operatörer:</td>
<td><input type="text" size="30" name="holdoperators" value="<% out.print(properties.getProperty("holdoperators", "")); %>"/></td>
</tr>
<tr>
<td class="default"> begränsa sigler:</td>
<td><input type="text" size="50" name="locations" value="<% out.print(properties.getProperty("locations", "")); %>"/></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> urval - bibliografisk post</b></td>
</tr>
<tr>
<td colspan="2" class="default">
exportera bibliografiska poster när de: <input type="checkbox" name="bibcreate" <% if (properties.getProperty("bibcreate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>skapas <input type="checkbox" name="bibupdate" <% if (properties.getProperty("bibupdate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/> ändras<br/>
</td>
</tr>
<tr>
<td nowrap class="default"> begränsa operatörer:</td>
<td><input type="text" size="30" name="biboperators" value="<% out.print(properties.getProperty("biboperators", "")); %>"/></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> urval - auktoritetsposter</b></td>
</tr>
<tr>
<td colspan="2" class="default">
exportera bibliografiska poster när länkad auktoritetspost: <input type="checkbox" name="authcreate" <% if (properties.getProperty("authcreate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>skapas <input type="checkbox" name="authupdate" <% if (properties.getProperty("authupdate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/> ändras<br/>
</td>
</tr>
<tr>
<td nowrap class="default"> begränsa operatörer:</td>
<td><input type="text" size="30" name="authoperators" value="<% out.print(properties.getProperty("authoperators", "")); %>"/></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> bearbetning</b></td>
</tr>
<tr>
<td class="default" colspan="2">
<input type="checkbox" name="sab" <% if (properties.getProperty("sab", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>SAB-rubriker
<input type="checkbox" name="generatesab" <% if (properties.getProperty("generatesab", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>Generera SAB från Dewey
<input type="checkbox" name="generatedewey" <% if (properties.getProperty("generatedewey", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>Generera Dewey från SAB
<input type="checkbox" name="lcsh" <% if (properties.getProperty("lcsh", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>LC subject headings
<input type="checkbox" name="isbndehyphenate" <% if (properties.getProperty("isbndehyphenate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>ta bort streck i ISBN
<input type="checkbox" name="isbnhyphenate" <% if (properties.getProperty("isbnhyphenate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>lägg till streck i ISBN<br>
<input type="checkbox" name="issndehyphenate" <% if (properties.getProperty("issndehyphenate", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>ta bort streck i ISSN
<input type="checkbox" name="move0359" <% if (properties.getProperty("move0359", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>035$9 -> 035$a
<input type="checkbox" name="move240to244" <% if (properties.getProperty("move240to244", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>240 -> 244
</td>
</tr>
<tr>
<td colspan="2" class="default"></td>
</tr>
<tr>
<td valign="top" class="default"> extra beståndsfält:</td>
<td><input type="text" size="50" name="extrafields" value="<% out.print(properties.getProperty("extrafields", "")); %>"/></td>
</tr>
<tr>
<td></td>
<td valign="top" class="default"><font size="-1"> <sigel>:<fält[,fält,fält,fält,...]> ; <sigel>:... o.s.v.<br> <i>exempel: T:650,730 ; X:650</i></font></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> filtrering</b></td>
</tr>
<tr>
<td class="default" colspan="2">
<input type="checkbox" name="efilter" <% if (properties.getProperty("efilter", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>e-resurser
<input type="checkbox" name="biblevel" <% if (properties.getProperty("biblevel", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>prel. info
<input type="checkbox" name="fictionfilter" <% if (properties.getProperty("fictionfilter", "").equalsIgnoreCase("ON")) out.print("checked=\"checked\""); %>/>skönlitteratur
</td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> Namnformer</b></td>
</tr>
<tr>
<td class="default"> namnform (person)</td>
<td><select name="nameform"><option value="" <% if (properties.getProperty("name", "").equalsIgnoreCase("")) out.print("selected"); %>>standard</option><option value="Forskningsbiblioteksform" <% if (properties.getProperty("nameform", "").equalsIgnoreCase("Forskningsbiblioteksform")) out.print("selected"); %>>forskningsbiblioteksform</option></select></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> format</b></td>
</tr>
<tr>
<td class="default"> 003-sträng:</td>
<td width="100%"><select name="f003"><option value="SE-LIBR" <% if (properties.getProperty("f003", "SE-LIBR").equalsIgnoreCase("SE-LIBR")) out.print("selected"); %>>SE-LIBR</option><option value="LIBRIS" <% if (properties.getProperty("f003", "SE-LIBR").equalsIgnoreCase("LIBRIS")) out.print("selected"); %>>LIBRIS</option></select></td>
</tr>
<tr>
<td class="default"> postkodning:</td>
<td width="100%"><select name="format"><option value="ISO2709" <% if (properties.getProperty("format", "").equalsIgnoreCase("ISO2709")) out.print("selected"); %>>ISO2709</option><option value="MARCXML" <% if (properties.getProperty("format", "").equalsIgnoreCase("MARCXML")) out.print("selected"); %>>MARCXML</option></select></td>
</tr>
<tr class="default">
<td> teckenuppsättning:</td>
<td><select name="characterencoding"><option value="UTF-8" <% if (properties.getProperty("characterencoding", "").equalsIgnoreCase("UTF-8")) out.print("selected"); %>>UTF-8</option><option value="ISO-8859-1" <% if (properties.getProperty("characterencoding", "").equalsIgnoreCase("ISO-8859-1")) out.print("selected"); %>>ISO-8859-1</option><option value="VRLIN" <% if (properties.getProperty("characterencoding", "").equalsIgnoreCase("VRLIN")) out.print("selected"); %>>VRLIN</option></select></td>
</tr>
<tr class="default">
<td> diakrithantering:</td>
<td><select name="composestrategy"><option value="compose" <% if (properties.getProperty("composestrategy", "").equalsIgnoreCase("composelatin1")) out.print("selected"); %>>prekomponera latin-1 subset</option><option value="compose" <% if (properties.getProperty("composestrategy", "composelatin1").equalsIgnoreCase("compose")) out.print("selected"); %>>prekomponera alla</option><option value="decompose" <% if (properties.getProperty("composestrategy", "composelatin1").equalsIgnoreCase("decompose")) out.print("selected"); %>>dekomponera alla</option></select> <a target="_new" href="https://www.kb.se/samverkan-och-utveckling/libris/att-anvanda-librisdata/postoverforing.html">förklaring</a></td>
</tr>
<tr class="default">
<td> auktoritetsposter:</td>
<td><select name="authtype"><option value="interleaved" <% if (properties.getProperty("authtype", "").equalsIgnoreCase("interleaved")) out.print("selected"); %>>sammanslagna med bib.-post</option><option value="after" <% if (properties.getProperty("authtype", "").equalsIgnoreCase("after")) out.print("selected"); %>>efter posten</option><option value="none" <% if (properties.getProperty("authtype", "").equalsIgnoreCase("none")) out.print("selected"); %>>släng</option></select></td>
</tr>
<tr class="default">
<td> beståndsposter:</td>
<td><select name="holdtype"><option value="interleaved" <% if (properties.getProperty("holdtype", "").equalsIgnoreCase("interleaved")) out.print("selected"); %>>sammanslagna med bib.-post</option><option value="after" <% if (properties.getProperty("holdtype", "").equalsIgnoreCase("after")) out.print("selected"); %>>efter posten</option><option value="none" <% if (properties.getProperty("holdtype", "").equalsIgnoreCase("none")) out.print("selected"); %>>släng</option></select></td>
</tr>
<%
/* if (request.getRemoteAddr().equals("127.0.0.1") || request.getRemoteAddr().startsWith("193.10.75") || request.getRemoteAddr().startsWith("192.168.3") || request.getRemoteAddr().equals("193.10.249.131") || request.getRemoteAddr().startsWith("10.50.64") || request.getRemoteAddr().startsWith("10.50.67") || request.getRemoteAddr().startsWith("10.50.71") || request.getRemoteAddr().startsWith("10.50.79") || request.getRemoteAddr().startsWith("10.50.66")) { */
if ( request.getSession().getAttribute("admin").equals("admin") ) {
%>
<tr>
<td class="default"> efterbehandling:</td>
<td width="100%">
<select name="post">
<option value="" <% if (properties.getProperty("post", "").equalsIgnoreCase("")) out.print("selected"); %>></option>
<option value="bokrondellen" <% if (properties.getProperty("post", "").equalsIgnoreCase("bokrondellen")) out.print("selected"); %>>Bokrondellen</option>
</select>
</td>
</tr>
<%
}
%>
<tr><td colspan="2" class="default"> </td></tr>
<tr bgcolor="#dfdfdf">
<td colspan="2" class="default"><b> tidpunkt för export</b></td>
</tr>
<tr>
<td colspan="2" class="default"> <font color="#ff0000">Uttaget levereras nästkommande helg (i mappen '/pub/export2/<% out.print(request.getParameter("name")); %>/marc/user-ordered-export.marc')</font></td>
</tr>
<tr><td colspan="2" class="default"> </td></tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="spara"> <input type="reset" value="återställ"></form></tr>
</tr>
</table>
</form>