| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/partials.tar |
module-toast-tpl.php 0000666 00000000723 15114277756 0010514 0 ustar 00 <?php
/**
* Toast modules template.
* Imported via the Orbit_Fox_Render_Helper.
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
* @subpackage Orbit_Fox/app/views/partials
*/
?>
<div class="obfx-mod-toast toast toast-<?php echo $notice['type']; ?>">
<button class="obfx-toast-dismiss btn btn-clear float-right"></button>
<b><?php echo $notice['title']; ?></b><br/>
<span><?php echo $notice['message']; ?></span>
</div>
module-tile-tpl.php 0000666 00000005120 15114277756 0010313 0 ustar 00 <?php
/**
* Tile modules template.
* Imported via the Orbit_Fox_Render_Helper.
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
* @subpackage Orbit_Fox/app/views/partials
*/
if ( ! isset( $name ) ) {
$name = __( 'Module Name', 'themeisle-companion' );
}
if ( ! isset( $description ) ) {
$description = __( 'Module Description ...', 'themeisle-companion' );
}
if ( ! isset( $checked ) ) {
$checked = '';
}
if ( ! isset( $beta ) ) {
$beta = false;
}
$toggle_class = 'obfx-mod-switch';
if ( ! empty( $confirm_intent ) ) {
$toggle_class .= ' obfx-mod-confirm-intent';
$modal = '
<div id="' . esc_attr( $slug ) . '" class="modal">
<a href="#close" class="close-confirm-intent modal-overlay" aria-label="Close"></a>
<div class="modal-container">
<div class="modal-header">
<a href="#" class="btn btn-clear float-right close-confirm-intent" aria-label="Close"></a>
</div>
<div class="modal-body">' . wp_kses_post( $confirm_intent ) . '</div>
<div class="modal-footer">
<button class="btn btn-primary accept-confirm-intent">' . __( 'Got it!', 'themeisle-companion' ) . '</button>
</div>
</div>
</div>';
}
$noance = wp_create_nonce( 'obfx_activate_mod_' . $slug );
?>
<div class="tile <?php echo 'obfx-tile-' . esc_attr( $slug ); ?>" >
<div class="tile-icon">
<div class="example-tile-icon">
<i class="dashicons dashicons-admin-plugins centered"></i>
</div>
</div>
<div class="tile-content">
<p class="tile-title"><?php echo $name; ?></p>
<p class="tile-subtitle"><?php echo $description; ?></p>
</div>
<div class="tile-action">
<div class="form-group">
<label class="form-switch <?php echo empty( $checked ) ? '' : 'activated'; ?>">
<input class="<?php echo esc_attr( $toggle_class ); ?>" type="checkbox" name="<?php echo $slug; ?>"
value="<?php echo $noance; ?>" <?php echo $checked; ?> >
<i class="form-icon"></i>
<span class="inactive"><?php echo __( 'Activate', 'themeisle-companion' ); ?></span>
<i class="dashicons dashicons-yes"></i>
</label>
<?php if ( $beta ) { ?>
<p class="obfx-beta-module"><?php echo __( 'Beta module', 'themeisle-companion' ); ?></p>
<?php } ?>
<?php
if ( ! empty( $modal ) ) {
echo wp_kses_post( $modal );
}
?>
<?php do_action( 'obfx_activate_btn_before', $slug, $checked === 'checked' ); ?>
</div>
</div>
<?php do_action( 'obfx_module_tile_after', $slug, $checked === 'checked' ); ?>
</div>
module-panel-tpl.php 0000666 00000004476 15114277756 0010472 0 ustar 00 <?php
/**
* Panel modules template.
* Imported via the Orbit_Fox_Render_Helper.
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
* @subpackage Orbit_Fox/app/views/partials
*/
if ( ! isset( $slug ) ) {
$slug = '';
}
$noance = wp_create_nonce( 'obfx_update_module_options_' . $slug );
if ( ! isset( $active ) ) {
$active = false;
}
if ( ! isset( $name ) ) {
$name = __( 'The Module Name', 'themeisle-companion' );
}
if ( ! isset( $description ) ) {
$description = __( 'The Module Description ...', 'themeisle-companion' );
}
if ( ! isset( $options_fields ) ) {
$options_fields = __( 'No options provided.', 'themeisle-companion' );
}
$styles = array();
$disabled_fields = '';
if ( ! $active ) {
$styles [] = 'display: none';
$disabled_fields = 'disabled';
}
$btn_class = '';
if ( isset( $show ) && $show ) {
$btn_class = 'active';
}
$styles = sprintf( 'style="%s"', implode( ':', $styles ) );
?>
<div id="obfx-mod-<?php echo $slug; ?>" class="panel options <?php echo esc_attr( $btn_class ); ?>" <?php echo $styles; ?>>
<div class="panel-header">
<button class="btn btn-action circle btn-expand <?php echo esc_attr( $btn_class ); ?>"
style="float: right; margin-right: 10px;">
<i class="dashicons dashicons-arrow-down-alt2"></i>
</button>
<div class="panel-title"><?php echo $name; ?></div>
<div class="panel-subtitle"><?php echo $description; ?></div>
<div class="obfx-mod-toast toast" style="display: none;">
<button class="obfx-toast-dismiss btn btn-clear float-right"></button>
<span>Mock text for Toast Element</span>
</div>
</div>
<form id="obfx-module-form-<?php echo $slug; ?>" class="obfx-module-form <?php echo esc_attr( $btn_class ); ?> ">
<fieldset <?php echo $disabled_fields; ?> >
<input type="hidden" name="module-slug" value="<?php echo $slug; ?>">
<input type="hidden" name="noance" value="<?php echo $noance; ?>">
<div class="panel-body">
<?php echo $options_fields; ?>
<div class="divider"></div>
</div>
<?php if ( isset( $no_save ) && $no_save === false ) : ?>
<div class="panel-footer text-right">
<button class="btn obfx-mod-btn-cancel" disabled>Cancel</button>
<button type="submit" class="btn btn-primary obfx-mod-btn-save" disabled>Save</button>
</div>
<?php endif; ?>
</fieldset>
</form>
</div>
empty-tpl.php 0000666 00000001653 15114277756 0007240 0 ustar 00 <?php
/**
* Empty modules template.
* Imported via the Orbit_Fox_Render_Helper.
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
* @subpackage Orbit_Fox/app/views/partials
*/
if ( ! isset( $title ) ) {
$title = __( 'There are no modules for the Fox!', 'themeisle-companion' );
}
if ( ! isset( $btn_text ) ) {
$btn_text = __( 'Contact support', 'themeisle-companion' );
}
if ( ! isset( $show_btn ) ) {
$show_btn = true;
}
?>
<div class="empty">
<div class="empty-icon">
<i class="dashicons dashicons-warning" style="width: 48px; height: 48px; font-size: 48px; "></i>
</div>
<h4 class="empty-title"><?php echo $title; ?></h4>
<?php echo ( isset( $sub_title ) ) ? '<p class="empty-subtitle">' . $sub_title . '</p>' : ''; ?>
<?php
if ( $show_btn ) {
?>
<div class="empty-action">
<button class="btn btn-primary"><?php echo $btn_text; ?></button>
</div>
<?php
}
?>
</div>
pagination.php 0000666 00000003645 15114307042 0007417 0 ustar 00 <?php
/**
* XSL Pagination partial for the sitemap.
*
* @since 4.1.5
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Don't allow pagination for now.
return;
// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
// Check if requires pagination.
if ( $data['showing'] === $data['total'] ) {
return;
}
$currentPage = (int) $data['currentPage'];
$totalLinks = (int) $data['total'];
$showing = (int) $data['showing'];
$linksPerIndex = (int) $data['linksPerIndex'];
$totalPages = ceil( $totalLinks / $linksPerIndex );
$start = ( ( $currentPage - 1 ) * $linksPerIndex ) + 1;
$end = ( ( $currentPage - 1 ) * $linksPerIndex ) + $showing;
$hasNextPage = $totalPages > $currentPage;
$hasPrevPage = $currentPage > 1;
$nextPageUri = $hasNextPage ? preg_replace( '/sitemap([0-9]*)\.xml/', 'sitemap' . ( $currentPage + 1 ) . '.xml', (string) $data['sitemapUrl'] ) : '#';
$prevPageUri = $hasPrevPage ? preg_replace( '/sitemap([0-9]*)\.xml/', 'sitemap' . ( $currentPage - 1 ) . '.xml', (string) $data['sitemapUrl'] ) : '#';
?>
<div class="pagination">
<div class="label">
<?php
echo esc_html(
sprintf(
// Translators: 1 - The "start-end" pagination results, 2 - Total items.
__( 'Showing %1$s of %2$s', 'all-in-one-seo-pack' ),
"$start-$end",
$totalLinks
)
);
?>
</div>
<a href="<?php echo esc_attr( $prevPageUri ); ?>" class="<?php echo $hasPrevPage ? '' : 'disabled'; ?>">
<svg width="7" height="10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.842 8.825L3.025 5l3.817-3.825L5.667 0l-5 5 5 5 1.175-1.175z" fill="#141B38"/></svg>
</a>
<a href="<?php echo esc_attr( $nextPageUri ); ?>" class="<?php echo $hasNextPage ? '' : 'disabled'; ?>">
<svg width="7" height="10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M.158 8.825L3.975 5 .158 1.175 1.333 0l5 5-5 5L.158 8.825z" fill="#141B38"/></svg>
</a>
</div>