diff --git a/parts/single-result.php b/parts/single-result.php index bb75d69..d1e8fdf 100644 --- a/parts/single-result.php +++ b/parts/single-result.php @@ -66,6 +66,13 @@ Extensions ID ) ); ?> + + Image Libraries + GD + ID ) ); ?> + Imagick + ID ) ); ?> + '; + + foreach ( $image_data as $key=>$data_point ) { + $output .= sprintf( '
  • %s: %s
  • ', esc_html( $key ), esc_html( $value ) ); + } + + $output .= ''; + return $output; + } + + /** + * Get the Imagick image support for display. + * + * @param integer $report_id Report ID. + * @return string + */ + private static function get_display_imagick_image_support( $report_id ) { + $env = get_post_meta( $report_id, 'env', true ); + if ( empty( $env['imagick_info'] ) ) { + return 'unavailable'; + } + + $output = ''; + return $output; + } }