function template_preprocess_filedepot_activefolder_nonadmin in filedepot 6
Same name and namespace in other branches
- 7 lib-theme.php \template_preprocess_filedepot_activefolder_nonadmin()
File
- ./
lib-theme.php, line 79 - lib-theme.php Theme support functions for the module
Code
function template_preprocess_filedepot_activefolder_nonadmin(&$variables) {
$filedepot = filedepot_filedepot();
$foldername = db_result(db_query("SELECT name FROM {filedepot_categories} WHERE cid=%d", $filedepot->cid));
$variables['active_category_id'] = $filedepot->cid;
$variables['active_folder_name'] = filter_xss($foldername);
$variables['LANG_folderoptions'] = t('Folder Notification Options');
$variables['LANG_newfiles'] = t('Alert me if new files are added');
$variables['LANG_filechanges'] = t('Alert me if files are changed');
}