|
@@ 556-558 (lines=3) @@
|
| 553 |
|
<div id="give-date-range-options" style="<?php echo esc_attr( $display ); ?>"> |
| 554 |
|
<span class="screen-reader-text"><?php _e( 'From', 'give' ); ?> </span> |
| 555 |
|
<select id="give-graphs-month-start" name="m_start" aria-label="Start Month"> |
| 556 |
|
<?php for ( $i = 1; $i <= 12; $i ++ ) : ?> |
| 557 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['m_start'] ) ); ?>><?php echo esc_html( give_month_num_to_name( $i ) ); ?></option> |
| 558 |
|
<?php endfor; ?> |
| 559 |
|
</select> |
| 560 |
|
<select id="give-graphs-day-start" name="day" aria-label="Start Day"> |
| 561 |
|
<?php for ( $i = 1; $i <= 31; $i ++ ) : ?> |
|
@@ 566-568 (lines=3) @@
|
| 563 |
|
<?php endfor; ?> |
| 564 |
|
</select> |
| 565 |
|
<select id="give-graphs-year-start" name="year" aria-label="Start Year"> |
| 566 |
|
<?php for ( $i = 2007; $i <= date( 'Y' ); $i ++ ) : ?> |
| 567 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['year'] ) ); ?>><?php echo esc_html( $i ); ?></option> |
| 568 |
|
<?php endfor; ?> |
| 569 |
|
</select> |
| 570 |
|
<span class="screen-reader-text"><?php esc_html_e( 'To', 'give' ); ?> </span> |
| 571 |
|
<span>–</span> |
|
@@ 573-575 (lines=3) @@
|
| 570 |
|
<span class="screen-reader-text"><?php esc_html_e( 'To', 'give' ); ?> </span> |
| 571 |
|
<span>–</span> |
| 572 |
|
<select id="give-graphs-month-end" name="m_end" aria-label="End Month"> |
| 573 |
|
<?php for ( $i = 1; $i <= 12; $i ++ ) : ?> |
| 574 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['m_end'] ) ); ?>><?php echo esc_html( give_month_num_to_name( $i ) ); ?></option> |
| 575 |
|
<?php endfor; ?> |
| 576 |
|
</select> |
| 577 |
|
<select id="give-graphs-day-end" name="day_end" aria-label="End Day"> |
| 578 |
|
<?php for ( $i = 1; $i <= 31; $i ++ ) : ?> |
|
@@ 583-585 (lines=3) @@
|
| 580 |
|
<?php endfor; ?> |
| 581 |
|
</select> |
| 582 |
|
<select id="give-graphs-year-end" name="year_end" aria-label="End Year"> |
| 583 |
|
<?php for ( $i = 2007; $i <= date( 'Y' ); $i ++ ) : ?> |
| 584 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['year_end'] ) ); ?>><?php echo esc_html( $i ); ?></option> |
| 585 |
|
<?php endfor; ?> |
| 586 |
|
</select> |
| 587 |
|
</div> |
| 588 |
|
|