Update of /cvsroot/openfirst/base/config/functions/wysiwyg/js
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28383/config/functions/wysiwyg/js
Modified Files:
lib_ms.js
Log Message:
Fixed <br> instances. (XHTML)
Index: lib_ms.js
===================================================================
RCS file: /cvsroot/openfirst/base/config/functions/wysiwyg/js/lib_ms.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** lib_ms.js 20 Aug 2003 14:14:26 -0000 1.1
--- lib_ms.js 3 Apr 2005 01:42:23 -0000 1.2
***************
*** 446,455 ****
if (this.outPutMode == 'createTextarea')
{
! document.writeln('<font size="1" face="Arial" color="red"> - you get a plain textarea instead of the DHTMLEditor</font><br>');
! document.writeln('<textarea wrap="off" id="'+this.ElementId+'" style="width:'+_width+'px; height:'+_height+'px;" name="'+this.htmlSpcialChars(this.ElementName)+'">'+this.htmlSource+'</textarea><br>');
this.writeOutCount++;
return false;
}
! document.writeln('<br>');
return false;
}
--- 446,455 ----
if (this.outPutMode == 'createTextarea')
{
! document.writeln('<font size="1" face="Arial" color="red"> - you get a plain textarea instead of the DHTMLEditor</font><br />');
! document.writeln('<textarea wrap="off" id="'+this.ElementId+'" style="width:'+_width+'px; height:'+_height+'px;" name="'+this.htmlSpcialChars(this.ElementName)+'">'+this.htmlSource+'</textarea><br />');
this.writeOutCount++;
return false;
}
! document.writeln('<br />');
return false;
}
***************
*** 672,676 ****
_htmlSrc += '<param name="'+_pr+'" value="'+this.activeXProperties[_pr]+'">';
}
! _htmlSrc += '<font size="1" face="Arial" color="red">Your Browser can not load the ActiveX control</font><br>';
_htmlSrc += '</object>';
--- 672,676 ----
_htmlSrc += '<param name="'+_pr+'" value="'+this.activeXProperties[_pr]+'">';
}
! _htmlSrc += '<font size="1" face="Arial" color="red">Your Browser can not load the ActiveX control</font><br />';
_htmlSrc += '</object>';
***************
*** 681,685 ****
if (this.outPutMode == 'createTextarea')
{
! _htmlSrc += '<textarea wrap="off" id="'+this.ElementId+'" style="display:none; width:'+_width+'px; height:'+_height+'px;" name="'+this.htmlSpcialChars(this.ElementName)+'">'+this.htmlSource+'</textarea><br>';
}
--- 681,685 ----
if (this.outPutMode == 'createTextarea')
{
! _htmlSrc += '<textarea wrap="off" id="'+this.ElementId+'" style="display:none; width:'+_width+'px; height:'+_height+'px;" name="'+this.htmlSpcialChars(this.ElementName)+'">'+this.htmlSource+'</textarea><br />';
}
***************
*** 1638,1642 ****
{
this.LOG('Browser is NOT ActiveX Compatible',this._LOG_DEBUG|this._LOG_NOTE );
! document.writeln('<br><font size="1" face="Arial" color="red">Your Browser does not support ActiveX - you get a plain textarea instead of the DHTMLEditor</font><br>');
return false;
}
--- 1638,1642 ----
{
this.LOG('Browser is NOT ActiveX Compatible',this._LOG_DEBUG|this._LOG_NOTE );
! document.writeln('<br /><font size="1" face="Arial" color="red">Your Browser does not support ActiveX - you get a plain textarea instead of the DHTMLEditor</font><br />');
return false;
}
***************
*** 1989,1993 ****
case "\n" :
! _htmlSrc += '<br>';
break;
--- 1989,1993 ----
case "\n" :
! _htmlSrc += '<br />';
break;
|