diff options
Diffstat (limited to 'src/main/webapp/sitemesh/standalone.jsp')
| -rw-r--r-- | src/main/webapp/sitemesh/standalone.jsp | 12 | 
1 files changed, 10 insertions, 2 deletions
| diff --git a/src/main/webapp/sitemesh/standalone.jsp b/src/main/webapp/sitemesh/standalone.jsp index add7185..d4813c2 100644 --- a/src/main/webapp/sitemesh/standalone.jsp +++ b/src/main/webapp/sitemesh/standalone.jsp @@ -5,20 +5,28 @@  <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
  <%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %>
 +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 +
  <html>
 +	<%
 +	   boolean testMode = request.getContextPath().startsWith("/test-");
 +	%>
 +
  	<head>
  		<decorator:head/>
  		<link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalContextAddress(request,response)%>/css/pdfas-styles.css" />
 +		<title><fmt:message key="<%= testMode ? "test.common.title" : "common.title" %>"/></title>
 +		<link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalContextAddress(request,response)%>/css/pdfas-standalone-styles.css" />
  	</head>
  	<body>
  		<table cellpadding="0" cellspacing="0" border="0" width="100%">
  			<tr>
  				<td align="center" valign="middle">
 -					<table cellpadding="0" cellspacing="0" border="0">
 +					<table cellpadding="0" cellspacing="0" border="0" width="700px">
  						<tr>
 -							<td><decorator:body/></td>
 +							<td align="left"><decorator:body/></td>
  						</tr>
  					</table>
  				</td>
 | 
