|
|
|
@ -106,7 +106,7 @@ if($_POST['fileupload']=="Attach File"){ |
|
|
|
|
//var content = FCK.EditorDocument.body.innerHTML; |
|
|
|
|
var content = FCK.GetXHTML( FCKConfig.FormatOutput ); |
|
|
|
|
//alert(content); |
|
|
|
|
FCK.SetHTML(content+'<br><?=$imgIcon?> <a href="<?=$target_url?>"><?=$basefilename?></a>');
|
|
|
|
|
FCK.SetHTML(content+'<br><?php echo $imgIcon; ?> <a href="<?php echo $target_url; ?>"><?php echo $basefilename; ?></a>');
|
|
|
|
|
window.parent.close(); |
|
|
|
|
</script> |
|
|
|
|
<? |
|
|
|
@ -131,7 +131,7 @@ require("../loader.class.php"); |
|
|
|
|
$loader = new Loader('formUpload'); |
|
|
|
|
$loader->init(); |
|
|
|
|
?> |
|
|
|
|
<form name="formUpload" enctype="multipart/form-data" action="<?=$_SERVER['PHP_SELF']?>" method="POST"><!--onSubmit="progress_bar();"-->
|
|
|
|
|
<form name="formUpload" enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"><!--onSubmit="progress_bar();"-->
|
|
|
|
|
<input type="hidden" name="sent" value="1"> |
|
|
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" /> |
|
|
|
|
<div class="title"><span>File Attachment</span></div> |
|
|
|
|