⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 header.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<?xml version="1.0" encoding="UTF-8"?><#-- * Copyright (C) 2006  Open Source Strategies, Inc. *  * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. *  * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA--><#-- *  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 Leon Torres (leon@opensourcestrategies.com)--><html xmlns="http://www.w3.org/1999/xhtml"><head>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>    <title><#if pageTitleLabel?exists>${uiLabelMap.get(pageTitleLabel)} |</#if> ${configProperties.get("crmsfa.title")}</title>    <#list javascriptFiles as javascript>      <script language="javascript" src="<@ofbizContentUrl>${javascript}</@ofbizContentUrl>" type="text/javascript"></script>    </#list>    <#list stylesheetFiles as stylesheet>      <link rel="stylesheet" href="<@ofbizContentUrl>${stylesheet}</@ofbizContentUrl>" type="text/css"/>    </#list>    <#-- here is where the dynamic CSS goes, for changing theme color, etc. To activate this, define sectionName = 'section' -->    <#if sectionName?exists>    <#assign bgcolor = configProperties.get("crmsfa.theme.color.background." + sectionName)?default("#000099")/>    <#assign fgcolor = configProperties.get("crmsfa.theme.color.foreground." + sectionName)?default("white")/>    <style type="text/css">.sectionHeader, .subSectionHeader, .subSectionTitle, .formSectionHeader, .formSectionHeaderTitle, .tabupleft, .tabupcenter, .tabupright, .screenlet-header, .boxhead, .tabseparatorup, .tabseparatordown, .boxtop, div.boxtop {color: ${fgcolor}; background-color: ${bgcolor};}    </style>    </#if></head><body>  <div style="float: left; margin-left: 10px; margin-top: 5px; margin-bottom: 10px;">    <img alt="${configProperties.get("crmsfa.title")}" src="<@ofbizContentUrl>${configProperties.get("crmsfa.logo")}</@ofbizContentUrl>">  </div>  <div align="right" style="margin-left: 300px; margin-right: 10px; margin-top: 10px;">  <div class="insideHeadertext">    <#if person?has_content>    ${uiLabelMap.CommonWelcome}&nbsp;${person.firstName?if_exists}&nbsp;${person.lastName?if_exists}    <#elseif partyGroup?has_content>    ${uiLabelMap.CommonWelcome}&nbsp;${partyGroup.groupName?if_exists}    <#else>    </#if>    <#if requestAttributes.userLogin?has_content>    <a href="<@ofbizUrl>myProfile</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyProfile}</a>    <a href="<@ofbizUrl>logout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonLogout}</a>    </#if>  </div>  <table><tr><td>    <div class="insideHeaderText">        <form method="post" action="<@ofbizUrl>setSessionLocale</@ofbizUrl>">        <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>  </div>  <div class="spacer"></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -