# HG changeset patch
# User hertzhaft
# Date 1134044203 -3600
# Node ID d20d75e6f143e4563e483777300c63239084dd43
# Parent ff45f4b0403f0162c34c34df8e457ff396608fd3
simplyfications
diff -r ff45f4b0403f -r d20d75e6f143 client/digitallibrary/greyskin/digimage-neu.jsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/digitallibrary/greyskin/digimage-neu.jsp Thu Dec 08 13:16:43 2005 +0100
@@ -0,0 +1,443 @@
+<%@ page language="java" %><%!
+// -- JSP init -------------
+
+// create DocumentBean instance for all JSP requests
+digilib.servlet.DocumentBean docBean = new digilib.servlet.DocumentBean();
+
+// initialize DocumentBean instance in JSP init
+public void jspInit() {
+ try {
+ // set servlet init-parameter
+ docBean.setConfig(getServletConfig());
+ } catch (javax.servlet.ServletException e) {
+ System.out.println(e);
+ }
+}
+// -- end of JSP init -------------
+%><%
+// -- JSP request -------------
+
+// parsing the query
+// -----------------
+digilib.servlet.DigilibRequest dlRequest = new digilib.servlet.DigilibRequest(request);
+docBean.setRequest(dlRequest);
+// check if authentication is needed and redirect if necessary
+docBean.doAuthentication(response);
+// add number of pages
+dlRequest.setValue("pt", docBean.getNumPages());
+// store objects for jsp:include
+pageContext.setAttribute("docBean", docBean, pageContext.REQUEST_SCOPE);
+%>
+
+ Digital Document Library NG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <% if (dlRequest.hasOption("clop", "noarrows")) {
+ %><%
+ } else {
+ %><%
+ }
+ %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r ff45f4b0403f -r d20d75e6f143 client/digitallibrary/greyskin/digimage.jsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/digitallibrary/greyskin/digimage.jsp Thu Dec 08 13:16:43 2005 +0100
@@ -0,0 +1,459 @@
+<%@ page language="java" %><%!
+ // -- JSP init -------------
+
+ // create DocumentBean instance for all JSP requests
+ digilib.servlet.DocumentBean docBean = new digilib.servlet.DocumentBean();
+
+ // initialize DocumentBean instance in JSP init
+ public void jspInit() {
+ try {
+ // set servlet init-parameter
+ docBean.setConfig(getServletConfig());
+ } catch (javax.servlet.ServletException e) {
+ System.out.println(e);
+ }
+ }
+ // -- end of JSP init -------------
+%>
+
+<%
+ // -- JSP request -------------
+
+ // parsing the query
+ // -----------------
+ digilib.servlet.DigilibRequest dlRequest = new digilib.servlet.DigilibRequest(request);
+ docBean.setRequest(dlRequest);
+ // check if authentication is needed and redirect if necessary
+ docBean.doAuthentication(response);
+ // add number of pages
+ dlRequest.setValue("pt", docBean.getNumPages());
+ // store objects for jsp:include
+ pageContext.setAttribute("docBean", docBean, pageContext.REQUEST_SCOPE);
+%>
+
+
+
+
+ Digital Document Library NG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r ff45f4b0403f -r d20d75e6f143 client/digitallibrary/greyskin/digimage_img_inc.jsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/digitallibrary/greyskin/digimage_img_inc.jsp Thu Dec 08 13:16:43 2005 +0100
@@ -0,0 +1,25 @@
+<%@ page language="java" %><%
+// retrieve objects from context
+digilib.servlet.DocumentBean docBean = (digilib.servlet.DocumentBean) pageContext.getAttribute("docBean", pageContext.REQUEST_SCOPE);
+digilib.servlet.DigilibRequest dlRequest = docBean.getRequest();
+String ua = request.getHeader("User-Agent");
+boolean isN4 = ((ua.indexOf("Mozilla/4.") > -1)&&(ua.indexOf("MSIE") == -1));
+%>
+<%
+ if (isN4) {
+%><%
+ } else {
+%><%
+ }
+%>
+
+<%
+ if (isN4) {
+%><%
+ } else {
+%>
<%
+ }
+%>
diff -r ff45f4b0403f -r d20d75e6f143 client/digitallibrary/greyskin/digimage_tbl_inc.jsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/digitallibrary/greyskin/digimage_tbl_inc.jsp Thu Dec 08 13:16:43 2005 +0100
@@ -0,0 +1,61 @@
+<%@ page language="java" %><%
+// retrieve objects from context
+digilib.servlet.DocumentBean docBean = (digilib.servlet.DocumentBean) pageContext.getAttribute("docBean", pageContext.REQUEST_SCOPE);
+digilib.servlet.DigilibRequest dlRequest = docBean.getRequest();
+String ua = request.getHeader("User-Agent");
+boolean isN4 = ((ua.indexOf("Mozilla/4.") > -1)&&(ua.indexOf("MSIE") == -1));
+%>
+