'general', 'title' => __('General', 'wpmf'), 'icon' => 'home', 'sub_tabs' => array( 'additional_features' => __('Main settings', 'wpmf'), 'media_filtering' => __('Media filtering', 'wpmf'), 'folder_settings' => __('Folder settings', 'wpmf') ) ), array( 'id' => 'wordpress_gallery', 'title' => __('Wordpress Gallery', 'wpmf'), 'icon' => 'image', 'sub_tabs' => array( 'gallery_features' => __('Gallery features', 'wpmf'), 'default_settings' => __('Default settings', 'wpmf'), 'wp_gallery_shortcode' => __('Shortcode', 'wpmf') ) ), array( 'id' => 'gallery_addon', 'title' => __('Galleries Addon', 'wpmf'), 'icon' => 'add_photo_alternate', 'sub_tabs' => array( 'galleryadd_default_settings' => __('Default settings', 'wpmf'), 'gallery_shortcode_generator' => __('Shortcode generator', 'wpmf'), 'gallery_social_sharing' => __('Social sharing', 'wpmf') ) ), array( 'id' => 'gallery_photographer_addon', 'title' => __('Photographer', 'wpmf'), 'icon' => 'camera_alt' ), array( 'id' => 'media_access', 'title' => __('Access & design', 'wpmf'), 'icon' => 'format_color_fill', 'sub_tabs' => array( 'user_media_access' => __('Media access', 'wpmf'), 'file_design' => __('File Design', 'wpmf') ) ), array( 'id' => 'files_folders', 'title' => __('Rename & Watermark', 'wpmf'), 'icon' => 'picture_in_picture_alt', 'sub_tabs' => array( 'rename_on_upload' => __('Rename on upload', 'wpmf'), 'watermark' => __('Watermark', 'wpmf'), ) ), array( 'id' => 'import_export', 'title' => __('Import/Export', 'wpmf'), 'icon' => 'import_export', 'sub_tabs' => array( 'wordpress_import' => __('Wordpress', 'wpmf'), 'other_plugin_import' => __('Other plugins', 'wpmf') ) ), array( 'id' => 'server_sync', 'title' => __('Server Folder Sync', 'wpmf'), 'icon' => 'import_export', 'sub_tabs' => array( 'server_folder_sync' => __('Folder Sync', 'wpmf'), 'server_sync_settings' => __('Filters', 'wpmf') ) ), array( 'id' => 'regenerate_thumbnails', 'title' => __('Regenerate Thumb', 'wpmf'), 'icon' => 'update', 'sub_tabs' => array() ), array( 'id' => 'physical_server_folders', 'title' => __('Physical folders', 'wpmf'), 'icon' => 'folder', 'sub_tabs' => array() ), array( 'id' => 'image_compression', 'title' => __('Image compression', 'wpmf'), 'icon' => 'compare', 'sub_tabs' => array() ) ); if (!is_plugin_active('wp-media-folder-gallery-addon/wp-media-folder-gallery-addon.php')) { unset($tabs_data[2]); unset($tabs_data[3]); } if (is_plugin_active('wp-media-folder-addon/wp-media-folder-addon.php')) { $tabs_data[] = array( 'id' => 'cloud', 'title' => __('Cloud', 'wpmf'), 'icon' => 'cloud_queue', 'sub_tabs' => array( 'google_drive_box' => __('Google Drive', 'wpmf'), 'google_photo' => __('Google Photo', 'wpmf'), 'dropbox_box' => __('Dropbox', 'wpmf'), 'one_drive_box' => __('OneDrive', 'wpmf'), 'nextcloud' => __('Nextcloud', 'wpmf'), 'storage_provider' => __('Offload Media', 'wpmf'), 'synchronization' => __('Synchronization', 'wpmf') ) ); } $tabs_data[] = array( 'id' => 'jutranslation', 'title' => __('Translation', 'wpmf'), 'icon' => 'format_color_text', 'sub_tabs' => array() ); $tabs_data[] = array( 'id' => 'system_check', 'title' => __('System Check', 'wpmf'), 'content' => 'system-check', 'icon' => 'verified_user', 'sub_tabs' => array() ); $dropbox_config = get_option('_wpmfAddon_dropbox_config'); $google_config = get_option('_wpmfAddon_cloud_config'); $onedrive_config = get_option('_wpmfAddon_onedrive_config'); $onedrive_business_config = get_option('_wpmfAddon_onedrive_business_config'); ?>