title);?>


show_search): ?>
url)); $folder_url = esc_url(add_query_arg('part', 'folders', $this->url)); $scan_url = esc_url(add_query_arg('part', 'scan', $this->url)); $current_part = isset($_GET['part']) ? sanitize_text_field($_GET['part']) : 'files'; $tabs = array( 'files' => array('link' => $file_url, 'text' => __('Files', 'shortpixel-image-optimiser'), ), 'folders' => array('link' => $folder_url, 'text' => __('Folders', 'shortpixel-image-optimiser'), ), 'scan' => array('link' => $scan_url, 'text' => __('Scan', 'shortpixel-image-optimiser'), ), ); ?>
$tab) { $class = ($current_part == $tabName) ? ' class="selected" ' : ''; echo '' . $tab['text'] . ''; } ?>