芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/ebpt.pulsehost.co.uk/wp-content/plugins/sf-taxonomy-thumbnail/inc/admin.php
term_id ) : absint( $term->term_taxonomy_id ); $thumbnail_id = get_term_thumbnail_id( $term_id ); $thumbnail = ''; if ( $thumbnail_id ) { $thumbnail = get_term_thumbnail( $term_id, 'medium', array( 'title' => trim( strip_tags( get_the_title( $thumbnail_id ) ) ), ) ); if ( ! $thumbnail ) { $thumbnail_id = ''; } } ?>
= $orientation[2] ? 'landscape' : 'portrait'; echo '
'; echo '
' . $thumbnail . '
'; echo '
'; echo '
' . __( 'Remove thumbnail', 'sf-taxonomy-thumbnail' ) . '
'; } else { echo '
' . __( 'Set a thumbnail', 'sf-taxonomy-thumbnail' ) . '
'; } ?>
=' ) ) { $dependencies[] = 'wp-a11y'; } wp_enqueue_script( 'sf-taxonomy-thumbnail', $dir . 'res/js/script' . $min . '.js', $dependencies, $ver, true ); $i18n = array( 'setImage' => __( 'Set a thumbnail', 'sf-taxonomy-thumbnail' ), 'changeImage' => __( 'Change thumbnail', 'sf-taxonomy-thumbnail' ), 'removeImage' => __( 'Remove thumbnail', 'sf-taxonomy-thumbnail' ), 'chooseImage' => __( 'Choose Thumbnail', 'sf-taxonomy-thumbnail' ), 'selectImage' => __( 'Select thumbnail', 'sf-taxonomy-thumbnail' ), 'loading' => __( 'Loading…', 'sf-taxonomy-thumbnail' ), 'successSet' => __( 'Thumbnail successfully set to this term.', 'sf-taxonomy-thumbnail' ), 'successRemoved' => __( 'Thumbnail successfully removed from this term.', 'sf-taxonomy-thumbnail' ), 'errorSet' => __( 'An error occurred, the thumbnail could not be set to this term. Try to update the term manually.', 'sf-taxonomy-thumbnail' ), 'errorRemoved' => __( 'An error occurred, the thumbnail could not be removed from this term. Try to update the term manually.', 'sf-taxonomy-thumbnail' ), ); wp_localize_script( 'sf-taxonomy-thumbnail', 'sftth', $i18n ); }