From c7ac650a68efe2c2901b7760aba878b367860c4f Mon Sep 17 00:00:00 2001 From: joedolson Date: Mon, 16 Dec 2024 00:27:39 +0000 Subject: [PATCH] deploy: acf781f817623bc80c4fa8f4d1c79c312b197040 --- mc_api_can_edit_event.html | 2 +- mc_can_edit_event.html | 2 +- mc_user_permissions.html | 2 +- my-calendar-event-manager.php.html | 5 +++++ my-calendar-group-manager.php.html | 18 ++++++++++++++++++ 5 files changed, 26 insertions(+), 3 deletions(-) diff --git a/mc_api_can_edit_event.html b/mc_api_can_edit_event.html index 97be96f6..4f07adf1 100644 --- a/mc_api_can_edit_event.html +++ b/mc_api_can_edit_event.html @@ -160,7 +160,7 @@
Parameters:
Source:
diff --git a/mc_can_edit_event.html b/mc_can_edit_event.html index 4e556b05..19d5d499 100644 --- a/mc_can_edit_event.html +++ b/mc_can_edit_event.html @@ -157,7 +157,7 @@
Parameters:
Source:
diff --git a/mc_user_permissions.html b/mc_user_permissions.html index ec0ae797..46adeaec 100644 --- a/mc_user_permissions.html +++ b/mc_user_permissions.html @@ -180,7 +180,7 @@
Parameters:
Source:
diff --git a/my-calendar-event-manager.php.html b/my-calendar-event-manager.php.html index da7886ba..df21e592 100644 --- a/my-calendar-event-manager.php.html +++ b/my-calendar-event-manager.php.html @@ -829,6 +829,11 @@ <input type='checkbox' class='selectall' id='mass_edit_footer' data-action="mass_edit" /> <label for='mass_edit_footer'><?php esc_html_e( 'Check all', 'my-calendar' ); ?></label> </div> </form> + <?php + if ( $num_pages > 1 ) { + printf( "<nav class='tablenav' aria-label='$nav_label'><div class='tablenav-pages'>%s</div></nav>", $page_links ); + } + ?> <div class='mc-admin-footer'> <?php $status_links = mc_status_links( $allow_filters ); diff --git a/my-calendar-group-manager.php.html b/my-calendar-group-manager.php.html index 115b0b7a..611ffc13 100644 --- a/my-calendar-group-manager.php.html +++ b/my-calendar-group-manager.php.html @@ -988,6 +988,24 @@ </div> </form> <?php + if ( $num_pages > 1 ) { + printf( "<nav class='tablenav' aria-label='$nav_label'><div class='tablenav-pages'>%s</div></nav>", $page_links ); + } + ?> + <nav class="mc-admin-footer" aria-label="<?php esc_attr_e( 'Filter Events', 'my-calendar' ); ?>"> + <ul class="links"> + <li> + <a <?php echo ( isset( $_GET['limit'] ) && 'grouped' === $_GET['limit'] ) ? ' class="active-link"' : ''; ?> href="<?php echo admin_url( 'admin.php?page=my-calendar-manage&groups=true&amp;limit=grouped#my-calendar-admin-table' ); ?>"><?php esc_html_e( 'Grouped Events', 'my-calendar' ); ?></a> + </li> + <li> + <a <?php echo ( isset( $_GET['limit'] ) && 'ungrouped' === $_GET['limit'] ) ? ' class="active-link"' : ''; ?> href="<?php echo admin_url( 'admin.php?page=my-calendar-manage&groups=true&amp;limit=ungrouped#my-calendar-admin-table' ); ?>"><?php esc_html_e( 'Ungrouped Events', 'my-calendar' ); ?></a> + </li> + <li> + <a <?php echo ( isset( $_GET['limit'] ) && 'all' === $_GET['limit'] || ! isset( $_GET['limit'] ) ) ? ' class="active-link"' : ''; ?> href="<?php echo admin_url( 'admin.php?page=my-calendar-manage&groups=true#my-calendar-admin-table' ); ?>"><?php esc_html_e( 'All', 'my-calendar' ); ?></a> + </li> + </ul> + </nav> + <?php } else { ?> <p class="mc-none"><?php esc_html_e( 'No events found.', 'my-calendar' ); ?></p>