<%-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %> <%@ page import = "org.apache.jetspeed.services.resources.JetspeedResources" %> <% String BgImage = JetspeedResources.getString("topnav.bg.image"); String BgColor = JetspeedResources.getString("topnav.bg.color"); String FontFace = JetspeedResources.getString("topnav.font.face"); String FontSize = JetspeedResources.getString("topnav.font.size"); String FontColor = JetspeedResources.getString("topnav.font.color"); String FontStyle = null; if (BgImage == null || BgImage.equals("")) { BgImage = null; } if (BgColor == null || BgColor.equals("")) { BgColor = null; } if (FontFace == null || FontFace.equals("")) { FontFace = null; } if (FontSize == null || FontSize.equals("")) { FontSize = null; } if (FontColor == null || FontColor.equals("")) { FontColor = null; } if(FontColor != null) { FontStyle="style=color:"+FontColor+"; "; } if(FontSize != null && FontColor!=null){ FontStyle="style=color:"+FontColor+"; font-size:"+FontSize+";"; }else if(FontSize != null) { FontStyle="style=font-size:"+FontSize+";"; } else { FontStyle="style=font-size:10;"; } %>
bgcolor="<%=BgColor%>" <%}%> <%if(BgImage !=null){%>background="<%=BgImage%>" <%}%> > <% // // Display the welcome message. This is typicaly where a Banner AD is displayed // %> <% // // Right column of top navigation bar. // Optionally allow user login. Required for user creation // Optionally allow user creation. // %> <%if( JetspeedResources.getBoolean("topnav.user_login.enable") == true) { %> <%}%>

"> <%if ( JetspeedResources.getBoolean("automatic.logon.enable") == true ) {%> <%}%> <% // Leave space between last line and content %>
> > " tabindex="4" <%=FontStyle%> />  
>
colspan="2">
<%if( JetspeedResources.getBoolean("topnav.user_creation.enable") == true && JetspeedResources.getBoolean("newuser.confirm.enable") == true ) { %> " <%=FontStyle%>>  |  <%}%> " <%=FontStyle%>>