portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/jsp/layouts/html default.jsp
Date Fri, 06 Dec 2002 17:43:31 GMT
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:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message