Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop
|
|
@ -1,402 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the dialog boxes.
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body, td, input, select, textarea
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||
}
|
||||
|
||||
body, .BackColor
|
||||
{
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupBody
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.PopupTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14pt;
|
||||
color: #504845;
|
||||
background-color: #dedede;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
.PopupButtons
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
border-top: #cec6b5 1px solid;
|
||||
background-color: #DEDEDE;
|
||||
padding: 7px 10px 7px 10px;
|
||||
}
|
||||
|
||||
.Button
|
||||
{
|
||||
border: #7a7261 1px solid;
|
||||
color: #504845;
|
||||
background-color: #cec6b5;
|
||||
}
|
||||
|
||||
#btnOk
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.DarkBackground
|
||||
{
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.LightBackground
|
||||
{
|
||||
background-color: #ffffbe;
|
||||
}
|
||||
|
||||
.PopupTitleBorder
|
||||
{
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTabArea
|
||||
{
|
||||
color: #504845;
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
||||
.PopupTabEmptyArea
|
||||
{
|
||||
padding-left: 10px ;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTab, .PopupTabSelected
|
||||
{
|
||||
border-right: #cec6b5 1px solid;
|
||||
border-top: #cec6b5 1px solid;
|
||||
border-left: #cec6b5 1px solid;
|
||||
padding: 3px 5px 3px 5px;
|
||||
color: #504845;
|
||||
}
|
||||
|
||||
.PopupTab
|
||||
{
|
||||
margin-top: 1px;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.PopupTabSelected
|
||||
{
|
||||
font-weight:bold;
|
||||
cursor: default;
|
||||
padding-top: 4px;
|
||||
border-bottom: #f1f1e3 1px solid;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupSelectionBox
|
||||
{
|
||||
border: #a9a9a9 1px solid !important;
|
||||
background-color: #dcdcdc !important;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
#tdBrowse
|
||||
{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dialog frame related styles.
|
||||
*/
|
||||
|
||||
.contents
|
||||
{
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 20px;
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tl, .tr, .tc, .bl, .br, .bc
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
* html .tl, * html .tr, * html .tc, * html .bl, * html .br, * html .bc
|
||||
{
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.ml, .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .ml, * html .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.rtl .ml, .rtl .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.rtl.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .rtl .ml, * html .rtl .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.tl
|
||||
{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
|
||||
.rtl .tl
|
||||
{
|
||||
background-position: -16px -397px;
|
||||
}
|
||||
|
||||
.tr
|
||||
{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -76px;
|
||||
}
|
||||
|
||||
.rtl .tr
|
||||
{
|
||||
background-position: -16px -457px;
|
||||
}
|
||||
|
||||
.tc
|
||||
{
|
||||
top: 0px;
|
||||
right: 16px;
|
||||
left: 16px;
|
||||
height: 16px;
|
||||
background-position: 0px -136px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.ml
|
||||
{
|
||||
top: 16px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.mr
|
||||
{
|
||||
top: 16px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
|
||||
.bl
|
||||
{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -196px;
|
||||
}
|
||||
|
||||
.rtl .bl
|
||||
{
|
||||
background-position: -16px -517px;
|
||||
}
|
||||
|
||||
.br
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -263px;
|
||||
}
|
||||
|
||||
.rtl .br
|
||||
{
|
||||
background-position: -16px -584px;
|
||||
}
|
||||
|
||||
.bc
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
height: 51px;
|
||||
background-position: 0px -330px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* For IE6. Do not change it. */
|
||||
* html .blocker
|
||||
{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 12;
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
||||
}
|
||||
|
||||
/* The layer used to cover the dialog when opening a child dialog. */
|
||||
.cover
|
||||
{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
bottom: 18px;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
#closeButton
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px -651px;
|
||||
}
|
||||
|
||||
* html #closeButton
|
||||
{
|
||||
cursor: hand;
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.rtl #closeButton
|
||||
{
|
||||
right: auto;
|
||||
left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#closeButton:hover
|
||||
{
|
||||
background-position: -16px -687px;
|
||||
}
|
||||
|
||||
#throbberBlock
|
||||
{
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#throbberBlock div
|
||||
{
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 9px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
font-size: 1px; /* IE6 */
|
||||
}
|
||||
|
||||
/*
|
||||
Color Gradient Generator:
|
||||
http://www.herethere.net/~samson/php/color_gradient/?cbegin=504845&cend=DEDEDE&steps=4
|
||||
*/
|
||||
|
||||
.throbber_1
|
||||
{
|
||||
background-color: #504845;
|
||||
}
|
||||
|
||||
.throbber_2
|
||||
{
|
||||
background-color: #736D6B;
|
||||
}
|
||||
|
||||
.throbber_3
|
||||
{
|
||||
background-color: #979391;
|
||||
}
|
||||
|
||||
.throbber_4
|
||||
{
|
||||
background-color: #BAB8B7;
|
||||
}
|
||||
|
||||
.throbber_5
|
||||
{
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*/
|
||||
|
||||
(function()
|
||||
{
|
||||
// IE6 doens't handle absolute positioning properly (it is always in quirks
|
||||
// mode). This function fixes the sizes and positions of many elements that
|
||||
// compose the skin (this is skin specific).
|
||||
var fixSizes = window.DoResizeFixes = function()
|
||||
{
|
||||
var fckDlg = window.document.body ;
|
||||
|
||||
for ( var i = 0 ; i < fckDlg.childNodes.length ; i++ )
|
||||
{
|
||||
var child = fckDlg.childNodes[i] ;
|
||||
switch ( child.className )
|
||||
{
|
||||
case 'contents' :
|
||||
child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 ) ; // -left -right
|
||||
child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 ) ; // -bottom -top
|
||||
break ;
|
||||
|
||||
case 'blocker' :
|
||||
case 'cover' :
|
||||
child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 + 4 ) ; // -left -right + 4
|
||||
child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 + 4 ) ; // -bottom -top + 4
|
||||
break ;
|
||||
|
||||
case 'tr' :
|
||||
child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ;
|
||||
break ;
|
||||
|
||||
case 'tc' :
|
||||
child.style.width = Math.max( 0, fckDlg.clientWidth - 16 - 16 ) ;
|
||||
break ;
|
||||
|
||||
case 'ml' :
|
||||
child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ;
|
||||
break ;
|
||||
|
||||
case 'mr' :
|
||||
child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ;
|
||||
child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ;
|
||||
break ;
|
||||
|
||||
case 'bl' :
|
||||
child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ;
|
||||
break ;
|
||||
|
||||
case 'br' :
|
||||
child.style.left = Math.max( 0, fckDlg.clientWidth - 30 ) ;
|
||||
child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ;
|
||||
break ;
|
||||
|
||||
case 'bc' :
|
||||
child.style.width = Math.max( 0, fckDlg.clientWidth - 30 - 30 ) ;
|
||||
child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var closeButtonOver = function()
|
||||
{
|
||||
this.style.backgroundPosition = '-16px -687px' ;
|
||||
} ;
|
||||
|
||||
var closeButtonOut = function()
|
||||
{
|
||||
this.style.backgroundPosition = '-16px -651px' ;
|
||||
} ;
|
||||
|
||||
var fixCloseButton = function()
|
||||
{
|
||||
var closeButton = document.getElementById ( 'closeButton' ) ;
|
||||
|
||||
closeButton.onmouseover = closeButtonOver ;
|
||||
closeButton.onmouseout = closeButtonOut ;
|
||||
}
|
||||
|
||||
var onLoad = function()
|
||||
{
|
||||
fixSizes() ;
|
||||
fixCloseButton() ;
|
||||
|
||||
window.attachEvent( 'onresize', fixSizes ) ;
|
||||
window.detachEvent( 'onload', onLoad ) ;
|
||||
}
|
||||
|
||||
window.attachEvent( 'onload', onLoad ) ;
|
||||
|
||||
})() ;
|
||||
|
|
@ -1,465 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the editor IFRAME and Toolbar.
|
||||
*/
|
||||
|
||||
/*
|
||||
### Basic Editor IFRAME Styles.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
padding: 1px;
|
||||
margin: 0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#xEditingArea
|
||||
{
|
||||
border: #696969 1px solid;
|
||||
}
|
||||
|
||||
.SourceField
|
||||
{
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar
|
||||
*/
|
||||
|
||||
.TB_ToolbarSet, .TB_Expand, .TB_Collapse
|
||||
{
|
||||
cursor: default;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet
|
||||
{
|
||||
border-top: #f7f7f7 1px outset;
|
||||
border-bottom: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.TB_Toolbar
|
||||
{
|
||||
height: 24px;
|
||||
display: inline-table; /* inline = Opera jumping buttons bug */
|
||||
}
|
||||
|
||||
.TB_Separator
|
||||
{
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
margin: 2px;
|
||||
background-color: #999966;
|
||||
}
|
||||
|
||||
.TB_Start
|
||||
{
|
||||
background-image: url(images/toolbar.start.gif);
|
||||
margin: 2px;
|
||||
width: 3px;
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.TB_End
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TB_ExpandImg
|
||||
{
|
||||
background-image: url(images/toolbar.expand.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_CollapseImg
|
||||
{
|
||||
background-image: url(images/toolbar.collapse.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_SideBorder
|
||||
{
|
||||
background-color: #696969;
|
||||
}
|
||||
|
||||
.TB_Expand, .TB_Collapse
|
||||
{
|
||||
padding: 2px 2px 2px 2px;
|
||||
border: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_Collapse
|
||||
{
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.TB_Break
|
||||
{
|
||||
height: 24px; /* IE needs the height to be set, otherwise no break */
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar Button
|
||||
*/
|
||||
|
||||
.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
|
||||
{
|
||||
border: #f7f7f7 1px solid; /* This is the default border */
|
||||
height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
|
||||
}
|
||||
|
||||
.TB_Button_On
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
||||
.TB_Button_On_Over, .TB_Button_Off_Over
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #dff1ff;
|
||||
}
|
||||
|
||||
.TB_Button_Off
|
||||
{
|
||||
filter: alpha(opacity=70); /* IE */
|
||||
opacity: 0.70; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Disabled
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Image
|
||||
{
|
||||
overflow: hidden;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_Button_Image img
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Button_Text
|
||||
{
|
||||
background-color: #f7f7f7; /* Needed because of a bug on Clear Type */
|
||||
}
|
||||
|
||||
.TB_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
height: 1px;
|
||||
margin-left: 1px; /* ltr */
|
||||
margin-right: 1px; /* rtl */
|
||||
}
|
||||
|
||||
.TB_Text
|
||||
{
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Text
|
||||
{
|
||||
background-color: #f7f7f7 ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
.TB_Button_On_Over .TB_Text
|
||||
{
|
||||
background-color: #dff1ff ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
/*
|
||||
Menu
|
||||
*/
|
||||
|
||||
.MN_Menu
|
||||
{
|
||||
border: 1px solid #8f8f73;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.MN_Menu, .MN_Menu .MN_Label
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.MN_Item_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Icon
|
||||
{
|
||||
background-color: #dedede;
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Label
|
||||
{
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator
|
||||
{
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator_Line
|
||||
{
|
||||
border-top: #b9b99d 1px solid;
|
||||
}
|
||||
|
||||
.MN_Item .MN_Icon IMG
|
||||
{
|
||||
filter: alpha(opacity=70);
|
||||
opacity: 0.70;
|
||||
}
|
||||
|
||||
.MN_Item_Over
|
||||
{
|
||||
color: #ffffff;
|
||||
background-color: #8a857d;
|
||||
}
|
||||
|
||||
.MN_Item_Over .MN_Icon
|
||||
{
|
||||
background-color: #6c6761;
|
||||
}
|
||||
|
||||
.MN_Item_Disabled IMG
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.MN_Item_Disabled .MN_Label
|
||||
{
|
||||
color: #b7b7b7;
|
||||
}
|
||||
|
||||
.MN_Arrow
|
||||
{
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.MN_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.Menu .TB_Button_On, .Menu .TB_Button_On_Over
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
### Panel Styles
|
||||
*/
|
||||
|
||||
.FCK_Panel
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FCK_Panel, .FCK_Panel TD
|
||||
{
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*
|
||||
### Special Combos
|
||||
*/
|
||||
|
||||
.SC_Panel
|
||||
{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
border: 1px solid #8f8f73;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.SC_Panel, .SC_Panel TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.SC_Item, .SC_ItemSelected
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
background-position: left center;
|
||||
padding-left: 11px;
|
||||
padding-right: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
border: #dddddd 1px solid;
|
||||
}
|
||||
|
||||
.SC_Item *, .SC_ItemSelected *
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.SC_ItemSelected
|
||||
{
|
||||
border: #9a9afb 1px solid;
|
||||
background-image: url(images/toolbar.arrowright.gif);
|
||||
}
|
||||
|
||||
.SC_ItemOver
|
||||
{
|
||||
border: #404040 1px solid;
|
||||
}
|
||||
|
||||
.SC_Field
|
||||
{
|
||||
border: #b7b7a6 1px solid;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.SC_FieldCaption
|
||||
{
|
||||
overflow: visible;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
opacity: 0.75; /* Safari, Opera and Mozilla */
|
||||
filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
|
||||
height: 23px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.SC_FieldLabel
|
||||
{
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
background-color: #ffffff;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.SC_FieldButton
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/toolbar.buttonarrow.gif);
|
||||
border-left: #b7b7a6 1px solid;
|
||||
width: 14px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption, .SC_FieldDisabled .TB_ButtonType_Text
|
||||
{
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
|
||||
}
|
||||
|
||||
.SC_FieldOver
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
.SC_FieldOver .SC_FieldButton
|
||||
{
|
||||
border-left: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
/*
|
||||
### Color Selector Panel
|
||||
*/
|
||||
|
||||
.ColorBoxBorder
|
||||
{
|
||||
border: #808080 1px solid;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ColorBox
|
||||
{
|
||||
font-size: 1px;
|
||||
width: 10px;
|
||||
position: static;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.ColorDeselected, .ColorSelected
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ColorDeselected
|
||||
{
|
||||
border: #ffffff 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ColorSelected
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
|
|
@ -1,360 +0,0 @@
|
|||
/*
|
||||
* 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 ==
|
||||
*
|
||||
* Editor configuration settings.
|
||||
*
|
||||
* Follow this link for more information:
|
||||
* http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
|
||||
*/
|
||||
|
||||
FCKConfig.CustomConfigurationsPath = '' ;
|
||||
|
||||
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
|
||||
FCKConfig.EditorAreaStyles = '' ;
|
||||
FCKConfig.ToolbarComboPreviewCSS = '' ;
|
||||
|
||||
FCKConfig.DocType = '' ;
|
||||
|
||||
FCKConfig.BaseHref = '' ;
|
||||
|
||||
FCKConfig.FullPage = false ;
|
||||
|
||||
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
|
||||
FCKConfig.StartupShowBlocks = false ;
|
||||
|
||||
FCKConfig.Debug = false ;
|
||||
FCKConfig.AllowQueryStringDebug = true ;
|
||||
|
||||
FCKConfig.SkinPath = FCKConfig.BasePath + '/' ;
|
||||
FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
|
||||
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
|
||||
|
||||
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
|
||||
|
||||
// FCKConfig.Plugins.Add( 'autogrow' ) ;
|
||||
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
||||
FCKConfig.AutoGrowMax = 400 ;
|
||||
|
||||
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
|
||||
// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
|
||||
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>
|
||||
|
||||
FCKConfig.AutoDetectLanguage = true ;
|
||||
FCKConfig.DefaultLanguage = 'en' ;
|
||||
FCKConfig.ContentLangDirection = 'ltr' ;
|
||||
|
||||
FCKConfig.ProcessHTMLEntities = false ;
|
||||
FCKConfig.IncludeLatinEntities = false ;
|
||||
FCKConfig.IncludeGreekEntities = false ;
|
||||
|
||||
FCKConfig.ProcessNumericEntities = false ;
|
||||
|
||||
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
|
||||
|
||||
FCKConfig.FillEmptyBlocks = true ;
|
||||
|
||||
FCKConfig.FormatSource = false ;
|
||||
FCKConfig.FormatOutput = false ;
|
||||
FCKConfig.FormatIndentator = ' ' ;
|
||||
|
||||
FCKConfig.EMailProtection = 'none' ; // none | encode | function
|
||||
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
|
||||
|
||||
FCKConfig.StartupFocus = false ;
|
||||
FCKConfig.ForcePasteAsPlainText = false ;
|
||||
FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
|
||||
FCKConfig.ShowDropDialog = true ;
|
||||
FCKConfig.ForceSimpleAmpersand = false ;
|
||||
FCKConfig.TabSpaces = 0 ;
|
||||
FCKConfig.ShowBorders = true ;
|
||||
FCKConfig.SourcePopup = false ;
|
||||
FCKConfig.ToolbarStartExpanded = false ;
|
||||
FCKConfig.ToolbarCanCollapse = true ;
|
||||
FCKConfig.IgnoreEmptyParagraphValue = true ;
|
||||
FCKConfig.FloatingPanelsZIndex = 10000 ;
|
||||
FCKConfig.HtmlEncodeOutput = false ;
|
||||
|
||||
FCKConfig.TemplateReplaceAll = true ;
|
||||
FCKConfig.TemplateReplaceCheckbox = true ;
|
||||
|
||||
FCKConfig.ToolbarLocation = 'In' ;
|
||||
|
||||
/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */
|
||||
FCKConfig.ToolbarSets["dolibarr_mailings"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','BGColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_notes"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','BGColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_details"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste'],
|
||||
['Undo','Redo'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['SpecialChar'],
|
||||
['FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Default"] = [
|
||||
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
|
||||
'/',
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor'],
|
||||
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
|
||||
'/',
|
||||
['Style','FontFormat','FontName','FontSize'],
|
||||
['TextColor','BGColor'],
|
||||
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Basic"] = [
|
||||
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
|
||||
] ;
|
||||
|
||||
FCKConfig.EnterMode = 'br' ; // p | div | br
|
||||
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
|
||||
|
||||
FCKConfig.Keystrokes = [
|
||||
[ CTRL + 65 /*A*/, true ],
|
||||
[ CTRL + 67 /*C*/, true ],
|
||||
[ CTRL + 70 /*F*/, true ],
|
||||
[ CTRL + 83 /*S*/, true ],
|
||||
[ CTRL + 84 /*T*/, true ],
|
||||
[ CTRL + 88 /*X*/, true ],
|
||||
[ CTRL + 86 /*V*/, 'Paste' ],
|
||||
[ CTRL + 45 /*INS*/, true ],
|
||||
[ SHIFT + 45 /*INS*/, 'Paste' ],
|
||||
[ CTRL + 88 /*X*/, 'Cut' ],
|
||||
[ SHIFT + 46 /*DEL*/, 'Cut' ],
|
||||
[ CTRL + 90 /*Z*/, 'Undo' ],
|
||||
[ CTRL + 89 /*Y*/, 'Redo' ],
|
||||
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
|
||||
[ CTRL + 76 /*L*/, 'Link' ],
|
||||
[ CTRL + 66 /*B*/, 'Bold' ],
|
||||
[ CTRL + 73 /*I*/, 'Italic' ],
|
||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
|
||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||
[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
|
||||
] ;
|
||||
|
||||
//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.BrowserContextMenuOnCtrl = false ;
|
||||
FCKConfig.BrowserContextMenu = false ;
|
||||
|
||||
FCKConfig.EnableMoreFontColors = true ;
|
||||
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
|
||||
|
||||
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
|
||||
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
|
||||
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
|
||||
|
||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||
|
||||
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
|
||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||
FCKConfig.FirefoxSpellChecker = false ;
|
||||
|
||||
FCKConfig.MaxUndoLevels = 15 ;
|
||||
|
||||
FCKConfig.DisableObjectResizing = false ;
|
||||
FCKConfig.DisableFFTableHandles = true ;
|
||||
|
||||
FCKConfig.LinkDlgHideTarget = false ;
|
||||
FCKConfig.LinkDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ImageDlgHideLink = false ;
|
||||
FCKConfig.ImageDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.FlashDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ProtectedTags = '' ;
|
||||
|
||||
// This will be applied to the body element of the editor
|
||||
FCKConfig.BodyId = '' ;
|
||||
FCKConfig.BodyClass = '' ;
|
||||
|
||||
FCKConfig.DefaultStyleLabel = '' ;
|
||||
FCKConfig.DefaultFontFormatLabel = '' ;
|
||||
FCKConfig.DefaultFontLabel = '' ;
|
||||
FCKConfig.DefaultFontSizeLabel = '' ;
|
||||
|
||||
FCKConfig.DefaultLinkTarget = '' ;
|
||||
|
||||
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
|
||||
FCKConfig.CleanWordKeepsStructure = false ;
|
||||
|
||||
// Only inline elements are valid.
|
||||
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
|
||||
|
||||
// Attributes that will be removed
|
||||
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
|
||||
|
||||
FCKConfig.CustomStyles =
|
||||
{
|
||||
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
|
||||
};
|
||||
|
||||
// Do not add, rename or remove styles here. Only apply definition changes.
|
||||
FCKConfig.CoreStyles =
|
||||
{
|
||||
// Basic Inline Styles.
|
||||
'Bold' : { Element : 'strong', Overrides : 'b' },
|
||||
'Italic' : { Element : 'em', Overrides : 'i' },
|
||||
'Underline' : { Element : 'u' },
|
||||
'StrikeThrough' : { Element : 'strike' },
|
||||
'Subscript' : { Element : 'sub' },
|
||||
'Superscript' : { Element : 'sup' },
|
||||
|
||||
// Basic Block Styles (Font Format Combo).
|
||||
'p' : { Element : 'p' },
|
||||
'div' : { Element : 'div' },
|
||||
'pre' : { Element : 'pre' },
|
||||
'address' : { Element : 'address' },
|
||||
'h1' : { Element : 'h1' },
|
||||
'h2' : { Element : 'h2' },
|
||||
'h3' : { Element : 'h3' },
|
||||
'h4' : { Element : 'h4' },
|
||||
'h5' : { Element : 'h5' },
|
||||
'h6' : { Element : 'h6' },
|
||||
|
||||
// Other formatting features.
|
||||
'FontFace' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-family' : '#("Font")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
||||
},
|
||||
|
||||
'Size' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-size' : '#("Size","fontSize")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
||||
},
|
||||
|
||||
'Color' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'color' : '#("Color","color")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
||||
},
|
||||
|
||||
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
|
||||
|
||||
'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
|
||||
};
|
||||
|
||||
// The distance of an indentation step.
|
||||
FCKConfig.IndentLength = 40 ;
|
||||
FCKConfig.IndentUnit = 'px' ;
|
||||
|
||||
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
|
||||
// This overrides the IndentLength/IndentUnit settings.
|
||||
FCKConfig.IndentClasses = [] ;
|
||||
|
||||
// [ Left, Center, Right, Justified ]
|
||||
FCKConfig.JustifyClasses = [] ;
|
||||
|
||||
// The following value defines which File Browser connector and Quick Upload
|
||||
// "uploader" to use. It is valid for the default implementaion and it is here
|
||||
// just to make this configuration file cleaner.
|
||||
// It is not possible to change this value using an external file or even
|
||||
// inline when creating the editor instance. In that cases you must set the
|
||||
// values of LinkBrowserURL, ImageBrowserURL and so on.
|
||||
// Custom implementations should just ignore it.
|
||||
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
|
||||
// Don't care about the following two lines. It just calculates the correct connector
|
||||
// extension to use for the default File Browser (Perl uses "cgi").
|
||||
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
|
||||
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
|
||||
|
||||
FCKConfig.LinkBrowser = true ;
|
||||
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
|
||||
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
|
||||
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
|
||||
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
|
||||
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
|
||||
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
|
||||
|
||||
FCKConfig.FlashBrowser = true ;
|
||||
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
|
||||
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
|
||||
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
|
||||
|
||||
FCKConfig.LinkUpload = false ;
|
||||
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
|
||||
FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all
|
||||
FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged.
|
||||
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
|
||||
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
|
||||
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.FlashUpload = false ;
|
||||
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
|
||||
FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
|
||||
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
|
||||
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
|
||||
FCKConfig.SmileyColumns = 8 ;
|
||||
FCKConfig.SmileyWindowWidth = 320 ;
|
||||
FCKConfig.SmileyWindowHeight = 210 ;
|
||||
|
||||
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
|
||||
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
|
||||
|
||||
FCKConfig.MsWebBrowserControlCompat = false ;
|
||||
|
||||
FCKConfig.PreventSubmitHandler = false ;
|
||||
|
Before Width: | Height: | Size: 48 B |
|
Before Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 200 B |
|
Before Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 105 B |
|
|
@ -1 +0,0 @@
|
|||
Url not available
|
||||
|
|
@ -1,402 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the dialog boxes.
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body, td, input, select, textarea
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||
}
|
||||
|
||||
body, .BackColor
|
||||
{
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupBody
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.PopupTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14pt;
|
||||
color: #504845;
|
||||
background-color: #dedede;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
.PopupButtons
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
border-top: #cec6b5 1px solid;
|
||||
background-color: #DEDEDE;
|
||||
padding: 7px 10px 7px 10px;
|
||||
}
|
||||
|
||||
.Button
|
||||
{
|
||||
border: #7a7261 1px solid;
|
||||
color: #504845;
|
||||
background-color: #cec6b5;
|
||||
}
|
||||
|
||||
#btnOk
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.DarkBackground
|
||||
{
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.LightBackground
|
||||
{
|
||||
background-color: #ffffbe;
|
||||
}
|
||||
|
||||
.PopupTitleBorder
|
||||
{
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTabArea
|
||||
{
|
||||
color: #504845;
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
||||
.PopupTabEmptyArea
|
||||
{
|
||||
padding-left: 10px ;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTab, .PopupTabSelected
|
||||
{
|
||||
border-right: #cec6b5 1px solid;
|
||||
border-top: #cec6b5 1px solid;
|
||||
border-left: #cec6b5 1px solid;
|
||||
padding: 3px 5px 3px 5px;
|
||||
color: #504845;
|
||||
}
|
||||
|
||||
.PopupTab
|
||||
{
|
||||
margin-top: 1px;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.PopupTabSelected
|
||||
{
|
||||
font-weight:bold;
|
||||
cursor: default;
|
||||
padding-top: 4px;
|
||||
border-bottom: #f1f1e3 1px solid;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupSelectionBox
|
||||
{
|
||||
border: #a9a9a9 1px solid !important;
|
||||
background-color: #dcdcdc !important;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
#tdBrowse
|
||||
{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dialog frame related styles.
|
||||
*/
|
||||
|
||||
.contents
|
||||
{
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 20px;
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tl, .tr, .tc, .bl, .br, .bc
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
* html .tl, * html .tr, * html .tc, * html .bl, * html .br, * html .bc
|
||||
{
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.ml, .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .ml, * html .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.rtl .ml, .rtl .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.rtl.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .rtl .ml, * html .rtl .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.tl
|
||||
{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
|
||||
.rtl .tl
|
||||
{
|
||||
background-position: -16px -397px;
|
||||
}
|
||||
|
||||
.tr
|
||||
{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -76px;
|
||||
}
|
||||
|
||||
.rtl .tr
|
||||
{
|
||||
background-position: -16px -457px;
|
||||
}
|
||||
|
||||
.tc
|
||||
{
|
||||
top: 0px;
|
||||
right: 16px;
|
||||
left: 16px;
|
||||
height: 16px;
|
||||
background-position: 0px -136px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.ml
|
||||
{
|
||||
top: 16px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.mr
|
||||
{
|
||||
top: 16px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
|
||||
.bl
|
||||
{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -196px;
|
||||
}
|
||||
|
||||
.rtl .bl
|
||||
{
|
||||
background-position: -16px -517px;
|
||||
}
|
||||
|
||||
.br
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -263px;
|
||||
}
|
||||
|
||||
.rtl .br
|
||||
{
|
||||
background-position: -16px -584px;
|
||||
}
|
||||
|
||||
.bc
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
height: 51px;
|
||||
background-position: 0px -330px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* For IE6. Do not change it. */
|
||||
* html .blocker
|
||||
{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 12;
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
||||
}
|
||||
|
||||
/* The layer used to cover the dialog when opening a child dialog. */
|
||||
.cover
|
||||
{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
bottom: 18px;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
#closeButton
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px -651px;
|
||||
}
|
||||
|
||||
* html #closeButton
|
||||
{
|
||||
cursor: hand;
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.rtl #closeButton
|
||||
{
|
||||
right: auto;
|
||||
left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#closeButton:hover
|
||||
{
|
||||
background-position: -16px -687px;
|
||||
}
|
||||
|
||||
#throbberBlock
|
||||
{
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#throbberBlock div
|
||||
{
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 9px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
font-size: 1px; /* IE6 */
|
||||
}
|
||||
|
||||
/*
|
||||
Color Gradient Generator:
|
||||
http://www.herethere.net/~samson/php/color_gradient/?cbegin=504845&cend=DEDEDE&steps=4
|
||||
*/
|
||||
|
||||
.throbber_1
|
||||
{
|
||||
background-color: #504845;
|
||||
}
|
||||
|
||||
.throbber_2
|
||||
{
|
||||
background-color: #736D6B;
|
||||
}
|
||||
|
||||
.throbber_3
|
||||
{
|
||||
background-color: #979391;
|
||||
}
|
||||
|
||||
.throbber_4
|
||||
{
|
||||
background-color: #BAB8B7;
|
||||
}
|
||||
|
||||
.throbber_5
|
||||
{
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
|
@ -1,465 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the editor IFRAME and Toolbar.
|
||||
*/
|
||||
|
||||
/*
|
||||
### Basic Editor IFRAME Styles.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
padding: 1px;
|
||||
margin: 0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#xEditingArea
|
||||
{
|
||||
border: #696969 1px solid;
|
||||
}
|
||||
|
||||
.SourceField
|
||||
{
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar
|
||||
*/
|
||||
|
||||
.TB_ToolbarSet, .TB_Expand, .TB_Collapse
|
||||
{
|
||||
cursor: default;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet
|
||||
{
|
||||
border-top: #f7f7f7 1px outset;
|
||||
border-bottom: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.TB_Toolbar
|
||||
{
|
||||
height: 24px;
|
||||
display: inline-table; /* inline = Opera jumping buttons bug */
|
||||
}
|
||||
|
||||
.TB_Separator
|
||||
{
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
margin: 2px;
|
||||
background-color: #999966;
|
||||
}
|
||||
|
||||
.TB_Start
|
||||
{
|
||||
background-image: url(images/toolbar.start.gif);
|
||||
margin: 2px;
|
||||
width: 3px;
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.TB_End
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TB_ExpandImg
|
||||
{
|
||||
background-image: url(images/toolbar.expand.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_CollapseImg
|
||||
{
|
||||
background-image: url(images/toolbar.collapse.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_SideBorder
|
||||
{
|
||||
background-color: #696969;
|
||||
}
|
||||
|
||||
.TB_Expand, .TB_Collapse
|
||||
{
|
||||
padding: 2px 2px 2px 2px;
|
||||
border: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_Collapse
|
||||
{
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.TB_Break
|
||||
{
|
||||
height: 24px; /* IE needs the height to be set, otherwise no break */
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar Button
|
||||
*/
|
||||
|
||||
.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
|
||||
{
|
||||
border: #f7f7f7 1px solid; /* This is the default border */
|
||||
height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
|
||||
}
|
||||
|
||||
.TB_Button_On
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
||||
.TB_Button_On_Over, .TB_Button_Off_Over
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #dff1ff;
|
||||
}
|
||||
|
||||
.TB_Button_Off
|
||||
{
|
||||
filter: alpha(opacity=70); /* IE */
|
||||
opacity: 0.70; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Disabled
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Image
|
||||
{
|
||||
overflow: hidden;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_Button_Image img
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Button_Text
|
||||
{
|
||||
background-color: #f7f7f7; /* Needed because of a bug on Clear Type */
|
||||
}
|
||||
|
||||
.TB_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
height: 1px;
|
||||
margin-left: 1px; /* ltr */
|
||||
margin-right: 1px; /* rtl */
|
||||
}
|
||||
|
||||
.TB_Text
|
||||
{
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Text
|
||||
{
|
||||
background-color: #f7f7f7 ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
.TB_Button_On_Over .TB_Text
|
||||
{
|
||||
background-color: #dff1ff ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
/*
|
||||
Menu
|
||||
*/
|
||||
|
||||
.MN_Menu
|
||||
{
|
||||
border: 1px solid #8f8f73;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.MN_Menu, .MN_Menu .MN_Label
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.MN_Item_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Icon
|
||||
{
|
||||
background-color: #dedede;
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Label
|
||||
{
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator
|
||||
{
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator_Line
|
||||
{
|
||||
border-top: #b9b99d 1px solid;
|
||||
}
|
||||
|
||||
.MN_Item .MN_Icon IMG
|
||||
{
|
||||
filter: alpha(opacity=70);
|
||||
opacity: 0.70;
|
||||
}
|
||||
|
||||
.MN_Item_Over
|
||||
{
|
||||
color: #ffffff;
|
||||
background-color: #8a857d;
|
||||
}
|
||||
|
||||
.MN_Item_Over .MN_Icon
|
||||
{
|
||||
background-color: #6c6761;
|
||||
}
|
||||
|
||||
.MN_Item_Disabled IMG
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.MN_Item_Disabled .MN_Label
|
||||
{
|
||||
color: #b7b7b7;
|
||||
}
|
||||
|
||||
.MN_Arrow
|
||||
{
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.MN_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.Menu .TB_Button_On, .Menu .TB_Button_On_Over
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
### Panel Styles
|
||||
*/
|
||||
|
||||
.FCK_Panel
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FCK_Panel, .FCK_Panel TD
|
||||
{
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*
|
||||
### Special Combos
|
||||
*/
|
||||
|
||||
.SC_Panel
|
||||
{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
border: 1px solid #8f8f73;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.SC_Panel, .SC_Panel TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.SC_Item, .SC_ItemSelected
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
background-position: left center;
|
||||
padding-left: 11px;
|
||||
padding-right: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
border: #dddddd 1px solid;
|
||||
}
|
||||
|
||||
.SC_Item *, .SC_ItemSelected *
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.SC_ItemSelected
|
||||
{
|
||||
border: #9a9afb 1px solid;
|
||||
background-image: url(images/toolbar.arrowright.gif);
|
||||
}
|
||||
|
||||
.SC_ItemOver
|
||||
{
|
||||
border: #404040 1px solid;
|
||||
}
|
||||
|
||||
.SC_Field
|
||||
{
|
||||
border: #b7b7a6 1px solid;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.SC_FieldCaption
|
||||
{
|
||||
overflow: visible;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
opacity: 0.75; /* Safari, Opera and Mozilla */
|
||||
filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
|
||||
height: 23px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.SC_FieldLabel
|
||||
{
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
background-color: #ffffff;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.SC_FieldButton
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/toolbar.buttonarrow.gif);
|
||||
border-left: #b7b7a6 1px solid;
|
||||
width: 14px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption, .SC_FieldDisabled .TB_ButtonType_Text
|
||||
{
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
|
||||
}
|
||||
|
||||
.SC_FieldOver
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
.SC_FieldOver .SC_FieldButton
|
||||
{
|
||||
border-left: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
/*
|
||||
### Color Selector Panel
|
||||
*/
|
||||
|
||||
.ColorBoxBorder
|
||||
{
|
||||
border: #808080 1px solid;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ColorBox
|
||||
{
|
||||
font-size: 1px;
|
||||
width: 10px;
|
||||
position: static;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.ColorDeselected, .ColorSelected
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ColorDeselected
|
||||
{
|
||||
border: #ffffff 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ColorSelected
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
|
|
@ -1,360 +0,0 @@
|
|||
/*
|
||||
* 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 ==
|
||||
*
|
||||
* Editor configuration settings.
|
||||
*
|
||||
* Follow this link for more information:
|
||||
* http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
|
||||
*/
|
||||
|
||||
FCKConfig.CustomConfigurationsPath = '' ;
|
||||
|
||||
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
|
||||
FCKConfig.EditorAreaStyles = '' ;
|
||||
FCKConfig.ToolbarComboPreviewCSS = '' ;
|
||||
|
||||
FCKConfig.DocType = '' ;
|
||||
|
||||
FCKConfig.BaseHref = '' ;
|
||||
|
||||
FCKConfig.FullPage = false ;
|
||||
|
||||
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
|
||||
FCKConfig.StartupShowBlocks = false ;
|
||||
|
||||
FCKConfig.Debug = false ;
|
||||
FCKConfig.AllowQueryStringDebug = true ;
|
||||
|
||||
FCKConfig.SkinPath = FCKConfig.BasePath + '/' ;
|
||||
FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
|
||||
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
|
||||
|
||||
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
|
||||
|
||||
// FCKConfig.Plugins.Add('autogrow');
|
||||
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
||||
FCKConfig.AutoGrowMax = 400 ;
|
||||
|
||||
// FCKConfig.ProtectedSource.Add(/<%[\s\S]*?%>/g); // ASP style server side code <%...%>
|
||||
// FCKConfig.ProtectedSource.Add(/<\?[\s\S]*?\?>/g); // PHP style server side code
|
||||
// FCKConfig.ProtectedSource.Add(/(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi); // ASP.Net style tags <asp:control>
|
||||
|
||||
FCKConfig.AutoDetectLanguage = true ;
|
||||
FCKConfig.DefaultLanguage = 'en' ;
|
||||
FCKConfig.ContentLangDirection = 'ltr' ;
|
||||
|
||||
FCKConfig.ProcessHTMLEntities = false ;
|
||||
FCKConfig.IncludeLatinEntities = false ;
|
||||
FCKConfig.IncludeGreekEntities = false ;
|
||||
|
||||
FCKConfig.ProcessNumericEntities = false ;
|
||||
|
||||
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
|
||||
|
||||
FCKConfig.FillEmptyBlocks = true ;
|
||||
|
||||
FCKConfig.FormatSource = false ;
|
||||
FCKConfig.FormatOutput = false ;
|
||||
FCKConfig.FormatIndentator = ' ' ;
|
||||
|
||||
FCKConfig.EMailProtection = 'none' ; // none | encode | function
|
||||
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
|
||||
|
||||
FCKConfig.StartupFocus = false ;
|
||||
FCKConfig.ForcePasteAsPlainText = false ;
|
||||
FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
|
||||
FCKConfig.ShowDropDialog = true ;
|
||||
FCKConfig.ForceSimpleAmpersand = false ;
|
||||
FCKConfig.TabSpaces = 0 ;
|
||||
FCKConfig.ShowBorders = true ;
|
||||
FCKConfig.SourcePopup = false ;
|
||||
FCKConfig.ToolbarStartExpanded = false ;
|
||||
FCKConfig.ToolbarCanCollapse = true ;
|
||||
FCKConfig.IgnoreEmptyParagraphValue = true ;
|
||||
FCKConfig.FloatingPanelsZIndex = 10000 ;
|
||||
FCKConfig.HtmlEncodeOutput = false ;
|
||||
|
||||
FCKConfig.TemplateReplaceAll = true ;
|
||||
FCKConfig.TemplateReplaceCheckbox = true ;
|
||||
|
||||
FCKConfig.ToolbarLocation = 'In' ;
|
||||
|
||||
/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */
|
||||
FCKConfig.ToolbarSets["dolibarr_mailings"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','BGColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_notes"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','BGColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_details"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste'],
|
||||
['Undo','Redo'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['SpecialChar'],
|
||||
['FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Default"] = [
|
||||
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
|
||||
'/',
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor'],
|
||||
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
|
||||
'/',
|
||||
['Style','FontFormat','FontName','FontSize'],
|
||||
['TextColor','BGColor'],
|
||||
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Basic"] = [
|
||||
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
|
||||
] ;
|
||||
|
||||
FCKConfig.EnterMode = 'br' ; // p | div | br
|
||||
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
|
||||
|
||||
FCKConfig.Keystrokes = [
|
||||
[ CTRL + 65 /*A*/, true ],
|
||||
[ CTRL + 67 /*C*/, true ],
|
||||
[ CTRL + 70 /*F*/, true ],
|
||||
[ CTRL + 83 /*S*/, true ],
|
||||
[ CTRL + 84 /*T*/, true ],
|
||||
[ CTRL + 88 /*X*/, true ],
|
||||
[ CTRL + 86 /*V*/, 'Paste' ],
|
||||
[ CTRL + 45 /*INS*/, true ],
|
||||
[ SHIFT + 45 /*INS*/, 'Paste' ],
|
||||
[ CTRL + 88 /*X*/, 'Cut' ],
|
||||
[ SHIFT + 46 /*DEL*/, 'Cut' ],
|
||||
[ CTRL + 90 /*Z*/, 'Undo' ],
|
||||
[ CTRL + 89 /*Y*/, 'Redo' ],
|
||||
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
|
||||
[ CTRL + 76 /*L*/, 'Link' ],
|
||||
[ CTRL + 66 /*B*/, 'Bold' ],
|
||||
[ CTRL + 73 /*I*/, 'Italic' ],
|
||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
|
||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||
[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
|
||||
] ;
|
||||
|
||||
//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.BrowserContextMenuOnCtrl = false ;
|
||||
FCKConfig.BrowserContextMenu = false ;
|
||||
|
||||
FCKConfig.EnableMoreFontColors = true ;
|
||||
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
|
||||
|
||||
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
|
||||
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
|
||||
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
|
||||
|
||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||
|
||||
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
|
||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||
FCKConfig.FirefoxSpellChecker = false ;
|
||||
|
||||
FCKConfig.MaxUndoLevels = 15 ;
|
||||
|
||||
FCKConfig.DisableObjectResizing = false ;
|
||||
FCKConfig.DisableFFTableHandles = true ;
|
||||
|
||||
FCKConfig.LinkDlgHideTarget = false ;
|
||||
FCKConfig.LinkDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ImageDlgHideLink = false ;
|
||||
FCKConfig.ImageDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.FlashDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ProtectedTags = '' ;
|
||||
|
||||
// This will be applied to the body element of the editor
|
||||
FCKConfig.BodyId = '' ;
|
||||
FCKConfig.BodyClass = '' ;
|
||||
|
||||
FCKConfig.DefaultStyleLabel = '' ;
|
||||
FCKConfig.DefaultFontFormatLabel = '' ;
|
||||
FCKConfig.DefaultFontLabel = '' ;
|
||||
FCKConfig.DefaultFontSizeLabel = '' ;
|
||||
|
||||
FCKConfig.DefaultLinkTarget = '' ;
|
||||
|
||||
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
|
||||
FCKConfig.CleanWordKeepsStructure = false ;
|
||||
|
||||
// Only inline elements are valid.
|
||||
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
|
||||
|
||||
// Attributes that will be removed
|
||||
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
|
||||
|
||||
FCKConfig.CustomStyles =
|
||||
{
|
||||
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
|
||||
};
|
||||
|
||||
// Do not add, rename or remove styles here. Only apply definition changes.
|
||||
FCKConfig.CoreStyles =
|
||||
{
|
||||
// Basic Inline Styles.
|
||||
'Bold' : { Element : 'strong', Overrides : 'b' },
|
||||
'Italic' : { Element : 'em', Overrides : 'i' },
|
||||
'Underline' : { Element : 'u' },
|
||||
'StrikeThrough' : { Element : 'strike' },
|
||||
'Subscript' : { Element : 'sub' },
|
||||
'Superscript' : { Element : 'sup' },
|
||||
|
||||
// Basic Block Styles (Font Format Combo).
|
||||
'p' : { Element : 'p' },
|
||||
'div' : { Element : 'div' },
|
||||
'pre' : { Element : 'pre' },
|
||||
'address' : { Element : 'address' },
|
||||
'h1' : { Element : 'h1' },
|
||||
'h2' : { Element : 'h2' },
|
||||
'h3' : { Element : 'h3' },
|
||||
'h4' : { Element : 'h4' },
|
||||
'h5' : { Element : 'h5' },
|
||||
'h6' : { Element : 'h6' },
|
||||
|
||||
// Other formatting features.
|
||||
'FontFace' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-family' : '#("Font")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
||||
},
|
||||
|
||||
'Size' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-size' : '#("Size","fontSize")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
||||
},
|
||||
|
||||
'Color' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'color' : '#("Color","color")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
||||
},
|
||||
|
||||
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
|
||||
|
||||
'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
|
||||
};
|
||||
|
||||
// The distance of an indentation step.
|
||||
FCKConfig.IndentLength = 40 ;
|
||||
FCKConfig.IndentUnit = 'px' ;
|
||||
|
||||
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
|
||||
// This overrides the IndentLength/IndentUnit settings.
|
||||
FCKConfig.IndentClasses = [] ;
|
||||
|
||||
// [ Left, Center, Right, Justified ]
|
||||
FCKConfig.JustifyClasses = [] ;
|
||||
|
||||
// The following value defines which File Browser connector and Quick Upload
|
||||
// "uploader" to use. It is valid for the default implementaion and it is here
|
||||
// just to make this configuration file cleaner.
|
||||
// It is not possible to change this value using an external file or even
|
||||
// inline when creating the editor instance. In that cases you must set the
|
||||
// values of LinkBrowserURL, ImageBrowserURL and so on.
|
||||
// Custom implementations should just ignore it.
|
||||
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
|
||||
// Don't care about the following two lines. It just calculates the correct connector
|
||||
// extension to use for the default File Browser (Perl uses "cgi").
|
||||
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
|
||||
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
|
||||
|
||||
FCKConfig.LinkBrowser = true ;
|
||||
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
|
||||
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
|
||||
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
|
||||
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
|
||||
|
||||
FCKConfig.FlashBrowser = true ;
|
||||
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
|
||||
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
|
||||
|
||||
FCKConfig.LinkUpload = false ;
|
||||
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
|
||||
FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all
|
||||
FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged.
|
||||
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
|
||||
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
|
||||
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.FlashUpload = false ;
|
||||
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
|
||||
FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
|
||||
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
|
||||
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
|
||||
FCKConfig.SmileyColumns = 8 ;
|
||||
FCKConfig.SmileyWindowWidth = 320 ;
|
||||
FCKConfig.SmileyWindowHeight = 210 ;
|
||||
|
||||
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
|
||||
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
|
||||
|
||||
FCKConfig.MsWebBrowserControlCompat = false ;
|
||||
|
||||
FCKConfig.PreventSubmitHandler = false ;
|
||||
|
Before Width: | Height: | Size: 48 B |
|
Before Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 200 B |
|
Before Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 105 B |
|
|
@ -1 +0,0 @@
|
|||
Url not available
|
||||
|
|
@ -1,402 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the dialog boxes.
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body, td, input, select, textarea
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||
}
|
||||
|
||||
body, .BackColor
|
||||
{
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupBody
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.PopupTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14pt;
|
||||
color: #504845;
|
||||
background-color: #dedede;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
.PopupButtons
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
border-top: #cec6b5 1px solid;
|
||||
background-color: #DEDEDE;
|
||||
padding: 7px 10px 7px 10px;
|
||||
}
|
||||
|
||||
.Button
|
||||
{
|
||||
border: #7a7261 1px solid;
|
||||
color: #504845;
|
||||
background-color: #cec6b5;
|
||||
}
|
||||
|
||||
#btnOk
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.DarkBackground
|
||||
{
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.LightBackground
|
||||
{
|
||||
background-color: #ffffbe;
|
||||
}
|
||||
|
||||
.PopupTitleBorder
|
||||
{
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTabArea
|
||||
{
|
||||
color: #504845;
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
||||
.PopupTabEmptyArea
|
||||
{
|
||||
padding-left: 10px ;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTab, .PopupTabSelected
|
||||
{
|
||||
border-right: #cec6b5 1px solid;
|
||||
border-top: #cec6b5 1px solid;
|
||||
border-left: #cec6b5 1px solid;
|
||||
padding: 3px 5px 3px 5px;
|
||||
color: #504845;
|
||||
}
|
||||
|
||||
.PopupTab
|
||||
{
|
||||
margin-top: 1px;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.PopupTabSelected
|
||||
{
|
||||
font-weight:bold;
|
||||
cursor: default;
|
||||
padding-top: 4px;
|
||||
border-bottom: #f1f1e3 1px solid;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupSelectionBox
|
||||
{
|
||||
border: #a9a9a9 1px solid !important;
|
||||
background-color: #dcdcdc !important;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
#tdBrowse
|
||||
{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dialog frame related styles.
|
||||
*/
|
||||
|
||||
.contents
|
||||
{
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 20px;
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tl, .tr, .tc, .bl, .br, .bc
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
* html .tl, * html .tr, * html .tc, * html .bl, * html .br, * html .bc
|
||||
{
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.ml, .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .ml, * html .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.rtl .ml, .rtl .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.rtl.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .rtl .ml, * html .rtl .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.tl
|
||||
{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
|
||||
.rtl .tl
|
||||
{
|
||||
background-position: -16px -397px;
|
||||
}
|
||||
|
||||
.tr
|
||||
{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -76px;
|
||||
}
|
||||
|
||||
.rtl .tr
|
||||
{
|
||||
background-position: -16px -457px;
|
||||
}
|
||||
|
||||
.tc
|
||||
{
|
||||
top: 0px;
|
||||
right: 16px;
|
||||
left: 16px;
|
||||
height: 16px;
|
||||
background-position: 0px -136px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.ml
|
||||
{
|
||||
top: 16px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.mr
|
||||
{
|
||||
top: 16px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
|
||||
.bl
|
||||
{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -196px;
|
||||
}
|
||||
|
||||
.rtl .bl
|
||||
{
|
||||
background-position: -16px -517px;
|
||||
}
|
||||
|
||||
.br
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -263px;
|
||||
}
|
||||
|
||||
.rtl .br
|
||||
{
|
||||
background-position: -16px -584px;
|
||||
}
|
||||
|
||||
.bc
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
height: 51px;
|
||||
background-position: 0px -330px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* For IE6. Do not change it. */
|
||||
* html .blocker
|
||||
{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 12;
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
||||
}
|
||||
|
||||
/* The layer used to cover the dialog when opening a child dialog. */
|
||||
.cover
|
||||
{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
bottom: 18px;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
#closeButton
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px -651px;
|
||||
}
|
||||
|
||||
* html #closeButton
|
||||
{
|
||||
cursor: hand;
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.rtl #closeButton
|
||||
{
|
||||
right: auto;
|
||||
left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#closeButton:hover
|
||||
{
|
||||
background-position: -16px -687px;
|
||||
}
|
||||
|
||||
#throbberBlock
|
||||
{
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#throbberBlock div
|
||||
{
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 9px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
font-size: 1px; /* IE6 */
|
||||
}
|
||||
|
||||
/*
|
||||
Color Gradient Generator:
|
||||
http://www.herethere.net/~samson/php/color_gradient/?cbegin=504845&cend=DEDEDE&steps=4
|
||||
*/
|
||||
|
||||
.throbber_1
|
||||
{
|
||||
background-color: #504845;
|
||||
}
|
||||
|
||||
.throbber_2
|
||||
{
|
||||
background-color: #736D6B;
|
||||
}
|
||||
|
||||
.throbber_3
|
||||
{
|
||||
background-color: #979391;
|
||||
}
|
||||
|
||||
.throbber_4
|
||||
{
|
||||
background-color: #BAB8B7;
|
||||
}
|
||||
|
||||
.throbber_5
|
||||
{
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
|
@ -1,465 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the editor IFRAME and Toolbar.
|
||||
*/
|
||||
|
||||
/*
|
||||
### Basic Editor IFRAME Styles.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
padding: 1px;
|
||||
margin: 0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#xEditingArea
|
||||
{
|
||||
border: #696969 1px solid;
|
||||
}
|
||||
|
||||
.SourceField
|
||||
{
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar
|
||||
*/
|
||||
|
||||
.TB_ToolbarSet, .TB_Expand, .TB_Collapse
|
||||
{
|
||||
cursor: default;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet
|
||||
{
|
||||
border-top: #f7f7f7 1px outset;
|
||||
border-bottom: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.TB_Toolbar
|
||||
{
|
||||
height: 24px;
|
||||
display: inline-table; /* inline = Opera jumping buttons bug */
|
||||
}
|
||||
|
||||
.TB_Separator
|
||||
{
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
margin: 2px;
|
||||
background-color: #999966;
|
||||
}
|
||||
|
||||
.TB_Start
|
||||
{
|
||||
background-image: url(images/toolbar.start.gif);
|
||||
margin: 2px;
|
||||
width: 3px;
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.TB_End
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TB_ExpandImg
|
||||
{
|
||||
background-image: url(images/toolbar.expand.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_CollapseImg
|
||||
{
|
||||
background-image: url(images/toolbar.collapse.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_SideBorder
|
||||
{
|
||||
background-color: #696969;
|
||||
}
|
||||
|
||||
.TB_Expand, .TB_Collapse
|
||||
{
|
||||
padding: 2px 2px 2px 2px;
|
||||
border: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_Collapse
|
||||
{
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.TB_Break
|
||||
{
|
||||
height: 24px; /* IE needs the height to be set, otherwise no break */
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar Button
|
||||
*/
|
||||
|
||||
.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
|
||||
{
|
||||
border: #f7f7f7 1px solid; /* This is the default border */
|
||||
height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
|
||||
}
|
||||
|
||||
.TB_Button_On
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
||||
.TB_Button_On_Over, .TB_Button_Off_Over
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #dff1ff;
|
||||
}
|
||||
|
||||
.TB_Button_Off
|
||||
{
|
||||
filter: alpha(opacity=70); /* IE */
|
||||
opacity: 0.70; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Disabled
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Image
|
||||
{
|
||||
overflow: hidden;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_Button_Image img
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Button_Text
|
||||
{
|
||||
background-color: #f7f7f7; /* Needed because of a bug on Clear Type */
|
||||
}
|
||||
|
||||
.TB_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
height: 1px;
|
||||
margin-left: 1px; /* ltr */
|
||||
margin-right: 1px; /* rtl */
|
||||
}
|
||||
|
||||
.TB_Text
|
||||
{
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Text
|
||||
{
|
||||
background-color: #f7f7f7 ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
.TB_Button_On_Over .TB_Text
|
||||
{
|
||||
background-color: #dff1ff ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
/*
|
||||
Menu
|
||||
*/
|
||||
|
||||
.MN_Menu
|
||||
{
|
||||
border: 1px solid #8f8f73;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.MN_Menu, .MN_Menu .MN_Label
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.MN_Item_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Icon
|
||||
{
|
||||
background-color: #dedede;
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Label
|
||||
{
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator
|
||||
{
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator_Line
|
||||
{
|
||||
border-top: #b9b99d 1px solid;
|
||||
}
|
||||
|
||||
.MN_Item .MN_Icon IMG
|
||||
{
|
||||
filter: alpha(opacity=70);
|
||||
opacity: 0.70;
|
||||
}
|
||||
|
||||
.MN_Item_Over
|
||||
{
|
||||
color: #ffffff;
|
||||
background-color: #8a857d;
|
||||
}
|
||||
|
||||
.MN_Item_Over .MN_Icon
|
||||
{
|
||||
background-color: #6c6761;
|
||||
}
|
||||
|
||||
.MN_Item_Disabled IMG
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.MN_Item_Disabled .MN_Label
|
||||
{
|
||||
color: #b7b7b7;
|
||||
}
|
||||
|
||||
.MN_Arrow
|
||||
{
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.MN_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.Menu .TB_Button_On, .Menu .TB_Button_On_Over
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
### Panel Styles
|
||||
*/
|
||||
|
||||
.FCK_Panel
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FCK_Panel, .FCK_Panel TD
|
||||
{
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*
|
||||
### Special Combos
|
||||
*/
|
||||
|
||||
.SC_Panel
|
||||
{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
border: 1px solid #8f8f73;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.SC_Panel, .SC_Panel TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.SC_Item, .SC_ItemSelected
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
background-position: left center;
|
||||
padding-left: 11px;
|
||||
padding-right: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
border: #dddddd 1px solid;
|
||||
}
|
||||
|
||||
.SC_Item *, .SC_ItemSelected *
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.SC_ItemSelected
|
||||
{
|
||||
border: #9a9afb 1px solid;
|
||||
background-image: url(images/toolbar.arrowright.gif);
|
||||
}
|
||||
|
||||
.SC_ItemOver
|
||||
{
|
||||
border: #404040 1px solid;
|
||||
}
|
||||
|
||||
.SC_Field
|
||||
{
|
||||
border: #b7b7a6 1px solid;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.SC_FieldCaption
|
||||
{
|
||||
overflow: visible;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
opacity: 0.75; /* Safari, Opera and Mozilla */
|
||||
filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
|
||||
height: 23px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.SC_FieldLabel
|
||||
{
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
background-color: #ffffff;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.SC_FieldButton
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/toolbar.buttonarrow.gif);
|
||||
border-left: #b7b7a6 1px solid;
|
||||
width: 14px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption, .SC_FieldDisabled .TB_ButtonType_Text
|
||||
{
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
|
||||
}
|
||||
|
||||
.SC_FieldOver
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
.SC_FieldOver .SC_FieldButton
|
||||
{
|
||||
border-left: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
/*
|
||||
### Color Selector Panel
|
||||
*/
|
||||
|
||||
.ColorBoxBorder
|
||||
{
|
||||
border: #808080 1px solid;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ColorBox
|
||||
{
|
||||
font-size: 1px;
|
||||
width: 10px;
|
||||
position: static;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.ColorDeselected, .ColorSelected
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ColorDeselected
|
||||
{
|
||||
border: #ffffff 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ColorSelected
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
|
|
@ -1,359 +0,0 @@
|
|||
/*
|
||||
* 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 ==
|
||||
*
|
||||
* Editor configuration settings.
|
||||
*
|
||||
* Follow this link for more information:
|
||||
* http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
|
||||
*/
|
||||
|
||||
FCKConfig.CustomConfigurationsPath = '' ;
|
||||
|
||||
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
|
||||
FCKConfig.EditorAreaStyles = '' ;
|
||||
FCKConfig.ToolbarComboPreviewCSS = '' ;
|
||||
|
||||
FCKConfig.DocType = '' ;
|
||||
|
||||
FCKConfig.BaseHref = '' ;
|
||||
|
||||
FCKConfig.FullPage = false ;
|
||||
|
||||
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
|
||||
FCKConfig.StartupShowBlocks = false ;
|
||||
|
||||
FCKConfig.Debug = false ;
|
||||
FCKConfig.AllowQueryStringDebug = true ;
|
||||
|
||||
FCKConfig.SkinPath = FCKConfig.BasePath + '/' ;
|
||||
FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
|
||||
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
|
||||
|
||||
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
|
||||
|
||||
// FCKConfig.Plugins.Add('autogrow');
|
||||
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
||||
FCKConfig.AutoGrowMax = 400 ;
|
||||
|
||||
// FCKConfig.ProtectedSource.Add(/<%[\s\S]*?%>/g); // ASP style server side code <%...%>
|
||||
// FCKConfig.ProtectedSource.Add(/<\?[\s\S]*?\?>/g); // PHP style server side code
|
||||
// FCKConfig.ProtectedSource.Add(/(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi); // ASP.Net style tags <asp:control>
|
||||
|
||||
FCKConfig.AutoDetectLanguage = true ;
|
||||
FCKConfig.DefaultLanguage = 'en' ;
|
||||
FCKConfig.ContentLangDirection = 'ltr' ;
|
||||
|
||||
FCKConfig.ProcessHTMLEntities = false ;
|
||||
FCKConfig.IncludeLatinEntities = false ;
|
||||
FCKConfig.IncludeGreekEntities = false ;
|
||||
|
||||
FCKConfig.ProcessNumericEntities = false ;
|
||||
|
||||
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
|
||||
|
||||
FCKConfig.FillEmptyBlocks = true ;
|
||||
|
||||
FCKConfig.FormatSource = false ;
|
||||
FCKConfig.FormatOutput = false ;
|
||||
FCKConfig.FormatIndentator = ' ' ;
|
||||
|
||||
FCKConfig.EMailProtection = 'none' ; // none | encode | function
|
||||
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
|
||||
|
||||
FCKConfig.StartupFocus = false ;
|
||||
FCKConfig.ForcePasteAsPlainText = false ;
|
||||
FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
|
||||
FCKConfig.ShowDropDialog = true ;
|
||||
FCKConfig.ForceSimpleAmpersand = false ;
|
||||
FCKConfig.TabSpaces = 0 ;
|
||||
FCKConfig.ShowBorders = true ;
|
||||
FCKConfig.SourcePopup = false ;
|
||||
FCKConfig.ToolbarStartExpanded = false ;
|
||||
FCKConfig.ToolbarCanCollapse = true ;
|
||||
FCKConfig.IgnoreEmptyParagraphValue = true ;
|
||||
FCKConfig.FloatingPanelsZIndex = 10000 ;
|
||||
FCKConfig.HtmlEncodeOutput = false ;
|
||||
|
||||
FCKConfig.TemplateReplaceAll = true ;
|
||||
FCKConfig.TemplateReplaceCheckbox = true ;
|
||||
|
||||
FCKConfig.ToolbarLocation = 'In' ;
|
||||
|
||||
/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */
|
||||
FCKConfig.ToolbarSets["dolibarr_mailings"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_notes"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_details"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','Preview'],
|
||||
['Undo','Redo'],
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Default"] = [
|
||||
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
|
||||
'/',
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor'],
|
||||
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
|
||||
'/',
|
||||
['Style','FontFormat','FontName','FontSize'],
|
||||
['TextColor','BGColor'],
|
||||
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Basic"] = [
|
||||
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
|
||||
] ;
|
||||
|
||||
FCKConfig.EnterMode = 'br' ; // p | div | br
|
||||
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
|
||||
|
||||
FCKConfig.Keystrokes = [
|
||||
[ CTRL + 65 /*A*/, true ],
|
||||
[ CTRL + 67 /*C*/, true ],
|
||||
[ CTRL + 70 /*F*/, true ],
|
||||
[ CTRL + 83 /*S*/, true ],
|
||||
[ CTRL + 84 /*T*/, true ],
|
||||
[ CTRL + 88 /*X*/, true ],
|
||||
[ CTRL + 86 /*V*/, 'Paste' ],
|
||||
[ CTRL + 45 /*INS*/, true ],
|
||||
[ SHIFT + 45 /*INS*/, 'Paste' ],
|
||||
[ CTRL + 88 /*X*/, 'Cut' ],
|
||||
[ SHIFT + 46 /*DEL*/, 'Cut' ],
|
||||
[ CTRL + 90 /*Z*/, 'Undo' ],
|
||||
[ CTRL + 89 /*Y*/, 'Redo' ],
|
||||
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
|
||||
[ CTRL + 76 /*L*/, 'Link' ],
|
||||
[ CTRL + 66 /*B*/, 'Bold' ],
|
||||
[ CTRL + 73 /*I*/, 'Italic' ],
|
||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
|
||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||
[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
|
||||
] ;
|
||||
|
||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.BrowserContextMenuOnCtrl = false ;
|
||||
FCKConfig.BrowserContextMenu = false ;
|
||||
|
||||
FCKConfig.EnableMoreFontColors = true ;
|
||||
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
|
||||
|
||||
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
|
||||
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
|
||||
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
|
||||
|
||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||
|
||||
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
|
||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||
FCKConfig.FirefoxSpellChecker = false ;
|
||||
|
||||
FCKConfig.MaxUndoLevels = 15 ;
|
||||
|
||||
FCKConfig.DisableObjectResizing = false ;
|
||||
FCKConfig.DisableFFTableHandles = true ;
|
||||
|
||||
FCKConfig.LinkDlgHideTarget = false ;
|
||||
FCKConfig.LinkDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ImageDlgHideLink = false ;
|
||||
FCKConfig.ImageDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.FlashDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ProtectedTags = '' ;
|
||||
|
||||
// This will be applied to the body element of the editor
|
||||
FCKConfig.BodyId = '' ;
|
||||
FCKConfig.BodyClass = '' ;
|
||||
|
||||
FCKConfig.DefaultStyleLabel = '' ;
|
||||
FCKConfig.DefaultFontFormatLabel = '' ;
|
||||
FCKConfig.DefaultFontLabel = '' ;
|
||||
FCKConfig.DefaultFontSizeLabel = '' ;
|
||||
|
||||
FCKConfig.DefaultLinkTarget = '' ;
|
||||
|
||||
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
|
||||
FCKConfig.CleanWordKeepsStructure = false ;
|
||||
|
||||
// Only inline elements are valid.
|
||||
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
|
||||
|
||||
// Attributes that will be removed
|
||||
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
|
||||
|
||||
FCKConfig.CustomStyles =
|
||||
{
|
||||
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
|
||||
};
|
||||
|
||||
// Do not add, rename or remove styles here. Only apply definition changes.
|
||||
FCKConfig.CoreStyles =
|
||||
{
|
||||
// Basic Inline Styles.
|
||||
'Bold' : { Element : 'strong', Overrides : 'b' },
|
||||
'Italic' : { Element : 'em', Overrides : 'i' },
|
||||
'Underline' : { Element : 'u' },
|
||||
'StrikeThrough' : { Element : 'strike' },
|
||||
'Subscript' : { Element : 'sub' },
|
||||
'Superscript' : { Element : 'sup' },
|
||||
|
||||
// Basic Block Styles (Font Format Combo).
|
||||
'p' : { Element : 'p' },
|
||||
'div' : { Element : 'div' },
|
||||
'pre' : { Element : 'pre' },
|
||||
'address' : { Element : 'address' },
|
||||
'h1' : { Element : 'h1' },
|
||||
'h2' : { Element : 'h2' },
|
||||
'h3' : { Element : 'h3' },
|
||||
'h4' : { Element : 'h4' },
|
||||
'h5' : { Element : 'h5' },
|
||||
'h6' : { Element : 'h6' },
|
||||
|
||||
// Other formatting features.
|
||||
'FontFace' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-family' : '#("Font")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
||||
},
|
||||
|
||||
'Size' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-size' : '#("Size","fontSize")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
||||
},
|
||||
|
||||
'Color' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'color' : '#("Color","color")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
||||
},
|
||||
|
||||
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
|
||||
|
||||
'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
|
||||
};
|
||||
|
||||
// The distance of an indentation step.
|
||||
FCKConfig.IndentLength = 40 ;
|
||||
FCKConfig.IndentUnit = 'px' ;
|
||||
|
||||
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
|
||||
// This overrides the IndentLength/IndentUnit settings.
|
||||
FCKConfig.IndentClasses = [] ;
|
||||
|
||||
// [ Left, Center, Right, Justified ]
|
||||
FCKConfig.JustifyClasses = [] ;
|
||||
|
||||
// The following value defines which File Browser connector and Quick Upload
|
||||
// "uploader" to use. It is valid for the default implementaion and it is here
|
||||
// just to make this configuration file cleaner.
|
||||
// It is not possible to change this value using an external file or even
|
||||
// inline when creating the editor instance. In that cases you must set the
|
||||
// values of LinkBrowserURL, ImageBrowserURL and so on.
|
||||
// Custom implementations should just ignore it.
|
||||
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
|
||||
// Don't care about the following two lines. It just calculates the correct connector
|
||||
// extension to use for the default File Browser (Perl uses "cgi").
|
||||
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
|
||||
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
|
||||
|
||||
FCKConfig.LinkBrowser = true ;
|
||||
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
|
||||
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
|
||||
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
|
||||
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
|
||||
|
||||
FCKConfig.FlashBrowser = true ;
|
||||
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
|
||||
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
|
||||
|
||||
FCKConfig.LinkUpload = false ;
|
||||
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
|
||||
FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all
|
||||
FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged.
|
||||
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
|
||||
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
|
||||
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.FlashUpload = false ;
|
||||
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
|
||||
FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
|
||||
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
|
||||
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
|
||||
FCKConfig.SmileyColumns = 8 ;
|
||||
FCKConfig.SmileyWindowWidth = 320 ;
|
||||
FCKConfig.SmileyWindowHeight = 210 ;
|
||||
|
||||
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
|
||||
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
|
||||
|
||||
FCKConfig.MsWebBrowserControlCompat = false ;
|
||||
|
||||
FCKConfig.PreventSubmitHandler = false ;
|
||||
|
Before Width: | Height: | Size: 48 B |
|
Before Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 200 B |
|
Before Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 105 B |
|
|
@ -1 +0,0 @@
|
|||
Url not available
|
||||
|
|
@ -1,402 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the dialog boxes.
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body, td, input, select, textarea
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||
}
|
||||
|
||||
body, .BackColor
|
||||
{
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupBody
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.PopupTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14pt;
|
||||
color: #504845;
|
||||
background-color: #dedede;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
.PopupButtons
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
border-top: #cec6b5 1px solid;
|
||||
background-color: #DEDEDE;
|
||||
padding: 7px 10px 7px 10px;
|
||||
}
|
||||
|
||||
.Button
|
||||
{
|
||||
border: #7a7261 1px solid;
|
||||
color: #504845;
|
||||
background-color: #cec6b5;
|
||||
}
|
||||
|
||||
#btnOk
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.DarkBackground
|
||||
{
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.LightBackground
|
||||
{
|
||||
background-color: #ffffbe;
|
||||
}
|
||||
|
||||
.PopupTitleBorder
|
||||
{
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTabArea
|
||||
{
|
||||
color: #504845;
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
||||
.PopupTabEmptyArea
|
||||
{
|
||||
padding-left: 10px ;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTab, .PopupTabSelected
|
||||
{
|
||||
border-right: #cec6b5 1px solid;
|
||||
border-top: #cec6b5 1px solid;
|
||||
border-left: #cec6b5 1px solid;
|
||||
padding: 3px 5px 3px 5px;
|
||||
color: #504845;
|
||||
}
|
||||
|
||||
.PopupTab
|
||||
{
|
||||
margin-top: 1px;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.PopupTabSelected
|
||||
{
|
||||
font-weight:bold;
|
||||
cursor: default;
|
||||
padding-top: 4px;
|
||||
border-bottom: #f1f1e3 1px solid;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupSelectionBox
|
||||
{
|
||||
border: #a9a9a9 1px solid !important;
|
||||
background-color: #dcdcdc !important;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
#tdBrowse
|
||||
{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dialog frame related styles.
|
||||
*/
|
||||
|
||||
.contents
|
||||
{
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 20px;
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tl, .tr, .tc, .bl, .br, .bc
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
* html .tl, * html .tr, * html .tc, * html .bl, * html .br, * html .bc
|
||||
{
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.ml, .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .ml, * html .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.rtl .ml, .rtl .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.rtl.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .rtl .ml, * html .rtl .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.tl
|
||||
{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
|
||||
.rtl .tl
|
||||
{
|
||||
background-position: -16px -397px;
|
||||
}
|
||||
|
||||
.tr
|
||||
{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -76px;
|
||||
}
|
||||
|
||||
.rtl .tr
|
||||
{
|
||||
background-position: -16px -457px;
|
||||
}
|
||||
|
||||
.tc
|
||||
{
|
||||
top: 0px;
|
||||
right: 16px;
|
||||
left: 16px;
|
||||
height: 16px;
|
||||
background-position: 0px -136px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.ml
|
||||
{
|
||||
top: 16px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.mr
|
||||
{
|
||||
top: 16px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
|
||||
.bl
|
||||
{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -196px;
|
||||
}
|
||||
|
||||
.rtl .bl
|
||||
{
|
||||
background-position: -16px -517px;
|
||||
}
|
||||
|
||||
.br
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -263px;
|
||||
}
|
||||
|
||||
.rtl .br
|
||||
{
|
||||
background-position: -16px -584px;
|
||||
}
|
||||
|
||||
.bc
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
height: 51px;
|
||||
background-position: 0px -330px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* For IE6. Do not change it. */
|
||||
* html .blocker
|
||||
{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 12;
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
||||
}
|
||||
|
||||
/* The layer used to cover the dialog when opening a child dialog. */
|
||||
.cover
|
||||
{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
bottom: 18px;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
#closeButton
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px -651px;
|
||||
}
|
||||
|
||||
* html #closeButton
|
||||
{
|
||||
cursor: hand;
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.rtl #closeButton
|
||||
{
|
||||
right: auto;
|
||||
left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#closeButton:hover
|
||||
{
|
||||
background-position: -16px -687px;
|
||||
}
|
||||
|
||||
#throbberBlock
|
||||
{
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#throbberBlock div
|
||||
{
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 9px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
font-size: 1px; /* IE6 */
|
||||
}
|
||||
|
||||
/*
|
||||
Color Gradient Generator:
|
||||
http://www.herethere.net/~samson/php/color_gradient/?cbegin=504845&cend=DEDEDE&steps=4
|
||||
*/
|
||||
|
||||
.throbber_1
|
||||
{
|
||||
background-color: #504845;
|
||||
}
|
||||
|
||||
.throbber_2
|
||||
{
|
||||
background-color: #736D6B;
|
||||
}
|
||||
|
||||
.throbber_3
|
||||
{
|
||||
background-color: #979391;
|
||||
}
|
||||
|
||||
.throbber_4
|
||||
{
|
||||
background-color: #BAB8B7;
|
||||
}
|
||||
|
||||
.throbber_5
|
||||
{
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
|
@ -1,465 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the editor IFRAME and Toolbar.
|
||||
*/
|
||||
|
||||
/*
|
||||
### Basic Editor IFRAME Styles.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
padding: 1px;
|
||||
margin: 0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#xEditingArea
|
||||
{
|
||||
border: #696969 1px solid;
|
||||
}
|
||||
|
||||
.SourceField
|
||||
{
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar
|
||||
*/
|
||||
|
||||
.TB_ToolbarSet, .TB_Expand, .TB_Collapse
|
||||
{
|
||||
cursor: default;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet
|
||||
{
|
||||
border-top: #f7f7f7 1px outset;
|
||||
border-bottom: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.TB_Toolbar
|
||||
{
|
||||
height: 24px;
|
||||
display: inline-table; /* inline = Opera jumping buttons bug */
|
||||
}
|
||||
|
||||
.TB_Separator
|
||||
{
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
margin: 2px;
|
||||
background-color: #999966;
|
||||
}
|
||||
|
||||
.TB_Start
|
||||
{
|
||||
background-image: url(images/toolbar.start.gif);
|
||||
margin: 2px;
|
||||
width: 3px;
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.TB_End
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TB_ExpandImg
|
||||
{
|
||||
background-image: url(images/toolbar.expand.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_CollapseImg
|
||||
{
|
||||
background-image: url(images/toolbar.collapse.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_SideBorder
|
||||
{
|
||||
background-color: #696969;
|
||||
}
|
||||
|
||||
.TB_Expand, .TB_Collapse
|
||||
{
|
||||
padding: 2px 2px 2px 2px;
|
||||
border: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_Collapse
|
||||
{
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.TB_Break
|
||||
{
|
||||
height: 24px; /* IE needs the height to be set, otherwise no break */
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar Button
|
||||
*/
|
||||
|
||||
.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
|
||||
{
|
||||
border: #f7f7f7 1px solid; /* This is the default border */
|
||||
height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
|
||||
}
|
||||
|
||||
.TB_Button_On
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
||||
.TB_Button_On_Over, .TB_Button_Off_Over
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #dff1ff;
|
||||
}
|
||||
|
||||
.TB_Button_Off
|
||||
{
|
||||
filter: alpha(opacity=70); /* IE */
|
||||
opacity: 0.70; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Disabled
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Image
|
||||
{
|
||||
overflow: hidden;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_Button_Image img
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Button_Text
|
||||
{
|
||||
background-color: #f7f7f7; /* Needed because of a bug on Clear Type */
|
||||
}
|
||||
|
||||
.TB_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
height: 1px;
|
||||
margin-left: 1px; /* ltr */
|
||||
margin-right: 1px; /* rtl */
|
||||
}
|
||||
|
||||
.TB_Text
|
||||
{
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Text
|
||||
{
|
||||
background-color: #f7f7f7 ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
.TB_Button_On_Over .TB_Text
|
||||
{
|
||||
background-color: #dff1ff ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
/*
|
||||
Menu
|
||||
*/
|
||||
|
||||
.MN_Menu
|
||||
{
|
||||
border: 1px solid #8f8f73;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.MN_Menu, .MN_Menu .MN_Label
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.MN_Item_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Icon
|
||||
{
|
||||
background-color: #dedede;
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Label
|
||||
{
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator
|
||||
{
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator_Line
|
||||
{
|
||||
border-top: #b9b99d 1px solid;
|
||||
}
|
||||
|
||||
.MN_Item .MN_Icon IMG
|
||||
{
|
||||
filter: alpha(opacity=70);
|
||||
opacity: 0.70;
|
||||
}
|
||||
|
||||
.MN_Item_Over
|
||||
{
|
||||
color: #ffffff;
|
||||
background-color: #8a857d;
|
||||
}
|
||||
|
||||
.MN_Item_Over .MN_Icon
|
||||
{
|
||||
background-color: #6c6761;
|
||||
}
|
||||
|
||||
.MN_Item_Disabled IMG
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.MN_Item_Disabled .MN_Label
|
||||
{
|
||||
color: #b7b7b7;
|
||||
}
|
||||
|
||||
.MN_Arrow
|
||||
{
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.MN_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.Menu .TB_Button_On, .Menu .TB_Button_On_Over
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
### Panel Styles
|
||||
*/
|
||||
|
||||
.FCK_Panel
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FCK_Panel, .FCK_Panel TD
|
||||
{
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*
|
||||
### Special Combos
|
||||
*/
|
||||
|
||||
.SC_Panel
|
||||
{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
border: 1px solid #8f8f73;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.SC_Panel, .SC_Panel TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.SC_Item, .SC_ItemSelected
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
background-position: left center;
|
||||
padding-left: 11px;
|
||||
padding-right: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
border: #dddddd 1px solid;
|
||||
}
|
||||
|
||||
.SC_Item *, .SC_ItemSelected *
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.SC_ItemSelected
|
||||
{
|
||||
border: #9a9afb 1px solid;
|
||||
background-image: url(images/toolbar.arrowright.gif);
|
||||
}
|
||||
|
||||
.SC_ItemOver
|
||||
{
|
||||
border: #404040 1px solid;
|
||||
}
|
||||
|
||||
.SC_Field
|
||||
{
|
||||
border: #b7b7a6 1px solid;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.SC_FieldCaption
|
||||
{
|
||||
overflow: visible;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
opacity: 0.75; /* Safari, Opera and Mozilla */
|
||||
filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
|
||||
height: 23px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.SC_FieldLabel
|
||||
{
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
background-color: #ffffff;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.SC_FieldButton
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/toolbar.buttonarrow.gif);
|
||||
border-left: #b7b7a6 1px solid;
|
||||
width: 14px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption, .SC_FieldDisabled .TB_ButtonType_Text
|
||||
{
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
|
||||
}
|
||||
|
||||
.SC_FieldOver
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
.SC_FieldOver .SC_FieldButton
|
||||
{
|
||||
border-left: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
/*
|
||||
### Color Selector Panel
|
||||
*/
|
||||
|
||||
.ColorBoxBorder
|
||||
{
|
||||
border: #808080 1px solid;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ColorBox
|
||||
{
|
||||
font-size: 1px;
|
||||
width: 10px;
|
||||
position: static;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.ColorDeselected, .ColorSelected
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ColorDeselected
|
||||
{
|
||||
border: #ffffff 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ColorSelected
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
|
|
@ -1,360 +0,0 @@
|
|||
/*
|
||||
* 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 ==
|
||||
*
|
||||
* Editor configuration settings.
|
||||
*
|
||||
* Follow this link for more information:
|
||||
* http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
|
||||
*/
|
||||
|
||||
FCKConfig.CustomConfigurationsPath = '' ;
|
||||
|
||||
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
|
||||
FCKConfig.EditorAreaStyles = '' ;
|
||||
FCKConfig.ToolbarComboPreviewCSS = '' ;
|
||||
|
||||
FCKConfig.DocType = '' ;
|
||||
|
||||
FCKConfig.BaseHref = '' ;
|
||||
|
||||
FCKConfig.FullPage = false ;
|
||||
|
||||
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
|
||||
FCKConfig.StartupShowBlocks = false ;
|
||||
|
||||
FCKConfig.Debug = false ;
|
||||
FCKConfig.AllowQueryStringDebug = true ;
|
||||
|
||||
FCKConfig.SkinPath = FCKConfig.BasePath + '/' ;
|
||||
FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
|
||||
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
|
||||
|
||||
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
|
||||
|
||||
// FCKConfig.Plugins.Add('autogrow');
|
||||
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
||||
FCKConfig.AutoGrowMax = 400 ;
|
||||
|
||||
// FCKConfig.ProtectedSource.Add(/<%[\s\S]*?%>/g); // ASP style server side code <%...%>
|
||||
// FCKConfig.ProtectedSource.Add(/<\?[\s\S]*?\?>/g); // PHP style server side code
|
||||
// FCKConfig.ProtectedSource.Add(/(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi); // ASP.Net style tags <asp:control>
|
||||
|
||||
FCKConfig.AutoDetectLanguage = true ;
|
||||
FCKConfig.DefaultLanguage = 'en' ;
|
||||
FCKConfig.ContentLangDirection = 'ltr' ;
|
||||
|
||||
FCKConfig.ProcessHTMLEntities = false ;
|
||||
FCKConfig.IncludeLatinEntities = false ;
|
||||
FCKConfig.IncludeGreekEntities = false ;
|
||||
|
||||
FCKConfig.ProcessNumericEntities = false ;
|
||||
|
||||
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
|
||||
|
||||
FCKConfig.FillEmptyBlocks = true ;
|
||||
|
||||
FCKConfig.FormatSource = false ;
|
||||
FCKConfig.FormatOutput = false ;
|
||||
FCKConfig.FormatIndentator = ' ' ;
|
||||
|
||||
FCKConfig.EMailProtection = 'none' ; // none | encode | function
|
||||
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
|
||||
|
||||
FCKConfig.StartupFocus = false ;
|
||||
FCKConfig.ForcePasteAsPlainText = false ;
|
||||
FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
|
||||
FCKConfig.ShowDropDialog = true ;
|
||||
FCKConfig.ForceSimpleAmpersand = false ;
|
||||
FCKConfig.TabSpaces = 0 ;
|
||||
FCKConfig.ShowBorders = true ;
|
||||
FCKConfig.SourcePopup = false ;
|
||||
FCKConfig.ToolbarStartExpanded = false ;
|
||||
FCKConfig.ToolbarCanCollapse = true ;
|
||||
FCKConfig.IgnoreEmptyParagraphValue = true ;
|
||||
FCKConfig.FloatingPanelsZIndex = 10000 ;
|
||||
FCKConfig.HtmlEncodeOutput = false ;
|
||||
|
||||
FCKConfig.TemplateReplaceAll = true ;
|
||||
FCKConfig.TemplateReplaceCheckbox = true ;
|
||||
|
||||
FCKConfig.ToolbarLocation = 'In' ;
|
||||
|
||||
/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */
|
||||
FCKConfig.ToolbarSets["dolibarr_mailings"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_notes"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_details"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste'],
|
||||
['Undo','Redo'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['SpecialChar'],
|
||||
['FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Default"] = [
|
||||
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
|
||||
'/',
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor'],
|
||||
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
|
||||
'/',
|
||||
['Style','FontFormat','FontName','FontSize'],
|
||||
['TextColor','BGColor'],
|
||||
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Basic"] = [
|
||||
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
|
||||
] ;
|
||||
|
||||
FCKConfig.EnterMode = 'br' ; // p | div | br
|
||||
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
|
||||
|
||||
FCKConfig.Keystrokes = [
|
||||
[ CTRL + 65 /*A*/, true ],
|
||||
[ CTRL + 67 /*C*/, true ],
|
||||
[ CTRL + 70 /*F*/, true ],
|
||||
[ CTRL + 83 /*S*/, true ],
|
||||
[ CTRL + 84 /*T*/, true ],
|
||||
[ CTRL + 88 /*X*/, true ],
|
||||
[ CTRL + 86 /*V*/, 'Paste' ],
|
||||
[ CTRL + 45 /*INS*/, true ],
|
||||
[ SHIFT + 45 /*INS*/, 'Paste' ],
|
||||
[ CTRL + 88 /*X*/, 'Cut' ],
|
||||
[ SHIFT + 46 /*DEL*/, 'Cut' ],
|
||||
[ CTRL + 90 /*Z*/, 'Undo' ],
|
||||
[ CTRL + 89 /*Y*/, 'Redo' ],
|
||||
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
|
||||
[ CTRL + 76 /*L*/, 'Link' ],
|
||||
[ CTRL + 66 /*B*/, 'Bold' ],
|
||||
[ CTRL + 73 /*I*/, 'Italic' ],
|
||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
|
||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||
[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
|
||||
] ;
|
||||
|
||||
//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.BrowserContextMenuOnCtrl = false ;
|
||||
FCKConfig.BrowserContextMenu = false ;
|
||||
|
||||
FCKConfig.EnableMoreFontColors = true ;
|
||||
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
|
||||
|
||||
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
|
||||
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
|
||||
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
|
||||
|
||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||
|
||||
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
|
||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||
FCKConfig.FirefoxSpellChecker = false ;
|
||||
|
||||
FCKConfig.MaxUndoLevels = 15 ;
|
||||
|
||||
FCKConfig.DisableObjectResizing = false ;
|
||||
FCKConfig.DisableFFTableHandles = true ;
|
||||
|
||||
FCKConfig.LinkDlgHideTarget = false ;
|
||||
FCKConfig.LinkDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ImageDlgHideLink = false ;
|
||||
FCKConfig.ImageDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.FlashDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ProtectedTags = '' ;
|
||||
|
||||
// This will be applied to the body element of the editor
|
||||
FCKConfig.BodyId = '' ;
|
||||
FCKConfig.BodyClass = '' ;
|
||||
|
||||
FCKConfig.DefaultStyleLabel = '' ;
|
||||
FCKConfig.DefaultFontFormatLabel = '' ;
|
||||
FCKConfig.DefaultFontLabel = '' ;
|
||||
FCKConfig.DefaultFontSizeLabel = '' ;
|
||||
|
||||
FCKConfig.DefaultLinkTarget = '' ;
|
||||
|
||||
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
|
||||
FCKConfig.CleanWordKeepsStructure = false ;
|
||||
|
||||
// Only inline elements are valid.
|
||||
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
|
||||
|
||||
// Attributes that will be removed
|
||||
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
|
||||
|
||||
FCKConfig.CustomStyles =
|
||||
{
|
||||
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
|
||||
};
|
||||
|
||||
// Do not add, rename or remove styles here. Only apply definition changes.
|
||||
FCKConfig.CoreStyles =
|
||||
{
|
||||
// Basic Inline Styles.
|
||||
'Bold' : { Element : 'strong', Overrides : 'b' },
|
||||
'Italic' : { Element : 'em', Overrides : 'i' },
|
||||
'Underline' : { Element : 'u' },
|
||||
'StrikeThrough' : { Element : 'strike' },
|
||||
'Subscript' : { Element : 'sub' },
|
||||
'Superscript' : { Element : 'sup' },
|
||||
|
||||
// Basic Block Styles (Font Format Combo).
|
||||
'p' : { Element : 'p' },
|
||||
'div' : { Element : 'div' },
|
||||
'pre' : { Element : 'pre' },
|
||||
'address' : { Element : 'address' },
|
||||
'h1' : { Element : 'h1' },
|
||||
'h2' : { Element : 'h2' },
|
||||
'h3' : { Element : 'h3' },
|
||||
'h4' : { Element : 'h4' },
|
||||
'h5' : { Element : 'h5' },
|
||||
'h6' : { Element : 'h6' },
|
||||
|
||||
// Other formatting features.
|
||||
'FontFace' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-family' : '#("Font")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
||||
},
|
||||
|
||||
'Size' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-size' : '#("Size","fontSize")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
||||
},
|
||||
|
||||
'Color' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'color' : '#("Color","color")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
||||
},
|
||||
|
||||
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
|
||||
|
||||
'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
|
||||
};
|
||||
|
||||
// The distance of an indentation step.
|
||||
FCKConfig.IndentLength = 40 ;
|
||||
FCKConfig.IndentUnit = 'px' ;
|
||||
|
||||
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
|
||||
// This overrides the IndentLength/IndentUnit settings.
|
||||
FCKConfig.IndentClasses = [] ;
|
||||
|
||||
// [ Left, Center, Right, Justified ]
|
||||
FCKConfig.JustifyClasses = [] ;
|
||||
|
||||
// The following value defines which File Browser connector and Quick Upload
|
||||
// "uploader" to use. It is valid for the default implementaion and it is here
|
||||
// just to make this configuration file cleaner.
|
||||
// It is not possible to change this value using an external file or even
|
||||
// inline when creating the editor instance. In that cases you must set the
|
||||
// values of LinkBrowserURL, ImageBrowserURL and so on.
|
||||
// Custom implementations should just ignore it.
|
||||
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
|
||||
// Don't care about the following two lines. It just calculates the correct connector
|
||||
// extension to use for the default File Browser (Perl uses "cgi").
|
||||
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
|
||||
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
|
||||
|
||||
FCKConfig.LinkBrowser = true ;
|
||||
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
|
||||
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
|
||||
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
|
||||
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
|
||||
|
||||
FCKConfig.FlashBrowser = true ;
|
||||
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
|
||||
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
|
||||
|
||||
FCKConfig.LinkUpload = false ;
|
||||
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
|
||||
FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all
|
||||
FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged.
|
||||
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
|
||||
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
|
||||
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.FlashUpload = false ;
|
||||
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
|
||||
FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
|
||||
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
|
||||
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
|
||||
FCKConfig.SmileyColumns = 8 ;
|
||||
FCKConfig.SmileyWindowWidth = 320 ;
|
||||
FCKConfig.SmileyWindowHeight = 210 ;
|
||||
|
||||
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
|
||||
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
|
||||
|
||||
FCKConfig.MsWebBrowserControlCompat = false ;
|
||||
|
||||
FCKConfig.PreventSubmitHandler = false ;
|
||||
|
Before Width: | Height: | Size: 48 B |
|
Before Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 200 B |
|
Before Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 105 B |
|
|
@ -1 +0,0 @@
|
|||
Url not available
|
||||
|
|
@ -1,402 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the dialog boxes.
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body, td, input, select, textarea
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||
}
|
||||
|
||||
body, .BackColor
|
||||
{
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupBody
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.PopupTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14pt;
|
||||
color: #504845;
|
||||
background-color: #dedede;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
.PopupButtons
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
border-top: #cec6b5 1px solid;
|
||||
background-color: #DEDEDE;
|
||||
padding: 7px 10px 7px 10px;
|
||||
}
|
||||
|
||||
.Button
|
||||
{
|
||||
border: #7a7261 1px solid;
|
||||
color: #504845;
|
||||
background-color: #cec6b5;
|
||||
}
|
||||
|
||||
#btnOk
|
||||
{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.DarkBackground
|
||||
{
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.LightBackground
|
||||
{
|
||||
background-color: #ffffbe;
|
||||
}
|
||||
|
||||
.PopupTitleBorder
|
||||
{
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTabArea
|
||||
{
|
||||
color: #504845;
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
||||
.PopupTabEmptyArea
|
||||
{
|
||||
padding-left: 10px ;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
}
|
||||
|
||||
.PopupTab, .PopupTabSelected
|
||||
{
|
||||
border-right: #cec6b5 1px solid;
|
||||
border-top: #cec6b5 1px solid;
|
||||
border-left: #cec6b5 1px solid;
|
||||
padding: 3px 5px 3px 5px;
|
||||
color: #504845;
|
||||
}
|
||||
|
||||
.PopupTab
|
||||
{
|
||||
margin-top: 1px;
|
||||
border-bottom: #cec6b5 1px solid;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.PopupTabSelected
|
||||
{
|
||||
font-weight:bold;
|
||||
cursor: default;
|
||||
padding-top: 4px;
|
||||
border-bottom: #f1f1e3 1px solid;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.PopupSelectionBox
|
||||
{
|
||||
border: #a9a9a9 1px solid !important;
|
||||
background-color: #dcdcdc !important;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
#tdBrowse
|
||||
{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dialog frame related styles.
|
||||
*/
|
||||
|
||||
.contents
|
||||
{
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 20px;
|
||||
background-color: #f7f7f7;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tl, .tr, .tc, .bl, .br, .bc
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
* html .tl, * html .tr, * html .tc, * html .bl, * html .br, * html .bc
|
||||
{
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.ml, .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .ml, * html .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.rtl .ml, .rtl .mr
|
||||
{
|
||||
position: absolute;
|
||||
background-image: url(images/dialog.sides.rtl.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
* html .rtl .ml, * html .rtl .mr
|
||||
{
|
||||
background-image: url(images/dialog.sides.gif);
|
||||
}
|
||||
|
||||
.tl
|
||||
{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -16px;
|
||||
}
|
||||
|
||||
.rtl .tl
|
||||
{
|
||||
background-position: -16px -397px;
|
||||
}
|
||||
|
||||
.tr
|
||||
{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -16px -76px;
|
||||
}
|
||||
|
||||
.rtl .tr
|
||||
{
|
||||
background-position: -16px -457px;
|
||||
}
|
||||
|
||||
.tc
|
||||
{
|
||||
top: 0px;
|
||||
right: 16px;
|
||||
left: 16px;
|
||||
height: 16px;
|
||||
background-position: 0px -136px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.ml
|
||||
{
|
||||
top: 16px;
|
||||
left: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.mr
|
||||
{
|
||||
top: 16px;
|
||||
right: 0px;
|
||||
width: 16px;
|
||||
bottom: 51px;
|
||||
background-position: -16px 0px;
|
||||
}
|
||||
|
||||
.bl
|
||||
{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -196px;
|
||||
}
|
||||
|
||||
.rtl .bl
|
||||
{
|
||||
background-position: -16px -517px;
|
||||
}
|
||||
|
||||
.br
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 51px;
|
||||
background-position: -16px -263px;
|
||||
}
|
||||
|
||||
.rtl .br
|
||||
{
|
||||
background-position: -16px -584px;
|
||||
}
|
||||
|
||||
.bc
|
||||
{
|
||||
bottom: 0px;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
height: 51px;
|
||||
background-position: 0px -330px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* For IE6. Do not change it. */
|
||||
* html .blocker
|
||||
{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 12;
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
|
||||
}
|
||||
|
||||
/* The layer used to cover the dialog when opening a child dialog. */
|
||||
.cover
|
||||
{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 14px;
|
||||
right: 14px;
|
||||
bottom: 18px;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
#closeButton
|
||||
{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
background-image: url(images/sprites.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -16px -651px;
|
||||
}
|
||||
|
||||
* html #closeButton
|
||||
{
|
||||
cursor: hand;
|
||||
background-image: url(images/sprites.gif);
|
||||
}
|
||||
|
||||
.rtl #closeButton
|
||||
{
|
||||
right: auto;
|
||||
left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#closeButton:hover
|
||||
{
|
||||
background-position: -16px -687px;
|
||||
}
|
||||
|
||||
#throbberBlock
|
||||
{
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#throbberBlock div
|
||||
{
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 9px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
font-size: 1px; /* IE6 */
|
||||
}
|
||||
|
||||
/*
|
||||
Color Gradient Generator:
|
||||
http://www.herethere.net/~samson/php/color_gradient/?cbegin=504845&cend=DEDEDE&steps=4
|
||||
*/
|
||||
|
||||
.throbber_1
|
||||
{
|
||||
background-color: #504845;
|
||||
}
|
||||
|
||||
.throbber_2
|
||||
{
|
||||
background-color: #736D6B;
|
||||
}
|
||||
|
||||
.throbber_3
|
||||
{
|
||||
background-color: #979391;
|
||||
}
|
||||
|
||||
.throbber_4
|
||||
{
|
||||
background-color: #BAB8B7;
|
||||
}
|
||||
|
||||
.throbber_5
|
||||
{
|
||||
background-color: #DEDEDE;
|
||||
}
|
||||
|
|
@ -1,465 +0,0 @@
|
|||
/*
|
||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||
* Copyright (C) 2003-2008 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 ==
|
||||
*
|
||||
* Styles used by the editor IFRAME and Toolbar.
|
||||
*/
|
||||
|
||||
/*
|
||||
### Basic Editor IFRAME Styles.
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
padding: 1px;
|
||||
margin: 0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#xEditingArea
|
||||
{
|
||||
border: #696969 1px solid;
|
||||
}
|
||||
|
||||
.SourceField
|
||||
{
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar
|
||||
*/
|
||||
|
||||
.TB_ToolbarSet, .TB_Expand, .TB_Collapse
|
||||
{
|
||||
cursor: default;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet
|
||||
{
|
||||
border-top: #f7f7f7 1px outset;
|
||||
border-bottom: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_ToolbarSet TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.TB_Toolbar
|
||||
{
|
||||
height: 24px;
|
||||
display: inline-table; /* inline = Opera jumping buttons bug */
|
||||
}
|
||||
|
||||
.TB_Separator
|
||||
{
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
margin: 2px;
|
||||
background-color: #999966;
|
||||
}
|
||||
|
||||
.TB_Start
|
||||
{
|
||||
background-image: url(images/toolbar.start.gif);
|
||||
margin: 2px;
|
||||
width: 3px;
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.TB_End
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TB_ExpandImg
|
||||
{
|
||||
background-image: url(images/toolbar.expand.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_CollapseImg
|
||||
{
|
||||
background-image: url(images/toolbar.collapse.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_SideBorder
|
||||
{
|
||||
background-color: #696969;
|
||||
}
|
||||
|
||||
.TB_Expand, .TB_Collapse
|
||||
{
|
||||
padding: 2px 2px 2px 2px;
|
||||
border: #f7f7f7 1px outset;
|
||||
}
|
||||
|
||||
.TB_Collapse
|
||||
{
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.TB_Break
|
||||
{
|
||||
height: 24px; /* IE needs the height to be set, otherwise no break */
|
||||
}
|
||||
|
||||
/*
|
||||
Toolbar Button
|
||||
*/
|
||||
|
||||
.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled
|
||||
{
|
||||
border: #f7f7f7 1px solid; /* This is the default border */
|
||||
height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */
|
||||
}
|
||||
|
||||
.TB_Button_On
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
||||
.TB_Button_On_Over, .TB_Button_Off_Over
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
background-color: #dff1ff;
|
||||
}
|
||||
|
||||
.TB_Button_Off
|
||||
{
|
||||
filter: alpha(opacity=70); /* IE */
|
||||
opacity: 0.70; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Disabled
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.TB_Button_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Image
|
||||
{
|
||||
overflow: hidden;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.TB_Button_Image img
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Button_Text
|
||||
{
|
||||
background-color: #f7f7f7; /* Needed because of a bug on Clear Type */
|
||||
}
|
||||
|
||||
.TB_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
height: 1px;
|
||||
margin-left: 1px; /* ltr */
|
||||
margin-right: 1px; /* rtl */
|
||||
}
|
||||
|
||||
.TB_Text
|
||||
{
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.TB_Button_Off .TB_Text
|
||||
{
|
||||
background-color: #f7f7f7 ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
.TB_Button_On_Over .TB_Text
|
||||
{
|
||||
background-color: #dff1ff ; /* Needed because of a bug on ClearType */
|
||||
}
|
||||
|
||||
/*
|
||||
Menu
|
||||
*/
|
||||
|
||||
.MN_Menu
|
||||
{
|
||||
border: 1px solid #8f8f73;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.MN_Menu, .MN_Menu .MN_Label
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.MN_Item_Padding
|
||||
{
|
||||
visibility: hidden;
|
||||
width: 3px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Icon
|
||||
{
|
||||
background-color: #dedede;
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.MN_Label
|
||||
{
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator
|
||||
{
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.MN_Separator_Line
|
||||
{
|
||||
border-top: #b9b99d 1px solid;
|
||||
}
|
||||
|
||||
.MN_Item .MN_Icon IMG
|
||||
{
|
||||
filter: alpha(opacity=70);
|
||||
opacity: 0.70;
|
||||
}
|
||||
|
||||
.MN_Item_Over
|
||||
{
|
||||
color: #ffffff;
|
||||
background-color: #8a857d;
|
||||
}
|
||||
|
||||
.MN_Item_Over .MN_Icon
|
||||
{
|
||||
background-color: #6c6761;
|
||||
}
|
||||
|
||||
.MN_Item_Disabled IMG
|
||||
{
|
||||
filter: gray() alpha(opacity=30); /* IE */
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
}
|
||||
|
||||
.MN_Item_Disabled .MN_Label
|
||||
{
|
||||
color: #b7b7b7;
|
||||
}
|
||||
|
||||
.MN_Arrow
|
||||
{
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.MN_ConnectionLine
|
||||
{
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.Menu .TB_Button_On, .Menu .TB_Button_On_Over
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
### Panel Styles
|
||||
*/
|
||||
|
||||
.FCK_Panel
|
||||
{
|
||||
border: #8f8f73 1px solid;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.FCK_Panel, .FCK_Panel TD
|
||||
{
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/*
|
||||
### Special Combos
|
||||
*/
|
||||
|
||||
.SC_Panel
|
||||
{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
border: 1px solid #8f8f73;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.SC_Panel, .SC_Panel TD
|
||||
{
|
||||
font-size: 11px;
|
||||
font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
.SC_Item, .SC_ItemSelected
|
||||
{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
background-position: left center;
|
||||
padding-left: 11px;
|
||||
padding-right: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
border: #dddddd 1px solid;
|
||||
}
|
||||
|
||||
.SC_Item *, .SC_ItemSelected *
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.SC_ItemSelected
|
||||
{
|
||||
border: #9a9afb 1px solid;
|
||||
background-image: url(images/toolbar.arrowright.gif);
|
||||
}
|
||||
|
||||
.SC_ItemOver
|
||||
{
|
||||
border: #404040 1px solid;
|
||||
}
|
||||
|
||||
.SC_Field
|
||||
{
|
||||
border: #b7b7a6 1px solid;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.SC_FieldCaption
|
||||
{
|
||||
overflow: visible;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
opacity: 0.75; /* Safari, Opera and Mozilla */
|
||||
filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */
|
||||
height: 23px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.SC_FieldLabel
|
||||
{
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
cursor: default;
|
||||
background-color: #ffffff;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.SC_FieldButton
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(images/toolbar.buttonarrow.gif);
|
||||
border-left: #b7b7a6 1px solid;
|
||||
width: 14px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption, .SC_FieldDisabled .TB_ButtonType_Text
|
||||
{
|
||||
opacity: 0.30; /* Safari, Opera and Mozilla */
|
||||
filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */
|
||||
}
|
||||
|
||||
.SC_FieldOver
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
.SC_FieldOver .SC_FieldButton
|
||||
{
|
||||
border-left: #316ac5 1px solid;
|
||||
}
|
||||
|
||||
/*
|
||||
### Color Selector Panel
|
||||
*/
|
||||
|
||||
.ColorBoxBorder
|
||||
{
|
||||
border: #808080 1px solid;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ColorBox
|
||||
{
|
||||
font-size: 1px;
|
||||
width: 10px;
|
||||
position: static;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.ColorDeselected, .ColorSelected
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ColorDeselected
|
||||
{
|
||||
border: #ffffff 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ColorSelected
|
||||
{
|
||||
border: #316ac5 1px solid;
|
||||
padding: 2px;
|
||||
float: left;
|
||||
background-color: #c1d2ee;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
|
|
@ -1,360 +0,0 @@
|
|||
/*
|
||||
* 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 ==
|
||||
*
|
||||
* Editor configuration settings.
|
||||
*
|
||||
* Follow this link for more information:
|
||||
* http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
|
||||
*/
|
||||
|
||||
FCKConfig.CustomConfigurationsPath = '' ;
|
||||
|
||||
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
|
||||
FCKConfig.EditorAreaStyles = '' ;
|
||||
FCKConfig.ToolbarComboPreviewCSS = '' ;
|
||||
|
||||
FCKConfig.DocType = '' ;
|
||||
|
||||
FCKConfig.BaseHref = '' ;
|
||||
|
||||
FCKConfig.FullPage = false ;
|
||||
|
||||
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
|
||||
FCKConfig.StartupShowBlocks = false ;
|
||||
|
||||
FCKConfig.Debug = false ;
|
||||
FCKConfig.AllowQueryStringDebug = true ;
|
||||
|
||||
FCKConfig.SkinPath = FCKConfig.BasePath + '/' ;
|
||||
FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
|
||||
|
||||
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
|
||||
|
||||
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
|
||||
|
||||
// FCKConfig.Plugins.Add('autogrow');
|
||||
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
||||
FCKConfig.AutoGrowMax = 400 ;
|
||||
|
||||
// FCKConfig.ProtectedSource.Add(/<%[\s\S]*?%>/g); // ASP style server side code <%...%>
|
||||
// FCKConfig.ProtectedSource.Add(/<\?[\s\S]*?\?>/g); // PHP style server side code
|
||||
// FCKConfig.ProtectedSource.Add(/(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi); // ASP.Net style tags <asp:control>
|
||||
|
||||
FCKConfig.AutoDetectLanguage = true ;
|
||||
FCKConfig.DefaultLanguage = 'en' ;
|
||||
FCKConfig.ContentLangDirection = 'ltr' ;
|
||||
|
||||
FCKConfig.ProcessHTMLEntities = false ;
|
||||
FCKConfig.IncludeLatinEntities = false ;
|
||||
FCKConfig.IncludeGreekEntities = false ;
|
||||
|
||||
FCKConfig.ProcessNumericEntities = false ;
|
||||
|
||||
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
|
||||
|
||||
FCKConfig.FillEmptyBlocks = true ;
|
||||
|
||||
FCKConfig.FormatSource = false ;
|
||||
FCKConfig.FormatOutput = false ;
|
||||
FCKConfig.FormatIndentator = ' ' ;
|
||||
|
||||
FCKConfig.EMailProtection = 'none' ; // none | encode | function
|
||||
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
|
||||
|
||||
FCKConfig.StartupFocus = false ;
|
||||
FCKConfig.ForcePasteAsPlainText = false ;
|
||||
FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
|
||||
FCKConfig.ShowDropDialog = true ;
|
||||
FCKConfig.ForceSimpleAmpersand = false ;
|
||||
FCKConfig.TabSpaces = 0 ;
|
||||
FCKConfig.ShowBorders = true ;
|
||||
FCKConfig.SourcePopup = false ;
|
||||
FCKConfig.ToolbarStartExpanded = false ;
|
||||
FCKConfig.ToolbarCanCollapse = true ;
|
||||
FCKConfig.IgnoreEmptyParagraphValue = true ;
|
||||
FCKConfig.FloatingPanelsZIndex = 10000 ;
|
||||
FCKConfig.HtmlEncodeOutput = false ;
|
||||
|
||||
FCKConfig.TemplateReplaceAll = true ;
|
||||
FCKConfig.TemplateReplaceCheckbox = true ;
|
||||
|
||||
FCKConfig.ToolbarLocation = 'In' ;
|
||||
|
||||
/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */
|
||||
FCKConfig.ToolbarSets["dolibarr_mailings"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_notes"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste','-','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Image','Table','Rule','SpecialChar'],
|
||||
['FontName','FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["dolibarr_details"] = [
|
||||
['FitWindow','Source'],
|
||||
['Cut','Copy','Paste'],
|
||||
['Undo','Redo'],
|
||||
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','SpecialChar'],
|
||||
['FontSize']
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Default"] = [
|
||||
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
|
||||
'/',
|
||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||
['Link','Unlink','Anchor'],
|
||||
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
|
||||
'/',
|
||||
['Style','FontFormat','FontName','FontSize'],
|
||||
['TextColor','BGColor'],
|
||||
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
|
||||
] ;
|
||||
|
||||
FCKConfig.ToolbarSets["Basic"] = [
|
||||
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
|
||||
] ;
|
||||
|
||||
FCKConfig.EnterMode = 'br' ; // p | div | br
|
||||
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br
|
||||
|
||||
FCKConfig.Keystrokes = [
|
||||
[ CTRL + 65 /*A*/, true ],
|
||||
[ CTRL + 67 /*C*/, true ],
|
||||
[ CTRL + 70 /*F*/, true ],
|
||||
[ CTRL + 83 /*S*/, true ],
|
||||
[ CTRL + 84 /*T*/, true ],
|
||||
[ CTRL + 88 /*X*/, true ],
|
||||
[ CTRL + 86 /*V*/, 'Paste' ],
|
||||
[ CTRL + 45 /*INS*/, true ],
|
||||
[ SHIFT + 45 /*INS*/, 'Paste' ],
|
||||
[ CTRL + 88 /*X*/, 'Cut' ],
|
||||
[ SHIFT + 46 /*DEL*/, 'Cut' ],
|
||||
[ CTRL + 90 /*Z*/, 'Undo' ],
|
||||
[ CTRL + 89 /*Y*/, 'Redo' ],
|
||||
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
|
||||
[ CTRL + 76 /*L*/, 'Link' ],
|
||||
[ CTRL + 66 /*B*/, 'Bold' ],
|
||||
[ CTRL + 73 /*I*/, 'Italic' ],
|
||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
|
||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||
[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
|
||||
] ;
|
||||
|
||||
//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
|
||||
FCKConfig.BrowserContextMenuOnCtrl = false ;
|
||||
FCKConfig.BrowserContextMenu = false ;
|
||||
|
||||
FCKConfig.EnableMoreFontColors = true ;
|
||||
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
|
||||
|
||||
FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
|
||||
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
|
||||
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
|
||||
|
||||
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
|
||||
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
|
||||
|
||||
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
|
||||
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
|
||||
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
|
||||
FCKConfig.FirefoxSpellChecker = false ;
|
||||
|
||||
FCKConfig.MaxUndoLevels = 15 ;
|
||||
|
||||
FCKConfig.DisableObjectResizing = false ;
|
||||
FCKConfig.DisableFFTableHandles = true ;
|
||||
|
||||
FCKConfig.LinkDlgHideTarget = false ;
|
||||
FCKConfig.LinkDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ImageDlgHideLink = false ;
|
||||
FCKConfig.ImageDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.FlashDlgHideAdvanced = false ;
|
||||
|
||||
FCKConfig.ProtectedTags = '' ;
|
||||
|
||||
// This will be applied to the body element of the editor
|
||||
FCKConfig.BodyId = '' ;
|
||||
FCKConfig.BodyClass = '' ;
|
||||
|
||||
FCKConfig.DefaultStyleLabel = '' ;
|
||||
FCKConfig.DefaultFontFormatLabel = '' ;
|
||||
FCKConfig.DefaultFontLabel = '' ;
|
||||
FCKConfig.DefaultFontSizeLabel = '' ;
|
||||
|
||||
FCKConfig.DefaultLinkTarget = '' ;
|
||||
|
||||
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
|
||||
FCKConfig.CleanWordKeepsStructure = false ;
|
||||
|
||||
// Only inline elements are valid.
|
||||
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
|
||||
|
||||
// Attributes that will be removed
|
||||
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
|
||||
|
||||
FCKConfig.CustomStyles =
|
||||
{
|
||||
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
|
||||
};
|
||||
|
||||
// Do not add, rename or remove styles here. Only apply definition changes.
|
||||
FCKConfig.CoreStyles =
|
||||
{
|
||||
// Basic Inline Styles.
|
||||
'Bold' : { Element : 'strong', Overrides : 'b' },
|
||||
'Italic' : { Element : 'em', Overrides : 'i' },
|
||||
'Underline' : { Element : 'u' },
|
||||
'StrikeThrough' : { Element : 'strike' },
|
||||
'Subscript' : { Element : 'sub' },
|
||||
'Superscript' : { Element : 'sup' },
|
||||
|
||||
// Basic Block Styles (Font Format Combo).
|
||||
'p' : { Element : 'p' },
|
||||
'div' : { Element : 'div' },
|
||||
'pre' : { Element : 'pre' },
|
||||
'address' : { Element : 'address' },
|
||||
'h1' : { Element : 'h1' },
|
||||
'h2' : { Element : 'h2' },
|
||||
'h3' : { Element : 'h3' },
|
||||
'h4' : { Element : 'h4' },
|
||||
'h5' : { Element : 'h5' },
|
||||
'h6' : { Element : 'h6' },
|
||||
|
||||
// Other formatting features.
|
||||
'FontFace' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-family' : '#("Font")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]
|
||||
},
|
||||
|
||||
'Size' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'font-size' : '#("Size","fontSize")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
|
||||
},
|
||||
|
||||
'Color' :
|
||||
{
|
||||
Element : 'span',
|
||||
Styles : { 'color' : '#("Color","color")' },
|
||||
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]
|
||||
},
|
||||
|
||||
'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
|
||||
|
||||
'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
|
||||
};
|
||||
|
||||
// The distance of an indentation step.
|
||||
FCKConfig.IndentLength = 40 ;
|
||||
FCKConfig.IndentUnit = 'px' ;
|
||||
|
||||
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
|
||||
// This overrides the IndentLength/IndentUnit settings.
|
||||
FCKConfig.IndentClasses = [] ;
|
||||
|
||||
// [ Left, Center, Right, Justified ]
|
||||
FCKConfig.JustifyClasses = [] ;
|
||||
|
||||
// The following value defines which File Browser connector and Quick Upload
|
||||
// "uploader" to use. It is valid for the default implementaion and it is here
|
||||
// just to make this configuration file cleaner.
|
||||
// It is not possible to change this value using an external file or even
|
||||
// inline when creating the editor instance. In that cases you must set the
|
||||
// values of LinkBrowserURL, ImageBrowserURL and so on.
|
||||
// Custom implementations should just ignore it.
|
||||
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
|
||||
|
||||
// Don't care about the following two lines. It just calculates the correct connector
|
||||
// extension to use for the default File Browser (Perl uses "cgi").
|
||||
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
|
||||
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
|
||||
|
||||
FCKConfig.LinkBrowser = true ;
|
||||
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
|
||||
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
|
||||
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
|
||||
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
|
||||
|
||||
FCKConfig.FlashBrowser = true ;
|
||||
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
|
||||
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
|
||||
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
|
||||
|
||||
FCKConfig.LinkUpload = false ;
|
||||
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
|
||||
FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all
|
||||
FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged.
|
||||
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
|
||||
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
|
||||
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.FlashUpload = false ;
|
||||
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
|
||||
FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
|
||||
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
|
||||
|
||||
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
|
||||
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
|
||||
FCKConfig.SmileyColumns = 8 ;
|
||||
FCKConfig.SmileyWindowWidth = 320 ;
|
||||
FCKConfig.SmileyWindowHeight = 210 ;
|
||||
|
||||
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
|
||||
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
|
||||
|
||||
FCKConfig.MsWebBrowserControlCompat = false ;
|
||||
|
||||
FCKConfig.PreventSubmitHandler = false ;
|
||||
|
Before Width: | Height: | Size: 48 B |
|
Before Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 200 B |
|
Before Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 105 B |
|
|
@ -1 +0,0 @@
|
|||
Url not available
|
||||