File: //home/globfdxw/www/wp-content/plugins/wpforms-surveys-polls/templates/entries/legend-footer.php
<?php
/**
* Shared legend footer: answered/skipped counters and optional pagination controls.
*
* Reused inside graph.php (likert/text containers) and legend.php (chart container).
*
* @since 1.18.0
*
* @var bool $pagination Whether to show pagination controls.
* @var string $all_result_page_url URL to the full Survey Results page.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-survey-graph-content-legend-info<?php echo empty( $pagination ) ? ' wpforms-hidden' : ''; ?>">
<div class="wpforms-survey-graph-content-legend-info-items">
<div class="wpforms-survey-graph-content-legend-info-item wpforms-survey-graph-info-answered">
<span></span> <?php esc_html_e( 'Answered', 'wpforms-surveys-polls' ); ?>
</div>
<div class="wpforms-survey-graph-content-legend-info-item wpforms-survey-graph-info-skipped">
<span></span> <?php esc_html_e( 'Skipped', 'wpforms-surveys-polls' ); ?>
</div>
</div>
<?php if ( ! empty( $pagination ) ) : ?>
<div class="wpforms-survey-graph-content-legend-controls">
<a href="<?php echo esc_url( $all_result_page_url ); ?>" class="button wpforms-survey-graph-button wpforms-survey-graph-view-all">
<?php esc_html_e( 'View Survey Results', 'wpforms-surveys-polls' ); ?>
</a>
<div class="wpforms-survey-graph-pagination">
<button type="button" class="button wpforms-survey-graph-button wpforms-survey-graph-prev" aria-label="<?php esc_attr_e( 'Previous', 'wpforms-surveys-polls' ); ?>"></button>
<button type="button" class="button wpforms-survey-graph-button wpforms-survey-graph-next" aria-label="<?php esc_attr_e( 'Next', 'wpforms-surveys-polls' ); ?>"></button>
</div>
</div>
<?php endif; ?>
</div>