mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
5456: (From WCM_DEPLOY) There were many pure conflicts on license headers, one conflict due to CR-LF and some other smaller issues to resolve: ----------------------------------------- Resolved (line endings not cr-lf): root\projects\repository\config\alfresco\public-services-context.xml Reverted: root\projects\web-client\source\web\images\icons\ajax_anim.gif Reverted or Resolved (License text conflicts): svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\JndiTest.java svn resolved root\projects\jndi-client\source\java\org\alfresco\jndi\AVMFileDirContext.java svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\AVMBulkLoader.java svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilter.java svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilterInfoBean.java svn revert -R root\projects\catalina-virtual\source\java\org\alfresco\mbeans svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\context\AVMStandardContext.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappClassLoader.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappLoader.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMResourceBinding.java svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostConfig.java - why the change in method naming convention? svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHost.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\DefaultAVMResourceBinding.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValveTest.java svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValve.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostMatch.java Modified: root\projects\web-client\source\java\org\alfresco\web\ui\wcm\component\UIDeployWebsite.java (Kevin to check line 330) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
188 lines
9.5 KiB
Plaintext
188 lines
9.5 KiB
Plaintext
<!--
|
|
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
|
|
|
* 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
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing
|
|
|
|
Produces the index page for the press release page.
|
|
-->
|
|
<jsp:root version="1.2"
|
|
xmlns:jsp="http://java.sun.com/JSP/Page"
|
|
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
|
xmlns:pr="http://www.alfresco.org/alfresco/pr"
|
|
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt">
|
|
|
|
<jsp:output doctype-root-element="html"
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
|
|
|
|
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8"/>
|
|
<jsp:directive.page isELIgnored="false"/>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>{$lang_insert_link_title}</title>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/tiny_mce/tiny_mce_popup.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/tiny_mce/utils/mctabs.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/tiny_mce/utils/form_utils.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/tiny_mce/themes/advanced/jscripts/link.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/ajax/dojo/dojo.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/ajax/ajax_helper.js"> </script>
|
|
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/scripts/ajax/file_picker_widget.js"> </script>
|
|
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/xforms.css"> </link>
|
|
<script type="text/javascript">
|
|
alfresco = tinyMCEPopup.windowOpener.alfresco;
|
|
var alfFilePickerWidgetInstance;
|
|
function loadPicker()
|
|
{
|
|
var d = document.getElementById("alfFilePicker");
|
|
var pwOrigHeight = document.getElementById("panel_wrapper").offsetHeight;
|
|
function resizeHandler(event)
|
|
{
|
|
document.getElementById("panel_wrapper").style.height =
|
|
(d.offsetHeight >= 100 ? document.getElementById("panel_wrapper").offsetHeight + d.offsetHeight : pwOrigHeight) + "px";
|
|
};
|
|
function changeHandler(picker)
|
|
{
|
|
document.getElementById("href").value = picker.getValue();
|
|
picker.node.style.display = "none";
|
|
document.getElementById("href").style.display = "inline";
|
|
document.getElementById("alfPickerTrigger").style.display = "inline";
|
|
};
|
|
alfFilePickerWidgetInstance = new alfresco.FilePickerWidget("alfFilePicker", d, "", false, changeHandler, resizeHandler)
|
|
alfFilePickerWidgetInstance.render();
|
|
alfFilePickerWidgetInstance.node.style.display = "none";
|
|
// widget._navigateToNode("/");
|
|
}
|
|
|
|
function showPicker()
|
|
{
|
|
alfFilePickerWidgetInstance.node.style.display = "block";
|
|
document.getElementById("href").style.display = "none";
|
|
document.getElementById("alfPickerTrigger").style.display = "none";
|
|
alfFilePickerWidgetInstance._navigateToNode("/");
|
|
}
|
|
</script>
|
|
<base target="_self" />
|
|
</head>
|
|
<body id="link" onload="tinyMCEPopup.executeOnLoad('init(); loadPicker();');" style="display: none">
|
|
<form onsubmit="insertLink();return false;" action="#">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_link_title}</a></span></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="panel_wrapper" id="panel_wrapper">
|
|
<div id="general_panel" class="panel current" style="width: 100%">
|
|
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td nowrap="nowrap"><label for="href">{$lang_insert_link_url}</label></td>
|
|
<td width="100%">
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td width="100%" nowrap="nowrap">
|
|
<input id="href" name="href" type="text" value="" style="width: 100%"/>
|
|
</td>
|
|
<td>
|
|
<input id="alfPickerTrigger" type="button" onclick="showPicker()" value="Browse Repository"/>
|
|
</td>
|
|
<td id="hrefbrowsercontainer"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" width="100%">
|
|
<div id="alfFilePicker" style="width:100%"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- Link list -->
|
|
<script type="text/javascript">
|
|
<!--
|
|
if (typeof(tinyMCELinkList) != "undefined" && tinyMCELinkList.length > 0)
|
|
{
|
|
var html = "";
|
|
|
|
html += "<tr><td><label for='link_list'>{$lang_link_list}</label></td>";
|
|
html += "<td><select id='link_list' name='link_list' style='width: 200px' " +
|
|
"onchange='this.form.href.value=this.options[this.selectedIndex].value;'>";
|
|
html += "<option value=''>-" + "-" + "-</option>";
|
|
for (var i = 0; i < tinyMCELinkList.length; i++)
|
|
{
|
|
html += "<option value='" + tinyMCELinkList[i][1] + "'>" + tinyMCELinkList[i][0] + "</option>";
|
|
}
|
|
html += "</select></td></tr>";
|
|
document.write(html);
|
|
}
|
|
-->
|
|
</script>
|
|
<!-- /Link list -->
|
|
<tr>
|
|
<td nowrap="nowrap"><label for="target">{$lang_insert_link_target}</label></td>
|
|
<td><select id="target" name="target" style="width: 200px">
|
|
<option value="_self">{$lang_insert_link_target_same}</option>
|
|
<option value="_blank">{$lang_insert_link_target_blank}</option>
|
|
<script language="javascript">
|
|
<!--
|
|
var html = "";
|
|
var targets = tinyMCE.getParam("theme_advanced_link_targets", "").split(";");
|
|
|
|
for (var i = 0; i < targets.length; i++)
|
|
{
|
|
var key, value;
|
|
if (targets[i] == "")
|
|
continue;
|
|
key = targets[i].split("=")[0];
|
|
value = targets[i].split("=")[1];
|
|
html += "<option value='" + value + "'>" + key + "</option>";
|
|
}
|
|
document.write(html);
|
|
-->
|
|
</script>
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><label for="linktitle">{$lang_theme_insert_link_titlefield}</label></td>
|
|
<td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px"/></td>
|
|
</tr>
|
|
<tr id="styleSelectRow">
|
|
<td><label for="styleSelect">{$lang_class_name}</label></td>
|
|
<td>
|
|
<select id="styleSelect" name="styleSelect">
|
|
<option value="" selected="selected">{$lang_theme_style_select}</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="mceActionPanel">
|
|
<div style="float: left">
|
|
<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertLink();" />
|
|
</div>
|
|
|
|
<div style="float: right">
|
|
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
</jsp:root>
|