|
@@ 538-540 (lines=3) @@
|
| 535 |
|
<div id="give-date-range-options" style="<?php echo esc_attr( $display ); ?>"> |
| 536 |
|
<span class="screen-reader-text"><?php esc_html_e( 'From', 'give' ); ?> </span> |
| 537 |
|
<select id="give-graphs-month-start" name="m_start" aria-label="Start Month"> |
| 538 |
|
<?php for ( $i = 1; $i <= 12; $i ++ ) : ?> |
| 539 |
|
<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> |
| 540 |
|
<?php endfor; ?> |
| 541 |
|
</select> |
| 542 |
|
<select id="give-graphs-day-start" name="day" aria-label="Start Day"> |
| 543 |
|
<?php for ( $i = 1; $i <= 31; $i ++ ) : ?> |
|
@@ 548-550 (lines=3) @@
|
| 545 |
|
<?php endfor; ?> |
| 546 |
|
</select> |
| 547 |
|
<select id="give-graphs-year-start" name="year" aria-label="Start Year"> |
| 548 |
|
<?php for ( $i = 2007; $i <= date( 'Y' ); $i ++ ) : ?> |
| 549 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['year'] ) ); ?>><?php echo esc_html( $i ); ?></option> |
| 550 |
|
<?php endfor; ?> |
| 551 |
|
</select> |
| 552 |
|
<span class="screen-reader-text"><?php esc_html_e( 'To', 'give' ); ?> </span> |
| 553 |
|
<span>–</span> |
|
@@ 555-557 (lines=3) @@
|
| 552 |
|
<span class="screen-reader-text"><?php esc_html_e( 'To', 'give' ); ?> </span> |
| 553 |
|
<span>–</span> |
| 554 |
|
<select id="give-graphs-month-end" name="m_end" aria-label="End Month"> |
| 555 |
|
<?php for ( $i = 1; $i <= 12; $i ++ ) : ?> |
| 556 |
|
<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> |
| 557 |
|
<?php endfor; ?> |
| 558 |
|
</select> |
| 559 |
|
<select id="give-graphs-day-end" name="day_end" aria-label="End Day"> |
| 560 |
|
<?php for ( $i = 1; $i <= 31; $i ++ ) : ?> |
|
@@ 565-567 (lines=3) @@
|
| 562 |
|
<?php endfor; ?> |
| 563 |
|
</select> |
| 564 |
|
<select id="give-graphs-year-end" name="year_end" aria-label="End Year"> |
| 565 |
|
<?php for ( $i = 2007; $i <= date( 'Y' ); $i ++ ) : ?> |
| 566 |
|
<option value="<?php echo absint( $i ); ?>" <?php echo esc_attr( selected( $i, $dates['year_end'] ) ); ?>><?php echo esc_html( $i ); ?></option> |
| 567 |
|
<?php endfor; ?> |
| 568 |
|
</select> |
| 569 |
|
</div> |
| 570 |
|
|