$value) { $parent = ['parent' => 1]; db_process_sql_update('tcontainer', $parent, ['id_container' => $value['id_container']]); } } db_process_sql_delete('tcontainer', ['id_container' => $id_container]); } $max_graph = $config['max_graph_container']; $buttons['graph_list'] = [ 'active' => false, 'text' => ''.html_print_image( 'images/list.png', true, [ 'title' => __('Graph list'), 'class' => 'invert_filter', ] ).'', ]; $enterpriseEnable = false; if (enterprise_include_once('include/functions_reporting.php') !== ENTERPRISE_NOT_HOOK) { $enterpriseEnable = true; } html_print_input_hidden('custom_graph', 1); if ($enterpriseEnable) { $buttons = reporting_enterprise_add_template_graph_tabs($buttons); } $subsection = reporting_enterprise_add_graph_template_subsection('', $buttons); $buttons['graph_container'] = [ 'active' => true, 'text' => ''.html_print_image( 'images/graph-container.png', true, [ 'title' => __('Graph container'), 'class' => 'invert_filter', ] ).'', ]; // Header ui_print_page_header(__('Graph container'), '', false, '', false, $buttons); $container = folder_get_folders(); $tree = folder_get_folders_tree_recursive($container); echo folder_togge_tree_folders($tree); if ($report_r && $report_w) { echo "