|
|
@ -1,7 +1,7 @@ |
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
|
|
|
|
|
|
|
|
<head> |
|
|
|
<head> |
|
|
|
|
|
|
|
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
|
|
|
|
|
|
|
|
@ -28,46 +28,48 @@ |
|
|
|
var ave_path = "{$ABS_PATH}"; |
|
|
|
var ave_path = "{$ABS_PATH}"; |
|
|
|
var ave_theme = "{$smarty.const.DEFAULT_THEME_FOLDER}"; |
|
|
|
var ave_theme = "{$smarty.const.DEFAULT_THEME_FOLDER}"; |
|
|
|
var ave_admintpl = "{$tpl_dir}"; |
|
|
|
var ave_admintpl = "{$tpl_dir}"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var sess = '{$sess}'; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
</head> |
|
|
|
|
|
|
|
|
|
|
|
<body topmargin="0" leftmargin="0"> |
|
|
|
<body topmargin="0" leftmargin="0"> |
|
|
|
<script type="text/javascript"> |
|
|
|
<script type="text/javascript"> |
|
|
|
{if $new_dir_rezult} |
|
|
|
{if $new_dir_rezult} |
|
|
|
alert('{#MAIN_CREATE_DIR_ERROR#}'); |
|
|
|
alert('{#MAIN_CREATE_DIR_ERROR#}'); |
|
|
|
{/if} |
|
|
|
{/if} |
|
|
|
function fileAction(fName, fAction) {ldelim} |
|
|
|
function fileAction(fName, fAction) {ldelim} |
|
|
|
if (fAction == 'select') {ldelim} |
|
|
|
if (fAction == 'select') {ldelim} |
|
|
|
parent.document.bForm.bFileName.value = fName; |
|
|
|
parent.document.bForm.bFileName.value = fName; |
|
|
|
{rdelim} |
|
|
|
{rdelim} |
|
|
|
{rdelim} |
|
|
|
{rdelim} |
|
|
|
parent.document.bForm.bDirName.value='{$dir}'; |
|
|
|
parent.document.bForm.bDirName.value='{$dir}'; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<div id="files"> |
|
|
|
<div id="files"> |
|
|
|
|
|
|
|
|
|
|
|
{if $dir != '/'} |
|
|
|
{if $dir != '/'} |
|
|
|
<div class="imageBlock0"> |
|
|
|
<div class="imageBlock0"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="imageBlock"><a href="index.php?do=browser&type={$smarty.request.type|escape}&action=list&dir={$dirup}&target={$smarty.request.target|escape}"><img class="topDir" title="{#MAIN_MP_UP_LEVEL#}" src="{$tpl_dir}/images/folder_up.gif" alt="" border="0" width="{$max_size}" height="{$max_size}" /></a></div> |
|
|
|
<div class="imageBlock"><a href="index.php?do=browser&type={$smarty.request.type|escape}&action=list&dir={$dirup}&target={$smarty.request.target|escape}"><img class="topDir" title="{#MAIN_MP_UP_LEVEL#}" src="{$tpl_dir}/images/folder_up.gif" alt="" border="0" width="{$max_size}" height="{$max_size}" /></a></div> |
|
|
|
<div class="imageName" align="center"><a title="{#MAIN_MP_UP_LEVEL#}" href="index.php?do=browser&type={$smarty.request.type|escape}&action=list&dir={$dirup}&target={$smarty.request.target|escape}">..</a></div> |
|
|
|
<div class="imageName" align="center"><a title="{#MAIN_MP_UP_LEVEL#}" href="index.php?do=browser&type={$smarty.request.type|escape}&action=list&dir={$dirup}&target={$smarty.request.target|escape}">..</a></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
{/if} |
|
|
|
|
|
|
|
|
|
|
|
{foreach from=$dirs item=dir_link key=dir_name} |
|
|
|
{foreach from=$dirs item=dir_link key=dir_name} |
|
|
|
<div class="imageBlock0"> |
|
|
|
<div class="imageBlock0"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="imageBlock"><a href="{$dir_link}&target={$smarty.request.target|escape}"><img src="{$tpl_dir}/images/folder.gif" alt="" border="0" width="{$max_size}" height="{$max_size}" /></a></div> |
|
|
|
<div class="imageBlock"><a href="{$dir_link}&target={$smarty.request.target|escape}"><img src="{$tpl_dir}/images/folder.gif" alt="" border="0" width="{$max_size}" height="{$max_size}" /></a></div> |
|
|
|
<div class="imageName" align="center">{$dir_name}</div> |
|
|
|
<div class="imageName" align="center">{$dir_name}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/foreach} |
|
|
|
{/foreach} |
|
|
|
|
|
|
|
|
|
|
|
{if $smarty.request.type != 'directory'}{/if} |
|
|
|
{if $smarty.request.type != 'directory'}{/if} |
|
|
|
{foreach from=$files item=file key=file_name} |
|
|
|
{foreach from=$files item=file key=file_name} |
|
|
|
<div class="imageBlock0" onClick="javascript:fileAction('{$file_name}', 'select');"> |
|
|
|
<div class="imageBlock0" onClick="javascript:fileAction('{$file_name}', 'select');"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="imageBlock1"> |
|
|
|
<div class="mb_icon_file"><img src="{$tpl_dir}/images/mediapool/{$file.icon}.gif" alt="" border="0" /></div> |
|
|
|
<div class="mb_icon_file"><img src="{$tpl_dir}/images/mediapool/{$file.icon}.gif" alt="" border="0" /></div> |
|
|
|
{if !$recycled} |
|
|
|
{if !$recycled} |
|
|
@ -93,16 +95,16 @@ parent.document.bForm.bDirName.value='{$dir}'; |
|
|
|
<div class="mb_time">{$file.moddate}</div> |
|
|
|
<div class="mb_time">{$file.moddate}</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/foreach} |
|
|
|
{/foreach} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Load jQuery and JS files --> |
|
|
|
<!-- Load jQuery and JS files --> |
|
|
|
<script type="text/javascript"> |
|
|
|
<script type="text/javascript"> |
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|
$(document).ready(function(){ldelim} |
|
|
|
$(document).ready(function(){ldelim} |
|
|
|
|
|
|
|
|
|
|
|
var ctrlState = false; |
|
|
|
var ctrlState = false; |
|
|
|
|
|
|
|
|
|
|
@ -111,7 +113,7 @@ $(document).ready(function(){ldelim} |
|
|
|
href: 'index.php?do=browser&type={$smarty.request.type|escape}&target={$smarty.request.target|escape}&action=upload&dir=' + parent.document.bForm.bDirName.value |
|
|
|
href: 'index.php?do=browser&type={$smarty.request.type|escape}&target={$smarty.request.target|escape}&action=upload&dir=' + parent.document.bForm.bDirName.value |
|
|
|
{rdelim}); |
|
|
|
{rdelim}); |
|
|
|
|
|
|
|
|
|
|
|
{literal} |
|
|
|
{literal} |
|
|
|
$('.imageBlock0').live('mouseover', function(){ |
|
|
|
$('.imageBlock0').live('mouseover', function(){ |
|
|
|
if(!$(this).hasClass('imageBlockAct')) { |
|
|
|
if(!$(this).hasClass('imageBlockAct')) { |
|
|
|
$(this).addClass('imageBlockHover'); |
|
|
|
$(this).addClass('imageBlockHover'); |
|
|
@ -156,9 +158,9 @@ $(document).ready(function(){ldelim} |
|
|
|
$(this).blur(function(event){ |
|
|
|
$(this).blur(function(event){ |
|
|
|
ctrlState = false; |
|
|
|
ctrlState = false; |
|
|
|
}); |
|
|
|
}); |
|
|
|
{/literal} |
|
|
|
{/literal} |
|
|
|
|
|
|
|
|
|
|
|
{rdelim}); |
|
|
|
{rdelim}); |
|
|
|
|
|
|
|
|
|
|
|
function ConfirmDelete(fName) {ldelim} |
|
|
|
function ConfirmDelete(fName) {ldelim} |
|
|
|
var title = "{#MAIN_MP_FILE_DELETE#}"; |
|
|
|
var title = "{#MAIN_MP_FILE_DELETE#}"; |
|
|
@ -176,9 +178,10 @@ $(document).ready(function(){ldelim} |
|
|
|
); |
|
|
|
); |
|
|
|
{rdelim} |
|
|
|
{rdelim} |
|
|
|
|
|
|
|
|
|
|
|
//--> |
|
|
|
//--> |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{$ABS_PATH}admin/lang/{$smarty.session.admin_language}/scripts.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
</body> |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
</html> |