morciuch    2002/12/06 09:43:31

  Modified:    webapp/WEB-INF/templates/jsp/layouts/html default.jsp
  Log:
  Added missing functionality to disable top, left and bottom navigations.
  
  Revision  Changes    Path
  1.11      +11 -6     
jakarta-jetspeed/webapp/WEB-INF/templates/jsp/layouts/html/default.jsp
  
  Index: default.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/jsp/layouts/html/default.jsp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- default.jsp       4 Dec 2002 15:40:23 -0000       1.10
  +++ default.jsp       6 Dec 2002 17:43:31 -0000       1.11
  @@ -21,6 +21,7 @@
   
   <body bgcolor="#ffffff">
   
  +<%if (JetspeedResources.getBoolean("topnav.enable") == true) {%>                    
                 
   <table cellspacing="0" width="100%" border="0" cellpadding="0">
     <tr>
         <%
  @@ -38,22 +39,26 @@
       </td>
     </tr>
   </table>
  +<%}%>
   
   <table cellspacing="0" width="100%" cellpadding="0" border="0">
     <tr>
  -    <td valign="top" bgcolor="#ffffff">
  +<%if (JetspeedResources.getBoolean("leftnav.enable") == true) {%>                   
       
  +    <td width="<%=JetspeedResources.getString("leftnav.width")%>" valign="top" 
bgcolor="#ffffff">
      
         <jetspeed:navigation defaultTemplate="left.jsp" />
  -
  +    </td>
  +<%}%>    
  +    <TD>
   <%-- Enable for Debugging ("Included servlet Error: 500")
   Including:<%= screenJsp %> <p>
    --%>
  -      <jsp:include page="<%= screenJsp %>" flush="true" /> 
  - 
  -    </td>
  +      <jsp:include page="<%= screenJsp %>" flush="true" />  
  +    </TD>
     </tr>
   </table>
   
  +<%if (JetspeedResources.getBoolean("bottomnav.enable") == true) {%>                 
       
   <table cellspacing="0" width="100%" cellpadding="0" border="0">
     <tr>
       <td valign="bottom" bgcolor="#ffffff">
  @@ -61,7 +66,7 @@
       </td>
     </tr>
   </table>
  -
  +<%}%>
   </body>
   
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to