issue 70 file management UI/UX modify

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8715 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-03 07:23:30 +00:00
parent 0cf931d098
commit 35d02e8d3e
9 changed files with 146 additions and 65 deletions

View file

@ -145,6 +145,25 @@
}
}
/**
* @brief Add to SESSION file srl
**/
function procFileAdminAddCart()
{
$file_srl = (int)Context::get('file_srl');
//$fileSrlList = array(500, 502);
$oFileModel = &getModel('file');
$output = $oFileModel->getFile($file_srl);
//$output = $oFileModel->getFile($fileSrlList);
if($output->file_srl)
{
if($_SESSION['file_management'][$output->file_srl]) unset($_SESSION['file_management'][$output->file_srl]);
else $_SESSION['file_management'][$output->file_srl] = true;
}
}
/**
* @brief php.ini에서 가져온 값의 형식이 M과 같을경우 byte로 바꿔주기
**/