I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
71 lines
2.9 KiB
Plaintext
71 lines
2.9 KiB
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you 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.
|
|
-->
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<title>${title}</title>
|
|
<script language="javascript" src="<@ofbizContentUrl>/images/calendar1.js</@ofbizContentUrl>" type="text/javascript"></script>
|
|
<script language="javascript" src="<@ofbizContentUrl>/images/fieldlookup.js</@ofbizContentUrl>" type="text/javascript"></script>
|
|
<link rel="stylesheet" href="<@ofbizContentUrl>/images/maincss.css</@ofbizContentUrl>" type="text/css"/>
|
|
|
|
<script language="JavaScript" type="text/javascript">
|
|
// This code inserts the value lookedup by a popup window back into the associated form element
|
|
var re_id = new RegExp('id=(\\d+)');
|
|
var num_id = (re_id.exec(String(window.location))
|
|
? new Number(RegExp.$1) : 0);
|
|
var obj_caller = (window.opener ? window.opener.lookups[num_id] : null);
|
|
if (obj_caller == null)
|
|
obj_caller = window.opener;
|
|
|
|
|
|
// function passing selected value to calling window
|
|
function set_value(value) {
|
|
if (!obj_caller) return;
|
|
window.close();
|
|
obj_caller.target.value = value;
|
|
}
|
|
// function passing selected value to calling window
|
|
function set_values(value, value2) {
|
|
set_value(value);
|
|
if (!obj_caller.target2) return;
|
|
if (obj_caller.target2 == null) return;
|
|
obj_caller.target2.value = value2;
|
|
}
|
|
function set_multivalues(value) {
|
|
obj_caller.target.value = value;
|
|
var thisForm = obj_caller.target.form;
|
|
var evalString = "";
|
|
|
|
if (arguments.length > 2 ) {
|
|
for(var i=1; i < arguments.length; i=i+2) {
|
|
evalString = "thisForm." + arguments[i] + ".value='" + arguments[i+1] + "'";
|
|
eval(evalString);
|
|
}
|
|
}
|
|
window.close();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="background-color: WHITE;">
|
|
${sections.render("body")}
|
|
</body>
|
|
</html>
|