__( 'Tracks', 'wp-gpx-maps' ), 'settings' => __( 'Settings', 'wp-gpx-maps' ), 'help' => __( 'Help', 'wp-gpx-maps' ), ); } elseif ( current_user_can( 'publish_posts' ) ) { /* Access for Editors and Authors */ $tabs = array( 'tracks' => __( 'Tracks', 'wp-gpx-maps' ), 'help' => __( 'Help', 'wp-gpx-maps' ), ); } echo '
'; printf( /* translators: Relative path of the GPX folder */ __( 'Can not create the folder %1s for GPX files. Please create the folder and make it writable! If not, you will must update the files manually!', 'wp-gpx-maps' ), '' . esc_html( $relativeGpxPath ) . '' ); echo '
'; } } if ( file_exists( $cacheGpxPath ) && is_dir( $cacheGpxPath ) ) { /* Directory exist! */ } else { if ( ! @mkdir( $cacheGpxPath, 0755, true ) ) { echo ''; printf( /* translators: Relative path of the GPX cache folder */ __( 'Can not create the cache folder %1s for the GPX files. Please create the folder and make it writable! If not, you will must update the files manually!', 'wp-gpx-maps' ), '' . esc_html( $relativeGpxCachePath ) . '' ); echo '