get_session();
$registry = $appbox->get_registry();
$usr_id = $session->get_usr_id();
function filize($x)
{
return '*.' . $x;
}
User_Adapter::updateClientInfos(8);
phrasea::headers();
$user = User_Adapter::getInstance($usr_id, $appbox);
$avStatus = array_keys($user->ACL()->get_granted_base(array('chgstatus')));
$avBases = array_keys($user->ACL()->get_granted_base(array('canaddrecord')));
if (count($avBases) == 0)
{
header("Content-Type: text/html; charset=UTF-8");
?>
get('GV_homeTitle'), ' ', _('admin::monitor: module upload'); ?>
getTwig();
echo $twig->render('common/menubar.twig', array('module' => 'upload'));
?>
get_databoxes() as $databox)
{
$groupopen = false;
$sbas_id = $databox->get_sbas_id();
foreach ($databox->get_collections() as $collection)
{
if (in_array($collection->get_base_id(), $avBases))
{
if (!$groupopen)
{
$colls .= '';
}
$maxVolume = min((int) get_cfg_var('upload_max_filesize'), (int) get_cfg_var('post_max_size'));
header("Content-Type: text/html; charset=UTF-8");
?>
get('GV_homeTitle'), ' ', _('admin::monitor: module upload'); ?>
get_count();
}
catch (Exception $e)
{
}
$twig = $Core->getTwig();
echo $twig->render('common/menubar.twig'
, array(
'module' => 'upload'
, 'events' => eventsmanager_broker::getInstance($appbox, $Core)
));
?>