-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.jsp
38 lines (36 loc) · 3.64 KB
/
menu.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
<%@include file="logincheck.jsp"%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<b>batchexport</b> <br>
- <a target="_new" href="https://www.kb.se/samverkan-och-utveckling/libris/att-anvanda-librisdata/postoverforing.html">hjälp</a><br>
- <c:if test="${param.operation == 'editprofile'}">ändra profil</c:if><c:if test="${param.operation != 'editprofile'}"><a href="showprofile.jsp?operation=editprofile&name=${param.name}">ändra profil</a></c:if><br>
<!-- - <c:if test="${param.operation == 'testprofile'}">testa profil</c:if><c:if test="${param.operation != 'testprofile'}"><a href="showprofile.jsp?operation=testprofile&name=${param.name}">testa profil</a></c:if><br> -->
- <c:if test="${param.operation == 'listfiles'}">visa filer</c:if><c:if test="${param.operation != 'listfiles'}"><a href="showprofile.jsp?operation=listfiles&name=${param.name}">visa filer</a></c:if><br>
<br>
<b>manuell export</b> <br>
<!--ur funktion 2006-01-27<br>-->
- <c:if test="${param.operation == 'fulldump'}">fullständigt uttag</c:if><c:if test="${param.operation != 'fulldump'}"><a href="showprofile.jsp?operation=fulldump&name=${param.name}">fullständigt uttag</a></c:if><br>
- <c:if test="${param.operation == 'addjob'}">schemalägg uttag</c:if><c:if test="${param.operation != 'addjob'}"><a href="showprofile.jsp?operation=addjob&name=${param.name}">schemalägg uttag</a></c:if> <br>
- <c:if test="${param.operation == 'listjobs'}">lista uttag</c:if><c:if test="${param.operation != 'listjobs'}"><a href="showprofile.jsp?operation=listjobs&name=${param.name}">lista uttag</a></c:if> <br>
<br>
<b>administration</b> <br>
<%
/* 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") ) {
%>
- <c:if test="${param.operation == 'createprofile'}">skapa profil</c:if><c:if test="${param.operation != 'createprofile'}"><a href="showprofile.jsp?operation=createprofile&name=${param.name}">skapa profil</a></c:if><br>
- <c:if test="${param.operation == 'chooseprofile'}">välj profil</c:if><c:if test="${param.operation != 'chooseprofile'}"><a href="showprofile.jsp?operation=chooseprofile&name=${param.name}">välj profil</a></c:if><br>
<%
}
%>
- <c:if test="${param.operation == 'changepassword'}">ändra lösenord</c:if><c:if test="${param.operation != 'changepassword'}"><a href="showprofile.jsp?operation=changepassword&name=${param.name}">ändra lösenord</a></c:if><br>
- <a href="logout.jsp">logga ut</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>