[OFBiz] SVN: r7419 - in trunk/specialized/opentravelsystem/webapp/hotelbackend: catalog hotelbackendimages includes
hansbak@svn.ofbiz.org
hansbak at svn.ofbiz.org
Wed Apr 26 03:00:18 CDT 2006
Author: hansbak
Date: 2006-04-26 02:59:55 -0500 (Wed, 26 Apr 2006)
New Revision: 7419
Added:
trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/calendarTable.css
trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/tabstyles.css
trunk/specialized/opentravelsystem/webapp/hotelbackend/includes/header.ftl
Modified:
trunk/specialized/opentravelsystem/webapp/hotelbackend/catalog/ProductTabBar.ftl
Log:
OTS: add some missing files
Modified: trunk/specialized/opentravelsystem/webapp/hotelbackend/catalog/ProductTabBar.ftl
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/catalog/ProductTabBar.ftl 2006-04-26 07:36:18 UTC (rev 7418)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/catalog/ProductTabBar.ftl 2006-04-26 07:59:55 UTC (rev 7419)
@@ -1,58 +1,56 @@
-<#--
- * Copyright (c) 2003 The Open For Business Project - www.ofbiz.org
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
- * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- *@author David E. Jones (jonesde at ofbiz.org)
- *@author Catherine.Heintz at nereide.biz (migration to UiLabel)
- *@version $Rev$
- *@since 2.2
--->
<#if (requestAttributes.uiLabelMap)?exists><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
-<#assign unselectedClassName = "tabButton">
-<#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}>
+<#if (requestAttributes.security)?exists><#assign security = requestAttributes.security></#if>
+<#if (requestAttributes.userLogin)?exists><#assign userLogin = requestAttributes.userLogin></#if>
+<#if (requestAttributes.checkLoginUrl)?exists><#assign checkLoginUrl = requestAttributes.checkLoginUrl></#if>
+
<#if product?has_content>
- <div class="tabContainer">
- <a href="<@ofbizUrl>EditProduct?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProduct?default(unselectedClassName)}">${uiLabelMap.ProductProduct}</a>
- <a href="<@ofbizUrl>EditProductPrices?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductPrices?default(unselectedClassName)}">${uiLabelMap.ProductPrices}</a>
- <a href="<@ofbizUrl>EditProductContent?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductContent?default(unselectedClassName)}">${uiLabelMap.ProductContent}</a>
- <#--a href="<@ofbizUrl>EditProductGoodIdentifications?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductGoodIdentifications?default(unselectedClassName)}">${uiLabelMap.CommonIds}</a-->
- <a href="<@ofbizUrl>EditProductCategories?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductCategories?default(unselectedClassName)}">${uiLabelMap.ProductCategories}</a>
- <#--a href="<@ofbizUrl>EditProductKeyword?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductKeyword?default(unselectedClassName)}">${uiLabelMap.ProductKeywords}</a>
- <a href="<@ofbizUrl>EditProductAssoc?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductAssoc?default(unselectedClassName)}">${uiLabelMap.ProductAssociations}</a>
- <a href="<@ofbizUrl>EditProductAttributes?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductAttributes?default(unselectedClassName)}">${uiLabelMap.ProductAttributes}</a>
- <a href="<@ofbizUrl>EditProductFeatures?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductFeatures?default(unselectedClassName)}">${uiLabelMap.ProductFeatures}</a>
- <a href="<@ofbizUrl>EditProductFacilities?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductFacilities?default(unselectedClassName)}">${uiLabelMap.ProductFacilities}</a>
- <a href="<@ofbizUrl>EditProductFacilityLocations?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductFacilityLocations?default(unselectedClassName)}">${uiLabelMap.ProductLocations}</a>
- <a href="<@ofbizUrl>EditProductInventoryItems?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductInventoryItems?default(unselectedClassName)}">${uiLabelMap.ProductInventory}</a>
- <a href="<@ofbizUrl>EditProductSuppliers?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditSupplierProduct?default(unselectedClassName)}">${uiLabelMap.ProductSuppliers}</a>
- <a href="<@ofbizUrl>EditProductGlAccounts?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductGlAccounts?default(unselectedClassName)}">${uiLabelMap.ProductAccounts}</a>
- <a href="<@ofbizUrl>EditProductQuickAdmin?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductQuickAdmin?default(unselectedClassName)}">${uiLabelMap.ProductQuickAdmin}</a-->
- <if product?exists && product.isVirtual?if_exists == "Y">
- <a href="<@ofbizUrl>QuickAddVariants?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.QuickAddVariants?default(unselectedClassName)}">${uiLabelMap.ProductVariants}</a>
- </if>
- <#--if product?exists && product.productTypeId?if_exists == "AGGREGATED">
- <a href="<@ofbizUrl>EditProductConfigs?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductConfigs?default(unselectedClassName)}">${uiLabelMap.ProductConfigs}</a>
- </#if-->
- <#if product?exists && product.productTypeId?if_exists == "ASSET_USAGE">
- <a href="<@ofbizUrl>EditProductAssetUsage?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductAssetUsage?default(unselectedClassName)}">${uiLabelMap.ProductAssetUsage}</a>
- </#if>
- </div>
+ <#assign displayApps = [
+ {"title":"${uiLabelMap.ProductProduct}", "menuname":"EditProduct", "url":"EditProduct?productId=${productId}"}
+ ,{"title":"${uiLabelMap.ProductPrices}","menuname":"EditProductPrices", "url":"EditProductPrices?productId=${productId}"}
+ ,{"title":"${uiLabelMap.ProductContent}", "menuname":"EditProductContent", "url":"EditProductContent?productId=${productId}"}
+ ,{"title":"${uiLabelMap.ProductCategories}","menuname":"EditProductCategories", "url":"EditProductCategories?productId=${productId}"}
+ ,{"title":"${uiLabelMap.ProductVariants}", "menuname":"QuickAddVariants", "url":"QuickAddVariants?productId=${productId}"}
+
+ ]>
+
+<#assign unselectedClass = {"lowest_leftmenu_col" : "lowest_leftmenu_tabdownblock", "lowest_leftmenu_center" : "lowest_leftmenu_tabdowncenter", "lowest_leftmenu_link" : "lowest_leftmenu_tablink"}>
+<#assign selectedClass = {"lowest_leftmenu_col" : "lowest_leftmenu_mainblock", "lowest_leftmenu_center" : "lowest_leftmenu_tabupcenter", "lowest_leftmenu_link" : "lowest_leftmenu_tablinkselected"}>
+<#if !appTabButtonItem?has_content><#assign appTabButtonItem = page.appTabButtonItem?default("void")></#if>
+<#assign thisAppOpt = page.tabButtonItem?default("void")>
+
+<#if requestAttributes.userLogin?has_content>
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr bgcolor="#FFFFFF">
+ <td height="19px" width="100%">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <#list displayApps as display>
+ <#if thisAppOpt == display.menuname>
+ <#assign class = selectedClass>
+ <#else>
+ <#assign class = unselectedClass>
+ </#if>
+
+ <td valign="bottom" height="19px" class="${class.lowest_leftmenu_col}">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="${class.lowest_leftmenu_center}"><a href=<#if display.title == "Website">"${display.url}" target="newwindow"<#else>"<@ofbizUrl>${display.url}</@ofbizUrl>"</#if> title="" class="${class.lowest_leftmenu_link}">${display.title}</a></td>
+ <td height="1px"> </td>
+ </tr>
+ </table>
+ </td>
+ </#list>
+ <#-- KAN DIT?? -->
+ <#if product?exists && product.productTypeId?if_exists == "ASSET_USAGE">
+ <tr>
+ <td><a href="<@ofbizUrl>EditProductAssetUsage?productId=${productId}</@ofbizUrl>" class="${selectedClassMap.EditProductAssetUsage?default(unselectedClassName)}">${uiLabelMap.ProductAssetUsage}</a><br/></td>
+ </tr>
+ </#if>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
</#if>
+</#if>
\ No newline at end of file
Added: trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/calendarTable.css
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/calendarTable.css 2006-04-26 07:36:18 UTC (rev 7418)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/calendarTable.css 2006-04-26 07:59:55 UTC (rev 7419)
@@ -0,0 +1,33 @@
+/* calendar table styles */
+.calendarTable {
+ font-family: Verdana;
+ font-size: 11px;
+ color: #000000;
+ padding: 0px;
+ background: #d4d0c8;
+ border: 1px solid #000000;
+ vertical-align: top;
+ margin-top:10px;
+}
+
+.calendarHeader {
+ background: #1E3C66;
+ outline-color: #1E3C66;
+ border: 0;
+}
+
+.calendarDayNumber {
+ color: #000000;
+ background: #FFFFFF;
+ }
+
+.calendarWeek {
+ padding: 4px;
+ background: #AFC8D4;
+ }
+
+.calendarContent {
+ color: #5886C6;
+ font-weight: normal;
+ text-decoration: none;
+ }
\ No newline at end of file
Property changes on: trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/calendarTable.css
___________________________________________________________________
Name: svn:mime-type
+ text/css
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
Added: trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/tabstyles.css
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/tabstyles.css 2006-04-26 07:36:18 UTC (rev 7418)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/tabstyles.css 2006-04-26 07:59:55 UTC (rev 7419)
@@ -0,0 +1,359 @@
+.treewrapper {
+margin-left: 10px;
+}
+
+.treeitem {
+color: blue;
+font-family: Arial, Helvetica, sans-serif;
+font-size: 10pt;
+font-weight: bold;
+border: #888888 solid 1px;
+}
+
+DIV.centerarea {
+width:95%;
+border-left: 1px solid #070872;
+border-right: 1px solid #070872;
+border-bottom: 1px solid #070872;
+padding:10px;
+background-color: #f9f4a2;
+
+}
+/* APPBAR */
+.mainblock {
+background-color: #D4D0C8;
+}
+
+.tabdownblock {
+background-color: #f9f4a2;
+}
+.left{
+background-color: #D4D0C8;
+}
+
+.tabdowncenter {
+height: 21px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #B4B0AA;
+font-size: 15pt;
+text-align: center;
+vertical-align: middle;
+border: 1px solid #070872;
+}
+
+.tabupcenter {
+height: 21px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #f9f4a2;
+font-size: 15pt;
+text-align: center;
+vertical-align: middle;
+border-top: 1px solid #070872;
+border-left: 1px solid #070872;
+border-right: 1px solid #070872;
+}
+
+.betweenstabs{
+height: 21px;
+background-color: #FFFFFF;
+border-bottom: 1px solid #070872;
+}
+
+.appbar {
+width:97.2%;
+}
+
+.appbarleft {
+border-bottom: 1px solid #070872;
+margin-left:5px;
+}
+
+.appbarright {
+border-bottom: 1px solid #070872;
+margin-right:40px;
+}
+
+A.tablink,
+A.tablink:hover,
+A.tablinkselected,
+A.tablinkselected:hover {
+
+font-family: Verdana, Arial, Helvetica, sans-serif;
+font-size: 9pt;
+font-weight: bold;
+text-align: center;
+text-decoration: none;
+color: #070872;
+}
+
+A.tablink:hover,
+A.tablink:active {
+color: #f9f4a2;
+}
+A.tablinkselected {
+color: #a91930;
+}
+/* APPBAR END */
+
+/* APPBAR_HEADER */
+
+.appheader_mainblock {
+background-color: #f9f4a2;
+}
+
+.appheader_tabdownblock {
+background-color: #f9f4a2;
+}
+
+.appheader_tabdowncenter {
+height: 19px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #B4B0AA;
+font-size: 15pt;
+text-align: center;
+vertical-align: middle;
+border: 1px solid #070872;
+}
+
+.appheader_tabupcenter {
+height: 19px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #FFFFFF;
+font-size: 15pt;
+text-align: center;
+vertical-align: middle;
+border-top: 1px solid #070872;
+border-left: 1px solid #070872;
+border-right: 1px solid #070872;
+}
+
+.appheader_betweenstabs{
+height: 19px;
+background-color: #f9f4a2;
+border-bottom: 1px solid #070872;
+}
+
+.appheader_appbar {
+width:100%;
+}
+
+.appheader_appbarleft {
+border-bottom: 1px solid #070872;
+margin-left:5px;
+}
+
+
+.appheader_appbarright {
+border-bottom: 1px solid #070872;
+margin-right:40px;
+}
+
+A.appheader_tablink,
+A.appheader_tablink:hover,
+A.appheader_tablinkselected,
+A.appheader_tablinkselected:hover {
+
+font-family: Verdana, Arial, Helvetica, sans-serif;
+font-size: 9pt;
+font-weight: bold;
+text-align: center;
+text-decoration: none;
+color: #070872;
+}
+
+A.appheader_tablink:hover,
+A.appheader_tablink:active {
+color: #FFFFFF;
+}
+A.appheader_tablinkselected {
+color: #a91930;
+}
+/* APPBAR HEADER END */
+
+/* LOWEST LEFT MENU */
+
+.lowest_leftmenu_mainblock {
+background-color: #FFFFFF;
+}
+
+.lowest_leftmenu_tabdownblock {
+background-color: #FFFFFF;
+}
+
+.lowest_leftmenu_tabdowncenter {
+height: 19px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #FFFFFF;
+font-size: 10pt;
+text-align: center;
+vertical-align: middle;
+border: 1px solid #070872;
+}
+
+.lowest_leftmenu_tabupcenter {
+height: 19px;
+padding-left:10px;
+padding-right:10px;
+font-family: Arial, Helvetica, sans-serif;
+background-color: #a91930;
+font-size: 10pt;
+text-align: center;
+vertical-align: middle;
+border: 1px solid #070872;
+}
+
+A.lowest_leftmenu_tablink,
+A.lowest_leftmenu_tablink:hover,
+A.lowest_leftmenu_tablinkselected,
+A.lowest_leftmenu_tablinkselected:hover {
+
+font-family: Verdana, Arial, Helvetica, sans-serif;
+font-size: 9pt;
+font-weight: bold;
+text-align: center;
+text-decoration: none;
+color: #070872;
+}
+
+A.lowest_leftmenu_tablink:hover,
+A.lowest_leftmenu_tablink:active {
+color: #a91930;
+}
+A.lowest_leftmenu_tablinkselected {
+color: #FFFFFF;
+}
+/* LOWEST LEFT MENU END */
+
+.apptitle {
+font-family: Verdana, Arial, Helvetica, sans-serif;
+letter-spacing:2px;
+background-color: #f9f4a2;
+font-size: 10pt;
+font-weight: bold;
+color: #a91930;
+display: block;
+width: 100%;
+margin-bottom: 2px;
+text-align: right;
+}
+
+DIV.row {
+background-color: #B4B0AA;
+margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;
+padding: 0; text-align: center;
+}
+
+DIV.col {
+border: none; float: left; margin: 0; padding: 0; width: auto;
+}
+
+DIV.col-fill {
+font-family: Verdana, Arial, Helvetica, sans-serif;
+font-size: 10px;
+font-weight: bold;
+text-decoration: none;
+background-color: #B4B0AA;
+color: #000099;
+margin: 0;
+padding: 0;
+border: none;
+text-align: center;
+width: 0;
+}
+
+DIV.col-right {
+border: none;
+float: right;
+margin: 0;
+padding: 0;
+width: auto;
+}
+
+DIV.contentarea {
+background-color: #FFFFFF;
+border-left: solid #070872 1px;
+border-right: solid #070872 1px;
+border-bottom: solid #070872 1px;
+padding: 10px;
+}
+
+DIV.endcolumns {
+ clear: both;
+}
+
+DIV.simple-right-small {
+float: right;
+width: 20px;
+text-align: right;
+}
+
+DIV.simple-right-half {
+float: right;
+width: 50%;
+text-align: right;
+}
+
+DIV.screenlet {
+background-color: #FFFFFF;
+border: 1px solid #999999;
+margin-bottom: 10px;
+}
+
+DIV.screenlet-body {
+background-color: #FFFFFF;
+padding: 4px;
+}
+
+#column-container {
+position: relative;
+background-color: #FFFFFF;
+margin: auto;
+width: 100%;
+}
+
+#column-container .left {
+float: left; margin-right: 10px;
+/* alt: position: absolute; top: 0px; left: 0px; */
+width: 220px;
+}
+#column-container .right {
+float: right; margin-left: 10px;
+width: 220px;
+}
+
+#column-container .leftonly {
+margin-left: 230px;
+width: auto;
+}
+#column-container .rightonly {
+margin-right: 230px;
+width: auto;
+}
+#column-container .center {
+margin-left: 230px;
+margin-right: 230px;
+width: auto;
+}
+#column-container .nocolumns {
+width: auto;
+}
+
+DIV.column-left-wide {
+float: left;
+width: 300px;
+background-color: #CCCCCC;
+border: black solid 2px;
+overflow: auto;
+}
+
+
Property changes on: trunk/specialized/opentravelsystem/webapp/hotelbackend/hotelbackendimages/tabstyles.css
___________________________________________________________________
Name: svn:mime-type
+ text/css
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
Added: trunk/specialized/opentravelsystem/webapp/hotelbackend/includes/header.ftl
===================================================================
--- trunk/specialized/opentravelsystem/webapp/hotelbackend/includes/header.ftl 2006-04-26 07:36:18 UTC (rev 7418)
+++ trunk/specialized/opentravelsystem/webapp/hotelbackend/includes/header.ftl 2006-04-26 07:59:55 UTC (rev 7419)
@@ -0,0 +1,109 @@
+<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org -->
+<#--
+ * Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ *@author Andy Zeneski (jaz at ofbiz.org)
+ *@author Olivier Heintz (olivier.heintz at nereide.biz)
+ *@version $Rev$
+ *@since 2.1
+-->
+
+<#if (requestAttributes.uiLabelMap)?exists><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
+<#if (requestAttributes.layoutSettings)?exists><#assign layoutSettings = requestAttributes.layoutSettings></#if>
+<#if (requestAttributes.locale)?exists><#assign locale = requestAttributes.locale></#if>
+<#if (requestAttributes.availableLocales)?exists><#assign availableLocales = requestAttributes.availableLocales></#if>
+<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if>
+<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if>
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>${layoutSettings.companyName?if_exists}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title>
+ <script language='javascript' src='<@ofbizContentUrl>/images/calendar1.js</@ofbizContentUrl>' type='text/javascript'></script>
+ <script language='javascript' src='<@ofbizContentUrl>/images/selectall.js</@ofbizContentUrl>' type='text/javascript'></script>
+ <script language="javascript" src="<@ofbizContentUrl>/images/fieldlookup.js</@ofbizContentUrl>" type="text/javascript"></script>
+ <link rel='stylesheet' href='<@ofbizContentUrl>/${activeApp}/hotelbackendimages/maincss.css</@ofbizContentUrl>' type='text/css'>
+ <link rel='stylesheet' href='<@ofbizContentUrl>/${activeApp}/hotelbackendimages/tabstyles.css</@ofbizContentUrl>' type='text/css'>
+ <link rel='stylesheet' href='<@ofbizContentUrl>/${activeApp}/hotelbackendimages/calendarTable.css</@ofbizContentUrl>' type='text/css'>
+ ${layoutSettings.extraHead?if_exists}
+ <#if htmlEdit?exists>
+ <script language="Javascript" type="text/javascript" src="/${activeApp}/html/whizzywig.js"></script>
+ <script language="Javascript" type="text/javascript" src="/${activeApp}/html/xhtml.js"></script>
+ <script language="JavaScript">
+ // wizzywig variables
+ buttonPath = "/${activeApp}/html/images/";
+ cssFile = "/${activeApp}/html/images/simple.css";
+ gentleClean = "true";
+ </script>
+ </#if>
+ <script language="JavaScript">
+ function getHelpWindow(url) {
+ win=window.open(url,"helpwin","height=400,width=800,toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=yes");
+ win.focus();
+ }
+ </script>
+</head>
+
+<body>
+<#if !parameters.popup?exists>
+<table border="0" width='100%' cellspacing='0' cellpadding='0' class='headerboxoutside'>
+ <tr>
+ <td width='100%'>
+ <table width='100%' border='0' cellspacing='0' cellpadding='0' class='headerboxtop'>
+ <tr>
+ <#if userLogin?has_content && productStoreId?exists>
+ <td align="left" width='1%'><img alt="${layoutSettings.companyName}" src="<@ofbizContentUrl>${layoutSettings.headerImageUrl}</@ofbizContentUrl>"/></td>
+ <#else>
+ <td align="left" width='1%'><img alt="Backend system" src="/${activeApp}/html/images/system.jpg"/></td>
+ </#if>
+ <#if userLogin?has_content && productStoreId?exists>
+ <td class="head2"><center><u>Store Name: ${productStoreId}<br/>Org.Party: ${organizationPartyId?if_exists}</u></center></td/>
+ </#if>
+ <td align='right' width='1%' nowrap <#if layoutSettings.headerRightBackgroundUrl?has_content>background='${layoutSettings.headerRightBackgroundUrl}'</#if>>
+ <#if person?has_content>
+ <div class="insideHeaderText">${uiLabelMap.CommonWelcome} ${person.firstName?if_exists} ${person.lastName?if_exists}!</div>
+ <#elseif partyGroup?has_content>
+ <div class="insideHeaderText">${uiLabelMap.CommonWelcome} ${partyGroup.groupName?if_exists}!</div>
+ <#else>
+ <div class="insideHeaderText">${uiLabelMap.CommonWelcome}!</div>
+ </#if>
+ <div class="insideHeaderText"> ${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString()}</div>
+ <div class="insideHeaderText">
+ <form method="post" action="<@ofbizUrl>setSessionLocale</@ofbizUrl>" style="margin: 0;">
+ <select name="locale" class="selectBox">
+ <option value="${locale}">${locale.getDisplayName(locale)}</option>
+ <option value="${locale}">----</option>
+ <#list availableLocales as availableLocale>
+ <option value="${availableLocale.toString()}">${availableLocale.getDisplayName(locale)}</option>
+ </#list>
+ </select>
+ <input type="submit" value="${uiLabelMap.CommonSet}" class="smallSubmit"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</#if>
+
Property changes on: trunk/specialized/opentravelsystem/webapp/hotelbackend/includes/header.ftl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
More information about the Svn
mailing list