You can subscribe to this list here.
| 2004 |
Jan
|
Feb
(11) |
Mar
(106) |
Apr
(146) |
May
(79) |
Jun
(233) |
Jul
(218) |
Aug
(160) |
Sep
(155) |
Oct
(80) |
Nov
(176) |
Dec
(115) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(77) |
Feb
(106) |
Mar
(10) |
Apr
(54) |
May
(29) |
Jun
(29) |
Jul
(65) |
Aug
(80) |
Sep
|
Oct
(42) |
Nov
(45) |
Dec
(33) |
| 2006 |
Jan
(49) |
Feb
(52) |
Mar
(8) |
Apr
(3) |
May
(108) |
Jun
(43) |
Jul
(13) |
Aug
(1) |
Sep
(58) |
Oct
(66) |
Nov
(70) |
Dec
(115) |
| 2007 |
Jan
(26) |
Feb
(3) |
Mar
(17) |
Apr
(1) |
May
(4) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(10) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
| 2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:50
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/dialog Added Files: fck_source.html fck_smiley.html fck_colorselector.html fck_link.html Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: fck_colorselector.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_colorselector.html * Color Selection dialog window. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex, nofollow" /> <style TYPE="text/css"> #ColorTable { cursor: pointer ; cursor: hand ; } #hicolor { height: 74px ; width: 74px ; border-width: 1px ; border-style: solid ; } #hicolortext { width: 75px ; text-align: right ; margin-bottom: 7px ; } #selhicolor { height: 20px ; width: 74px ; border-width: 1px ; border-style: solid ; } #selcolor { width: 75px ; height: 20px ; margin-top: 0px ; margin-bottom: 7px ; } #btnClear { width: 75px ; height: 22px ; margin-bottom: 6px ; } .ColorCell { height: 15px ; width: 15px ; } </style> <script type="text/javascript"> var oEditor = window.parent.InnerDialogLoaded() ; function OnLoad() { // First of all, translate the dialog box texts oEditor.FCKLanguageManager.TranslatePage(document) ; CreateColorTable() ; window.parent.SetOkButton( true ) ; window.parent.SetAutoSize( true ) ; } function CreateColorTable() { // Get the target table. var oTable = document.getElementById('ColorTable') ; // Create the base colors array. var aColors = ['00','33','66','99','cc','ff'] ; // This function combines two ranges of three values from the color array into a row. function AppendColorRow( rangeA, rangeB ) { for ( var i = rangeA ; i < rangeA + 3 ; i++ ) { var oRow = oTable.insertRow(-1) ; for ( var j = rangeB ; j < rangeB + 3 ; j++ ) { for ( var n = 0 ; n < 6 ; n++ ) { AppendColorCell( oRow, '#' + aColors[j] + aColors[n] + aColors[i] ) ; } } } } // This function create a single color cell in the color table. function AppendColorCell( targetRow, color ) { var oCell = targetRow.insertCell(-1) ; oCell.className = 'ColorCell' ; oCell.bgColor = color ; oCell.onmouseover = function() { document.getElementById('hicolor').style.backgroundColor = this.bgColor ; document.getElementById('hicolortext').innerHTML = this.bgColor ; } oCell.onclick = function() { document.getElementById('selhicolor').style.backgroundColor = this.bgColor ; document.getElementById('selcolor').value = this.bgColor ; } } AppendColorRow( 0, 0 ) ; AppendColorRow( 3, 0 ) ; AppendColorRow( 0, 3 ) ; AppendColorRow( 3, 3 ) ; // Create the last row. var oRow = oTable.insertRow(-1) ; // Create the gray scale colors cells. for ( var n = 0 ; n < 6 ; n++ ) { AppendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ; } // Fill the row with black cells. for ( var i = 0 ; i < 12 ; i++ ) { AppendColorCell( oRow, '#000000' ) ; } } function Clear() { document.getElementById('selhicolor').style.backgroundColor = '' ; document.getElementById('selcolor').value = '' ; } function ClearActual() { document.getElementById('hicolor').style.backgroundColor = '' ; document.getElementById('hicolortext').innerHTML = ' ' ; } function UpdateColor() { try { document.getElementById('selhicolor').style.backgroundColor = document.getElementById('selcolor').value ; } catch (e) { Clear() ; } } function Ok() { if ( typeof(window.parent.dialogArguments.CustomValue) == 'function' ) window.parent.dialogArguments.CustomValue( document.getElementById('selcolor').value ) ; return true ; } </script> </head> <body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden"> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"> <tr> <td align="center" valign="middle"> <table border="0" cellspacing="5" cellpadding="0" width="100%"> <tr> <td valign="top" align="center" nowrap width="100%"> <table id="ColorTable" border="0" cellspacing="0" cellpadding="0" width="270" onmouseout="ClearActual();"> </table> </td> <td valign="top" align="left" nowrap> <span fckLang="DlgColorHighlight">Highlight</span> <div id="hicolor"></div> <div id="hicolortext"> </div> <span fckLang="DlgColorSelected">Selected</span> <div id="selhicolor"></div> <input id="selcolor" type="text" maxlength="20" onchange="UpdateColor();"> <br> <input id="btnClear" type="button" fckLang="DlgColorBtnClear" value="Clear" onclick="Clear();" /> </td> </tr> </table> </td> </tr> </table> </body> </html> --- NEW FILE: fck_source.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_source.html * Source editor dialog window. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head> <title>Source</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> <script language="javascript"> var oEditor = window.parent.InnerDialogLoaded() ; var FCK = oEditor.FCK ; var FCKConfig = oEditor.FCKConfig ; window.onload = function() { // EnableXHTML and EnableSourceXHTML has been deprecated // document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ; document.getElementById('txtSource').value = FCK.GetXHTML( FCKConfig.FormatSource ) ; // Activate the "OK" button. window.parent.SetOkButton( true ) ; } //#### The OK button was hit. function Ok() { if ( oEditor.FCKBrowserInfo.IsIE ) oEditor.FCKUndo.SaveUndoStep() ; FCK.SetHTML( document.getElementById('txtSource').value, false ) ; return true ; } </script> </head> <body scroll="no" style="OVERFLOW: hidden"> <table width="100%" height="100%"> <tr> <td height="100%"><textarea id="txtSource" dir="ltr" style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 14px; PADDING-BOTTOM: 5px; WIDTH: 100%; PADDING-TOP: 5px; FONT-FAMILY: Monospace; HEIGHT: 100%">Loading. Please wait...</textarea></td> </tr> </table> </body> </html> --- NEW FILE: fck_smiley.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_smiley.html * Smileys (emoticons) dialog window. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex, nofollow" /> <style type="text/css"> .HandIE { cursor: hand ; } .HandMozilla { cursor: pointer ; } </style> <script type="text/javascript"> var oEditor = window.parent.InnerDialogLoaded() ; window.onload = function () { // First of all, translate the dialog box texts oEditor.FCKLanguageManager.TranslatePage(document) ; } function InsertSmiley( url ) { var oImg = oEditor.FCK.CreateElement( 'IMG' ) ; oImg.src = url ; oImg.setAttribute( '_fcksavedurl', url ) ; window.parent.Cancel() ; } function over(td) { td.className = 'LightBackground HandIE HandMozilla' ; } function out(td) { td.className = 'DarkBackground HandIE HandMozilla' ; } </script> </head> <body scroll="no"> <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%"> <script type="text/javascript"> <!-- var FCKConfig = oEditor.FCKConfig ; var sBasePath = FCKConfig.SmileyPath ; var aImages = FCKConfig.SmileyImages ; var cols = FCKConfig.SmileyColumns ; var i = 0 ; while (i < aImages.length) { document.write("<TR>") ; for(var j = 0 ; j < cols ; j++) { if (aImages[i]) { var sUrl = sBasePath + aImages[i] ; document.write("<TD width='1%' align='center' class='DarkBackground HandIE HandMozilla' onclick='InsertSmiley(\"" + sUrl.replace(/"/g, '\\"' ) + "\")' onmouseover='over(this)' onmouseout='out(this)'>") ; document.write("<img src='" + sUrl + "' border='0'>") ; } else document.write("<TD width='1%' class='DarkBackground'> ") ; document.write("<\/TD>") ; i++ ; } document.write("<\/TR>") ; } //--> </script> </table> </body> </html> --- NEW FILE: fck_link.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_link.html * Link dialog window. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Link Properties</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex, nofollow" /> <script src="common/fck_dialog_common.js" type="text/javascript"></script> <script src="fck_link/fck_link.js" type="text/javascript"></script> </head> <body scroll="no" style="OVERFLOW: hidden"> <div id="divInfo" style="DISPLAY: none"> <span fckLang="DlgLnkType">Link Type</span><br /> <select id="cmbLinkType" onchange="SetLinkType(this.value);"> <option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> <option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option> <option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> </select> <br /> <br /> <div id="divLinkTypeUrl"> <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> <tr> <td nowrap="nowrap"> <span fckLang="DlgLnkProto">Protocol</span><br /> <select id="cmbLinkProtocol"> <option value="http://" selected="selected">http://</option> <option value="https://">https://</option> <option value="ftp://">ftp://</option> <option value="news://">news://</option> <option value="" fckLang="DlgLnkProtoOther"><other></option> </select> </td> <td nowrap="nowrap"> </td> <td nowrap="nowrap" width="100%"> <span fckLang="DlgLnkURL">URL</span><br /> <input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> </td> </tr> </table> <br /> <div id="divBrowseServer"> <input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> </div> </div> <div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> <div id="divSelAnchor" style="DISPLAY: none"> <table cellspacing="0" cellpadding="0" border="0" width="70%"> <tr> <td colspan="3"> <span fckLang="DlgLnkAnchorSel">Select an Anchor</span> </td> </tr> <tr> <td width="50%"> <span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> <select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%"> <option value="" selected="selected"></option> </select> </td> <td> </td> <td width="50%"> <span fckLang="DlgLnkAnchorById">By Element Id</span><br /> <select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%"> <option value="" selected="selected"></option> </select> </td> </tr> </table> </div> <div id="divNoAnchor" style="DISPLAY: none"> <span fckLang="DlgLnkNoAnchors"><No anchors available in the document></span> </div> </div> <div id="divLinkTypeEMail" style="DISPLAY: none"> <span fckLang="DlgLnkEMail">E-Mail Address</span><br /> <input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> <span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> <input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> <span fckLang="DlgLnkEMailBody">Message Body</span><br /> <textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> </div> </div> <div id="divUpload" style="DISPLAY: none"> <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> <span fckLang="DlgLnkUpload">Upload</span><br /> <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> <br /> <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> <iframe name="UploadWindow" style="DISPLAY: none" src="../fckblank.html"></iframe> </form> </div> <div id="divTarget" style="DISPLAY: none"> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td nowrap="nowrap"> <span fckLang="DlgLnkTarget">Target</span><br /> <select id="cmbTarget" onchange="SetTarget(this.value);"> <option value="" fckLang="DlgGenNotSet" selected="selected"><not set></option> <option value="frame" fckLang="DlgLnkTargetFrame"><frame></option> <option value="popup" fckLang="DlgLnkTargetPopup"><popup window></option> <option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> <option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> <option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> <option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> </select> </td> <td> </td> <td id="tdTargetFrame" nowrap="nowrap" width="100%"> <span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> <input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" onchange="OnTargetNameChange();" /> </td> <td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> <span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> <input id="txtPopupName" style="WIDTH: 100%" type="text" /> </td> </tr> </table> <br /> <table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" border="0"> <tr> <td> <span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td valign="top" nowrap="nowrap" width="50%"> <input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> <input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location Bar</label><br /> <input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu Bar</label><br /> <input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll Bars</label> </td> <td></td> <td valign="top" nowrap="nowrap" width="50%"> <input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status Bar</label><br /> <input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> <input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full Screen (IE)</label><br /> <input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent (Netscape)</label> </td> </tr> <tr> <td valign="top" nowrap="nowrap" width="50%"> </td> <td></td> <td valign="top" nowrap="nowrap" width="50%"></td> </tr> <tr> <td valign="top"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> <td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> </tr> <tr> <td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> <td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> </tr> </table> </td> <td> </td> <td valign="top"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> <td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> </tr> <tr> <td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> <td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> <div id="divAttribs" style="DISPLAY: none"> <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> <tr> <td valign="top" width="50%"> <span fckLang="DlgGenId">Id</span><br /> <input id="txtAttId" style="WIDTH: 100%" type="text" /> </td> <td width="1"></td> <td valign="top"> <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> <tr> <td width="60%"> <span fckLang="DlgGenLangDir">Language Direction</span><br /> <select id="cmbAttLangDir" style="WIDTH: 100%"> <option value="" fckLang="DlgGenNotSet" selected><not set></option> <option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> <option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> </select> </td> <td width="1%"> </td> <td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> <input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> </td> </tr> </table> </td> </tr> <tr> <td valign="top" width="50%"> <span fckLang="DlgGenName">Name</span><br /> <input id="txtAttName" style="WIDTH: 100%" type="text" /> </td> <td width="1"></td> <td valign="top"> <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> <tr> <td width="60%"> <span fckLang="DlgGenLangCode">Language Code</span><br /> <input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> </td> <td width="1%"> </td> <td nowrap="nowrap"> <span fckLang="DlgGenTabIndex">Tab Index</span><br /> <input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> </td> </tr> </table> </td> </tr> <tr> <td valign="top" width="50%"> </td> <td width="1"></td> <td valign="top"></td> </tr> <tr> <td valign="top" width="50%"> <span fckLang="DlgGenTitle">Advisory Title</span><br /> <input id="txtAttTitle" style="WIDTH: 100%" type="text" /> </td> <td width="1"> </td> <td valign="top"> <span fckLang="DlgGenContType">Advisory Content Type</span><br /> <input id="txtAttContentType" style="WIDTH: 100%" type="text" /> </td> </tr> <tr> <td valign="top"> <span fckLang="DlgGenClass">Stylesheet Classes</span><br /> <input id="txtAttClasses" style="WIDTH: 100%" type="text" /> </td> <td></td> <td valign="top"> <span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> <input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> </td> </tr> </table> <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> <tr> <td> <span fckLang="DlgGenStyle">Style</span><br /> <input id="txtAttStyle" style="WIDTH: 100%" type="text" /> </td> </tr> </table> </div> </body> </html> |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:50
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/skins In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/skins Added Files: fck_editor.css fck_strip.gif fck_dialog.css Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_dialog.css * Styles used by the dialog boxes. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ body { margin: 0px; padding: 10px; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f1f1e3; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { font-weight: bold; font-size: 14pt; color: #737357; background-color: #e3e3c7; padding: 3px 10px 3px 10px; } .PopupButtons { border-top: #d5d59d 1px solid; background-color: #e3e3c7; padding: 7px 10px 7px 10px; } .Button { border-right: #737357 1px solid; border-top: #737357 1px solid; border-left: #737357 1px solid; color: #3b3b1f; border-bottom: #737357 1px solid; background-color: #c7c78f; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #d5d59d 1px solid; } .PopupTabArea { color: #737357; background-color: #e3e3c7; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #d5d59d 1px solid; } .PopupTab, .PopupTabSelected { border-right: #d5d59d 1px solid; border-top: #d5d59d 1px solid; border-left: #d5d59d 1px solid; padding-right: 5px; padding-left: 5px; padding-bottom: 3px; padding-top: 3px; color: #737357; } .PopupTab { margin-top: 1px; border-bottom: #d5d59d 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f1f1e3 1px solid; background-color: #f1f1e3; } .PopupSelectionBox { border: #ff9933 1px solid; background-color: #fffacd; cursor: pointer; cursor: hand; } --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fck_editor.css * Styles used by the editor IFRAME and Toolbar. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px 1px 1px 1px; margin: 0px 0px 0px 0px; } #xEditingArea { border: #696969 1px solid; } .SourceField { padding: 5px; margin: 0px; font-family: Monospace; } /* Toolbar */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { cursor: default; background-color: #efefde; } .TB_ToolbarSet { border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } .TB_ToolbarSet TD { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Toolbar { display: inline; } .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: #efefde 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: #efefde 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: #efefde; /* 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: #efefde ; /* 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: #e3e3c7; 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: #8f8f73; } .MN_Item_Over .MN_Icon { background-color: #737357; } .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: #316ac5 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: #efefde; } .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 { 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: #330066 1px solid; padding: 2px; float: left; background-color: #c4cdd6; } --- NEW FILE: fck_strip.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:50
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/images Added Files: arrow_ltr.gif anchor.gif arrow_rtl.gif spacer.gif Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: arrow_rtl.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: arrow_ltr.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:50
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/css/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/css/images Added Files: fck_pagebreak.gif fck_anchor.gif fck_flashlogo.gif Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: fck_flashlogo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fck_pagebreak.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/js In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/js Added Files: fckeditorcode_ie.js fckeditorcode_gecko.js Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: fckeditorcode_gecko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckeditorcode_ie.js --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/css/behaviors In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/css/behaviors Added Files: hiddenfield.gif showtableborders.htc hiddenfield.htc disablehandles.htc Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: hiddenfield.htc --- <public:component lightweight="true"> <public:attach event="oncontentready" onevent="ShowField()" /> <public:attach event="ondoubleclick" onevent="EditField()" /> <script language="javascript"> var bIsHiddenField = this.type == 'hidden' ; function ShowField() { if ( bIsHiddenField ) { this.runtimeStyle.width = '20px' ; this.runtimeStyle.height = '20px' ; this.runtimeStyle.border = '1px dotted #FF0000' ; this.runtimeStyle.backgroundImage = 'url(css/behaviors/hiddenfield.gif)' ; this.runtimeStyle.fontSize = '99px' ; } } function EditField() { if ( bIsHiddenField ) alert( this.outerHTML ) ; } </script> </public:component> --- NEW FILE: hiddenfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: disablehandles.htc --- <public:component lightweight="true"> <script language="javascript"> function CancelEvent() { return false ; } this.onresizestart = CancelEvent ; this.onbeforeeditfocus = CancelEvent ; </script> </public:component> --- NEW FILE: showtableborders.htc --- <public:component lightweight="true"> <public:attach event="oncontentready" onevent="ShowBorders()" /> <public:attach event="onpropertychange" onevent="OnPropertyChange()" /> <script language="javascript"> var oClassRegex = /\s*FCK__ShowTableBorders/ ; function ShowBorders() { if ( this.border == 0 ) { if ( !oClassRegex.test( this.className ) ) this.className += ' FCK__ShowTableBorders' ; } else { if ( oClassRegex.test( this.className ) ) { this.className = this.className.replace( oClassRegex, '' ) ; if ( this.className.length == 0 ) this.removeAttribute( 'className', 0 ) ; } } } function OnPropertyChange() { if ( event.propertyName == 'border' || event.propertyName == 'className' ) ShowBorders() ; } </script> </public:component> |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/lang In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/lang Added Files: eo.js sl.js pt.js lt.js gl.js sr-latn.js da.js ca.js fo.js en.js eu.js hi.js nl.js ro.js _getfontformat.html zh.js sr.js en-au.js km.js vi.js fr.js tr.js ru.js pt-br.js ko.js mn.js fi.js no.js et.js hu.js th.js _translationstatus.txt zh-cn.js hr.js fa.js bs.js ja.js sv.js uk.js it.js de.js en-uk.js pl.js es.js he.js bn.js bg.js cs.js lv.js ar.js el.js ms.js en-ca.js sk.js Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: ar.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: th.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: km.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ru.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt-br.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ms.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh-cn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: _getfontformat.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </head> <script language="javascript"> window.onload = function() { var oRange = document.selection.createRange() ; var sNormal ; var sFormats = '' ; for ( var i = 1 ; i <= 9 ; i++ ) { oRange.moveToElementText( document.getElementById( 'x' + i ) ) ; sFormats += oRange.queryCommandValue( 'FormatBlock' ) ; if ( i == 1 ) sNormal = sFormats ; sFormats += ';' ; } document.getElementById('xFontFormats').innerHTML = sFormats + sNormal + ' (DIV)' ; } </script> <body> <table width="70%" align="center"> <tr> <td> <h3>FontFormats Localization</h3> <p> IE has some limits when handling the "Font Format". It actually uses localized strings to retrieve the current format value. This makes it very difficult to make a system that works on every single computer in the world. </p> <p> With FCKeditor, this problem impacts in the "Format" toolbar command that doesn't reflects the format of the current cursor position. </p> <p> There is only one way to make it work. We must localize FCKeditor using the strings used by IE. In this way, we will have the expected behavior at least when using FCKeditor in the same language as the browser. So, when localizing FCKeditor, go to a computer with IE in the target language, open this page and use the following string to the "FontFormats" value: </p> <div style="white-space: nowrap"> FontFormats : "<span id="xFontFormats" style="COLOR: #000099"></span>", </div> </td> </tr> </table> <div style="DISPLAY: none"> <p id="x1"> </p> <pre id="x2"> </pre> <address id="x3"> </address> <h1 id="x4"> </h1> <h2 id="x5"> </h2> <h3 id="x6"> </h3> <h4 id="x7"> </h4> <h5 id="x8"> </h5> <h6 id="x9"> </h6> </div> </body> </html> --- NEW FILE: fr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ro.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: it.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-uk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: de.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ca.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lv.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bg.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr-latn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: uk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: no.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: _translationstatus.txt --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: _translationstatus.txt * Translations Status. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ ar.js Found: 383 Missing: 5 bg.js Found: 380 Missing: 8 bn.js Found: 383 Missing: 5 bs.js Found: 232 Missing: 156 ca.js Found: 383 Missing: 5 cs.js Found: 382 Missing: 6 da.js Found: 383 Missing: 5 de.js Found: 388 Missing: 0 el.js Found: 232 Missing: 156 en-au.js Found: 388 Missing: 0 en-ca.js Found: 388 Missing: 0 en-uk.js Found: 388 Missing: 0 eo.js Found: 352 Missing: 36 es.js Found: 382 Missing: 6 et.js Found: 383 Missing: 5 eu.js Found: 388 Missing: 0 fa.js Found: 358 Missing: 30 fi.js Found: 383 Missing: 5 fo.js Found: 358 Missing: 30 fr.js Found: 383 Missing: 5 gl.js Found: 383 Missing: 5 he.js Found: 384 Missing: 4 hi.js Found: 388 Missing: 0 hr.js Found: 383 Missing: 5 hu.js Found: 388 Missing: 0 it.js Found: 388 Missing: 0 ja.js Found: 388 Missing: 0 km.js Found: 377 Missing: 11 ko.js Found: 375 Missing: 13 lt.js Found: 383 Missing: 5 lv.js Found: 377 Missing: 11 mn.js Found: 232 Missing: 156 ms.js Found: 358 Missing: 30 nl.js Found: 387 Missing: 1 no.js Found: 388 Missing: 0 pl.js Found: 383 Missing: 5 pt-br.js Found: 383 Missing: 5 pt.js Found: 375 Missing: 13 ro.js Found: 388 Missing: 0 ru.js Found: 383 Missing: 5 sk.js Found: 383 Missing: 5 sl.js Found: 380 Missing: 8 sr-latn.js Found: 375 Missing: 13 sr.js Found: 375 Missing: 13 sv.js Found: 383 Missing: 5 th.js Found: 352 Missing: 36 tr.js Found: 374 Missing: 14 uk.js Found: 375 Missing: 13 vi.js Found: 388 Missing: 0 zh-cn.js Found: 383 Missing: 5 zh.js Found: 388 Missing: 0 --- NEW FILE: eo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-au.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: da.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en-ca.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: el.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ja.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: et.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: he.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: es.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fa.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sv.js --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/images/smiley In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/images/smiley Added Files: whatchutalkingabout_smile.gif angel_smile.gif lightbulb.gif angry_smile.gif thumbs_down.gif wink_smile.gif broken_heart.gif regular_smile.gif tounge_smile.gif shades_smile.gif embaressed_smile.gif thumbs_up.gif cry_smile.gif confused_smile.gif heart.gif envelope.gif omg_smile.gif kiss.gif teeth_smile.gif devil_smile.gif sad_smile.gif cake.gif Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: thumbs_down.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shades_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: regular_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: heart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tounge_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: devil_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: whatchutalkingabout_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: teeth_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: omg_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: thumbs_up.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lightbulb.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: embaressed_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: broken_heart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: confused_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kiss.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cry_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angry_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cake.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angel_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wink_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sad_smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: envelope.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/skins/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion/editor/skins/images Added Files: toolbar.arrowright.gif toolbar.start.gif toolbar.expand.gif toolbar.separator.gif toolbar.end.gif toolbar.collapse.gif toolbar.buttonarrow.gif Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:49
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/src/org/cobricks/discussion Modified Files: DiscussionManagerImpl.java itemontology.xml OrderComparator.java ChronologicalPostingComparator.java properties.txt DiscussionPresenter.java Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) Index: itemontology.xml =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/itemontology.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- itemontology.xml 30 May 2006 14:48:06 -0000 1.4 +++ itemontology.xml 2 Jun 2006 12:04:44 -0000 1.5 @@ -3,6 +3,12 @@ <class name="discussion_topic" parent="item"> <description lang="en">Topic in the discussion component</description> <attr name="parent_cat" type="category(discussion_forum)" /> +<attr name="priority" type="string"> + <default>normal</default> + <value>normal</value> + <value>important</value> + <value>announcement</value> +</attr> </class> <class name="discussion_posting" parent="item"> @@ -11,6 +17,7 @@ <attr name="topicId" type="item(discussion_topic)" /> <attr name="parent" type="item(discussion_posting)" /> <attr name="ip" type="string" /> +<attr name="name" type="string(30)" /> <attr name="email" type="string" /> </class> Index: ChronologicalPostingComparator.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/ChronologicalPostingComparator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ChronologicalPostingComparator.java 30 May 2006 14:48:06 -0000 1.1 +++ ChronologicalPostingComparator.java 2 Jun 2006 12:04:44 -0000 1.2 @@ -9,8 +9,10 @@ public class ChronologicalPostingComparator implements Comparator { - private static Logger logger = Logger.getLogger(ChronologicalPostingComparator.class); + private static Logger logger = Logger + .getLogger(ChronologicalPostingComparator.class); private boolean reverse = false; + public ChronologicalPostingComparator() { super(); @@ -24,22 +26,56 @@ public int compare(Object o1, Object o2) { + // the not null value comes first than the null value + if (o1 == null) + { + if (o2 == null) + { + return 0; + } else + { + return 1; + } + } else if (o2 == null) + { + return -1; + } + int return_val = 0; - if (o1 instanceof Item && o2 instanceof Item) + Object dateObj1 = null; + Object dateObj2 = null; + if (o1 instanceof Item) { Item i1 = (Item) o1; + dateObj1 = i1.getAttribute("creationtime"); + + } + if (o2 instanceof Item) + { Item i2 = (Item) o2; - Object dateObj1 = i1.getAttribute("creationtime"); - Object dateObj2 = i2.getAttribute("creationtime"); - if(dateObj1 instanceof Timestamp && - dateObj2 instanceof Timestamp && - dateObj1 != null && - dateObj2 != null){ - return_val = ((Timestamp)dateObj1).compareTo((Timestamp)dateObj2); - } + dateObj2 = i2.getAttribute("creationtime"); + } - - if(reverse){ + if (o1 instanceof Posting) + { + Posting i1 = (Posting) o1; + dateObj1 = i1.getAttribute("creationtime"); + + } + if (o2 instanceof Posting) + { + Posting i2 = (Posting) o2; + dateObj2 = i2.getAttribute("creationtime"); + + } + if (dateObj1 instanceof Timestamp && dateObj2 instanceof Timestamp + && dateObj1 != null && dateObj2 != null) + { + return_val = ((Timestamp) dateObj1).compareTo((Timestamp) dateObj2); + } + + if (reverse) + { return_val *= -1; } return return_val; Index: OrderComparator.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/OrderComparator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- OrderComparator.java 30 May 2006 14:48:06 -0000 1.1 +++ OrderComparator.java 2 Jun 2006 12:04:44 -0000 1.2 @@ -4,11 +4,18 @@ import org.apache.log4j.Logger; import org.cobricks.category.Category; +import org.cobricks.item.Item; +/** + * Sorts Collections of Categories or Items with their "order" attribute.<br/> + * If one of them has no "order" attribute it is after the ohne with the "order" attribute. + * + * @author Philipp Hemmer + */ public class OrderComparator implements Comparator { private static Logger logger = Logger.getLogger(OrderComparator.class); - + public int compare(Object o1, Object o2) { // the not null value comes first than the null value @@ -26,50 +33,69 @@ return -1; } // the object from type Category come first than the other objects - if (o1 instanceof Category) + + Object order1 = null; + Object order2 = null; + + if (o1 instanceof Category && o2 instanceof Category) { - if (o2 instanceof Category) + order1 = ((Category) o1).getAttribute("order"); + order2 = ((Category) o2).getAttribute("order"); + } + if (o1 instanceof Item && o2 instanceof Item) + { + order1 = ((Item) o1).getAttribute("order"); + order2 = ((Item) o2).getAttribute("order"); + } + + if (order1 == null) + { + if (order2 == null) { - int i1 = 0; - int i2 = 0; - Object order1 =((Category) o1).getAttribute("order"); - Object order2 =((Category) o2).getAttribute("order"); - - // if one of the Categories has no order it comes last - if (order1 == null) - { - if (order2 == null) - { - return 0; - } else - { - return 1; - } - } else if (order2 == null) - { - return -1; - } - if (order1 instanceof String) - { - i1 = Integer.parseInt((String) order1); - }else if(order1 instanceof Integer){ - i1 = ((Integer)order1).intValue(); - } - if (order2 instanceof String) - { - i2 = Integer.parseInt((String) order2); - }else if(order2 instanceof Integer){ - i2 = ((Integer)order2).intValue(); - } - return i1 - i2; - }else { - return -1; + return 0; + } else + { + return 1; } - }else if (o2 instanceof Category) + } else if (order2 == null) { - return 1; + return -1; + } + + int i1 = 0; + int i2 = 0; + + // if one of the Categories has no order it comes last + if (order1 == null) + { + if (order2 == null) + { + return 0; + } else + { + return 1; + } + } else if (order2 == null) + { + return -1; } - return 0; - } + if (order1 instanceof String) + { + logger.debug("order is returned as String"); + i1 = Integer.parseInt((String) order1); + } else if (order1 instanceof Integer) + { + logger.debug("order is returned as Integer"); + i1 = ((Integer) order1).intValue(); + } + if (order2 instanceof String) + { + i2 = Integer.parseInt((String) order2); + } else if (order2 instanceof Integer) + { + i2 = ((Integer) order2).intValue(); + } + return i1 - i2; + } } Index: properties.txt =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/properties.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- properties.txt 30 May 2006 14:48:06 -0000 1.3 +++ properties.txt 2 Jun 2006 12:04:44 -0000 1.4 @@ -62,7 +62,7 @@ org.cobricks.discussion.settings.forum_view.choice2=list org.cobricks.discussion.settings.forum_view.choice3=hybrid -org.cobricks.discussion.settings.tree_sorting=chronologic +org.cobricks.discussion.settings.tree_sorting=news_on_top org.cobricks.discussion.settings.tree_sorting.descr=how the tree view is sorted<br/>chronologic: first the old then the new topics<br/>news_on_top: in every level of the tree the newes topic is on top org.cobricks.discussion.settings.tree_sorting.choice1=chronologic org.cobricks.discussion.settings.tree_sorting.choice2=news_on_top Index: DiscussionManagerImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/DiscussionManagerImpl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- DiscussionManagerImpl.java 30 May 2006 14:48:06 -0000 1.3 +++ DiscussionManagerImpl.java 2 Jun 2006 12:04:44 -0000 1.4 @@ -14,6 +14,7 @@ import org.cobricks.category.Category; import org.cobricks.category.CategoryManager; import org.cobricks.core.CobricksException; +import org.cobricks.core.ComponentEvent; import org.cobricks.core.ComponentManagerAdaptor; import org.cobricks.core.CoreManager; import org.cobricks.core.Ontology; @@ -122,6 +123,9 @@ accesshandler.init(coreManager, dbAccess); accessControl.registerAccessHandler(accesshandler); + // + coreManager.registerEventListener("category","create"); + //if no discussion data is present create default discussion_categorie, forum, topic and postings Map attrs = new HashMap(); attrs.put("categoryclass", "discussion_category"); @@ -129,12 +133,25 @@ //everything in the component is unter the categories, if there are no categories //there are no valid other data from the discussion component if(cats.size() == 0){ - logger.debug("no discussion data is present, fill will default data"); + logger.debug("no discussion data is present, fill with default data"); insertDefaultData(); } logger.info("discussionManager initialized"); } + public void processEvent(ComponentEvent event) + { + //test listener + logger.debug("event="+event); + logger.debug("event.getSourceComponentId()="+event.getSourceComponentId()); + logger.debug("event.getDomain()="+event.getDomain()); + logger.debug("event.getAction()="+event.getAction()); + logger.debug("event.getObjectId()="+event.getObjectId()); + logger.debug("event.getObjectType()="+event.getObjectType()); + logger.debug("event.getClass().getName()="+event.getClass().getName()); + + } + private void insertDefaultData() { GregorianCalendar cal = new GregorianCalendar(1979, 4, 12, 12, 00); @@ -796,6 +813,7 @@ attrs.put("topicId", new Integer(guestbook_topic.getLocalId())); // attrs.put("parent", new Integer(question2.getLocalId())); attrs.put("ip", "127.0.0.1"); + attrs.put("name", "Hans Mustermann"); attrs.put("email", "name_(at)_host.de"); try @@ -822,6 +840,7 @@ attrs.put("topicId", new Integer(guestbook_topic.getLocalId())); // attrs.put("parent", new Integer(question2.getLocalId())); attrs.put("ip", "127.0.0.1"); + attrs.put("name", "Hans Mustermann"); attrs.put("email", "name_(at)_host.de"); try Index: DiscussionPresenter.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/discussion/DiscussionPresenter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- DiscussionPresenter.java 30 May 2006 14:48:06 -0000 1.3 +++ DiscussionPresenter.java 2 Jun 2006 12:04:44 -0000 1.4 @@ -244,7 +244,7 @@ logger.debug("in getPostings with topicId=" + tId + ", type=" + type + ", view=" + view + ", postingId=" + postingId + ", start_index=" + start_index + ", display_count=" - + display_count +", cut_tree="+cut_tree); + + display_count + ", cut_tree=" + cut_tree); int topicId = -1; int startId = -1; int start = -1; @@ -266,8 +266,11 @@ } // if count == 1 only one Posting is returned, the startposting or the // topic - if (cut_tree && type.equalsIgnoreCase("Forum")) + if (cut_tree && type.equalsIgnoreCase("Forum") + && view.equalsIgnoreCase("tree")) { + logger + .debug("cut_tree und 'forum' only List with Item from postingId or topicId"); if (startId > 0) { return itemManager.searchItems("/item/itemid=" + postingId); @@ -286,14 +289,17 @@ { if (postings.size() > 1) { - // something wrong, cause FAQ has only one posting + logger + .warn("something wrong, cause FAQ should have only one posting"); } else { + logger.debug("faq with one posting"); Item topic; try { topic = itemManager.getItem(topicId); postings.add(0, topic); + logger.debug("add topic at position 0"); } catch (CobricksException e) { logger.error("error with getting topic item"); @@ -313,7 +319,16 @@ logger .debug("getPostings for Forum (view='list')in chronological order"); Collections - .sort(postings, new ChronologicalPostingComparator()); + .sort(postings, new ChronologicalPostingComparator());// insert topic + Item topic; + try + { + topic = itemManager.getItem(topicId); + postings.add(0, topic); + } catch (CobricksException e) + { + logger.warn("error with getting topic item"); + } } else if (view.equalsIgnoreCase("tree") || view.equalsIgnoreCase("hybrid")) { @@ -336,7 +351,21 @@ { Collections.sort(postings, new TreePostingComparator()); } - /* + // insert topic + Item topic; + try + { + topic = itemManager.getItem(topicId); + Posting p = new Posting(topic, 0); + if (startId == -1){ + p.setMarked(true); + } + postings.add(0, p); + } catch (CobricksException e) + { + logger.warn("error with getting topic item"); + } + // mark or cut the posting(tree) or subtree (hybrid) int indent = -1; List cuted_list = null; @@ -348,7 +377,7 @@ for (Iterator iter = postings.iterator(); iter.hasNext();) { Posting posting = (Posting) iter.next(); - if (indent > -1) + if (indent > -1 || startId == -1) { if (posting.getIndent() > indent) { @@ -368,14 +397,13 @@ { indent = posting.getIndent(); posting.setMarked(true); - logger.debug("start posting found and marked"); if (cut_tree) { cuted_list.add(posting); } if (view.equalsIgnoreCase("tree")) - { - // only mark the startId + { + // only mark the start posting break; } } @@ -384,17 +412,24 @@ { postings = cuted_list; } - */ - } - Item topic; - try - { - topic = itemManager.getItem(topicId); - postings.add(0, new Posting(topic, 0)); - } catch (CobricksException e) - { - logger.error("error with getting topic item"); + //normalize indent + Object first = postings.get(0); + if (first instanceof Posting) + { + int first_indent = ((Posting) first).getIndent(); + if(first_indent > 0){ + for (Iterator iter = postings.iterator(); iter + .hasNext();) + { + Posting posting = (Posting) iter.next(); + posting.setIndent(posting.getIndent()-first_indent); + } + } + } } + logger.debug("after type specific code, postings.size()=" + + postings.size()); + } return postings; @@ -463,29 +498,35 @@ */ private Map createSortingMap(List postings) { + logger.debug("createSortingMap"); Map return_map = new HashMap(); for (Iterator iter = postings.iterator(); iter.hasNext();) { Item item = (Item) iter.next(); int id = item.getLocalId(); Timestamp time = (Timestamp) item.getAttribute("creationtime"); - Timestamp value = (Timestamp) return_map.get(String.valueOf(id)); - if (value != null && time.after(value)) + if (value == null || time.after(value)) { + logger.debug("put new key in map for item: key=" + id + + ", value=" + time); return_map.put(String.valueOf(id), time); } else { + logger.debug("next item "); continue; } Integer parent_id = (Integer) item.getAttribute("parent"); while (parent_id != null && parent_id.intValue() > 0) { + logger.debug("item has parent"); Timestamp parentTime = (Timestamp) return_map.get(parent_id .toString()); if (parentTime == null || time.after(parentTime)) { + logger.debug("put new key in map for parents: key=" + id + + ", value=" + time); return_map.put(parent_id.toString(), time); } else { @@ -508,12 +549,16 @@ public String getViewFromRequest(PortalRequest pRequest) { Cookie[] cookies = pRequest.getHttpServletRequest().getCookies(); - for (int i = 0; i < cookies.length; i++) + if (cookies != null) { - if (cookies[i].getName().equalsIgnoreCase("discussion_view")) + for (int i = 0; i < cookies.length; i++) { - logger.debug("view from cookie value=" + cookies[i].getValue()); - return cookies[i].getValue(); + if (cookies[i].getName().equalsIgnoreCase("discussion_view")) + { + logger.debug("view from cookie value=" + + cookies[i].getValue()); + return cookies[i].getValue(); + } } } if (pRequest.getRequestParameter("view") != null) @@ -526,6 +571,7 @@ .debug("view from settings, value=" + coreManager .getProperty("org.cobricks.discussion.settings.forum_view")); + return coreManager .getProperty("org.cobricks.discussion.settings.forum_view"); } |
Update of /cvsroot/cobricks/cobricks2/web/discussion In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30569/web/discussion Modified Files: topic.html tree.html Added Files: custom_config.js itemtemplate-posting.html posting_form.html fckeditor.js fckconfig.js topic_form.html fcktemplates.xml fckstyles.xml itemtemplate-topic.html Log Message: Bugfixes in Topic Display and WYSIWYG Editor for Disucssion Forms (FCKeditor) --- NEW FILE: topic_form.html --- #parse ( "pageheader.html" ) <!-- FCKeditor --> <script type="text/javascript" src="fckeditor.js"></script> <script type="text/javascript"> <!-- window.onload = function() { var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = "" ; oFCKeditor.Height = 270 ; oFCKeditor.Width = 630 ; oFCKeditor.ToolbarSet = 'Cobricks' ; oFCKeditor.ReplaceTextarea() ; } //--> </script> <!-- /FCKeditor --> <form action="/DISCUSSION" method="post"> <input type="hidden" name="cmd" value="saveTopic"/> <input type="hidden" name="cmd.success" value="$contextPath/discussion/topic.html"/> <input type="hidden" name="cmd.error" value="$contextPath/discussion/topic.html"/> <input type="hidden" name="topicId" value="$topic.getLocalId()"/> <input type="hidden" name="parent_cat" value="" /> <input name="title" type="text" size="70" maxlength="100"><br/> <!-- <textarea name="title" cols="80" rows="2"></textarea> --> <textarea name="content">This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</textarea><br/> Normal<input type="radio" name="priority" value="normal" /> Wichtig<input type="radio" name="priority" value="important" /> Ankündiung<input type="radio" name="priority" value="announcement" /><br/> <input type="submit" value=" Absenden "> <input type="reset" value=" Abbrechen"> </form> #parse ( "pagefooter.html" ) Index: topic.html =================================================================== RCS file: /cvsroot/cobricks/cobricks2/web/discussion/topic.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- topic.html 30 May 2006 14:48:06 -0000 1.1 +++ topic.html 2 Jun 2006 12:04:43 -0000 1.2 @@ -17,7 +17,7 @@ #set ($postingId = "-1") #end #if (!$view) - #set ($view = $discussionPresenter.getViewFromRequest($portalRequest) ) + #set ( $view = $discussionPresenter.getViewFromRequest($portalRequest) ) #end #if (!$index) #set ($index = "-1") @@ -43,7 +43,7 @@ <div class="error">Failed setting new view.</div> #end #if ( $forum_type == "Forum" && $view != "list") - <iframe src="tree.html?topicId=$topicId" width="100%" height="150"> + <iframe src="tree.html?topicId=$topicId&postingId=$postingId" width="100%" height="150"> </iframe> #end @@ -65,19 +65,21 @@ $posting.getContent() <div style="text-align:right;"> ($posting.getAttribute("creationtime")) +#if ($posting.getAttribute("ip")) + #if ( $userPresenter.checkPermission("$userId", "discussion", "admin", "") ) ## test if admin + $posting.getAttribute("ip") + #end + <a href="mailto:$posting.getAttribute("email")">$posting.getAttribute("name")</a> +#else <a href="$contextPath/user/card.html?auserlogin=$creator.getUserLogin()">$creator.getUserLogin()</a> +#end </div> </td> </tr> </tbody> </table> #end -<!-- userId=$userId - portalUser=$portalUser - userLogin=$userLogin - user_change_view=$coreManager.getProperty("org.cobricks.discussion.settings.user_change_view") - view=$view ---> +## to change the view in the forum #if ( $forum_type == "Forum" && $coreManager.getProperty("org.cobricks.discussion.settings.user_change_view") == "true" ) <form action="/DISCUSSION" method="post"> <input type="hidden" name="cmd" value="saveView"/> --- NEW FILE: fckstyles.xml --- <?xml version="1.0" encoding="utf-8" ?> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fckstyles.xml * This is the sample style definitions file. It makes the styles combo * completely customizable. * See FCKConfig.StylesXmlPath in the configuration file. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <Styles> <Style name="Image on Left" element="img"> <Attribute name="style" value="padding: 5px; margin-right: 5px" /> <Attribute name="border" value="2" /> <Attribute name="align" value="left" /> </Style> <Style name="Image on Right" element="img"> <Attribute name="style" value="padding: 5px; margin-left: 5px" /> <Attribute name="border" value="2" /> <Attribute name="align" value="right" /> </Style> <Style name="Custom Bold" element="span"> <Attribute name="style" value="font-weight: bold;" /> </Style> <Style name="Custom Italic" element="em" /> <Style name="Title" element="span"> <Attribute name="class" value="Title" /> </Style> <Style name="Code" element="span"> <Attribute name="class" value="Code" /> </Style> <Style name="Title H3" element="h3" /> <Style name="Custom Ruler" element="hr"> <Attribute name="size" value="1" /> <Attribute name="color" value="#ff0000" /> </Style> </Styles> --- NEW FILE: posting_form.html --- #parse ( "pageheader.html" ) #parse ( "pagefooter.html" ) --- NEW FILE: fcktemplates.xml --- <?xml version="1.0" encoding="utf-8" ?> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fcktemplates.xml * This is the sample templates definitions file. It makes the "templates" * command completely customizable. * See FCKConfig.TemplatesXmlPath in the configuration file. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <Templates imagesBasePath="fck_template/images/"> <Template title="Image and Title" image="template1.gif"> <Description>One main image with a title and text that surround the image.</Description> <Html> <![CDATA[ <img style="MARGIN-RIGHT: 10px" height="100" alt="" width="100" align="left"/> <h3>Type the title here</h3> Type the text here ]]> </Html> </Template> <Template title="Strange Template" image="template2.gif"> <Description>A template that defines two colums, each one with a title, and some text.</Description> <Html> <![CDATA[ <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tbody> <tr> <td width="50%"> <h3>Title 1</h3> </td> <td> </td> <td width="50%"> <h3>Title 2</h3> </td> </tr> <tr> <td>Text 1</td> <td> </td> <td>Text 2</td> </tr> </tbody> </table> More text goes here. ]]> </Html> </Template> <Template title="Text and Table" image="template3.gif"> <Description>A title with some text and a table.</Description> <Html> <![CDATA[ <table align="left" width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td> <h3>Title goes here</h3> <p> <table style="FLOAT: right" cellspacing="0" cellpadding="0" width="150" border="1"> <tbody> <tr> <td align="center" colspan="3"><strong>Table title</strong></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </tbody> </table> Type the text here</p> </td></tr></table> ]]> </Html> </Template> </Templates> --- NEW FILE: fckeditor.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: itemtemplate-posting.html --- ## not in use yet --- NEW FILE: fckconfig.js --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: fckconfig.js * Editor configuration settings. * See the documentation for more info. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ FCKConfig.CustomConfigurationsPath = '../custom_config.js' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + '../../style.css' ; FCKConfig.DocType = '' ; FCKConfig.BaseHref = '' ; FCKConfig.FullPage = false ; FCKConfig.Debug = false ; FCKConfig.AllowQueryStringDebug = true ; FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/' ; FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; // FCKConfig.Plugins.Add( 'autogrow' ) ; FCKConfig.AutoGrowMax = 400 ; FCKConfig.ProtectedSource.Add( /<script[\s\S]*?\/script>/gi ) ; // <SCRIPT> tags. 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 = true ; FCKConfig.IncludeLatinEntities = true ; FCKConfig.IncludeGreekEntities = true ; FCKConfig.FillEmptyBlocks = true ; FCKConfig.FormatSource = true ; FCKConfig.FormatOutput = true ; FCKConfig.FormatIndentator = ' ' ; FCKConfig.ForceStrongEm = true ; FCKConfig.GeckoUseSPAN = false ; FCKConfig.StartupFocus = false ; FCKConfig.ForcePasteAsPlainText = false ; FCKConfig.AutoDetectPasteFromWord = true ; // IE only. FCKConfig.ForceSimpleAmpersand = false ; FCKConfig.TabSpaces = 0 ; FCKConfig.ShowBorders = true ; FCKConfig.SourcePopup = false ; FCKConfig.UseBROnCarriageReturn = false ; // IE only. FCKConfig.ToolbarStartExpanded = true ; FCKConfig.ToolbarCanCollapse = true ; FCKConfig.IgnoreEmptyParagraphValue = true ; FCKConfig.PreserveSessionOnFileBrowser = false ; FCKConfig.FloatingPanelsZIndex = 10000 ; FCKConfig.ToolbarLocation = 'In' ; 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'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow','-','About'] ] ; FCKConfig.ToolbarSets["Basic"] = [ ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ] ; FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; 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.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ; FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' FCKConfig.IeSpellDownloadUrl = 'http://iespell.huhbw.com/ieSpellSetup220647.exe' ; FCKConfig.MaxUndoLevels = 15 ; FCKConfig.DisableObjectResizing = false ; FCKConfig.DisableFFTableHandles = true ; FCKConfig.LinkDlgHideTarget = false ; FCKConfig.LinkDlgHideAdvanced = false ; FCKConfig.ImageDlgHideLink = false ; FCKConfig.ImageDlgHideAdvanced = false ; FCKConfig.FlashDlgHideAdvanced = false ; // 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 = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php // Don't care about the following line. It just calculates the correct connector // extension to use for the default File Browser (Perl uses "cgi"). var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; FCKConfig.LinkBrowser = false ; FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% FCKConfig.ImageBrowser = false ; FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; FCKConfig.FlashBrowser = false ; FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=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/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ; FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all FCKConfig.LinkUploadDeniedExtensions = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ; // empty for no one FCKConfig.ImageUpload = false ; FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ; FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one FCKConfig.FlashUpload = false ; FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ; FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/' ; 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 = 240 ; Index: tree.html =================================================================== RCS file: /cvsroot/cobricks/cobricks2/web/discussion/tree.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tree.html 30 May 2006 14:48:06 -0000 1.1 +++ tree.html 2 Jun 2006 12:04:43 -0000 1.2 @@ -2,7 +2,6 @@ <head> <meta http-equiv="Content-Type" content="text/html"> <meta name="Author" content="mic...@co..."> -$portalPresenter.printHeader($portalRequest) <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <meta http-equiv="expires" content="0"> @@ -14,20 +13,17 @@ <body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> -#if (!$count) - #set ( $count = $coreManager.getProperty("org.cobricks.discussion.settings.display_count") ) -#end #if (!$view) #set ($view = $discussionPresenter.getViewFromRequest($portalRequest) ) #end -#if (!$index) - #set ($index = "-1") +#if (!$postingId) + #set ($postingId = "-1") #end #set ( $topic = $itemPresenter.getItem($topicId)) ##set ( $forumId = $topic.getAttribute("parent_cat")) ##set ( $forum = $categoryPresenter.getCategory($forumId)) ##set ( $cat = $categoryPresenter.getCategory("$forum.getParentId()")) -#set ( $posting_list = $discussionPresenter.getPostings("$topicId", "Forum", "$view", "-1", "-1","-1", false)) +#set ( $posting_list = $discussionPresenter.getPostings("$topicId", "Forum", "$view", "$postingId", "-1","-1", false)) #foreach ( $posting in $posting_list) #set ( $creator = $userManager.getUser($posting.getAttribute("creator"))) <!-- $posting.getIndent() --> @@ -36,6 +32,10 @@ cellpadding="2" cellspacing="2"> <tbody> <tr> +<!-- posting.isMarked()=$posting.isMarked() --> +#if ($posting.isMarked()) + <!-- comment only if posting is marked --> +#end <td#if ($posting.isMarked()) style="font-weight:bold"#end> <a href="topic.html?topicId=$topicId&postingId=$posting.getLocalId()" target="_top">$posting.getTitle(), $creator.getUserLogin() ($posting.getAttribute("creationtime"))</a> </td> --- NEW FILE: itemtemplate-topic.html --- ## not in use yet --- NEW FILE: custom_config.js --- FCKConfig.ToolbarSets["Cobricks"] = [ ['Source'], ['Cut','Copy','Paste'], ['Undo','Redo','-','SelectAll','RemoveFormat'], ['FontFormat','FontSize'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['Link','Unlink'], ['TextColor','BGColor'], ['Smiley'] ] ; 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.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ; |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:04:00
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/lang In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/lang Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/lang added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/dialog Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/images/smiley In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/images/smiley Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/images/smiley added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/common/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/dialog/common/images Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/common/images added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/css In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/css Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/css added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/images Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/images added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/fck_link In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/dialog/fck_link Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/fck_link added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/js In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/js Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/js added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:59
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:57
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/css/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/css/images Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/css/images added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:55
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/skins/images In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/skins/images Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/skins/images added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:54
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/skins In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/skins Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/skins added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:54
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/common In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/dialog/common Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/dialog/common added to the repository |
|
From: Philipp H. <p-...@us...> - 2006-06-02 12:03:52
|
Update of /cvsroot/cobricks/cobricks2/web/discussion/editor/css/behaviors In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30453/web/discussion/editor/css/behaviors Log Message: Directory /cvsroot/cobricks/cobricks2/web/discussion/editor/css/behaviors added to the repository |