2024-10-19 13:06:01 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Template for the header and navigation of the admin pages.
|
|
|
|
*
|
|
|
|
* @package ActivityPub_Event_Bridge
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* @var array $args Template arguments. */
|
|
|
|
$args = wp_parse_args(
|
|
|
|
$args,
|
|
|
|
array(
|
2024-10-19 16:34:47 +02:00
|
|
|
'welcome' => '',
|
2024-10-19 13:06:01 +02:00
|
|
|
'settings' => '',
|
|
|
|
)
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="activitypub-event-bridge-settings-header">
|
|
|
|
<div class="activitypub-event-bridge-settings-title-section">
|
|
|
|
<h1><?php \esc_html_e( 'ActivityPub Event Bridge', 'activitypub-event-bridge' ); ?></h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="activitypub-event-bridge-settings-tabs-wrapper" aria-label="<?php \esc_attr_e( 'Secondary menu', 'activitypub-event-bridge' ); ?>">
|
2024-10-19 16:34:47 +02:00
|
|
|
<a href="<?php echo \esc_url( admin_url( 'options-general.php?page=activitypub-event-bridge' ) ); ?>" class="activitypub-event-bridge-settings-tab <?php echo \esc_attr( $args['welcome'] ); ?>">
|
|
|
|
<?php \esc_html_e( 'Welcome', 'activitypub-event-bridge' ); ?>
|
2024-10-19 13:06:01 +02:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="<?php echo \esc_url( admin_url( 'options-general.php?page=activitypub-event-bridge&tab=settings' ) ); ?>" class="activitypub-event-bridge-settings-tab <?php echo \esc_attr( $args['settings'] ); ?>">
|
|
|
|
<?php \esc_html_e( 'Settings', 'activitypub-event-bridge' ); ?>
|
|
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<hr class="wp-header-end">
|