$plugged_context_menu[] = $explorer->generate_to_edit_context($my_app->get_param('fs'), $icons[$i]['plugin_id'], $icons[$i]['app_id'], $icons[$i]['id']);
 }
 /*.............................................. */
 // delete
 if ($icons[$i]['no_delete'] != 1 && (!$readonly || is_root())) {
     $plugged_context_menu[] = '---';
     $plugged_context_menu[] = 'del::' . txt('delete') . '::explorer_delete_file("' . WIN_ID . '", "' . $icons[$i]['id'] . '", "' . $icons[$i]['basename'] . '");::delete';
 }
 /*.............................................. */
 $icons[$i]['is_shared'] = false;
 // share
 if ($context_fs == 'local_files' && $phposFS->is_directory($icons[$i])) {
     $shared = new phpos_shared();
     if (!defined('SHARED')) {
         $plugged_context_menu[] = '---';
         if (!$shared->is_folder_shared($icons[$i]['id'])) {
             $plugged_context_menu[] = 'share::' . txt('share_folder') . '::' . winmodal(txt('share_folder'), 'app', 'app_id:shortcuts@share,width:300,height:350', 'desktop:1,location:' . $context_location . ',dir_id:' . $context_dir_id . ',shared_id:' . base64_encode($icons[$i]['id']) . ',after_reload:' . WIN_ID) . '::ftpfolder';
         } else {
             $icons[$i]['is_shared'] = true;
             $plugged_context_menu[] = 'share::' . txt('stop_share_folder') . '::' . winmodal(txt('share_folder'), 'app', 'app_id:shortcuts@share,width:300,height:350', 'stop_share:1,desktop:1,location:' . $context_location . ',dir_id:' . $context_dir_id . ',shared_id:' . base64_encode($icons[$i]['id']) . ',after_reload:' . WIN_ID) . '::ftpfolder';
         }
     }
 }
 /*.............................................. */
 // file properties
 if ((APP_ACTION == 'index' || APP_ACTION == 'desktop') && $context_fs == 'ftp' || $context_fs == 'local_files') {
     $plugged_context_menu[] = '---';
     $plugged_context_menu[] = 'properties::' . txt('fileinfo_context') . '::' . winmodal(txt('file_info'), 'app', 'app_id:shortcuts@file_info', 'location:' . $context_location . ',fs:' . $context_fs . ',edit_id:' . base64_encode($icons[$i]['id']) . ',dir_name:' . base64_encode(dirname($icons[$i]['id'])) . ',file_name:' . base64_encode($icons[$i]['basename']) . ',file_modified:' . base64_encode($icons[$i]['modified_at']) . ',file_type:' . base64_encode($icons[$i]['extension']) . ',file_chmod:' . base64_encode($icons[$i]['chmod']) . ',file_created:' . base64_encode($icons[$i]['created_at']) . ',after_reload:' . WIN_ID) . '::edit';
 }
 /*.............................................. */
 // action from context