public/main/dropbox/index.php
Variable "last_access" is not in valid camel caps format Open
Open
$last_access = $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX];
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$view_dropbox_category_received = $viewReceivedCategory;
- Exclude checks
Closing brace indented incorrectly; expected 3 spaces, found 8 Open
Open
} ?> >
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Type'), true, 'style="width:40px"', 'style="text-align:center"'];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['RealSize', true];
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order[5] = 7;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
foreach ($dropbox_person->receivedWork as $dropbox_file) {
- Exclude checks
Variable "last_access" is not in valid camel caps format Open
Open
$last_access = get_last_tool_access(TOOL_DROPBOX);
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
Open
$is_courseTutor
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
if (0 != $view_dropbox_category_sent) {
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['', false, ''];
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
Open
foreach ($dropbox_person->receivedWork as $dropbox_file) {
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
if ($dropbox_file->last_upload_date > $last_access &&
- Exclude checks
Variable "last_upload_date" is not in valid camel caps format Open
Open
if ($dropbox_file->last_upload_date > $last_access &&
- Exclude checks
Variable "dropbox_received_category" is not in valid camel caps format Open
Open
$dropbox_received_category[] = $category;
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$view_dropbox_category_received = $viewReceivedCategory;
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Latest sent on'), true];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
if ($view_dropbox_category_received == $dropbox_file->category) {
- Exclude checks
Variable "return_information" is not in valid camel caps format Open
Open
get_lang('The form contains incorrect or incomplete data. Please check your input.').'<br />'.$return_information['message'],
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
$actions .= get_lang('You are in folder').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$actions .= get_lang('You are in folder').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';
- Exclude checks
Closing brace indented incorrectly; expected 3 spaces, found 8 Open
Open
} ?> >
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
'' == $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX]
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params[] = 'page_nr='.intval($_GET['dropbox_page_nr']);
- Exclude checks
Variable "return_information" is not in valid camel caps format Open
Open
if ('confirmation' == $return_information['type']) {
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params,
- Exclude checks
Variable "display_message" is not in valid camel caps format Open
Open
$display_message = handle_multiple_actions();
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
if ($view_dropbox_category_received == $dropbox_file->category) {
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
foreach ($dropbox_categories as $category) {
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$view_dropbox_category_received = 0;
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data = [];
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Title'), true, ''];
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
if (isset($_SESSION['_seen']) && !is_array($_SESSION['_seen'][$_course['id']][TOOL_DROPBOX])) {
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
if (0 != $view_dropbox_category_received && api_is_allowed_to_session_edit(false, true)) {
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_SESSION['_seen'][$_course['id']][TOOL_DROPBOX] = [];
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
if (isset($_SESSION[$_course['id']]) &&
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
if (isset($_SESSION[$_course['id']])) {
- Exclude checks
Variable "return_information" is not in valid camel caps format Open
Open
echo Display::return_message($return_information['message'], 'confirmation');
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$view_dropbox_category_sent = $viewSentCategory;
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$view_dropbox_category_sent = 0;
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
Open
$is_courseAdmin,
- Exclude checks
Variable "display_message" is not in valid camel caps format Open
Open
echo Display::return_message($display_message, 'normal');
- Exclude checks
Variable "number_feedback" is not in valid camel caps format Open
Open
$number_feedback = get_total_number_feedback();
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header = [];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params = Security::remove_XSS(implode('&', $sort_params));
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
if (0 != $view_dropbox_category_sent) {
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params = [];
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params[] = 'dropbox_per_page='.intval($_GET['dropbox_per_page']);
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params = Security::remove_XSS(implode('&', $sort_params));
- Exclude checks
Variable "return_information" is not in valid camel caps format Open
Open
if ('error' == $return_information['type']) {
- Exclude checks
Variable "display_message" is not in valid camel caps format Open
Open
$display_message = store_feedback();
- Exclude checks
Variable "dropbox_sent_category" is not in valid camel caps format Open
Open
$dropbox_sent_category[] = $category;
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
$view_dropbox_category_received = 0;
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
if (0 != $view_dropbox_category_received && api_is_allowed_to_session_edit(false, true)) {
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Authors'), true, ''];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['RealDate', true];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $dropbox_file->id;
- Exclude checks
Variable "new_icon" is not in valid camel caps format Open
Open
$new_icon = '';
- Exclude checks
Variable "last_access" is not in valid camel caps format Open
Open
$last_access = '';
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $dropbox_file->id;
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params[] = 'dropbox_direction='.$_GET['dropbox_direction'];
- Exclude checks
Variable "return_information" is not in valid camel caps format Open
Open
$return_information = store_addcategory();
- Exclude checks
Variable "dropbox_data_sent" is not in valid camel caps format Open
Open
$dropbox_data_sent = [];
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
$dropbox_categories = get_dropbox_categories();
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
$actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Size'), true, ''];
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order[3] = 8;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_course = api_get_course_info();
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX] = $last_access;
- Exclude checks
Variable "last_access" is not in valid camel caps format Open
Open
$_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX] = $last_access;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$last_access = $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX];
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$sort_params[] = 'dropbox_column='.intval($_GET['dropbox_column']);
- Exclude checks
Variable "display_message" is not in valid camel caps format Open
Open
echo Display::return_message($display_message, 'normal');
- Exclude checks
Variable "dropbox_data_recieved" is not in valid camel caps format Open
Open
$dropbox_data_recieved = [];
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "sorting_options" is not in valid camel caps format Open
Open
$sorting_options = [];
- Exclude checks
Variable "paging_options" is not in valid camel caps format Open
Open
$paging_options = [];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 0;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', $category['title']).'</a>';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "additional_get_parameters" is not in valid camel caps format Open
Open
$additional_get_parameters = [
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['', false, ''];
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/update.php?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=update&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file->id,
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=movereceived&move_id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=movereceived&move_id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "number_feedback" is not in valid camel caps format Open
Open
$number_feedback = get_total_number_feedback();
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'&action=download">'.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=viewfeedback&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_SESSION['_seen'][$_course['id']][TOOL_DROPBOX]
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'&action=download">'.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$authorInfo = api_get_user_info($dropbox_file->uploader_id);
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Sent Files'), true, ''];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order[5] = 7;
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$file_size = $dropbox_file->filesize;
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = format_file_size($file_size);
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $lastUploadDate;
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=movesent&move_id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
'</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
if ('viewfeedback' == $action && isset($_GET['id']) && is_numeric($_GET['id']) && $dropbox_file->id == $_GET['id']) {
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons = '';
- Exclude checks
Variable "sorting_options" is not in valid camel caps format Open
Open
$sorting_options,
- Exclude checks
Variable "additional_get_parameters" is not in valid camel caps format Open
Open
$additional_get_parameters,
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order = [];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = trim(trim($receivers_celldata), ','); // Removing the trailing comma.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "is_courseAdmin" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Latest sent on'), true, ''];
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=movesent&move_id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "new_icon" is not in valid camel caps format Open
Open
$new_icon = ' '.Display::getMdiIcon(ActionIcon::ADD, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('New'));
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'&action=download">'.
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = '';
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= "</td></tr>"; // Ending the normal row of the sortable table
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_data_recieved[] = $dropbox_file_data;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] =
- Exclude checks
Variable "dropbox_data_recieved" is not in valid camel caps format Open
Open
$dropbox_data_recieved[] = $dropbox_category_data;
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order[3] = 8;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
if ($view_dropbox_category_sent == $dropbox_file->category) {
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $receivers_celldata;
- Exclude checks
Variable "number_feedback" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';
- Exclude checks
Variable "last_upload_date" is not in valid camel caps format Open
Open
$lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=viewfeedback&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletereceivedfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletereceivedfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= "
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data = [];
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file->title.
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = UserManager::getUserProfileLink($userInfo).', '.$receivers_celldata;
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = UserManager::getUserProfileLink($userInfo).', '.$receivers_celldata;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$file_size = $dropbox_file->filesize;
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
Display::getMdiIcon(ActionIcon::SAVE_FORM, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Save')).'</a>'.$link_open.$category['title'].'</a>';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$view_dropbox_category_sent = $viewSentCategory;
- Exclude checks
Variable "paging_options" is not in valid camel caps format Open
Open
$paging_options = [];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 0;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
foreach ($dropbox_person->sentWork as $dropbox_file) {
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$file_size = $dropbox_file->filesize;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
foreach ($dropbox_file->recipients as $recipient) {
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=viewfeedback&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = format_file_size($file_size);
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$dropbox_file_data[] = format_file_size($file_size);
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $file_size;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data = [];
- Exclude checks
Variable "dropbox_data_recieved" is not in valid camel caps format Open
Open
$dropbox_data_recieved,
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$file_size = $dropbox_file->filesize;
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header,
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order,
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
'</a><br />'.$dropbox_file->description;
- Exclude checks
Variable "last_upload_date" is not in valid camel caps format Open
Open
$lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);
- Exclude checks
Variable "last_access" is not in valid camel caps format Open
Open
if ($dropbox_file->last_upload_date > $last_access &&
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
'</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;
- Exclude checks
Variable "uploader_id" is not in valid camel caps format Open
Open
$authorInfo = api_get_user_info($dropbox_file->uploader_id);
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Type'), true, 'style="width:40px"', 'style="text-align:center"'];
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
Open
foreach ($dropbox_person->sentWork as $dropbox_file) {
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $dropbox_file->id;
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'&action=download">'.
- Exclude checks
Variable "new_icon" is not in valid camel caps format Open
Open
'</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;
- Exclude checks
Variable "number_feedback" is not in valid camel caps format Open
Open
$action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_CODE_PATH).'dropbox/index.php?"'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory."&view_sent_category=".$viewSentCategory."&view=".$view.'&'.$sort_params;
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $file_size;
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', $category['title']).'</a>';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] =
- Exclude checks
Variable "paging_options" is not in valid camel caps format Open
Open
$paging_options,
- Exclude checks
Variable "sorting_options" is not in valid camel caps format Open
Open
$sorting_options = [];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Visible to'), true, ''];
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $dropbox_file->id;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/update.php?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=update&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
'</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
feedback($dropbox_file->feedback2, $url).
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $category['cat_id'];
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$category['cat_id'].'&view_sent_category='.$viewSentCategory.'&view='.$view.'">';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_data_recieved[] = $dropbox_category_data;
- Exclude checks
Variable "dropbox_person" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['RealDate', true];
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
if ($view_dropbox_category_sent == $dropbox_file->category) {
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$dropbox_file_data[] = format_file_size($file_size);
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = '';
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $receivers_celldata;
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $lastUploadDate;
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletereceivedfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $lastUploadDate;
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
foreach ($dropbox_categories as $category) {
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
$view_dropbox_category_sent = 0;
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$link_open.
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = trim(trim($receivers_celldata), ','); // Removing the trailing comma.
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', Security::remove_XSS($category['title'])).'</a>';
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $authorInfo['complete_name'];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show,
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header = [];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Size'), true, ''];
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show[] = 1;
- Exclude checks
Variable "receivers_celldata" is not in valid camel caps format Open
Open
$receivers_celldata = '';
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= "</td></tr>\n"; // ending the normal row of the sortable table
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "dropbox_categories" is not in valid camel caps format Open
Open
foreach ($dropbox_categories as $category) {
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', Security::remove_XSS($category['title'])).'</a>';
- Exclude checks
Variable "dropbox_data_sent" is not in valid camel caps format Open
Open
$dropbox_data_sent[] = $dropbox_category_data;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_data_sent[] = $dropbox_category_data;
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_CODE_PATH)."dropbox/index.php?".api_get_cidreq()."&view_received_category=".$viewReceivedCategory."&view_sent_category=".$viewSentCategory."&view=".$view.'&'.$sort_params;
- Exclude checks
Variable "additional_get_parameters" is not in valid camel caps format Open
Open
$additional_get_parameters = [
- Exclude checks
Variable "dropbox_data_sent" is not in valid camel caps format Open
Open
$dropbox_data_sent,
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=viewfeedback&id='.$dropbox_file->id.'&'.$sort_params.'">'.
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "dropbox_data_recieved" is not in valid camel caps format Open
Open
$dropbox_data_recieved[] = $dropbox_file_data;
- Exclude checks
Variable "view_dropbox_category_received" is not in valid camel caps format Open
Open
if (0 == $view_dropbox_category_received) {
- Exclude checks
Variable "is_courseTutor" is not in valid camel caps format Open
Open
$dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header[] = ['RealSize', true];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show = [];
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $action_icons;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletesentfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
$link_open = '<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$category['cat_id'].'&view='.$view.'">';
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= feedback($dropbox_file->feedback2, $url);
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $file_size;
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_data_sent[] = $dropbox_file_data;
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {
- Exclude checks
Variable "sort_params" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletesentfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
Open
$column_order,
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data = [];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
Open
$column_show,
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
$action_icons .= feedback($dropbox_file->feedback2, $url);
- Exclude checks
Variable "file_size" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $file_size;
- Exclude checks
Variable "view_dropbox_category_sent" is not in valid camel caps format Open
Open
if (0 == $view_dropbox_category_sent) {
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&cat_id='.$category['cat_id'].'&action=downloadcategory&sent_received=sent">'.
- Exclude checks
Variable "paging_options" is not in valid camel caps format Open
Open
$paging_options,
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
if ('viewfeedback' == $action && isset($_GET['id']) && is_numeric($_GET['id']) && $dropbox_file->id == $_GET['id']) {
- Exclude checks
Variable "dropbox_data_sent" is not in valid camel caps format Open
Open
$dropbox_data_sent[] = $dropbox_file_data;
- Exclude checks
Variable "additional_get_parameters" is not in valid camel caps format Open
Open
$additional_get_parameters,
- Exclude checks
Variable "dropbox_file" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=deletesentfile&id='.$dropbox_file->id.'&'.$sort_params.'" onclick="javascript: return confirmation(\''.$dropbox_file->title.'\');">'.
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= "<tr><td colspan=\"9\">";
- Exclude checks
Variable "column_header" is not in valid camel caps format Open
Open
$column_header,
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons .= "</tr>";
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = $category['cat_id'];
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '';
- Exclude checks
Variable "dropbox_file_data" is not in valid camel caps format Open
Open
$dropbox_file_data[] = $lastUploadDate;
- Exclude checks
Variable "link_open" is not in valid camel caps format Open
Open
Display::getMdiIcon(ActionIcon::SAVE_FORM, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Save')).'</a>'.$link_open.Security::remove_XSS($category['title']).'</a>';
- Exclude checks
Variable "sorting_options" is not in valid camel caps format Open
Open
$sorting_options,
- Exclude checks
Variable "action_icons" is not in valid camel caps format Open
Open
$action_icons = '';
- Exclude checks
Variable "dropbox_category_data" is not in valid camel caps format Open
Open
$dropbox_category_data[] = '<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$viewSentCategory.'&view='.$view.'&action=editcategory&id='.$category['cat_id'].'">'.
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 8 Open
Open
} ?> >
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 8 Open
Open
} ?> >
- Exclude checks