File: //home/globfdxw/www/wp-content/plugins/wpforms-surveys-polls/templates/entries/export-menu.php
<?php
/**
* Export menu template.
*
* @since 1.18.0
*
* @var string|number $field_id Field ID.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-survey-graph-context-menu wpforms-survey-graph-context-menu-export">
<button type="button" class="button wpforms-survey-graph-button wpforms-survey-graph-export">
<span class="fa-solid fa-file-export"></span><?php esc_html_e( 'Export', 'wpforms-surveys-polls' ); ?>
</button>
<div class="wpforms-survey-graph-menu">
<div class="wpforms-survey-graph-menu-content">
<?php if ( ! empty( $show_export_scope ) ) : ?>
<div class="wpforms-survey-graph-menu-field wpforms-survey-graph-menu-field-radio">
<label><?php esc_html_e( 'Export', 'wpforms-surveys-polls' ); ?></label>
<ul>
<li><label><input type="radio" name="scope[<?php echo esc_attr( $field_id ); ?>]" value="current" checked="checked"><?php esc_html_e( 'Current Question', 'wpforms-surveys-polls' ); ?></label></li>
<li><label><input type="radio" name="scope[<?php echo esc_attr( $field_id ); ?>]" value="all"><?php esc_html_e( 'All Questions', 'wpforms-surveys-polls' ); ?></label></li>
</ul>
</div>
<?php endif; ?>
<?php if ( ! isset( $has_chart ) || $has_chart ) : ?>
<div class="wpforms-survey-graph-menu-field wpforms-survey-graph-menu-field-radio"<?php echo ! empty( $content_hidden ) ? ' style="display:none"' : ''; ?>>
<label><?php esc_html_e( 'Content', 'wpforms-surveys-polls' ); ?></label>
<ul>
<li><label><input type="radio" name="content[<?php echo esc_attr( $field_id ); ?>]" value="all" checked="checked"><?php esc_html_e( 'Graph + Data', 'wpforms-surveys-polls' ); ?></label></li>
<li><label><input type="radio" name="content[<?php echo esc_attr( $field_id ); ?>]" value="graph"><?php esc_html_e( 'Graph Only', 'wpforms-surveys-polls' ); ?></label></li>
</ul>
</div>
<?php endif; ?>
<div class="wpforms-survey-graph-menu-field wpforms-survey-graph-menu-field-radio">
<label><?php esc_html_e( 'Format', 'wpforms-surveys-polls' ); ?></label>
<ul>
<li><label><input type="radio" name="format[<?php echo esc_attr( $field_id ); ?>]" value="jpg" checked="checked">JPG</label></li>
<li><label><input type="radio" name="format[<?php echo esc_attr( $field_id ); ?>]" value="pdf">PDF</label></li>
<li><label><input type="radio" name="format[<?php echo esc_attr( $field_id ); ?>]" value="print"><?php esc_html_e( 'Print', 'wpforms-surveys-polls' ); ?></label></li>
</ul>
</div>
</div>
<div class="wpforms-survey-graph-menu-footer">
<button
class="button wpforms-survey-graph-menu-footer-export"><?php esc_html_e( 'Export Results', 'wpforms-surveys-polls' ); ?></button>
</div>
</div>
</div>