requireUser(WEB_ROOT . '/login.' . SITE_CONFIG_PAGE_EXTENSION); /* remove fileFolder */ if (isset($_REQUEST['d'])) { if (_CONFIG_DEMO_MODE == true) { notification::setError(t("no_changes_in_demo_mode")); } elseif(coreFunctions::getUsersAccountLockStatus($Auth->id) == 1) { notification::setError(t('account_locked_error_message', 'This account has been locked, please unlock the account to regain full functionality.')); } if (!notification::isErrors()) { $fileFolder = fileFolder::loadById($_REQUEST['d']); if ($fileFolder) { /* check user id */ if ($fileFolder->userId == $Auth->id) { $fileFolder->removeByUser(); } } } } /* setup page */ define("PAGE_NAME", t("account_folder_name", "File Folders")); define("PAGE_DESCRIPTION", t("account_folder_meta_description", "Your File Folders")); define("PAGE_KEYWORDS", t("account_folder_meta_keywords", "file, folders, home, file, your, interface, upload, download, site")); // include header require_once(SITE_TEMPLATES_PATH . '/partial/_header.inc.php'); // load all fileFolder for this account $fileFolders = fileFolder::loadAllByAccount($Auth->id); ?>
You have folder within your account. Use the table below to manage existing folders or click here to create a new one.
You have no folders within your account. Click here to create one.
';
echo '';
echo '';
echo ' ' . t('folder_name', 'Folder Name:') . ' ';
echo '' . t('sharing_url', 'Sharing Url:') . ' ';
echo '' . t('active_files', 'Active Files:') . ' ';
echo '' . t('is_public', 'Public:') . ' ';
echo '' . t('options', 'Options:') . ' ';
echo '';
echo '