@ -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;
|
||||||
|
}
|
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 71 B |
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 85 B |
After Width: | Height: | Size: 116 B |
After Width: | Height: | Size: 67 B |
After Width: | Height: | Size: 268 B |
After Width: | Height: | Size: 92 B |
@ -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%"> </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%"> </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()"> <input type=button class="dlgBtnCommon dlgBtn" value='' onclick="parent.bn()" lang=DlgBtnCancel></td></tr> </table> </td></tr></table> </body> </html>
|
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 54 B |
After Width: | Height: | Size: 55 B |
After Width: | Height: | Size: 129 B |
After Width: | Height: | Size: 129 B |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 418 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 902 B |
@ -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> </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> </td>
|
||||||
|
<td width="100%" colSpan="4"><input id="txtRadioSpanLabel" style="WIDTH: 100%" type="text"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td nowrap><span fckLang="DlgCheckValue">Value</span> </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"> <span fckLang="DlgRaioOpAvail">Available
|
||||||
|
Options</span> </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">
|
||||||
|
<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;};
|
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 75 B |
@ -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,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>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
<select id="selAlignment">
|
||||||
|
<option fcklang="DlgTableAlignNotSet" value="" selected="selected"><Not set></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>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span fcklang="DlgTableWidth">Width</span>:</td>
|
||||||
|
<td>
|
||||||
|
<input id="txtWidth" type="text" maxlength="4" size="3" value="200"
|
||||||
|
onkeypress="return IsDigit(event);" /></td>
|
||||||
|
<td>
|
||||||
|
<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>
|
||||||
|
<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" /></td>
|
||||||
|
<td>
|
||||||
|
<span fcklang="DlgTableWidthPx">pixels</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="3"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td nowrap="nowrap">
|
||||||
|
<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td>
|
||||||
|
<td>
|
||||||
|
<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1"
|
||||||
|
onkeypress="return IsDigit(event);" /></td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td nowrap="nowrap">
|
||||||
|
<span fcklang="DlgTableCellPad">Cell padding</span>:</td>
|
||||||
|
<td>
|
||||||
|
<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1"
|
||||||
|
onkeypress="return IsDigit(event);" /></td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table cellspacing="0" cellpadding="0" width="100%" border="0">
|
||||||
|
<tr>
|
||||||
|
<td nowrap="nowrap">
|
||||||
|
<span fcklang="DlgTableCaption">Caption</span>: </td>
|
||||||
|
<td>
|
||||||
|
</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>: </td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
<td width="100%" nowrap="nowrap">
|
||||||
|
<input id="txtSummary" type="text" style="width: 100%" /></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 128 B |
@ -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);})();
|
After Width: | Height: | Size: 389 B |
After Width: | Height: | Size: 710 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 279 B |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 918 B |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 594 B |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 66 B |
After Width: | Height: | Size: 702 B |
After Width: | Height: | Size: 931 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;
|
||||||
|
}
|
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 823 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 1010 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 879 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 325 B |
After Width: | Height: | Size: 828 B |
After Width: | Height: | Size: 836 B |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 159 B |
After Width: | Height: | Size: 848 B |
@ -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.
|
||||||
|
|
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 5.1 KiB |
@ -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
|
After Width: | Height: | Size: 815 B |
After Width: | Height: | Size: 66 B |
After Width: | Height: | Size: 633 B |