mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@142 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a35379d3a6
commit
d283c3cee7
2 changed files with 8 additions and 1 deletions
|
|
@ -62,7 +62,7 @@
|
||||||
<td>{$lang->uploaded_file}</td>
|
<td>{$lang->uploaded_file}</td>
|
||||||
<td>
|
<td>
|
||||||
<!--@foreach($document->uploaded_list as $key => $file)-->
|
<!--@foreach($document->uploaded_list as $key => $file)-->
|
||||||
<div><a href="./?mid={$mid}&act=procDownload&file_srl={$file->file_srl}&sid={$file->sid}&document_srl={$file->document_srl}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})</a> ({number_format($file->download_count)})</div>
|
<div><a href="./?mid={$mid}&act=procDownloadFile&file_srl={$file->file_srl}&sid={$file->sid}&document_srl={$file->document_srl}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})</a> ({number_format($file->download_count)})</div>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,13 @@
|
||||||
$buff .= sprintf("parent.editor_insert_uploaded_file(\"%d\", \"%d\",\"%s\", \"%d\", \"%s\", \"%s\", \"%s\");\n", $document_srl, $file_info->file_srl, $file_info->source_filename, $file_info->file_size, FileHandler::filesize($file_info->file_size), $file_info->direct_download=='Y'?$file_info->uploaded_filename:'', $file_info->sid);
|
$buff .= sprintf("parent.editor_insert_uploaded_file(\"%d\", \"%d\",\"%s\", \"%d\", \"%s\", \"%s\", \"%s\");\n", $document_srl, $file_info->file_srl, $file_info->source_filename, $file_info->file_size, FileHandler::filesize($file_info->file_size), $file_info->direct_download=='Y'?$file_info->uploaded_filename:'', $file_info->sid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header("Content-Type: text/html; charset=UTF-8");
|
||||||
|
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||||
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
|
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||||
|
header("Pragma: no-cache");
|
||||||
|
|
||||||
$buff = sprintf("<script type=\"text/javascript\">\nparent.editor_upload_clear_list(\"%s\");\n%s</script>", $document_srl, $buff);
|
$buff = sprintf("<script type=\"text/javascript\">\nparent.editor_upload_clear_list(\"%s\");\n%s</script>", $document_srl, $buff);
|
||||||
print $buff;
|
print $buff;
|
||||||
exit();
|
exit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue