[sword-cvs] swordweb/layouts base-layout.jsp,1.8,1.9
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 16 Oct 2003 07:02:23 -0700
Update of /usr/local/cvsroot/swordweb/layouts
In directory www:/tmp/cvs-serv407/layouts
Modified Files:
base-layout.jsp
Log Message:
dded CSS for searchults
Index: base-layout.jsp
===================================================================
RCS file: /usr/local/cvsroot/swordweb/layouts/base-layout.jsp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- base-layout.jsp 15 Oct 2003 15:05:33 -0000 1.8
+++ base-layout.jsp 16 Oct 2003 14:02:21 -0000 1.9
@@ -7,12 +7,30 @@
<head>
<title>OSIS Web:<tiles:getAsString name="title"/></title>
+
+ <%
+ String print = request.getParameter("print");
+ if ("1".equals(print)) {
+ %>
+ <link href="print.css" title="Printer friendly" rel="stylesheet" type="text/css" />
+ <%
+ }
+ else {
+ %>
+ <link href="wash.css" title="Washed Out" rel="stylesheet" type="text/css" />
+ <link href="blue.css" title="Old Blue" rel="alternate stylesheet" type="text/css" />
+ <link href="blank.css" title="Blank" rel="alternate stylesheet" type="text/css" />
+ <%
+ }
+ %>
+
<link href="wash.css" title="Washed Out" rel="stylesheet" type="text/css" />
<link href="blue.css" title="Old Blue" rel="alternate stylesheet" type="text/css" />
<link href="blank.css" title="Blank" rel="alternate stylesheet" type="text/css" />
<!--For printing stuff -->
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
+
</head>
<body>