长春市教育局附加预算管理系统V3.1

develop
chaishuangwu 3 years ago
parent ee3ae35e17
commit 452381ad8d

@ -0,0 +1,136 @@
.defaultTreeTable{
margin : 0px;
padding : 0px;
border : 0px;
}
.containerTableStyle { position:static; top:0; font-size : 12px; -khtml-user-select: none;}
.containerTableStyleRTL span { direction: rtl; unicode-bidi: bidi-override; }
.containerTableStyleRTL { direction: rtl; overflow : auto; position:relative; top:0; font-size : 12px;}
.standartTreeRow { font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 12px; -moz-user-select: none; }
.selectedTreeRow{ background-color : navy; color:white; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 12px; -moz-user-select: none; }
.dragAndDropRow{ background-color : navy; color:white; }
.standartTreeRow_lor{ text-decoration:underline; background-color : #FFFFF0; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 12px; -moz-user-select: none; }
.selectedTreeRow_lor{ text-decoration:underline; background-color : navy; color:white; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; font-size : 12px; -moz-user-select: none; }
.standartTreeImage{ width:18px; height:18px; overflow:hidden; border:0; padding:0; margin:0;
font-size:1px; }
.hiddenRow { width:1px; overflow:hidden; }
.dragSpanDiv,.dragSpanDiv td{ font-size : 12px; background-color:white; z-index:999; }
.a_dhx_hidden_input{ position:absolute; top:-1px; left:-1px; width:1px; height:1px; border:none; background:none; }
.a_dhx_hidden_input{ position:absolute; top:-1px; left:-1px; width:1px; height:1px; border:none; background:none; }
.selectionBox{
background-color: #FFFFCC;
}
.selectionBar {
top:0;
background-color: Black;
position:absolute;
overflow:hidden;
height: 2px;
z-index : 11;
}
.intreeeditRow{
font-size:8pt; height:16px; border:1px solid silver; padding:0; margin:0;
margin-left:4px;
-moz-user-select: text;
-khtml-user-select: text;
}
.dhx_tree_textSign{
font-size:8pt;
font-family:monospace;
width:21px;
color:black;
padding:0px;
margin:0px;
cursor:pointer;
text-align: center;
}
.dhx_tree_opacity{
opacity:0;
-moz-opacity:0;
filter:alpha(opacity=0);
}
.dhx_bg_img_fix{
width:18px;
height:18px;
background-repeat: no-repeat;
background-position: center;
background-position-x: center;
background-position-y: center;
}
.dhxtree_dhx_black, .dhxtree_dhx_skyblue{
background:white;
color:black;
}
*html .dhxtree_dhx_skyblue .standartTreeRow, *html .dhxtree_dhx_skyblue .standartTreeRow_lor{
border-right:0px solid red;
border-left:0px solid red;
}
*html .dhxtree_dhx_skyblue span.standartTreeRow, *html .dhxtree_dhx_skyblue span.standartTreeRow_lor{
margin-left:1px;
}
.dhxtree_dhx_skyblue .standartTreeRow, .dhxtree_dhx_skyblue .standartTreeRow_lor{
border-right:1px solid transparent;
border-left: 1px solid transparent;
font-family:Tahoma;
font-size:12px !important;
overflow:hidden;
padding:0px 0px 0px 0px;
}
.dhxtree_dhx_skyblue .selectedTreeRow_lor, .dhxtree_dhx_skyblue .selectedTreeRow{
background-color:white;
background-image:url(imgs/sky_blue_sel_tree.png);
background-repeat:repeat-x;
border:1px solid #FFB951;
color:black;
line-height:17px;
font-size:11px !important;
font-family:Tahoma;
overflow:hidden;
}
html > body /**/ .dhxtree_dhx_skyblue .selectedTreeRow, html > body /**/ .dhxtree_dhx_skyblue .selectedTreeRow_lor{
padding:1px 0px 1px 0px;
line-height:normal;
display:inline-block !ie;
height:13px;
}
body:nth-of-type(1) .dhxtree_dhx_skyblue span.selectedTreeRow, body:nth-of-type(1) .dhxtree_dhx_skyblue span.selectedTreeRow_lor{
padding:1px 0px 1px 0px;
display:inline-block;
padding-top:0px;
height:13px;
}
body:nth-of-type(1) .dhxtree_dhx_skyblue span.standartTreeRow, body:nth-of-type(1) .dhxtree_dhx_skyblue span.standartTreeRow_lor{
display:inline-block;
height:19px;
}
.dhxtree_dhx_web .selectedTreeRow_lor, .dhxtree_dhx_web .selectedTreeRow{
background-color:transparent;
}
.dhxtree_dhx_web span.selectedTreeRow_lor , .dhxtree_dhx_web span.selectedTreeRow{
background-color:#ACDAF0;
color:black;
}
.dhxtree_dhx_web td.standartTreeRow, .dhxtree_dhx_web td.selectedTreeRow{
padding-left:2px;
}
.dhxtree_dhx_web span.standartTreeRow, .dhxtree_dhx_web span.selectedTreeRow{
padding-left:3px !important;
}
.dhxtree_dhx_web .standartTreeRow, .dhxtree_dhx_web .standartTreeRow, .dhxtree_dhx_web .selectedTreeRow_lor, .dhxtree_dhx_web .selectedTreeRow{
font-size:16px;
font-family:Tahoma;
overflow:hidden;
}

@ -0,0 +1 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="dialog.js"> </script> <script type="text/javascript"> document.write("<link href='../language/"+lang.bF+".css' type='text/css' rel='stylesheet'>");document.write("<link href='../skin/"+config.Skin+"/dialog.css' type='text/css' rel='stylesheet'>");var aJ="INSERT";var aa=lang["DlgComInsert"];var t;var mH;var wI;var wO;var bO="";var bD="";var cD="";var cX="";if(C.ai()=="Control"){t=C.ax();if(t.tagName=="HR"){aJ="MODI";aa=lang["DlgComModify"];bO=eZ(t,"width");bD=t.style.height;if(!bD){bD=dE(t,"size");}cD=dE(t,"align");cX=eZ(t,"color");if(!cX){cX=t.style.backgroundColor;}}}var bm=lang["DlgHr"]+"("+aa+")";document.write("<title>"+bm+"</title>");function aq(){lang.ag(document);aC($("d_align"),cD.toLowerCase());$("d_color").value=cX;$("s_color").style.backgroundColor=cX;$("d_width").value=bO;$("d_height").value=bD;parent.ar(bm);};function fd(obj,kR){var b=false;if(obj.value!=""){obj.value=parseFloat(obj.value);if(obj.value!="0"){b=true;}}if(b==false){bX(obj,kR);return false;}return true;};function ok(){bO=$("d_width").value;bD=$("d_height").value;cX=$("d_color").value;if(!oV(cX)){bX($("d_color"),lang["ErrColorInvalid"]);return;}cD=$("d_align").options[$("d_align").selectedIndex].value;if(aJ=="MODI"){t.style.width=bO;bq(t,"size",bD);t.align=cD;t.style.backgroundColor=cX;t.style.color=cX;}else{var Bc='';if(cX){Bc+='color:'+cX+';background-color:'+cX+';';}if(bO){Bc+='width:'+bO+';';}var V='<hr';if(cD){V+=' align="'+cD+'"';}if(Bc){V+=' style="'+Bc+'"';}if(bD){V+=' size="'+bD+'"';}V+='>';EWIN.insertHTML(V);}parent.bV();} </script> </head> <body onload="aq()"> <table border=0 cellpadding=0 cellspacing=5 id=tabDialogSize><tr><td> <table border=0 cellpadding=0 cellspacing=0 align=center> <tr> <td> <fieldset> <legend><span></span></legend> <table border=0 cellpadding=5 cellspacing=0 width="100%"> <tr><td> <table border=0 cellpadding=0 cellspacing=2 width="100%"> <tr> <td noWrap width="20%"><span lang=DlgComWidth></span>:</td> <td noWrap width="29%"><input style="width:80px" id=d_width size=10 value=""></td> <td width="2%">&nbsp;</td> <td noWrap width="20%"><span lang=DlgComHeight></span>:</td> <td noWrap width="29%"><input style="width:80px" id=d_height size=10 value=""></td> </tr> <tr> <td noWrap width="20%"><span lang=DlgComAlign></span>:</td> <td noWrap width="29%"><select id=d_align size=1 style="width:80px"><option value='' lang=DlgComDefault></option><option value='left' lang=DlgAlignLeft></option><option value='center' lang=DlgAlignCenter></option><option value='right' lang=DlgAlignRight></option></select></td> <td width="2%">&nbsp;</td> <td noWrap width="20%"><span lang=DlgComColor></span>:</td> <td noWrap width="29%"><input style="width:62px" type=text id=d_color size=7 value=""><img border=0 src="images/rect.gif" width=18 style="cursor:hand" id=s_color onclick="hu('color')" align=absmiddle></td> </tr> </table> </td></tr> </table> </fieldset> </td> </tr> <tr><td height=5></td></tr> <tr><td noWrap align=right><input type=submit class="dlgBtnCommon dlgBtn" value='' id=d_ok lang=DlgBtnOK onclick="ok()">&nbsp;&nbsp;<input type=button class="dlgBtnCommon dlgBtn" value='' onclick="parent.bn()" lang=DlgBtnCancel></td></tr> </table> </td></tr></table> </body> </html>

@ -0,0 +1,5 @@
body,a,table,div,span,td,th,input,select,p,li,textarea{font-size:9pt;font-family:microsoft yahei}
input.dlgBtnCommon {width:60px}
input.dlgBtnBrowse {width:63px;height:18px;margin-left:2px;padding-top:0px;}
input.dlgBtnFind {width:80px}

@ -0,0 +1,5 @@
body,a,table,div,span,td,th,input,select,p,li,textarea{font-size:9pt;font-family:, Verdana, Arial, Helvetica, sans-serif}
input.dlgBtnCommon {width:60px}
input.dlgBtnBrowse {width:63px;height:18px;margin-left:2px;padding-top:0px;}
input.dlgBtnFind {width:80px}

@ -0,0 +1,205 @@
html,body {SCROLLBAR-BASE-COLOR:#FCE0E0;background-color:#ffffff}
#eWebEditor_FixWidth_DIV {
border-top:1px solid #000000;
border-left:1px solid #000000;
border-right:3px solid #000000;
border-bottom:3px solid #000000;
background-color:#ffffff;
margin:0 auto;
height:100%\9;
position:relative;
text-align:left;
overflow-x:hidden;
word-break:break-all;
padding:2px;
}
body.ewebeditor__fixwidth {background-color:#808080;text-align:center;padding:1px;}
html,body{padding:0px;margin:0px;border:0px;}
body{padding:3px}
table.ewebeditor__showtableborders, table.ewebeditor__showtableborders td, table.ewebeditor__showtableborders th
{
border: #d3d3d3 1px dotted;
}
form
{
border: 1px dotted #FF0000;
padding: 2px;
}
.ewebeditor__script,.ewebeditor__style,.ewebeditor__noscript,.ewebeditor__comment{
border: 1px dotted #00F;
background-position: center center;
background-image: url(../../sysimage/editarea/fake_anchor.gif);
background-repeat: no-repeat;
width: 16px;
height: 15px;
vertical-align: middle;
display:block;
}
.ewebeditor__script{background-image: url(../../sysimage/editarea/fake_script.gif);}
.ewebeditor__style{background-image: url(../../sysimage/editarea/fake_style.gif);}
.ewebeditor__noscript{background-image: url(../../sysimage/editarea/fake_noscript.gif);}
.ewebeditor__comment{background-image: url(../../sysimage/editarea/fake_comment.gif);}
.ewebeditor__flash,.ewebeditor__unknownobject,.ewebeditor__mediaplayer6,.ewebeditor__mediaplayer7,.ewebeditor__flv,.ewebeditor__realplayer,.ewebeditor__quicktime{
border: #a9a9a9 1px solid;
background-position: center center;
background-repeat: no-repeat;
}
.ewebeditor__flash{background-image: url(../../sysimage/editarea/fake_flash.gif);}
.ewebeditor__unknownobject{background-image: url(../../sysimage/editarea/fake_plugin.gif);}
.ewebeditor__mediaplayer7{background-image: url(../../sysimage/editarea/fake_mediaplayer.gif);}
.ewebeditor__mediaplayer6{background-image: url(../../sysimage/editarea/fake_mediaplayer.gif);}
.ewebeditor__flv{background-image: url(../../sysimage/editarea/fake_flv.gif);}
.ewebeditor__realplayer{background-image: url(../../sysimage/editarea/fake_realplayer.gif);}
.ewebeditor__quicktime{background-image: url(../../sysimage/editarea/fake_quicktime.gif);}
.ewebeditor__anchor
{
border: 1px dotted #00F;
background-position: center center;
background-image: url(../../sysimage/editarea/fake_anchor.gif);
background-repeat: no-repeat;
width: 16px;
height: 15px;
vertical-align: middle;
}
.ewebeditor__anchorc
{
border: 1px dotted #00F;
background-position: 1px center;
background-image: url(../../sysimage/editarea/fake_anchor.gif);
background-repeat: no-repeat;
padding-left: 18px;
}
a[name]
{
border: 1px dotted #00F;
background-position: 0 center;
background-image: url(../../sysimage/editarea/fake_anchor.gif);
background-repeat: no-repeat;
padding-left: 18px;
}
.ewebeditor__pagination
{
background-position: center center;
background-image: url(../../sysimage/editarea/fake_pagination.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;
}
.ewebeditor__inputhidden
{
width: 19px;
height: 18px;
background-image: url(../../sysimage/editarea/fake_hiddenfield.gif);
background-repeat: no-repeat;
vertical-align: text-bottom;
background-position: center center;
}
.ewebeditor__showblocks p,
.ewebeditor__showblocks div,
.ewebeditor__showblocks pre,
.ewebeditor__showblocks address,
.ewebeditor__showblocks blockquote,
.ewebeditor__showblocks h1,
.ewebeditor__showblocks h2,
.ewebeditor__showblocks h3,
.ewebeditor__showblocks h4,
.ewebeditor__showblocks h5,
.ewebeditor__showblocks h6
{
background-repeat: no-repeat;
border: 1px dotted gray;
padding-top: 8px;
padding-left: 8px;
}
.ewebeditor__showblocks p
{
background-image: url(../../sysimage/editarea/block_p.gif);
}
.ewebeditor__showblocks div
{
background-image: url(../../sysimage/editarea/block_div.gif);
}
.ewebeditor__showblocks pre
{
background-image: url(../../sysimage/editarea/block_pre.gif);
}
.ewebeditor__showblocks address
{
background-image: url(../../sysimage/editarea/block_address.gif);
}
.ewebeditor__showblocks blockquote
{
background-image: url(../../sysimage/editarea/block_blockquote.gif);
}
.ewebeditor__showblocks h1
{
background-image: url(../../sysimage/editarea/block_h1.gif);
}
.ewebeditor__showblocks h2
{
background-image: url(../../sysimage/editarea/block_h2.gif);
}
.ewebeditor__showblocks h3
{
background-image: url(../../sysimage/editarea/block_h3.gif);
}
.ewebeditor__showblocks h4
{
background-image: url(../../sysimage/editarea/block_h4.gif);
}
.ewebeditor__showblocks h5
{
background-image: url(../../sysimage/editarea/block_h5.gif);
}
.ewebeditor__showblocks h6
{
background-image: url(../../sysimage/editarea/block_h6.gif);
}

@ -0,0 +1 @@
FCKLang.DepSelectorDlgTitle="部门选择器属性";FCKLang.DepSelectorBtn="部门选择器";FCKLang.DlgTextLength="字符长度";FCKLang.DlgTextType="数据类型";FCKLang.DlgTextIsNotNull="不可为空";FCKLang.DlgTextIsSingle="单选";FCKLang.DlgTextLabel="标签名称";FCKLang.DlgHiddenId="对应隐藏域ID";FCKLang.DlgTextIsDecision="决策项";FCKLang.DlgTextIsCurrentDept="默认当前部门";

@ -0,0 +1,241 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Radio Button Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="../../../editor/dialog/common/fck_dialog_common.js" type="text/javascript"></script>
<script src="../../../../js/jquery-1.7.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../../../editor/dialog/fck_radio/fck_radio.js"></script>
<script type="text/javascript">
var dialog = window.parent ;
var oEditor = dialog.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = dialog.Selection.GetSelectedElement() ;
var oListId;
var oListLabel;
var oListValue;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
oListId = document.getElementById('radioId' ) ;
oListLabel = document.getElementById('radioLabel' ) ;
oListValue = document.getElementById('radioValue' ) ;
oListId.style.width = oListId.offsetWidth ;
oListLabel.style.width = oListLabel.offsetWidth ;
oListValue.style.width = oListValue.offsetWidth ;
if ( oActiveEl && oActiveEl.tagName.toUpperCase() == 'INPUT' && oActiveEl.type == 'radio' )
{
var radioSpan = $(oActiveEl).parent();
if (radioSpan.attr('tagName') == 'SPAN' && radioSpan.attr('xtype')=='radiospan') {
GetE('txtRadioSpanName').value = radioSpan.attr("id");
GetE('txtRadioSpanLabel').value = radioSpan.attr("label");
GetE('txtCheckValue').value = radioSpan.attr("checkvalue");
GetE('txtisdecision').checked = radioSpan.attr('state')=='decision'?true:false ;
GetE('txtisnotnull').checked = GetAttribute( oActiveEl, 'must' )=='true'?true:false ;
var radios = $(radioSpan).find("[type='radio']");
radios.each(function(index,item){
AddRadio( oListId, $(item).attr('id'), $(item).attr('id') ) ;
AddRadio( oListLabel, $(item).attr('label'), $(item).attr('label') ) ;
AddRadio( oListValue, $(item).val(), $(item).val() ) ;
})
}
/*
GetE('txtName').value = oActiveEl.id ;
GetE('txtValue').value = oEditor.FCKBrowserInfo.IsIE ? oActiveEl.value : GetAttribute( oActiveEl, 'value' ) ;
GetE('txtSelected').checked = oActiveEl.checked ;
GetE('txtlabel').value = GetAttribute( oActiveEl, 'label' ) ;
GetE('txtisdecision').checked = GetAttribute( oActiveEl, 'state' )=='decision'?true:false ;
*/
}
else
oActiveEl = null ;
dialog.SetOkButton( true ) ;
dialog.SetAutoSize( true ) ;
//SelectField( 'txtName' ) ;
}
function Ok()
{
if(GetE('txtRadioSpanName').value =='')
{
alert( "Name must have value." ) ;
GetE('txtRadioSpanName').focus() ;
return false ;
}
if(GetE('txtRadioSpanLabel').value =='')
{
alert( "LabelName must have value." ) ;
GetE('txtRadioSpanLabel').focus() ;
return false ;
}
oEditor.FCKUndo.SaveUndoStep() ;
/*
oActiveEl = CreateNamedElement( oEditor, oActiveEl, 'INPUT', {id: GetE('txtName').value, type: 'radio',itemType:'jcForm',xtype:'radio'} ) ;
if ( oEditor.FCKBrowserInfo.IsIE )
oActiveEl.value = GetE('txtValue').value ;
else
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
var bIsChecked = GetE('txtSelected').checked ;
SetAttribute( oActiveEl, 'checked', bIsChecked ? 'checked' : null ) ; // For Firefox
SetAttribute( oActiveEl, 'label' , GetE('txtlabel').value ) ;
if (GetE('txtisdecision').checked) {
SetAttribute( oActiveEl, 'state','decision');
}
oActiveEl.checked = bIsChecked ;
*/
var bExists = ( oActiveEl != null ) ;
var oDoc = oEditor.FCK.EditorDocument ;
if ( !bExists )
{
var span = oDoc.createElement( "SPAN" ) ;
var txtCheckValue = GetE('txtCheckValue').value;
SetAttribute( span, 'id' , GetE('txtRadioSpanName').value ) ;
SetAttribute( span, 'label' , GetE('txtRadioSpanLabel').value ) ;
SetAttribute( span, 'itemType' , 'jcForm' ) ;
SetAttribute( span, 'checkvalue' , txtCheckValue ) ;
SetAttribute( span, 'xtype' , "radiospan" ) ;
SetAttribute( span, 'state' , GetE('txtisdecision').checked?"decision":"" ) ;
SetAttribute( span, 'must',GetE('txtisnotnull').checked?'true':'false');
var radioIdOptions = $("#radioId option");
var radioLabelOptions = $("#radioLabel option");
var radioValueOptions = $("#radioValue option");
$(radioIdOptions).each(function(index,item){
var radio;
var checked = '';
if ($(radioValueOptions[index]).val()==txtCheckValue) {
checked = 'checked';
}
radio = $("<input type='radio' id='"+$(item).val()+"' label='"+$(radioLabelOptions[index]).val()+"' value='"+$(radioValueOptions[index]).val()+"' "+checked+" /><span for='"+$(item).val()+"'>"+$(radioLabelOptions[index]).val()+"</span>");
$(span).append(radio);
oEditor.FCK.InsertElement(span);
})
}else {
var span = oActiveEl.parentNode;
if (span.tagName == 'SPAN'&&GetAttribute(span,'xtype')=='radiospan') {
span.innerHTML = "";
var txtCheckValue = GetE('txtCheckValue').value;
SetAttribute( span, 'id' , GetE('txtRadioSpanName').value ) ;
SetAttribute( span, 'label' , GetE('txtRadioSpanLabel').value ) ;
SetAttribute( span, 'itemType' , 'jcForm' ) ;
SetAttribute( span, 'checkid' , txtCheckValue ) ;
SetAttribute( span, 'xtype' , "radiospan" ) ;
SetAttribute( span, 'state' , GetE('txtisdecision').checked?"decision":"" ) ;
SetAttribute( span, 'must',GetE('txtisnotnull').checked?'true':'false');
var radioIdOptions = $("#radioId option");
var radioLabelOptions = $("#radioLabel option");
var radioValueOptions = $("#radioValue option");
$(radioIdOptions).each(function(index,item){
var radio;
var checked = '';
if ($(radioValueOptions[index]).val()==txtCheckValue) {
checked = 'checked';
}
radio = $("<input type='radio' label='"+$(radioLabelOptions[index]).val()+"' value='"+$(radioValueOptions[index]).val()+"' "+checked+" /><span for='"+$(item).val()+"'>"+$(radioLabelOptions[index]).val()+"</span>");
$(span).append(radio);
})
}
}
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table width="100%" height="100%">
<tr>
<td>
<table width="100%">
<tr>
<td nowrap><span fckLang="DlgRadioSpanName">Name</span>&nbsp;</td>
<td width="100%" colSpan="4"><input id="txtRadioSpanName" style="WIDTH: 100%" type="text"></td>
</tr>
<tr>
<td nowrap><span fcklang="DlgRadioSpanLabel">Label Name</span>&nbsp;</td>
<td width="100%" colSpan="4"><input id="txtRadioSpanLabel" style="WIDTH: 100%" type="text"></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCheckValue">Value</span>&nbsp;</td>
<td width="100%" colSpan="4"><input id="txtCheckValue" style="WIDTH: 100%; BACKGROUND-COLOR: buttonface" type="text" readonly></td>
</tr>
<tr>
<td><input type="checkbox" id="txtisnotnull"><label for="txtisnotnull" fcklang="DlgTextIsNotNull">NOT NULL</label></td>
<td><input type="checkbox" id="txtisdecision"><label for="txtisdecision" fckLang="DlgTextIsDecision">Checked</label></td>
</tr>
</table>
<br>
<hr style="POSITION: absolute">
<span style="LEFT: 10px; POSITION: relative; TOP: -7px" class="BackColor">&nbsp;<span fckLang="DlgRaioOpAvail">Available
Options</span>&nbsp;</span>
<table width="100%">
<tr>
<td width="30%"><span fckLang="DlgTextName">Text</span><br>
<input id="txtId" style="WIDTH: 80%" type="text">
</td>
<td width="30%"><span fckLang="DlgSelectOpText">Text</span><br>
<input id="txtLabel" style="WIDTH: 80%" type="text">
</td>
<td width="30%"><span fckLang="DlgSelectOpValue">Value</span><br>
<input id="txtValue" style="WIDTH: 80%" type="text">
</td>
<td vAlign="bottom"><input onclick="Add();" type="button" fckLang="DlgSelectBtnAdd" value="Add"></td>
<td vAlign="bottom"><input onclick="Modify();" type="button" fckLang="DlgSelectBtnModify" value="Modify"></td>
</tr>
<tr>
<td rowSpan="2" width="30%"><select id="radioId" style="WIDTH: 80%" onchange="GetE('radioLabel').selectedIndex = this.selectedIndex;GetE('radioValue').selectedIndex = this.selectedIndex;Select(this);"
size="5"></select>
</td>
<td rowSpan="2" width="30%"><select id="radioLabel" style="WIDTH: 80%" onchange="GetE('radioId').selectedIndex = this.selectedIndex;GetE('radioValue').selectedIndex = this.selectedIndex;Select(this);"
size="5"></select>
</td>
<td rowSpan="2" width="30%"><select id="radioValue" style="WIDTH: 80%" onchange="GetE('radioId').selectedIndex = this.selectedIndex;GetE('radioLabel').selectedIndex = this.selectedIndex;Select(this);"
size="5"></select>
</td>
</tr>
<tr>
<td vAlign="bottom" colSpan="2"><input style="WIDTH: 100%" onclick="Move(-1);" type="button" fckLang="DlgSelectBtnUp" value="Up">
<br>
<input style="WIDTH: 100%" onclick="Move(1);" type="button" fckLang="DlgSelectBtnDown"
value="Down">
</td>
</tr>
<TR>
<TD vAlign="bottom" colSpan="5"><INPUT onclick="SetSelectedValue();" type="button" fckLang="DlgCheckBtnSetValue" value="Set as selected value">&nbsp;&nbsp;
<input onclick="Delete();" type="button" fckLang="DlgSelectBtnDelete" value="Delete"></TD>
</TR>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,52 @@
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">
<channel>
<title>RSS Example Playlist</title>
<link>http://cyber.law.harvard.edu/rss/rss.html</link>
<item>
<title>Afraid of the dark</title>
<enclosure url="http://www.jeroenwijering.com/upload/afraid.flv" type="video/x-flv" />
</item>
<item>
<title>Sunshine up Ahead</title>
<author>Peter Jones</author>
<link>http://www.peterjonesmusic.net/</link>
<media:content url="http://www.jeroenwijering.com/upload/peterjones_sunshine_lofi.mp3" type="audio/mpeg"/>
<media:thumbnail href="http://www.jeroenwijering.com/upload/peterjones.jpg" />
</item>
<item>
<title>Aggressive Wallpaper</title>
<author>Jeroen Wijering</author>
<link>http://www.jeroenwijering.com/?item=Aggressive_Wallpaper</link>
<description>
This is an aggressive wallpaper for public spaces where you don't want
people to linger around (eg. subway tunnels or parking lots). People
feel offended by the aggressive wallpaper and make sure they get out
of these places as soon as their business is done there.
</description>
<media:content url="http://www.jeroenwijering.com/upload/behang.jpg" type="image/jpeg" duration="12.5"/>
</item>
<item>
<title>ITV's Coronation Street</title>
<link>http://www.jeroenwijering.com/?item=Making_Video_Accessible</link>
<description>
Unfortunately, accessibility content cannot be included with the RSS file format.
The SMIL format is more suitable for this type of playlists.
</description>
<media:content url="http://www.jeroenwijering.com/upload/corrie.flv" type="video/x-flv" duration="00:00:45"/>
<media:thumbnail url="http://www.jeroenwijering.com/upload/corrie.jpg"/>
</item>
<item>
<title>Bleed It Out</title>
<author>Linkin Park</author>
<link>http://www.linkinpark.com/</link>
<media:content url="upload/media/04 Bleed It Out.mp3" type="audio/mpeg"/>
<media:thumbnail href="upload/image/Sample_Preview.jpg" />
</item>
</channel>
</rss>

@ -0,0 +1 @@
FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(o,m,d,l){var j=m.attributes,c;for(var b=0;b<j.length;b++){var k=j[b];if(k.specified){var g=k.nodeName.toLowerCase();var a;if(g.StartsWith("_fck")){continue;}else{if(g=="style"){c=true;continue;}else{if(g=="class"){a=k.nodeValue.replace(FCKRegexLib.FCK_Class,"");if(a.length==0){continue;}}else{if(g.indexOf("on")==0){a=k.nodeValue;}else{if(l=="body"&&g=="contenteditable"){continue;}else{if(k.nodeValue===true){a=g;}else{try{a=m.getAttribute(g,2);}catch(i){}}}}}}}this._AppendAttribute(d,g,a||k.nodeValue);}}if(c||m.style.cssText.length>0){var f=FCKTools.ProtectFormStyles(m);var h=m.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(m,f);this._AppendAttribute(d,"style",h);}};FCKXHtml._RemoveXHtmlJobProperties=function(b){if(!b||!b.nodeType||b.nodeType!=1){return;}if(typeof b._fckxhtmljob=="undefined"&&b.tagName!=="BODY"){return;}b.removeAttribute("_fckxhtmljob");if(b.hasChildNodes()){var c=b.childNodes;for(var a=c.length-1;a>=0;a--){var d=c[a];if(d.parentNode==b){FCKXHtml._RemoveXHtmlJobProperties(d);}}}};FCKXHtml.TagProcessors["div"]=function(a,b){if(b.align.length>0){FCKXHtml._AppendAttribute(a,"align",b.align);}a=FCKXHtml._AppendChildNodes(a,b,true);return a;};FCKXHtml.TagProcessors["font"]=function(a,b){if(a.attributes.length==0){a=FCKXHtml.XML.createDocumentFragment();}a=FCKXHtml._AppendChildNodes(a,b);return a;};FCKXHtml.TagProcessors["form"]=function(b,c){if(c.acceptCharset&&c.acceptCharset.length>0&&c.acceptCharset!="UNKNOWN"){FCKXHtml._AppendAttribute(b,"accept-charset",c.acceptCharset);}var a=c.attributes["name"];if(a&&a.value.length>0){FCKXHtml._AppendAttribute(b,"name",a.value);}b=FCKXHtml._AppendChildNodes(b,c,true);return b;};FCKXHtml.TagProcessors["input"]=function(a,b){if(b.name){FCKXHtml._AppendAttribute(a,"name",b.name);}if(b.value&&!a.attributes.getNamedItem("value")){FCKXHtml._AppendAttribute(a,"value",b.value);}if(!a.attributes.getNamedItem("type")){FCKXHtml._AppendAttribute(a,"type","text");}return a;};FCKXHtml.TagProcessors["label"]=function(a,b){if(b.htmlFor.length>0){FCKXHtml._AppendAttribute(a,"for",b.htmlFor);}a=FCKXHtml._AppendChildNodes(a,b);return a;};FCKXHtml.TagProcessors["map"]=function(b,c){if(!b.attributes.getNamedItem("name")){var a=c.name;if(a){FCKXHtml._AppendAttribute(b,"name",a);}}b=FCKXHtml._AppendChildNodes(b,c,true);return b;};FCKXHtml.TagProcessors["meta"]=function(c,d){var a=c.attributes.getNamedItem("http-equiv");if(a==null||a.value.length==0){var b=d.outerHTML.match(FCKRegexLib.MetaHttpEquiv);if(b){b=b[1];FCKXHtml._AppendAttribute(c,"http-equiv",b);}}return c;};FCKXHtml.TagProcessors["option"]=function(a,b){if(b.selected&&!a.attributes.getNamedItem("selected")){FCKXHtml._AppendAttribute(a,"selected","selected");}a=FCKXHtml._AppendChildNodes(a,b);return a;};FCKXHtml.TagProcessors["textarea"]=FCKXHtml.TagProcessors["select"]=function(a,b){if(b.name){FCKXHtml._AppendAttribute(a,"name",b.name);}a=FCKXHtml._AppendChildNodes(a,b);return a;};

@ -0,0 +1,115 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 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 ==
*
* Hidden Field dialog window.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hidden Field Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="noindex, nofollow" name="robots" />
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
var dialog = window.parent ;
var oEditor = dialog.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
// Gets the document DOM
var oDOM = FCK.EditorDocument ;
// Get the selected flash embed (if available).
var oFakeImage = dialog.Selection.GetSelectedElement() ;
var oActiveEl ;
if ( oFakeImage )
{
if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckinputhidden') )
oActiveEl = FCK.GetRealElement( oFakeImage ) ;
else
oFakeImage = null ;
}
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = oActiveEl.value ;
}
dialog.SetOkButton( true ) ;
dialog.SetAutoSize( true ) ;
SelectField( 'txtName' ) ;
}
function Ok()
{
oEditor.FCKUndo.SaveUndoStep() ;
oActiveEl = CreateNamedElement( oEditor, oActiveEl, 'INPUT', {name: GetE('txtName').value, type: 'hidden' } ) ;
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
if ( !oFakeImage )
{
oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__InputHidden', oActiveEl ) ;
oFakeImage.setAttribute( '_fckinputhidden', 'true', 0 ) ;
oActiveEl.parentNode.insertBefore( oFakeImage, oActiveEl ) ;
oActiveEl.parentNode.removeChild( oActiveEl ) ;
}
else
oEditor.FCKUndo.SaveUndoStep() ;
return true ;
}
</script>
</head>
<body style="overflow: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" class="inhoud" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td>
<span fcklang="DlgHiddenName">Name</span><br />
<input type="text" size="20" id="txtName" style="width: 100%" />
</td>
</tr>
<tr>
<td>
<span fcklang="DlgHiddenValue">Value</span><br />
<input type="text" size="30" id="txtValue" style="width: 100%" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,206 @@
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 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 ==
*
* Scripts for the fck_select.html page.
*/
function Select( combo )
{
var iIndex = combo.selectedIndex ;
oListId.selectedIndex = iIndex ;
oListLabel.selectedIndex = iIndex ;
oListValue.selectedIndex = iIndex ;
var otxtId = document.getElementById( "txtId" ) ;
var otxtLabel = document.getElementById( "txtLabel" ) ;
var oTxtValue = document.getElementById( "txtValue" ) ;
otxtId.value = oListId.value ;
otxtLabel.value = oListLabel.value ;
oTxtValue.value = oListValue.value ;
}
function Add()
{
var oTxtId = document.getElementById( "txtId" ) ;
var oTxtLabel = document.getElementById( "txtLabel" ) ;
var oTxtValue = document.getElementById( "txtValue" ) ;
AddRadio( oListId, oTxtId.value, oTxtId.value ) ;
AddRadio( oListLabel, oTxtLabel.value, oTxtLabel.value ) ;
AddRadio( oListValue, oTxtValue.value, oTxtValue.value ) ;
oListId.selectedIndex = oListId.options.length - 1 ;
oListLabel.selectedIndex = oListLabel.options.length - 1 ;
oListValue.selectedIndex = oListValue.options.length - 1 ;
oTxtId.value = '' ;
oTxtLabel.value = '' ;
oTxtValue.value = '' ;
oTxtId.focus() ;
}
function Modify()
{
var iIndex = oListLabel.selectedIndex ;
if ( iIndex < 0 ) return ;
var oTxtId = document.getElementById( "txtId" ) ;
var oTxtLabel = document.getElementById( "txtLabel" ) ;
var oTxtValue = document.getElementById( "txtValue" ) ;
oListId.options[ iIndex ].innerHTML = HTMLEncode( oTxtId.value ) ;
oListId.options[ iIndex ].value = oTxtId.value ;
oListLabel.options[ iIndex ].innerHTML = HTMLEncode( oTxtLabel.value ) ;
oListLabel.options[ iIndex ].value = oTxtLabel.value ;
oListValue.options[ iIndex ].innerHTML = HTMLEncode( oTxtValue.value ) ;
oListValue.options[ iIndex ].value = oTxtValue.value ;
oTxtId.value = '' ;
oTxtLabel.value = '' ;
oTxtValue.value = '' ;
oTxtId.focus() ;
}
function Move( steps )
{
ChangeOptionPosition( oListId, steps ) ;
ChangeOptionPosition( oListLabel, steps ) ;
ChangeOptionPosition( oListValue, steps ) ;
}
function Delete()
{
RemoveSelectedOptions( oListId ) ;
RemoveSelectedOptions( oListLabel ) ;
RemoveSelectedOptions( oListValue ) ;
}
function SetSelectedValue()
{
var iIndex = oListId.selectedIndex ;
if ( iIndex < 0 ) return ;
var oTxtValue = document.getElementById( "txtCheckValue" ) ;
oTxtValue.value = oListValue.options[ iIndex ].value ;
}
// Moves the selected option by a number of steps (also negative)
function ChangeOptionPosition( combo, steps )
{
var iActualIndex = combo.selectedIndex ;
if ( iActualIndex < 0 )
return ;
var iFinalIndex = iActualIndex + steps ;
if ( iFinalIndex < 0 )
iFinalIndex = 0 ;
if ( iFinalIndex > ( combo.options.length - 1 ) )
iFinalIndex = combo.options.length - 1 ;
if ( iActualIndex == iFinalIndex )
return ;
var oOption = combo.options[ iActualIndex ] ;
var sText = HTMLDecode( oOption.innerHTML ) ;
var sValue = oOption.value ;
combo.remove( iActualIndex ) ;
oOption = AddRadio( combo, sText, sValue, null, iFinalIndex ) ;
oOption.selected = true ;
}
// Remove all selected options from a SELECT object
function RemoveSelectedOptions(combo)
{
// Save the selected index
var iSelectedIndex = combo.selectedIndex ;
var oOptions = combo.options ;
// Remove all selected options
for ( var i = oOptions.length - 1 ; i >= 0 ; i-- )
{
if (oOptions[i].selected) combo.remove(i) ;
}
// Reset the selection based on the original selected index
if ( combo.options.length > 0 )
{
if ( iSelectedIndex >= combo.options.length ) iSelectedIndex = combo.options.length - 1 ;
combo.selectedIndex = iSelectedIndex ;
}
}
// Add a new option to a SELECT object (combo or list)
function AddRadio( combo, optionText, optionValue, documentObject, index )
{
var oOption ;
if ( documentObject )
oOption = documentObject.createElement("OPTION") ;
else
oOption = document.createElement("OPTION") ;
if ( index != null )
combo.options.add( oOption, index ) ;
else
combo.options.add( oOption ) ;
oOption.innerHTML = optionText.length > 0 ? HTMLEncode( optionText ) : '&nbsp;' ;
oOption.value = optionValue ;
return oOption ;
}
function HTMLEncode( text )
{
if ( !text )
return '' ;
text = text.replace( /&/g, '&amp;' ) ;
text = text.replace( /</g, '&lt;' ) ;
text = text.replace( />/g, '&gt;' ) ;
return text ;
}
function HTMLDecode( text )
{
if ( !text )
return '' ;
text = text.replace( /&gt;/g, '>' ) ;
text = text.replace( /&lt;/g, '<' ) ;
text = text.replace( /&amp;/g, '&' ) ;
return text ;
}

@ -0,0 +1,439 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 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 ==
*
* Table dialog window.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Table Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
var dialog = window.parent ;
var oEditor = dialog.InnerDialogLoaded() ;
var FCKDomTools = oEditor.FCKDomTools ;
// Gets the table if there is one selected.
var table ;
var e = dialog.Selection.GetSelectedElement() ;
var hasColumnHeaders ;
if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) )
e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
if ( e && e.tagName == "TABLE" )
table = e ;
// Fired when the window loading process is finished. It sets the fields with the
// actual values if a table is selected in the editor.
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if (table)
{
document.getElementById('txtRows').value = table.rows.length ;
document.getElementById('txtColumns').value = table.rows[0].cells.length ;
// Gets the value from the Width or the Style attribute
var iWidth = (table.style.width ? table.style.width : table.width ) ;
var iHeight = (table.style.height ? table.style.height : table.height ) ;
if (iWidth.indexOf('%') >= 0) // Percentual = %
{
iWidth = parseInt( iWidth.substr(0,iWidth.length - 1), 10 ) ;
document.getElementById('selWidthType').value = "percent" ;
}
else if (iWidth.indexOf('px') >= 0) // Style Pixel = px
{ //
iWidth = iWidth.substr(0,iWidth.length - 2);
document.getElementById('selWidthType').value = "pixels" ;
}
if (iHeight && iHeight.indexOf('px') >= 0) // Style Pixel = px
iHeight = iHeight.substr(0,iHeight.length - 2);
document.getElementById('txtWidth').value = iWidth || '' ;
document.getElementById('txtHeight').value = iHeight || '' ;
document.getElementById('txtBorder').value = GetAttribute( table, 'border', '' ) ;
document.getElementById('selAlignment').value = GetAttribute( table, 'align', '' ) ;
document.getElementById('txtCellPadding').value = GetAttribute( table, 'cellPadding', '' ) ;
document.getElementById('txtCellSpacing').value = GetAttribute( table, 'cellSpacing', '' ) ;
document.getElementById('txtSummary').value = GetAttribute( table, 'summary', '' ) ;
// document.getElementById('cmbFontStyle').value = table.className ;
var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ;
hasColumnHeaders = true ;
// Check if all the first cells in every row are TH
for (var row=0; row<table.rows.length; row++)
{
// If just one cell isn't a TH then it isn't a header column
if ( table.rows[row].cells[0].nodeName != 'TH' )
{
hasColumnHeaders = false ;
break;
}
}
// Check if the table contains <thead>
if ((table.tHead !== null) )
{
if (hasColumnHeaders)
GetE('selHeaders').value = 'both' ;
else
GetE('selHeaders').value = 'row' ;
}
else
{
if (hasColumnHeaders)
GetE('selHeaders').value = 'col' ;
else
GetE('selHeaders').value = '' ;
}
document.getElementById('txtRows').disabled = true ;
document.getElementById('txtColumns').disabled = true ;
SelectField( 'txtWidth' ) ;
}
else
SelectField( 'txtRows' ) ;
dialog.SetOkButton( true ) ;
dialog.SetAutoSize( true ) ;
}
// Fired when the user press the OK button
function Ok()
{
var bExists = ( table != null ) ;
var oDoc = oEditor.FCK.EditorDocument ;
oEditor.FCKUndo.SaveUndoStep() ;
if ( ! bExists )
table = oDoc.createElement( "TABLE" ) ;
// Removes the Width and Height styles
if ( bExists && table.style.width ) table.style.width = null ; //.removeAttribute("width") ;
if ( bExists && table.style.height ) table.style.height = null ; //.removeAttribute("height") ;
var sWidth = GetE('txtWidth').value ;
if ( sWidth.length > 0 && GetE('selWidthType').value == 'percent' )
sWidth += '%' ;
SetAttribute( table, 'width' , sWidth ) ;
SetAttribute( table, 'height' , GetE('txtHeight').value ) ;
SetAttribute( table, 'border' , GetE('txtBorder').value ) ;
SetAttribute( table, 'align' , GetE('selAlignment').value ) ;
SetAttribute( table, 'cellPadding' , GetE('txtCellPadding').value ) ;
SetAttribute( table, 'cellSpacing' , GetE('txtCellSpacing').value ) ;
SetAttribute( table, 'summary' , GetE('txtSummary').value ) ;
var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
if ( document.getElementById('txtCaption').value != '')
{
if ( !eCaption )
{
eCaption = oDoc.createElement( 'CAPTION' ) ;
table.insertBefore( eCaption, table.firstChild ) ;
}
eCaption.innerHTML = document.getElementById('txtCaption').value ;
}
else if ( bExists && eCaption )
{
// TODO: It causes an IE internal error if using removeChild or
// table.deleteCaption() (see #505).
if ( oEditor.FCKBrowserInfo.IsIE )
eCaption.innerHTML = '' ;
else
eCaption.parentNode.removeChild( eCaption ) ;
}
var headers = GetE('selHeaders').value ;
if ( bExists )
{
// Should we make a <thead>?
if ( table.tHead==null && (headers=='row' || headers=='both') )
{
var oThead = table.createTHead() ;
var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
var theRow= FCKDomTools.GetFirstChild( tbody, 'TR' ) ;
//now change TD to TH:
for (var i = 0; i<theRow.childNodes.length ; i++)
{
var th = RenameNode(theRow.childNodes[i], 'TH') ;
if (th != null)
th.scope='col' ;
}
oThead.appendChild( theRow ) ;
}
if ( table.tHead!==null && !(headers=='row' || headers=='both') )
{
// Move the row out of the THead and put it in the TBody:
var tHead = table.tHead ;
var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
var previousFirstRow = tbody.firstChild ;
while ( tHead.firstChild )
{
var theRow = tHead.firstChild ;
for (var i = 0; i < theRow.childNodes.length ; i++ )
{
var newCell = RenameNode( theRow.childNodes[i], 'TD' ) ;
if ( newCell != null )
newCell.removeAttribute( 'scope' ) ;
}
tbody.insertBefore( theRow, previousFirstRow ) ;
}
table.removeChild( tHead ) ;
}
// Should we make all first cells in a row TH?
if ( (!hasColumnHeaders) && (headers=='col' || headers=='both') )
{
for( var row=0 ; row < table.rows.length ; row++ )
{
var newCell = RenameNode(table.rows[row].cells[0], 'TH') ;
if ( newCell != null )
newCell.scope = 'row' ;
}
}
// Should we make all first TH-cells in a row make TD? If 'yes' we do it the other way round :-)
if ( (hasColumnHeaders) && !(headers=='col' || headers=='both') )
{
for( var row=0 ; row < table.rows.length ; row++ )
{
var oRow = table.rows[row] ;
if ( oRow.parentNode.nodeName == 'TBODY' )
{
var newCell = RenameNode(oRow.cells[0], 'TD') ;
if (newCell != null)
newCell.removeAttribute( 'scope' ) ;
}
}
}
}
if (! bExists)
{
var iRows = GetE('txtRows').value ;
var iCols = GetE('txtColumns').value ;
var startRow = 0 ;
// Should we make a <thead> ?
if (headers=='row' || headers=='both')
{
startRow++ ;
var oThead = table.createTHead() ;
var oRow = table.insertRow(-1) ;
oThead.appendChild(oRow);
for ( var c = 0 ; c < iCols ; c++ )
{
var oThcell = oDoc.createElement( 'TH' ) ;
oThcell.scope = 'col' ;
oRow.appendChild( oThcell ) ;
if ( oEditor.FCKBrowserInfo.IsGeckoLike )
oEditor.FCKTools.AppendBogusBr( oThcell ) ;
}
}
// Opera automatically creates a tbody when a thead has been added
var oTbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
if ( !oTbody )
{
// make TBODY if it doesn't exist
oTbody = oDoc.createElement( 'TBODY' ) ;
table.appendChild( oTbody ) ;
}
for ( var r = startRow ; r < iRows; r++ )
{
var oRow = oDoc.createElement( 'TR' ) ;
oTbody.appendChild(oRow) ;
var startCol = 0 ;
// Is the first column a header?
if (headers=='col' || headers=='both')
{
var oThcell = oDoc.createElement( 'TH' ) ;
oThcell.scope = 'row' ;
oRow.appendChild( oThcell ) ;
if ( oEditor.FCKBrowserInfo.IsGeckoLike )
oEditor.FCKTools.AppendBogusBr( oThcell ) ;
startCol++ ;
}
for ( var c = startCol ; c < iCols ; c++ )
{
// IE will leave the TH at the end of the row if we use now oRow.insertCell(-1)
var oCell = oDoc.createElement( 'TD' ) ;
oRow.appendChild( oCell ) ;
if ( oEditor.FCKBrowserInfo.IsGeckoLike )
oEditor.FCKTools.AppendBogusBr( oCell ) ;
}
}
oEditor.FCK.InsertElement( table ) ;
}
return true ;
}
</script>
</head>
<body style="overflow: hidden">
<table id="otable" cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%">
<tr>
<td>
<table cellspacing="1" cellpadding="1" width="100%" border="0">
<tr>
<td valign="top">
<table cellspacing="1" cellpadding="0" border="0">
<tr>
<td>
<span fcklang="DlgTableRows">Rows</span>:</td>
<td>
&nbsp;<input id="txtRows" type="text" maxlength="3" size="2" value="3"
onkeypress="return IsDigit(event);" /></td>
</tr>
<tr>
<td>
<span fcklang="DlgTableColumns">Columns</span>:</td>
<td>
&nbsp;<input id="txtColumns" type="text" maxlength="2" size="2" value="2"
onkeypress="return IsDigit(event);" /></td>
</tr>
<tr>
<td><span fcklang="DlgTableHeaders">Headers</span>:</td>
<td>
&nbsp;<select id="selHeaders">
<option fcklang="DlgTableHeadersNone" value="">None</option>
<option fcklang="DlgTableHeadersRow" value="row">First row</option>
<option fcklang="DlgTableHeadersColumn" value="col">First column</option>
<option fcklang="DlgTableHeadersBoth" value="both">Both</option>
</select>
</td>
</tr>
<tr>
<td>
<span fcklang="DlgTableBorder">Border size</span>:</td>
<td>
&nbsp;<input id="txtBorder" type="text" maxlength="2" size="2" value="1"
onkeypress="return IsDigit(event);" /></td>
</tr>
<tr>
<td>
<span fcklang="DlgTableAlign">Alignment</span>:</td>
<td>
&nbsp;<select id="selAlignment">
<option fcklang="DlgTableAlignNotSet" value="" selected="selected">&lt;Not set&gt;</option>
<option fcklang="DlgTableAlignLeft" value="left">Left</option>
<option fcklang="DlgTableAlignCenter" value="center">Center</option>
<option fcklang="DlgTableAlignRight" value="right">Right</option>
</select></td>
</tr>
</table>
</td>
<td>
&nbsp;&nbsp;&nbsp;</td>
<td align="right" valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<span fcklang="DlgTableWidth">Width</span>:</td>
<td>
&nbsp;<input id="txtWidth" type="text" maxlength="4" size="3" value="200"
onkeypress="return IsDigit(event);" /></td>
<td>
&nbsp;<select id="selWidthType">
<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option>
<option fcklang="DlgTableWidthPc" value="percent">percent</option>
</select></td>
</tr>
<tr>
<td>
<span fcklang="DlgTableHeight">Height</span>:</td>
<td>
&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" /></td>
<td>
&nbsp;<span fcklang="DlgTableWidthPx">pixels</span></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td nowrap="nowrap">
<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td>
<td>
&nbsp;<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1"
onkeypress="return IsDigit(event);" /></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td nowrap="nowrap">
<span fcklang="DlgTableCellPad">Cell padding</span>:</td>
<td>
&nbsp;<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1"
onkeypress="return IsDigit(event);" /></td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td nowrap="nowrap">
<span fcklang="DlgTableCaption">Caption</span>:&nbsp;</td>
<td>
&nbsp;</td>
<td width="100%" nowrap="nowrap">
<input id="txtCaption" type="text" style="width: 100%" /></td>
</tr>
<tr>
<td nowrap="nowrap">
<span fcklang="DlgTableSummary">Summary</span>:&nbsp;</td>
<td>
&nbsp;</td>
<td width="100%" nowrap="nowrap">
<input id="txtSummary" type="text" style="width: 100%" /></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,72 @@
<cfsetting enablecfoutputonly="Yes">
<!---
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 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 file include the functions that create the base XML output by the ColdFusion Connector (MX 6.0 and above).
--->
<cffunction name="SetXmlHeaders" returntype="void">
<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
<cfheader name="Pragma" value="no-cache">
<cfheader name="Cache-Control" value="no-cache, no-store, must-revalidate">
<cfcontent reset="true" type="text/xml; charset=UTF-8">
</cffunction>
<cffunction name="CreateXmlHeader" returntype="void" output="true">
<cfargument name="command" required="true">
<cfargument name="resourceType" required="true">
<cfargument name="currentFolder" required="true">
<cfset SetXmlHeaders()>
<cfoutput><?xml version="1.0" encoding="utf-8" ?></cfoutput>
<cfoutput><Connector command="#ARGUMENTS.command#" resourceType="#ARGUMENTS.resourceType#"></cfoutput>
<cfoutput><CurrentFolder path="#HTMLEditFormat(ARGUMENTS.currentFolder)#" url="#HTMLEditFormat( GetUrlFromPath( resourceType, currentFolder, command ) )#" /></cfoutput>
<cfset REQUEST.HeaderSent = true>
</cffunction>
<cffunction name="CreateXmlFooter" returntype="void" output="true">
<cfoutput></Connector></cfoutput>
</cffunction>
<cffunction name="SendError" returntype="void" output="true">
<cfargument name="number" required="true" type="Numeric">
<cfargument name="text" required="true">
<cfif isDefined("REQUEST.HeaderSent") and REQUEST.HeaderSent>
<cfset SendErrorNode( ARGUMENTS.number, ARGUMENTS.text )>
<cfset CreateXmlFooter() >
<cfelse>
<cfset SetXmlHeaders()>
<cfoutput><?xml version="1.0" encoding="utf-8" ?></cfoutput>
<cfoutput><Connector></cfoutput>
<cfset SendErrorNode( ARGUMENTS.number, ARGUMENTS.text )>
<cfset CreateXmlFooter() >
</cfif>
<cfabort>
</cffunction>
<cffunction name="SendErrorNode" returntype="void" output="true">
<cfargument name="number" required="true" type="Numeric">
<cfargument name="text" required="true">
<cfif Len(ARGUMENTS.text)>
<cfoutput><Error number="#ARGUMENTS.number#" text="#htmleditformat(ARGUMENTS.text)#" /></cfoutput>
<cfelse>
<cfoutput><Error number="#ARGUMENTS.number#" /></cfoutput>
</cfif>
</cffunction>

@ -0,0 +1,90 @@
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2010 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 ==
Base Connector for Python (CGI and WSGI).
See config.py for configuration settings
"""
import cgi, os
from fckutil import *
from fckcommands import * # default command's implementation
from fckoutput import * # base http, xml and html output mixins
import config as Config
class FCKeditorConnectorBase( object ):
"The base connector class. Subclass it to extend functionality (see Zope example)"
def __init__(self, environ=None):
"Constructor: Here you should parse request fields, initialize variables, etc."
self.request = FCKeditorRequest(environ) # Parse request
self.headers = [] # Clean Headers
if environ:
self.environ = environ
else:
self.environ = os.environ
# local functions
def setHeader(self, key, value):
self.headers.append ((key, value))
return
class FCKeditorRequest(object):
"A wrapper around the request object"
def __init__(self, environ):
if environ: # WSGI
self.request = cgi.FieldStorage(fp=environ['wsgi.input'],
environ=environ,
keep_blank_values=1)
self.environ = environ
else: # plain old cgi
self.environ = os.environ
self.request = cgi.FieldStorage()
if 'REQUEST_METHOD' in self.environ and 'QUERY_STRING' in self.environ:
if self.environ['REQUEST_METHOD'].upper()=='POST':
# we are in a POST, but GET query_string exists
# cgi parses by default POST data, so parse GET QUERY_STRING too
self.get_request = cgi.FieldStorage(fp=None,
environ={
'REQUEST_METHOD':'GET',
'QUERY_STRING':self.environ['QUERY_STRING'],
},
)
else:
self.get_request={}
def has_key(self, key):
return self.request.has_key(key) or self.get_request.has_key(key)
def get(self, key, default=None):
if key in self.request.keys():
field = self.request[key]
elif key in self.get_request.keys():
field = self.get_request[key]
else:
return default
if hasattr(field,"filename") and field.filename: #file upload, do not convert return value
return field
else:
return field.value

@ -0,0 +1 @@
(function(){var e=window.DoResizeFixes=function(){var f=window.document.body;for(var g=0;g<f.childNodes.length;g++){var h=f.childNodes[g];switch(h.className){case"contents":h.style.width=Math.max(0,f.offsetWidth-16-16);h.style.height=Math.max(0,f.clientHeight-20-2);break;case"blocker":case"cover":h.style.width=Math.max(0,f.offsetWidth-16-16+4);h.style.height=Math.max(0,f.clientHeight-20-2+4);break;case"tr":h.style.left=Math.max(0,f.clientWidth-16);break;case"tc":h.style.width=Math.max(0,f.clientWidth-16-16);break;case"ml":h.style.height=Math.max(0,f.clientHeight-16-51);break;case"mr":h.style.left=Math.max(0,f.clientWidth-16);h.style.height=Math.max(0,f.clientHeight-16-51);break;case"bl":h.style.top=Math.max(0,f.clientHeight-51);break;case"br":h.style.left=Math.max(0,f.clientWidth-30);h.style.top=Math.max(0,f.clientHeight-51);break;case"bc":h.style.width=Math.max(0,f.clientWidth-30-30);h.style.top=Math.max(0,f.clientHeight-51);break;}}};var d=function(){this.style.backgroundPosition="-16px -687px";};var c=function(){this.style.backgroundPosition="-16px -651px";};var a=function(){var f=document.getElementById("closeButton");f.onmouseover=d;f.onmouseout=c;};var b=function(){e();a();window.attachEvent("onresize",e);window.detachEvent("onload",b);};window.attachEvent("onload",b);})();

@ -0,0 +1,75 @@
/*
* Ext JS Library 2.2
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
.x-dd-drag-proxy{
position:absolute;
left:0;top:0;
visibility:hidden;
z-index:15000;
}
.x-dd-drag-ghost{
color: black;
font: normal 11px arial, helvetica, sans-serif;
-moz-opacity: 0.85;
opacity:.85;
filter: alpha(opacity=85);
border-top:1px solid #dddddd;
border-left:1px solid #dddddd;
border-right:1px solid #bbbbbb;
border-bottom:1px solid #bbbbbb;
padding:3px;
padding-left:20px;
background-color:white;
white-space:nowrap;
}
.x-dd-drag-repair .x-dd-drag-ghost{
-moz-opacity: 0.4;
opacity:.4;
filter: alpha(opacity=40);
border:0 none;
padding:0;
background-color:transparent;
}
.x-dd-drag-repair .x-dd-drop-icon{
visibility:hidden;
}
.x-dd-drop-icon{
position:absolute;
top:3px;
left:3px;
display:block;
width:16px;
height:16px;
background-color:transparent;
background-position: center;
background-repeat: no-repeat;
z-index:1;
}
.x-dd-drop-nodrop .x-dd-drop-icon{
background-image: url(../images/default/dd/drop-no.gif);
}
.x-dd-drop-ok .x-dd-drop-icon{
background-image: url(../images/default/dd/drop-yes.gif);
}
.x-dd-drop-ok-add .x-dd-drop-icon{
background-image: url(../images/default/dd/drop-add.gif);
}
.x-view-selector {
position:absolute;
left:0;
top:0;
width:0;
background:#c3daf9;
border:1px dotted #3399bb;
opacity: .5;
-moz-opacity: .5;
filter:alpha(opacity=50);
zoom:1;
}

@ -0,0 +1,2 @@
Copies of the images of this theme that contain elements of color have been stored here for easy manipulation of future styles.

@ -0,0 +1,12 @@
Modified on:{ts '2008-02-13 04:33:05'}
* corners-sprite.gif changed to: panel_corners-sprite.gif
* left-right.gif changed to: panel_left-right.gif
* light-hd.gif changed to: panel_light-hd.gif
* tool-sprite-tpl.gif changed to: panel_tool-sprite-tpl.gif
* tool-sprites.gif changed to: panel_tool-sprites.gif
* tools-sprites-trans.gif changed to: panel_tools-sprites-trans.gif
* top-bottom.gif changed to: panel_top-bottom.gif
* top-bottom.png changed to: panel_top-bottom.png
* white-corners-sprite.gif changed to: panel_white-corners-sprite.gif
* white-left-right.gif changed to: panel_white-left-right.gif
* white-top-bottom.gif changed to: panel_white-top-bottom.gif

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save