parent
c58a8891df
commit
c3ed0659aa
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title></title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
</head>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,161 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
||||
*
|
||||
* == BEGIN LICENSE ==
|
||||
*
|
||||
* Licensed under the terms of any of the following licenses at your
|
||||
* choice:
|
||||
*
|
||||
* - GNU General Public License Version 2 or later (the "GPL")
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
*
|
||||
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
*
|
||||
* == END LICENSE ==
|
||||
*
|
||||
* Create the FCKeditorAPI object that is available as a global object in
|
||||
* the page where the editor is placed in.
|
||||
*/
|
||||
|
||||
var FCKeditorAPI ;
|
||||
|
||||
function InitializeAPI()
|
||||
{
|
||||
var oParentWindow = window.parent ;
|
||||
|
||||
if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) )
|
||||
{
|
||||
// Make the FCKeditorAPI object available in the parent window. Use
|
||||
// eval so this core runs in the parent's scope and so it will still be
|
||||
// available if the editor instance is removed ("Can't execute code
|
||||
// from a freed script" error).
|
||||
|
||||
// Note: we check the existence of oEditor.GetParentForm because some external
|
||||
// code (like JSON) can extend the Object protype and we get then extra oEditor
|
||||
// objects that aren't really FCKeditor instances.
|
||||
var sScript =
|
||||
'var FCKeditorAPI = {' +
|
||||
'Version : "2.4.2",' +
|
||||
'VersionBuild : "14978",' +
|
||||
'__Instances : new Object(),' +
|
||||
|
||||
'GetInstance : function( name )' +
|
||||
'{' +
|
||||
'return this.__Instances[ name ];' +
|
||||
'},' +
|
||||
|
||||
'_FormSubmit : function()' +
|
||||
'{' +
|
||||
'for ( var name in FCKeditorAPI.__Instances )' +
|
||||
'{' +
|
||||
'var oEditor = FCKeditorAPI.__Instances[ name ] ;' +
|
||||
'if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )' +
|
||||
'oEditor.UpdateLinkedField() ;' +
|
||||
'}' +
|
||||
'this._FCKOriginalSubmit() ;' +
|
||||
'},' +
|
||||
|
||||
'_FunctionQueue : {' +
|
||||
'Functions : new Array(),' +
|
||||
'IsRunning : false,' +
|
||||
|
||||
'Add : function( f )' +
|
||||
'{' +
|
||||
'this.Functions.push( f );' +
|
||||
'if ( !this.IsRunning )' +
|
||||
'this.StartNext();' +
|
||||
'},' +
|
||||
|
||||
'StartNext : function()' +
|
||||
'{' +
|
||||
'var aQueue = this.Functions ;' +
|
||||
'if ( aQueue.length > 0 )' +
|
||||
'{' +
|
||||
'this.IsRunning = true;' +
|
||||
'aQueue[0].call();' +
|
||||
'}' +
|
||||
'else ' +
|
||||
'this.IsRunning = false;' +
|
||||
'},' +
|
||||
|
||||
'Remove : function( f )' +
|
||||
'{' +
|
||||
'var aQueue = this.Functions;' +
|
||||
'var i = 0, fFunc;' +
|
||||
'while( (fFunc = aQueue[ i ]) )' +
|
||||
'{' +
|
||||
'if ( fFunc == f )' +
|
||||
'aQueue.splice( i,1 );' +
|
||||
'i++ ;' +
|
||||
'}' +
|
||||
'this.StartNext();' +
|
||||
'}' +
|
||||
'}' +
|
||||
'}' ;
|
||||
|
||||
// In IE, the "eval" function is not always available (it works with
|
||||
// the JavaScript samples, but not with the ASP ones, for example).
|
||||
// So, let's use the execScript instead.
|
||||
if ( oParentWindow.execScript )
|
||||
oParentWindow.execScript( sScript, 'JavaScript' ) ;
|
||||
else
|
||||
{
|
||||
if ( FCKBrowserInfo.IsGecko10 )
|
||||
{
|
||||
// FF 1.0.4 gives an error with the request bellow. The
|
||||
// following seams to work well.
|
||||
eval.call( oParentWindow, sScript ) ;
|
||||
}
|
||||
else if ( FCKBrowserInfo.IsSafari )
|
||||
{
|
||||
// oParentWindow.eval in Safari executes in the calling window
|
||||
// environment, instead of the parent one. The following should make it work.
|
||||
var oParentDocument = oParentWindow.document ;
|
||||
var eScript = oParentDocument.createElement('script') ;
|
||||
eScript.appendChild( oParentDocument.createTextNode( sScript ) ) ;
|
||||
oParentDocument.documentElement.appendChild( eScript ) ;
|
||||
}
|
||||
else
|
||||
oParentWindow.eval( sScript ) ;
|
||||
}
|
||||
|
||||
FCKeditorAPI = oParentWindow.FCKeditorAPI ;
|
||||
}
|
||||
|
||||
// Add the current instance to the FCKeditorAPI's instances collection.
|
||||
FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
|
||||
}
|
||||
|
||||
// Attach to the form onsubmit event and to the form.submit().
|
||||
function _AttachFormSubmitToAPI()
|
||||
{
|
||||
// Get the linked field form.
|
||||
var oForm = FCK.GetParentForm() ;
|
||||
|
||||
if ( oForm )
|
||||
{
|
||||
// Attach to the onsubmit event.
|
||||
FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ;
|
||||
|
||||
// IE sees oForm.submit function as an 'object'.
|
||||
if ( !oForm._FCKOriginalSubmit && ( typeof( oForm.submit ) == 'function' || ( !oForm.submit.tagName && !oForm.submit.length ) ) )
|
||||
{
|
||||
// Save the original submit.
|
||||
oForm._FCKOriginalSubmit = oForm.submit ;
|
||||
|
||||
// Create our replacement for the submit.
|
||||
oForm.submit = FCKeditorAPI._FormSubmit ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function FCKeditorAPI_Cleanup()
|
||||
{
|
||||
delete FCKeditorAPI.__Instances[ FCK.Name ] ;
|
||||
}
|
||||
FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ;
|
@ -0,0 +1,15 @@
|
||||
<public:component lightweight="true">
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
function CancelEvent()
|
||||
{
|
||||
return false ;
|
||||
}
|
||||
|
||||
this.onresizestart = CancelEvent ;
|
||||
this.onbeforeeditfocus = CancelEvent ;
|
||||
|
||||
</script>
|
||||
|
||||
</public:component>
|
@ -0,0 +1,36 @@
|
||||
<public:component lightweight="true">
|
||||
|
||||
<public:attach event="oncontentready" onevent="ShowBorders()" />
|
||||
<public:attach event="onpropertychange" onevent="OnPropertyChange()" />
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
var oClassRegex = /\s*FCK__ShowTableBorders/ ;
|
||||
|
||||
function ShowBorders()
|
||||
{
|
||||
if ( this.border == 0 )
|
||||
{
|
||||
if ( !oClassRegex.test( this.className ) )
|
||||
this.className += ' FCK__ShowTableBorders' ;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( oClassRegex.test( this.className ) )
|
||||
{
|
||||
this.className = this.className.replace( oClassRegex, '' ) ;
|
||||
if ( this.className.length == 0 )
|
||||
this.removeAttribute( 'className', 0 ) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function OnPropertyChange()
|
||||
{
|
||||
if ( event.propertyName == 'border' || event.propertyName == 'className' )
|
||||
ShowBorders.call(this) ;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</public:component>
|
@ -0,0 +1,91 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
||||
*
|
||||
* == BEGIN LICENSE ==
|
||||
*
|
||||
* Licensed under the terms of any of the following licenses at your
|
||||
* choice:
|
||||
*
|
||||
* - GNU General Public License Version 2 or later (the "GPL")
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
*
|
||||
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
*
|
||||
* == END LICENSE ==
|
||||
*
|
||||
* This is the default CSS file used by the editor area. It defines the
|
||||
* initial font of the editor and background color.
|
||||
*
|
||||
* A user can configure the editor to use another CSS file. Just change
|
||||
* the value of the FCKConfig.EditorAreaCSS key in the configuration
|
||||
* file.
|
||||
*/
|
||||
|
||||
/*
|
||||
The "body" styles should match your editor web site, mainly regarding
|
||||
background color and font family and size.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #ffffff;
|
||||
padding: 5px 5px 5px 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
body, td
|
||||
{
|
||||
font-family: Arial, Verdana, Sans-Serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
a[href]
|
||||
{
|
||||
color: #0000FF !important; /* For Firefox... mark as important, otherwise it becomes black */
|
||||
}
|
||||
|
||||
/*
|
||||
Just uncomment the following block if you want to avoid spaces between
|
||||
paragraphs. Remember to apply the same style in your output front end page.
|
||||
*/
|
||||
|
||||
/*
|
||||
p, ul, li
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
The following are some sample styles used in the "Styles" toolbar command.
|
||||
You should instead remove them, and include the styles used by the site
|
||||
you are using the editor in.
|
||||
*/
|
||||
|
||||
.Bold
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.Title
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
color: #cc3300;
|
||||
}
|
||||
|
||||
.Code
|
||||
{
|
||||
border: #8b4513 1px solid;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
color: #000066;
|
||||
font-family: 'Courier New' , Monospace;
|
||||
background-color: #ff9933;
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
||||
*
|
||||
* == BEGIN LICENSE ==
|
||||
*
|
||||
* Licensed under the terms of any of the following licenses at your
|
||||
* choice:
|
||||
*
|
||||
* - GNU General Public License Version 2 or later (the "GPL")
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
*
|
||||
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
*
|
||||
* == END LICENSE ==
|
||||
*
|
||||
* This CSS Style Sheet defines rules used by the editor for its internal use.
|
||||
*/
|
||||
|
||||
/* Fix to allow putting the caret at the end of the
|
||||
content in Firefox if clicking below the content */
|
||||
html
|
||||
{
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
|
||||
table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th
|
||||
{
|
||||
border: #d3d3d3 1px solid;
|
||||
}
|
||||
|
||||
form
|
||||
{
|
||||
border: 1px dotted #FF0000;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.FCK__Flash
|
||||
{
|
||||
border: darkgray 1px solid;
|
||||
background-position: center center;
|
||||
background-image: url(images/fck_flashlogo.gif);
|
||||
background-repeat: no-repeat;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
/* Empty anchors images */
|
||||
.FCK__Anchor
|
||||
{
|
||||
border: 1px dotted #00F;
|
||||
background-position: center center;
|
||||
background-image: url(images/fck_anchor.gif);
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 15px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Anchors with content */
|
||||
.FCK__AnchorC
|
||||
{
|
||||
border: 1px dotted #00F;
|
||||
background-position: 1 center;
|
||||
background-image: url(images/fck_anchor.gif);
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
/* Any anchor for non-IE, if we combine it
|
||||
with the previous rule IE ignores all. */
|
||||
a[name]
|
||||
{
|
||||
border: 1px dotted #00F;
|
||||
background-position: 0 center;
|
||||
background-image: url(images/fck_anchor.gif);
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
.FCK__PageBreak
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/fck_pagebreak.gif);
|
||||
background-repeat: no-repeat;
|
||||
clear: both;
|
||||
display: block;
|
||||
float: none;
|
||||
width: 100%;
|
||||
border-top: #999999 1px dotted;
|
||||
border-bottom: #999999 1px dotted;
|
||||
border-right: 0px;
|
||||
border-left: 0px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
/* Hidden fields */
|
||||
.FCK__InputHidden
|
||||
{
|
||||
width: 19px;
|
||||
height: 18px;
|
||||
background-image: url(images/fck_hiddenfield.gif);
|
||||
background-repeat: no-repeat;
|
||||
vertical-align: text-bottom;
|
||||
background-position: center center;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
||||
*
|
||||
* == BEGIN LICENSE ==
|
||||
*
|
||||
* Licensed under the terms of any of the following licenses at your
|
||||
* choice:
|
||||
*
|
||||
* - GNU General Public License Version 2 or later (the "GPL")
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
*
|
||||
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
*
|
||||
* == END LICENSE ==
|
||||
*
|
||||
* This CSS Style Sheet defines the rules to show table borders on Gecko.
|
||||
*/
|
||||
|
||||
/* For tables with the "border" attribute set to "0" */
|
||||
table[border="0"],
|
||||
table[border="0"] > tr > td, table[border="0"] > tr > th,
|
||||
table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th,
|
||||
table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th,
|
||||
table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th
|
||||
{
|
||||
border: #d3d3d3 1px dotted ;
|
||||
}
|
||||
|
||||
/* For tables with no "border" attribute set */
|
||||
table:not([border]),
|
||||
table:not([border]) > tr > td, table:not([border]) > tr > th,
|
||||
table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th,
|
||||
table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th,
|
||||
table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th
|
||||
{
|
||||
border: #d3d3d3 1px dotted ;
|
||||
}
|
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 54 B |
@ -0,0 +1,83 @@
|
||||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
||||
*
|
||||
* == BEGIN LICENSE ==
|
||||
*
|
||||
* Licensed under the terms of any of the following licenses at your
|
||||
* choice:
|
||||
*
|
||||
* - GNU General Public License Version 2 or later (the "GPL")
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
*
|
||||
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||
*
|
||||
* == END LICENSE ==
|
||||
*
|
||||
* This is the CSS file used for interface details in some dialog
|
||||
* windows.
|
||||
*/
|
||||
|
||||
.ImagePreviewArea
|
||||
{
|
||||
border: #000000 1px solid;
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FlashPreviewArea
|
||||
{
|
||||
border: #000000 1px solid;
|
||||
padding: 5px;
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.BtnReset
|
||||
{
|
||||
float: left;
|
||||
background-position: center center;
|
||||
background-image: url(images/reset.gif);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-repeat: no-repeat;
|
||||
border: 1px none;
|
||||
font-size: 1px ;
|
||||
}
|
||||
|
||||
.BtnLocked, .BtnUnlocked
|
||||
{
|
||||
float: left;
|
||||
background-position: center center;
|
||||
background-image: url(images/locked.gif);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-repeat: no-repeat;
|
||||
border: none 1px;
|
||||
font-size: 1px ;
|
||||
}
|
||||
|
||||
.BtnUnlocked
|
||||
{
|
||||
background-image: url(images/unlocked.gif);
|
||||
}
|
||||
|
||||
.BtnOver
|
||||
{
|
||||
border: outset 1px;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.FCK__FieldNumeric
|
||||
{
|
||||
behavior: url(common/fcknumericfield.htc) ;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue