<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);

  /* **************************************************************************
%name: WizBanner.jsp %
%version: 6 %
%date_modified: Mon Feb 24 10:02:42 2003 %
Copyright (c) 2001, 2002 Novell, Inc. All Rights Reserved.
THIS WORK IS AN UNPUBLISHED WORK AND CONTAINS CONFIDENTIAL PROPRIETARY
AND TRADE SECRET INFORMATION OF NOVELL, INC. ACCESS TO THIS WORK IS
RESTRICTED TO (I) NOVELL, INC. EMPLOYEES WHO HAVE A NEED TO KNOW HOW
TO PERFORM TASKS WITHIN THE SCOPE OF THEIR ASSIGNMENTS AND (II)
ENTITIES OTHER THAN NOVELL, INC. WHO HAVE ENTERED INTO APPROPRIATE
LICENSE AGREEMENTS. NO PART OF THIS WORK MAY BE USED, PRACTICED,
PERFORMED COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED,
CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, TRANSFORMED
OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE
OR EXPLOITATION OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE
PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
***************************************************************************  */


  /* Make the global definitions required for "Backup and Restore"  */
  /* template files.  This includes STRINGTABLE"s, ...              */
   c.set("Wiz.PanelID", "fw.WizBanner"); %>
<jsp:include page="WizDefinitions_inc.jsp" flush="true" />


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>
			<%= c.string("Wiz.Banner.Title") %>
		</TITLE>

		<jsp:include page="WizCommonContent_inc.jsp" flush="true" />
		<jsp:include page="WizCommonStyles_inc.jsp" flush="true" />
		<jsp:include page="WizCommonScripts_inc.jsp" flush="true" />

		<SCRIPT language="JavaScript">
			<!--
				<%/* Bring in the JavaScript files specific to the  */
				  /* banner template.                         */%>
				<jsp:include page="WizBanner_js.jsp" flush="true" />
			//-->
		</SCRIPT>
	</HEAD>


	<BODY
			onLoad="initializeBannerPanel()">
		<FORM
				name="Wiz_BannerForm"
				method=post
				onSubmit="return( false )">
			<INPUT type=hidden name="Wiz_Banner_Text"      />
			<INPUT type=hidden name="Wiz_Banner_ShowHelp"  />
			<INPUT type=hidden name="Wiz_Header_Size"      />
			<INPUT type=hidden name="Wiz_Header_Center_0"  />
			<INPUT type=hidden name="Wiz_Header_Center_1"  />
			<INPUT type=hidden name="Wiz_Header_Big_0"     />
			<INPUT type=hidden name="Wiz_Header_Big_1"     />
			<INPUT type=hidden name="Wiz_Header_Bold_0"    />
			<INPUT type=hidden name="Wiz_Header_Bold_1"    />
			<INPUT type=hidden name="Wiz_Header_Icon_0"    />
			<INPUT type=hidden name="Wiz_Header_Icon_1"    />
			<INPUT type=hidden name="Wiz_Header_Item_0"    />
			<INPUT type=hidden name="Wiz_Header_Item_1"    />
			<INPUT type=hidden name="Wiz_Header_Type_0"    />
			<INPUT type=hidden name="Wiz_Header_Type_1"    />
			<INPUT type=hidden name="Wiz_Header_Unknown_0" />
			<INPUT type=hidden name="Wiz_Header_Unknown_1" />

			<%/* ------------------------------------------------------  */
			  /*                Generate the banner text.                */
			  /* ------------------------------------------------------  */
			  /* This defines the TABLE that contains the text portion   */
			  /* of the panel"s banner.                            */
			  /*                                                         */
			  /* Parameters:                                             */
			  /*		Wiz_Banner_Text                                  */
			  /*			Optional                                       */
			  /*			Description:  The text to display.             */
			  /*                                                         */
			  /*      Wiz_Banner_ShowHelp                              */
			  /*			Optional                                       */
			  /*			Description:  true -> Show a help button on    */
			  /*                        this panel.  Any other value     */
			  /*                        (or not defined), don"t.         */
			  /* ------------------------------------------------------  */%>

			<TABLE
					border=0
					width="100%"
					bgcolor="<%= c.string("CfgWiz.Common.FormBackgroundColor") %>"
					cellpadding=5
					cellspacing=0>
				<TR nowrap valign="middle" align=left>
					<TD class="borderwidth0">
						<SPAN class="head3w">
							<NOBR>
								<% if ( c.def("Wiz_Banner_Text")) { %>
									  <%= c.toHTML(c.var("Wiz_Banner_Text")) %>
								<% } else { %>&nbsp;
								<% } %>
							</NOBR>
						</SPAN>
					</TD>

					<% if (("true".equals(c.var("Wiz_Banner_ShowHelp")))) { %>
						<TD align="right">
							<A href="javascript:parent.window.Wiz_ContentFrame.showHelp()"><IMG
									border="0"
									src="<%= c.getModulesUrl() %>/fw/images/wiz_Help.gif"
									title="<%= c.string("CfgWiz.Common.Help") %>"
									alt="<%= c.string("CfgWiz.Common.Help") %>"
									name="WizPB_Help"/></A>
						</TD>
					<% } %>
				</TR>
			</TABLE>


			<%/* ------------------------------------------------------  */
			  /*               Generate the banner caption.              */
			  /* ------------------------------------------------------  */
			  /* This defines the TABLE that contains the caption        */
			  /* portion of the panel"s banner.                    */
			  /*                                                         */
			  /* Parameters:                                             */
			  /*		Wiz_Header_Size (Maximum:  2)                    */
			  /*			Mandatory                                      */
			  /*			Description:  Number of rows in the header.    */
			  /*                                                         */
			  /*		Wiz_Header_Big_x (x:  0 or 1)                    */
			  /*			Optional                                       */
			  /*			Description:  "true" implies Item is to be     */
			  /*                        big.  Anything else implies      */
			  /*                        Item is to be normal (the        */
			  /*			              default is normal.)              */
			  /*                                                         */
			  /*		Wiz_Header_Bold_x (x:  0 or 1)                   */
			  /*			Optional                                       */
			  /*			Description:  "true" implies Item is to be     */
			  /*                        bolded.  Anything else implies   */
			  /*                        Item is to be normal (the        */
			  /*                        default is normal.)              */
			  /*                                                         */
			  /*		Wiz_Header_Center_x (x:  0 or 1)                 */
			  /*			Optional                                       */
			  /*			Description:  "true" implies Item is to be     */
			  /*                        centered.  Anything else         */
			  /*                        implies Item is to be left       */
			  /*                        justified (the default is left   */
			  /*                        justified.)                      */
			  /*                                                         */
			  /*		Wiz_Header_Icon_x (x:  0 or 1)                   */
			  /*			Mandatory                                      */
			  /*			Description:  The full path to the icon for    */
			  /*                        Item.                            */
			  /*                                                         */
			  /*		Wiz_Header_Item_x (x:  0 or 1)                   */
			  /*			Mandatory                                      */
			  /*			Description:  The item itself.                 */
			  /*                                                         */
			  /*		Wiz_Header_Type_x (x:  0 or 1)                   */
			  /*			Optional                                       */
			  /*			Description:  The type of Item (displayed by   */
			  /*                        it.)  (The default is that no    */
			  /*                        type is displayed.)              */
			  /*                                                         */
			  /*		Wiz_Header_Unknown_x (x:  0 or 1)                */
			  /*			Optional                                       */
			  /*			Description:  The string to display for Item   */
			  /*                        if no Item is specified (the     */
			  /*                        default is "<unknown>".)         */
			  /* ------------------------------------------------------  */%>


			<TABLE
					border=0
					width="100%"
					bgcolor="<%= c.string("CfgWiz.Common.HeaderColor") %>"
					cellpadding=5
					cellspacing=0>
				<% if ( c.def("Wiz_Header_Size")) {
					     c.set("numRows", c.var("Wiz_Header_Size"));
				   } else {    c.set("numRows", "0");
				   }
				   if (("2".equals(c.var("numRows")))) {
					     c.set("firstRow", "bottom");    c.set("lastRow", "top");
				   } else {    c.set("firstRow", "middle");    c.set("lastRow", "middle");
				   }
				   c.set("i", "0");
				   while (((c.lt(c.var("i"), c.var("numRows"))) && (c.lt(c.var("i"), "2")))) {
					   c.set("bigName", c.plus("Wiz_Header_Big_", c.var("i")));         c.set("bigNameV", c.var(c.var("bigName")));
					   c.set("boldName", c.plus("Wiz_Header_Bold_", c.var("i")));        c.set("boldNameV", c.var(c.var("boldName")));
					   c.set("centerName", c.plus("Wiz_Header_Center_", c.var("i")));      c.set("centerNameV", c.var(c.var("centerName")));
					   c.set("iconName", c.plus("Wiz_Header_Icon_", c.var("i")));        c.set("iconNameV", c.var(c.var("iconName")));
					   c.set("itemName", c.plus("Wiz_Header_Item_", c.var("i")));        c.set("itemNameV", c.var(c.var("itemName")));
					   c.set("typeName", c.plus("Wiz_Header_Type_", c.var("i")));        c.set("typeNameV", c.var(c.var("typeName")));
					   c.set("unknownName", c.plus("Wiz_Header_Unknown_", c.var("i")));     c.set("unknownNameV", c.var(c.var("unknownName"))); %>
					<TR nowrap
							valign=<% if (("0".equals(c.var("i")))) { %><%= c.var("firstRow") %><% } else if ((c.var("i").equals((c.minus(c.var("numRows"), "1"))))) { %><%= c.var("lastRow") %><% } else { %>"middle"<% }
							   if (("true".equals(c.var("centerNameV")))) { %>align=center<% } %>>
						<TD class="borderwidth0" width=1>
							<IMG
									src="<%= c.toHTML(c.var("iconNameV")) %>"
									border=0/>
						</TD>
						<TD class="borderwidth0">
							<% if (("true".equals(c.var("bigNameV")) == false)) { %>
								<SPAN class="mediumtext">
							<% }
								   if (("true".equals(c.var("boldNameV")))) { %><STRONG><% }
								   if ((c.var("null").equals(c.var("itemNameV")))) {
									   if ((c.var("null").equals(c.var("unknownNameV")))) { %>
										  <%= c.string("CfgWiz.Common.BracketedUnknown") %>
									<% } else { %>&lt;<%= c.toHTML(c.var("unknownNameV")) %>&gt;
									<% }

								   } else { %>
									<%= c.toHTML(c.var("itemNameV")) %>
								<% }
								   if (("true".equals(c.var("boldNameV")))) { %></STRONG><% }

								   if ((c.var("null").equals(c.var("typeNameV")) == false)) { %>
									&nbsp;&nbsp;
									<%= c.toHTML(c.var("typeNameV")) %>
								<% }
							   if (("true".equals(c.var("bigNameV")) == false)) { %>
								</SPAN>
							<% } %>
						</TD>
					</TR>
					<% c.inc("i");
				   } %>
			</TABLE>
		</FORM>
	</BODY>
</HTML>



						   <%/* * * * * * *  */
                             /* End of File  */
                             /* * * * * * *  */%>
