| @@ 191-219 (lines=29) @@ | ||
| 188 | * |
|
| 189 | * @param string $which |
|
| 190 | */ |
|
| 191 | protected function display_tablenav( $which ) { |
|
| 192 | ||
| 193 | if ( 'top' === $which ) { |
|
| 194 | wp_nonce_field( 'bulk-' . $this->_args['plural'] ); |
|
| 195 | } |
|
| 196 | ?> |
|
| 197 | <div class="tablenav give-clearfix <?php echo esc_attr( $which ); ?>"> |
|
| 198 | ||
| 199 | <?php if ( 'top' === $which ) { ?> |
|
| 200 | <h2 class="alignleft reports-earnings-title screen-reader-text"> |
|
| 201 | <?php _e( 'Donation Forms Report', 'give' ); ?> |
|
| 202 | </h2> |
|
| 203 | <?php } ?> |
|
| 204 | ||
| 205 | <div class="alignright tablenav-right"> |
|
| 206 | <div class="actions bulkactions"> |
|
| 207 | <?php $this->bulk_actions( $which ); ?> |
|
| 208 | </div> |
|
| 209 | <?php |
|
| 210 | $this->extra_tablenav( $which ); |
|
| 211 | $this->pagination( $which ); |
|
| 212 | ?> |
|
| 213 | </div> |
|
| 214 | ||
| 215 | <br class="clear" /> |
|
| 216 | ||
| 217 | </div> |
|
| 218 | <?php |
|
| 219 | } |
|
| 220 | ||
| 221 | /** |
|
| 222 | * Attaches the category filter to the log views |
|
| @@ 190-219 (lines=30) @@ | ||
| 187 | * |
|
| 188 | * @param string $which |
|
| 189 | */ |
|
| 190 | protected function display_tablenav( $which ) { |
|
| 191 | ||
| 192 | if ( 'top' === $which ) { |
|
| 193 | wp_nonce_field( 'bulk-' . $this->_args['plural'] ); |
|
| 194 | } |
|
| 195 | ?> |
|
| 196 | <div class="tablenav gateways-report-tablenav give-clearfix <?php echo esc_attr( $which ); ?>"> |
|
| 197 | ||
| 198 | <?php if ( 'top' === $which ) { ?> |
|
| 199 | <h2 class="alignleft reports-earnings-title screen-reader-text"> |
|
| 200 | <?php _e( 'Donation Methods Report', 'give' ); ?> |
|
| 201 | </h2> |
|
| 202 | <?php } ?> |
|
| 203 | ||
| 204 | <div class="alignright tablenav-right"> |
|
| 205 | <div class="actions bulkactions"> |
|
| 206 | <?php $this->bulk_actions( $which ); ?> |
|
| 207 | </div> |
|
| 208 | <?php |
|
| 209 | $this->extra_tablenav( $which ); |
|
| 210 | $this->pagination( $which ); |
|
| 211 | ?> |
|
| 212 | </div> |
|
| 213 | ||
| 214 | ||
| 215 | <br class="clear" /> |
|
| 216 | ||
| 217 | </div> |
|
| 218 | <?php |
|
| 219 | } |
|
| 220 | ||
| 221 | /** |
|
| 222 | * Reorder User Defined Array |
|