[svn r22370] FS#2867 - The online editor, the Image manager: Increasing the dialog's height (needed for Firefox 3.0 on Ububntu). Removing an obsolete file.

skala
Ivan Tcholakov 17 years ago
parent 3b711b883a
commit e7d3ef3241
  1. 19
      main/inc/lib/fckeditor/editor/plugins/ImageManager/assets/manager_original.css
  2. 2
      main/inc/lib/fckeditor/editor/plugins/ImageManager/fckplugin.js
  3. 4
      main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php
  4. 42
      main/inc/lib/fckeditor/editor/plugins/audio/fck_audio_playback.html

@ -1,19 +0,0 @@
html, body { background-color: ButtonFace; color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;}
body { padding: 5px; }
fieldset { padding: 0;}
.title { background-color: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid black; letter-spacing: 2px;}
form { padding: 0px; margin: 0 auto; width: 550px;}
.dirWidth { width: 70%; }
a { padding: 5px; border: 1px solid ButtonFace; }
a img { border: 0; }
a:hover { border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; }
.dirs { padding: 1em; }
.imageFrame { width: 525px; height: 145px; margin: 0 auto; margin-top: 1em; background-color: White;}
.smallWidth{ width: 4em; }
.largelWidth{ width: 22em; }
.inputTable { margin: 1em auto; }
select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
.buttons { width: 70px; text-align: center; }
.clearboth{ clear: both; }
#messages { position: relative; left: 175px; top: 115px; background-color: white; width:200px; float: left; margin-top: -52px; border: 1px solid #ccc; text-align: center; padding: 15px; }
#message { font-size: 15px; font-weight: bold; color: #69c; }

@ -209,7 +209,7 @@ ImageManager.prototype.insert = function(outparam)
return; return;
//}, outparam); //}, outparam);
}, outparam, 'FCKDialog_ImageManager', 'Insert Image', 850, 500 ); }, outparam, 'FCKDialog_ImageManager', 'Insert Image', 850, 535 );
} }
}; };

@ -50,7 +50,7 @@
var _editor_lang = 'en' ; var _editor_lang = 'en' ;
if ( window.opener ) if ( window.opener )
{ {
window.resizeTo( 850, 500 ) ; window.resizeTo( 850, 535 ) ;
if ( window.opener.ImageManager && window.opener.ImageManager.I18N ) if ( window.opener.ImageManager && window.opener.ImageManager.I18N )
{ {
@ -64,6 +64,8 @@
} }
else if ( window.parent ) else if ( window.parent )
{ {
window.parent.SetAutoSize( true ) ;
_editor_lang = oEditor._editor_lang ; _editor_lang = oEditor._editor_lang ;
if ( oEditor.ImageManager && oEditor.ImageManager.I18N ) if ( oEditor.ImageManager && oEditor.ImageManager.I18N )
{ {

@ -45,27 +45,27 @@ window.onload = function()
window.parent.SetPreviewElement( document.body ) ; window.parent.SetPreviewElement( document.body ) ;
} }
// This is a patch for the "__flash__removeCallback" bug, see FS#4378. // This is a patch for the "__flash__removeCallback" bug, see FS#4378.
function ClearPreviewElement() function ClearPreviewElement()
{ {
if ( ( navigator.userAgent.toLowerCase().indexOf( 'msie' ) != -1 ) && ( navigator.userAgent.toLowerCase().indexOf( 'opera' ) == -1 ) ) if ( ( navigator.userAgent.toLowerCase().indexOf( 'msie' ) != -1 ) && ( navigator.userAgent.toLowerCase().indexOf( 'opera' ) == -1 ) )
{ {
if ( document.body.firstChild ) if ( document.body.firstChild )
{ {
try try
{ {
while ( document.body.firstChild ) while ( document.body.firstChild )
{ {
document.body.removeChild( document.body.firstChild ) ; document.body.removeChild( document.body.firstChild ) ;
} }
} }
catch ( ex ) catch ( ex )
{ {
} }
} }
} }
} ; } ;
</script> </script>
</head> </head>
<body style="color: #000000; background-color: #ffffff; padding-top: 35px;" onbeforeunload="javascript: ClearPreviewElement();"></body> <body style="color: #000000; background-color: #ffffff; padding-top: 35px;" onbeforeunload="javascript: ClearPreviewElement();"></body>
</html> </html>

Loading…
Cancel
Save