Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2

    
3
<%@ page contentType="text/html" %>
4
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
5
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
6
<html>
7

    
8
<%
9
  String pageRequest = request.getParameter("page");
10
  if ( null == pageRequest ) pageRequest = "intro";
11
  request.setAttribute("page", pageRequest);
12
  request.setAttribute("mbConfigUrl", "/docs/" + pageRequest + ".xml");
13
%>
14

    
15
<head>
16
<title>Mapbuilder User Guide</title>
17
<link rel='StyleSheet' type='text/css' href='/mapbuilder/docs/userGuide.css'/>
18

    
19
<c:if test="${fn:startsWith(param.page, 'samples/tutorial')}">
20
  <jsp:include page="/MapbuilderHead.jsp" flush="true"/>
21
</c:if>
22

    
23
</head>
24
<body onload='mbDoLoad()'>  
25

    
26
<table width="800" border="0" cellspacing="0" cellpadding="0" summary="Table used for page layout">
27

    
28
  <tr>
29
    <td colspan="3">
30
        <h1>Mapbuilder User Guide</h1>
31
    </td>  
32
  </tr>
33

    
34
  <tr>
35
    <td width="160" valign="top">
36
      <c:import url="/docs/sidebar.html"/>
37
    </td>
38

    
39
    <td width="10"><img src="/mapbuilder/lib/skin/default/images/Spacer.gif"></td>  <!-- gutter -->
40

    
41
    <td width="630" valign="top">
42
      <a name="snav"></a>
43

    
44
      <div > 
45

    
46
        <c:set var="pageBody" value="/docs/${requestScope.page}.html"/>
47

    
48
        <c:if test="${fn:startsWith(requestScope.page, 'samples/tutorial')}">        
49
          <div style="width:100%; font-size:80%; text-align:right; margin:0">
50
            <a href='view-source:<c:out value="${pageBody}"/>' target="HtmlSrcWin">view source</a> | <a href='<c:out value="${requestScope.pageConfig}"/>' target="ConfigSrcWin">config file</a>
51
          </div>
52
        </c:if>
53
      </div>
54

    
55
      <c:import url="${pageBody}"/>
56

    
57
      <c:import url="/docs/footer.html"/>
58

    
59
    </td>
60

    
61
  </tr>
62
</table>
63

    
64
</body>
65
</html>
(9-9/9)