blob: ff64523274668ac1d73a097abd88512da8bb2880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
require_once("../bit_setup_inc.php");
global $gBitSystem;
if (!$gBitUser->mUserId) {
$smarty->assign('msg', tra("You are not logged in"));
$gBitSystem->display( 'error.tpl' );
die;
}
$userFiles = $gBitUser->getUserFiles();
$smarty->assign_by_ref('userFiles', $userFiles['files']);
$smarty->assign('numUserFiles', count($userFiles['files']));
$smarty->assign('diskUsage', $userFiles['diskUsage']);
if (!empty($_REQUEST['deleteAttachment'])) {
$attachmentId = $_REQUEST['deleteAttachment'];
}
$gBitSystem->display('bitpackage:users/my_files.tpl');
?>
|