chamilo/chamilo-lms

View on GitHub
public/main/dropbox/index.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "last_access" is not in valid camel caps format
Open

        $last_access = $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX];

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            $view_dropbox_category_received = $viewReceivedCategory;

Closing brace indented incorrectly; expected 3 spaces, found 8
Open

        } ?> >

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Type'), true, 'style="width:40px"', 'style="text-align:center"'];

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['RealSize', true];

Variable "column_order" is not in valid camel caps format
Open

        $column_order[5] = 7;

Variable "dropbox_file" is not in valid camel caps format
Open

        foreach ($dropbox_person->receivedWork as $dropbox_file) {

Variable "last_access" is not in valid camel caps format
Open

    $last_access = get_last_tool_access(TOOL_DROPBOX);

Variable "is_courseTutor" is not in valid camel caps format
Open

        $is_courseTutor

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

                if (0 != $view_dropbox_category_sent) {

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['', false, ''];

Variable "dropbox_person" is not in valid camel caps format
Open

        foreach ($dropbox_person->receivedWork as $dropbox_file) {

Variable "dropbox_file" is not in valid camel caps format
Open

                    if ($dropbox_file->last_upload_date > $last_access &&

Variable "last_upload_date" is not in valid camel caps format
Open

                    if ($dropbox_file->last_upload_date > $last_access &&

Variable "dropbox_received_category" is not in valid camel caps format
Open

            $dropbox_received_category[] = $category;

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            $view_dropbox_category_received = $viewReceivedCategory;

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Latest sent on'), true];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_show" is not in valid camel caps format
Open

            $column_show[] = 1;

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            if ($view_dropbox_category_received == $dropbox_file->category) {

Variable "return_information" is not in valid camel caps format
Open

            get_lang('The form contains incorrect or incomplete data. Please check your input.').'<br />'.$return_information['message'],

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

                $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';

Variable "dropbox_categories" is not in valid camel caps format
Open

                    $actions .= get_lang('You are in folder').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

                    $actions .= get_lang('You are in folder').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';

Closing brace indented incorrectly; expected 3 spaces, found 8
Open

        } ?> >

Variable "_course" is not in valid camel caps format
Open

    '' == $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX]

Variable "sort_params" is not in valid camel caps format
Open

    $sort_params[] = 'page_nr='.intval($_GET['dropbox_page_nr']);

Variable "return_information" is not in valid camel caps format
Open

    if ('confirmation' == $return_information['type']) {

Variable "sort_params" is not in valid camel caps format
Open

        $sort_params,

Variable "display_message" is not in valid camel caps format
Open

    $display_message = handle_multiple_actions();

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

                    $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_show" is not in valid camel caps format
Open

            $column_show[] = 1;

Variable "dropbox_file" is not in valid camel caps format
Open

            if ($view_dropbox_category_received == $dropbox_file->category) {

Variable "dropbox_categories" is not in valid camel caps format
Open

    foreach ($dropbox_categories as $category) {

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            $view_dropbox_category_received = 0;

Variable "column_header" is not in valid camel caps format
Open

            $column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];

Variable "dropbox_file_data" is not in valid camel caps format
Open

            $dropbox_file_data = [];

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

                $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Title'), true, ''];

Variable "_course" is not in valid camel caps format
Open

                if (isset($_SESSION['_seen']) && !is_array($_SESSION['_seen'][$_course['id']][TOOL_DROPBOX])) {

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

                if (0 != $view_dropbox_category_received && api_is_allowed_to_session_edit(false, true)) {

Variable "dropbox_categories" is not in valid camel caps format
Open

                $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_sent]['title']).'</strong> ';

Variable "is_courseTutor" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "_course" is not in valid camel caps format
Open

                    $_SESSION['_seen'][$_course['id']][TOOL_DROPBOX] = [];

Variable "_course" is not in valid camel caps format
Open

if (isset($_SESSION[$_course['id']]) &&

Variable "_course" is not in valid camel caps format
Open

    if (isset($_SESSION[$_course['id']])) {

Variable "return_information" is not in valid camel caps format
Open

        echo Display::return_message($return_information['message'], 'confirmation');

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            $view_dropbox_category_sent = $viewSentCategory;

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            $view_dropbox_category_sent = 0;

Variable "is_courseAdmin" is not in valid camel caps format
Open

        $is_courseAdmin,

Variable "display_message" is not in valid camel caps format
Open

        echo Display::return_message($display_message, 'normal');

Variable "number_feedback" is not in valid camel caps format
Open

        $number_feedback = get_total_number_feedback();

Variable "column_header" is not in valid camel caps format
Open

        $column_header = [];

Variable "column_header" is not in valid camel caps format
Open

            $column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];

Variable "sort_params" is not in valid camel caps format
Open

$sort_params = Security::remove_XSS(implode('&', $sort_params));

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            if (0 != $view_dropbox_category_sent) {

Variable "dropbox_person" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "sort_params" is not in valid camel caps format
Open

$sort_params = [];

Variable "sort_params" is not in valid camel caps format
Open

    $sort_params[] = 'dropbox_per_page='.intval($_GET['dropbox_per_page']);

Variable "sort_params" is not in valid camel caps format
Open

$sort_params = Security::remove_XSS(implode('&', $sort_params));

Variable "return_information" is not in valid camel caps format
Open

    if ('error' == $return_information['type']) {

Variable "display_message" is not in valid camel caps format
Open

        $display_message = store_feedback();

Variable "dropbox_sent_category" is not in valid camel caps format
Open

            $dropbox_sent_category[] = $category;

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            $view_dropbox_category_received = 0;

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

            if (0 != $view_dropbox_category_received && api_is_allowed_to_session_edit(false, true)) {

Variable "dropbox_categories" is not in valid camel caps format
Open

                $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Authors'), true, ''];

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['RealDate', true];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "dropbox_file" is not in valid camel caps format
Open

                $dropbox_file_data[] = $dropbox_file->id;

Variable "new_icon" is not in valid camel caps format
Open

                $new_icon = '';

Variable "last_access" is not in valid camel caps format
Open

$last_access = '';

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $dropbox_file->id;

Variable "sort_params" is not in valid camel caps format
Open

    $sort_params[] = 'dropbox_direction='.$_GET['dropbox_direction'];

Variable "return_information" is not in valid camel caps format
Open

    $return_information = store_addcategory();

Variable "dropbox_data_sent" is not in valid camel caps format
Open

$dropbox_data_sent = [];

Variable "dropbox_categories" is not in valid camel caps format
Open

    $dropbox_categories = get_dropbox_categories();

Variable "dropbox_categories" is not in valid camel caps format
Open

                    $actions .= get_lang('Category').': <strong>'.Security::remove_XSS($dropbox_categories[$view_dropbox_category_received]['title']).'</strong> ';

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Size'), true, ''];

Variable "column_order" is not in valid camel caps format
Open

        $column_order[3] = 8;

Variable "_course" is not in valid camel caps format
Open

$_course = api_get_course_info();

Variable "_course" is not in valid camel caps format
Open

    $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX] = $last_access;

Variable "last_access" is not in valid camel caps format
Open

    $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX] = $last_access;

Variable "_course" is not in valid camel caps format
Open

        $last_access = $_SESSION[$_course['id']]['last_access'][TOOL_DROPBOX];

Variable "sort_params" is not in valid camel caps format
Open

    $sort_params[] = 'dropbox_column='.intval($_GET['dropbox_column']);

Variable "display_message" is not in valid camel caps format
Open

    echo Display::return_message($display_message, 'normal');

Variable "dropbox_data_recieved" is not in valid camel caps format
Open

$dropbox_data_recieved = [];

Variable "is_courseAdmin" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "sorting_options" is not in valid camel caps format
Open

        $sorting_options = [];

Variable "paging_options" is not in valid camel caps format
Open

        $paging_options = [];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 0;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', $category['title']).'</a>';

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "additional_get_parameters" is not in valid camel caps format
Open

        $additional_get_parameters = [

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['', false, ''];

Variable "sort_params" is not in valid camel caps format
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.'">'.

Variable "dropbox_file" is not in valid camel caps format
Open

                            $dropbox_file->id,

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "dropbox_file" is not in valid camel caps format
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.'">'.

Variable "sort_params" is not in valid camel caps format
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.'">'.

Variable "dropbox_file_data" is not in valid camel caps format
Open

                    $dropbox_file_data[] = $action_icons;

Variable "number_feedback" is not in valid camel caps format
Open

        $number_feedback = get_total_number_feedback();

Variable "column_show" is not in valid camel caps format
Open

            $column_show[] = 1;

Variable "dropbox_file" is not in valid camel caps format
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">'.

Variable "dropbox_file" is not in valid camel caps format
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.'">'.

Variable "_course" is not in valid camel caps format
Open

                            $_SESSION['_seen'][$_course['id']][TOOL_DROPBOX]

Variable "link_open" is not in valid camel caps format
Open

                $link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';

Variable "dropbox_file" is not in valid camel caps format
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">'.

Variable "dropbox_file" is not in valid camel caps format
Open

                $authorInfo = api_get_user_info($dropbox_file->uploader_id);

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Sent Files'), true, ''];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_order" is not in valid camel caps format
Open

        $column_order[5] = 7;

Variable "file_size" is not in valid camel caps format
Open

                $file_size = $dropbox_file->filesize;

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = format_file_size($file_size);

Variable "dropbox_file" is not in valid camel caps format
Open

                $lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $lastUploadDate;

Variable "sort_params" is not in valid camel caps format
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.'">'.

Variable "dropbox_file" is not in valid camel caps format
Open

                    '</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;

Variable "dropbox_file" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "dropbox_file" is not in valid camel caps format
Open

                if ('viewfeedback' == $action && isset($_GET['id']) && is_numeric($_GET['id']) && $dropbox_file->id == $_GET['id']) {

Variable "action_icons" is not in valid camel caps format
Open

                $action_icons = '';

Variable "sorting_options" is not in valid camel caps format
Open

            $sorting_options,

Variable "additional_get_parameters" is not in valid camel caps format
Open

            $additional_get_parameters,

Variable "column_order" is not in valid camel caps format
Open

        $column_order = [];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "link_open" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "receivers_celldata" is not in valid camel caps format
Open

                $receivers_celldata = trim(trim($receivers_celldata), ','); // Removing the trailing comma.

Variable "dropbox_file" is not in valid camel caps format
Open

                $lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);

Variable "action_icons" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "action_icons" is not in valid camel caps format
Open

                    $dropbox_file_data[] = $action_icons;

Variable "dropbox_file" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "is_courseAdmin" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Latest sent on'), true, ''];

Variable "dropbox_file" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "dropbox_file" is not in valid camel caps format
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.'">'.

Variable "new_icon" is not in valid camel caps format
Open

                        $new_icon = '&nbsp;'.Display::getMdiIcon(ActionIcon::ADD, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('New'));

Variable "dropbox_file_data" is not in valid camel caps format
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">'.

Variable "dropbox_file_data" is not in valid camel caps format
Open

                    $dropbox_file_data[] = '';

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= "</td></tr>"; // Ending the normal row of the sortable table

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_data_recieved[] = $dropbox_file_data;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] =

Variable "dropbox_data_recieved" is not in valid camel caps format
Open

                    $dropbox_data_recieved[] = $dropbox_category_data;

Variable "column_order" is not in valid camel caps format
Open

        $column_order[3] = 8;

Variable "dropbox_file" is not in valid camel caps format
Open

            if ($view_dropbox_category_sent == $dropbox_file->category) {

Variable "link_open" is not in valid camel caps format
Open

                $link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';

Variable "dropbox_file" is not in valid camel caps format
Open

                $link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';

Variable "receivers_celldata" is not in valid camel caps format
Open

                $dropbox_file_data[] = $receivers_celldata;

Variable "number_feedback" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "dropbox_file" is not in valid camel caps format
Open

                $link_open = '<a href="'.api_get_path(WEB_CODE_PATH).'dropbox/dropbox_download.php?'.api_get_cidreq().'&id='.$dropbox_file->id.'">';

Variable "last_upload_date" is not in valid camel caps format
Open

                $lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);

Variable "action_icons" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "dropbox_file" is not in valid camel caps format
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.'">'.

Variable "sort_params" is not in valid camel caps format
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.'\');">'.

Variable "dropbox_file" is not in valid camel caps format
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.'\');">'.

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= "

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_show" is not in valid camel caps format
Open

            $column_show[] = 1;

Variable "dropbox_file_data" is not in valid camel caps format
Open

            $dropbox_file_data = [];

Variable "dropbox_file" is not in valid camel caps format
Open

                    $dropbox_file->title.

Variable "receivers_celldata" is not in valid camel caps format
Open

                        $receivers_celldata = UserManager::getUserProfileLink($userInfo).', '.$receivers_celldata;

Variable "receivers_celldata" is not in valid camel caps format
Open

                        $receivers_celldata = UserManager::getUserProfileLink($userInfo).', '.$receivers_celldata;

Variable "dropbox_file" is not in valid camel caps format
Open

                $file_size = $dropbox_file->filesize;

Variable "link_open" is not in valid camel caps format
Open

                        Display::getMdiIcon(ActionIcon::SAVE_FORM, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Save')).'</a>'.$link_open.$category['title'].'</a>';

Variable "dropbox_category_data" is not in valid camel caps format
Open

                if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            $view_dropbox_category_sent = $viewSentCategory;

Variable "paging_options" is not in valid camel caps format
Open

        $paging_options = [];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 0;

Variable "dropbox_file" is not in valid camel caps format
Open

        foreach ($dropbox_person->sentWork as $dropbox_file) {

Variable "dropbox_file" is not in valid camel caps format
Open

                $file_size = $dropbox_file->filesize;

Variable "dropbox_file" is not in valid camel caps format
Open

                foreach ($dropbox_file->recipients as $recipient) {

Variable "sort_params" is not in valid camel caps format
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.'">'.

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = format_file_size($file_size);

Variable "file_size" is not in valid camel caps format
Open

                $dropbox_file_data[] = format_file_size($file_size);

Variable "action_icons" is not in valid camel caps format
Open

                    $dropbox_file_data[] = $action_icons;

Variable "file_size" is not in valid camel caps format
Open

                $dropbox_file_data[] = $file_size;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                $dropbox_category_data = [];

Variable "dropbox_data_recieved" is not in valid camel caps format
Open

            $dropbox_data_recieved,

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "file_size" is not in valid camel caps format
Open

                $file_size = $dropbox_file->filesize;

Variable "column_header" is not in valid camel caps format
Open

            $column_header,

Variable "column_order" is not in valid camel caps format
Open

            $column_order,

Variable "dropbox_file" is not in valid camel caps format
Open

                    '</a><br />'.$dropbox_file->description;

Variable "last_upload_date" is not in valid camel caps format
Open

                $lastUploadDate = Display::dateToStringAgoAndLongDate($dropbox_file->last_upload_date);

Variable "last_access" is not in valid camel caps format
Open

                    if ($dropbox_file->last_upload_date > $last_access &&

Variable "dropbox_file" is not in valid camel caps format
Open

                    '</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;

Variable "uploader_id" is not in valid camel caps format
Open

                $authorInfo = api_get_user_info($dropbox_file->uploader_id);

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Type'), true, 'style="width:40px"', 'style="text-align:center"'];

Variable "dropbox_person" is not in valid camel caps format
Open

        foreach ($dropbox_person->sentWork as $dropbox_file) {

Variable "dropbox_file" is not in valid camel caps format
Open

                $dropbox_file_data[] = $dropbox_file->id;

Variable "link_open" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "dropbox_file_data" is not in valid camel caps format
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">'.

Variable "new_icon" is not in valid camel caps format
Open

                    '</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;

Variable "number_feedback" is not in valid camel caps format
Open

                $action_icons = check_number_feedback($dropbox_file->id, $number_feedback).' '.get_lang('Feedback').'

Variable "sort_params" is not in valid camel caps format
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;

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $file_size;

Variable "link_open" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', $category['title']).'</a>';

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] =

Variable "paging_options" is not in valid camel caps format
Open

            $paging_options,

Variable "sorting_options" is not in valid camel caps format
Open

        $sorting_options = [];

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Visible to'), true, ''];

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $dropbox_file->id;

Variable "dropbox_file" is not in valid camel caps format
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.'">'.

Variable "link_open" is not in valid camel caps format
Open

                    '</a>'.$link_open.$dropbox_file->title.'</a>'.$new_icon.'<br />'.$dropbox_file->description;

Variable "dropbox_file" is not in valid camel caps format
Open

                        feedback($dropbox_file->feedback2, $url).

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $category['cat_id'];

Variable "link_open" is not in valid camel caps format
Open

                    $link_open = '<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$category['cat_id'].'&view_sent_category='.$viewSentCategory.'&view='.$view.'">';

Variable "dropbox_category_data" is not in valid camel caps format
Open

                if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_data_recieved[] = $dropbox_category_data;

Variable "dropbox_person" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['RealDate', true];

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            if ($view_dropbox_category_sent == $dropbox_file->category) {

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "file_size" is not in valid camel caps format
Open

                $dropbox_file_data[] = format_file_size($file_size);

Variable "receivers_celldata" is not in valid camel caps format
Open

                $receivers_celldata = '';

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $receivers_celldata;

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $lastUploadDate;

Variable "dropbox_file" is not in valid camel caps format
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.'\');">'.

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $lastUploadDate;

Variable "dropbox_categories" is not in valid camel caps format
Open

            foreach ($dropbox_categories as $category) {

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

            $view_dropbox_category_sent = 0;

Variable "column_header" is not in valid camel caps format
Open

            $column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];

Variable "link_open" is not in valid camel caps format
Open

                    $link_open.

Variable "receivers_celldata" is not in valid camel caps format
Open

                $receivers_celldata = trim(trim($receivers_celldata), ','); // Removing the trailing comma.

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', Security::remove_XSS($category['title'])).'</a>';

Variable "dropbox_file_data" is not in valid camel caps format
Open

                    $dropbox_file_data[] = $authorInfo['complete_name'];

Variable "column_show" is not in valid camel caps format
Open

            $column_show,

Variable "column_header" is not in valid camel caps format
Open

        $column_header = [];

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = [get_lang('Size'), true, ''];

Variable "column_header" is not in valid camel caps format
Open

            $column_header[] = [get_lang('Edit'), false, '', 'nowrap style="text-align: right"'];

Variable "column_show" is not in valid camel caps format
Open

        $column_show[] = 1;

Variable "receivers_celldata" is not in valid camel caps format
Open

                $receivers_celldata = '';

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= "</td></tr>\n"; // ending the normal row of the sortable table

Variable "action_icons" is not in valid camel caps format
Open

                $dropbox_file_data[] = $action_icons;

Variable "dropbox_categories" is not in valid camel caps format
Open

            foreach ($dropbox_categories as $category) {

Variable "link_open" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $link_open.DocumentManager::build_document_icon_tag('folder', Security::remove_XSS($category['title'])).'</a>';

Variable "dropbox_data_sent" is not in valid camel caps format
Open

                    $dropbox_data_sent[] = $dropbox_category_data;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_data_sent[] = $dropbox_category_data;

Variable "sort_params" is not in valid camel caps format
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;

Variable "additional_get_parameters" is not in valid camel caps format
Open

        $additional_get_parameters = [

Variable "dropbox_data_sent" is not in valid camel caps format
Open

            $dropbox_data_sent,

Variable "dropbox_file" is not in valid camel caps format
Open

                $dropbox_file_data[] = $link_open.DocumentManager::build_document_icon_tag('file', $dropbox_file->title).'</a>';

Variable "sort_params" is not in valid camel caps format
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.'">'.

Variable "dropbox_file_data" is not in valid camel caps format
Open

                    $dropbox_file_data[] = $action_icons;

Variable "dropbox_data_recieved" is not in valid camel caps format
Open

                $dropbox_data_recieved[] = $dropbox_file_data;

Variable "view_dropbox_category_received" is not in valid camel caps format
Open

        if (0 == $view_dropbox_category_received) {

Variable "is_courseTutor" is not in valid camel caps format
Open

        $dropbox_person = new Dropbox_Person(api_get_user_id(), $is_courseAdmin, $is_courseTutor);

Variable "column_header" is not in valid camel caps format
Open

        $column_header[] = ['RealSize', true];

Variable "column_show" is not in valid camel caps format
Open

        $column_show = [];

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $action_icons;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {

Variable "dropbox_file" is not in valid camel caps format
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.'\');">'.

Variable "link_open" is not in valid camel caps format
Open

                    $link_open = '<a href="'.api_get_self().'?'.api_get_cidreq().'&view_received_category='.$viewReceivedCategory.'&view_sent_category='.$category['cat_id'].'&view='.$view.'">';

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= feedback($dropbox_file->feedback2, $url);

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $file_size;

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_data_sent[] = $dropbox_file_data;

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "dropbox_category_data" is not in valid camel caps format
Open

                if (is_array($dropbox_category_data) && count($dropbox_category_data) > 0) {

Variable "sort_params" is not in valid camel caps format
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.'\');">'.

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "column_order" is not in valid camel caps format
Open

            $column_order,

Variable "dropbox_category_data" is not in valid camel caps format
Open

                $dropbox_category_data = [];

Variable "column_show" is not in valid camel caps format
Open

            $column_show,

Variable "dropbox_file" is not in valid camel caps format
Open

                    $action_icons .= feedback($dropbox_file->feedback2, $url);

Variable "file_size" is not in valid camel caps format
Open

                $dropbox_file_data[] = $file_size;

Variable "view_dropbox_category_sent" is not in valid camel caps format
Open

        if (0 == $view_dropbox_category_sent) {

Variable "dropbox_category_data" is not in valid camel caps format
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">'.

Variable "paging_options" is not in valid camel caps format
Open

            $paging_options,

Variable "dropbox_file" is not in valid camel caps format
Open

                if ('viewfeedback' == $action && isset($_GET['id']) && is_numeric($_GET['id']) && $dropbox_file->id == $_GET['id']) {

Variable "dropbox_data_sent" is not in valid camel caps format
Open

                $dropbox_data_sent[] = $dropbox_file_data;

Variable "additional_get_parameters" is not in valid camel caps format
Open

            $additional_get_parameters,

Variable "dropbox_file" is not in valid camel caps format
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.'\');">'.

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= "<tr><td colspan=\"9\">";

Variable "column_header" is not in valid camel caps format
Open

            $column_header,

Variable "action_icons" is not in valid camel caps format
Open

                    $action_icons .= "</tr>";

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = $category['cat_id'];

Variable "dropbox_category_data" is not in valid camel caps format
Open

                    $dropbox_category_data[] = '';

Variable "dropbox_file_data" is not in valid camel caps format
Open

                $dropbox_file_data[] = $lastUploadDate;

Variable "link_open" is not in valid camel caps format
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>';

Variable "sorting_options" is not in valid camel caps format
Open

            $sorting_options,

Variable "action_icons" is not in valid camel caps format
Open

                $action_icons = '';

Variable "dropbox_category_data" is not in valid camel caps format
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'].'">'.

Line indented incorrectly; expected 0 spaces, found 8
Open

        } ?> >

Line indented incorrectly; expected 0 spaces, found 8
Open

        } ?> >

There are no issues that match your filters.

Category
Status