| Current Path : /home/bechata/mp/wp-content/uploads/2022/ejn73c/ |
| Current File : /home/bechata/mp/wp-content/uploads/2022/ejn73c/pages.tar |
addons.php 0000666 00000002617 15175225671 0006552 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php $addons = $this->get_addons(); ?>
<div id="su_admin_addons" class="wrap su-admin-addons wp-clearfix">
<h1><?php $this->the_page_title(); ?></h1>
<div class="su-admin-addons-list">
<?php if ( empty( $addons ) ) : ?>
<p>
<a href="https://getshortcodes.com/add-ons/" target="_blank" class="button button-primary"><?php esc_html_e( 'Premium Add-ons', 'shortcodes-ultimate' ); ?> →</a>
</p>
<?php else : ?>
<?php foreach ( $addons as $addon ) : ?>
<div class="su-admin-addons-item">
<div class="su-admin-addons-item-content">
<img src="<?php echo esc_attr( $addon['image'] ); ?>" alt="" class="su-admin-addons-item-image">
<h2 class="su-admin-addons-item-title"><?php echo esc_html( $addon['title'] ); ?></h2>
<p class="su-admin-addons-item-description"><?php echo esc_html( $addon['description'] ); ?></p>
<div class="su-admin-addons-item-action" aria-hidden="true">
<span class="button"><?php esc_html_e( 'Learn more', 'shortcodes-ultimate' ); ?></span>
</div>
</div>
<a href="<?php echo esc_attr( $this->get_addon_permalink( $addon ) ); ?>" target="_blank" rel="noopener" class="su-admin-addons-item-overlay"><?php esc_html_e( 'Learn more about', 'shortcodes-ultimate' ); ?> <?php echo esc_html( $addon['title'] ); ?></a>
</div>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
settings.php 0000666 00000002544 15175225671 0007141 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<div id="su_admin_settings" class="wrap su-admin-settings wp-clearfix">
<h1><?php $this->the_page_title(); ?></h1>
<?php settings_errors(); ?>
<form action="options.php" method="post">
<?php if ( isset( $_GET['advanced'] ) ) : ?>
<div class="notice notice-warning">
<p>
<strong><?php esc_html_e( 'Warning!', 'shortcodes-ultimate' ); ?></strong><br>
<?php esc_html_e( 'You are editing advanced settings. Do NOT modify anything in here unless you know what you are doing.', 'shortcodes-ultimate' ); ?>
</p>
<p>
<a href="<?php echo esc_attr( $this->get_component_url() ); ?>">← <?php esc_html_e( 'Return to main settings', 'shortcodes-ultimate' ); ?></a>
</p>
</div>
<?php settings_fields( $this->plugin_prefix . 'advanced-settings' ); ?>
<?php do_settings_sections( $this->plugin_prefix . 'advanced-settings' ); ?>
<?php else : ?>
<?php settings_fields( rtrim( $this->plugin_prefix, '-_' ) ); ?>
<?php do_settings_sections( $this->plugin_prefix . 'settings' ); ?>
<?php endif; ?>
<?php submit_button(); ?>
</form>
<?php if ( ! isset( $_GET['advanced'] ) ) : ?>
<p><a href="<?php echo esc_attr( add_query_arg( 'advanced', '', $this->get_component_url() ) ); ?>"><?php esc_html_e( 'Advanced settings', 'shortcodes-ultimate' ); ?></a></p>
<?php endif; ?>
</div>
shortcodes-list.php 0000666 00000003011 15175225671 0010415 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<?php $shortcodes = $this->get_available_shortcodes(); ?>
<div id="su_admin_shortcodes" class="wrap su-admin-shortcodes">
<h1><?php $this->the_page_title(); ?></h1>
<div class="wp-filter">
<div class="filter-count">
<span class="count"><?php echo count( $shortcodes ); ?></span>
</div>
<ul class="filter-links">
<?php foreach ( $this->get_groups() as $group ) : ?>
<?php if ( $group['active'] ) : ?>
<li><a href="<?php echo esc_url( $group['url'] ); ?>" class="current"><?php echo esc_html( $group['title'] ); ?></a></li>
<?php else : ?>
<li><a href="<?php echo esc_url( $group['url'] ); ?>"><?php echo esc_html( $group['title'] ); ?></a></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
<div class="su-admin-shortcodes-list wp-clearfix">
<?php if ( count( $shortcodes ) ) : ?>
<?php foreach ( $shortcodes as $shortcode_id => $shortcode ) : ?>
<a href="<?php echo esc_attr( add_query_arg( 'shortcode', $shortcode_id, $this->get_component_url() ) ); ?>" class="su-admin-shortcodes-list-item">
<span class="su-admin-shortcodes-list-item-image">
<?php $this->shortcode_image( $shortcode, 120 ); ?>
</span>
<span class="su-admin-shortcodes-list-item-title"><?php echo esc_html( $shortcode['name'] ); ?></span>
</a>
<?php endforeach; ?>
<?php else : ?>
<p class="su-admin-shortcodes-list-not-found"><?php esc_html_e( 'No shortcodes found.', 'shortcodes-ultimate' ); ?></p>
<?php endif; ?>
</div>
</div>
shortcodes-single-content.php 0000666 00000005624 15175225671 0012407 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<!-- Description section -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-description wp-clearfix">
<span><?php $this->shortcode_image( $data, 60 ); ?></span>
<h2><?php echo esc_html( $data['name'] ); ?></h2>
<p>
<?php if ( isset( $data['desc'] ) ) : ?>
<?php echo esc_html( $data['desc'] ); ?>
<?php endif; ?>
<?php if ( isset( $data['article'] ) ) : ?>
<br><a href="<?php echo esc_url( $data['article'] ); ?>" target="_blank"><strong><?php esc_html_e( 'Shortcode documentation', 'shortcodes-ultimate' ); ?></strong></a>.
<?php endif; ?>
</p>
</div>
<!-- /Description section -->
<!-- Preview section -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-preview">
<h2><?php esc_html_e( 'Preview', 'shortcodes-ultimate' ); ?></h2>
<div class="su-admin-shortcodes-single-preview-content wp-clearfix">
<?php echo do_shortcode( $this->get_shortcode_code( $data['id'] ) ); ?>
</div>
</div>
<!-- /Preview section -->
<!-- Shortcode section -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-code">
<h2><?php esc_html_e( 'Shortcode', 'shortcodes-ultimate' ); ?></h2>
<pre contenteditable="true" class=""><code><?php echo str_replace( "\t", ' ', esc_html( $this->get_shortcode_code( $data['id'] ) ) ); ?></code></pre>
</div>
<!-- /Shortcode section -->
<!-- Options section -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-options">
<h2><?php esc_html_e( 'Shortcode options', 'shortcodes-ultimate' ); ?></h2>
<?php foreach ( $this->get_single_shortcode_options() as $table ) : ?>
<div class="su-admin-shortcodes-single-options-table">
<?php if ( count( $this->get_single_shortcode_options() ) > 1 ) : ?>
<h3>[<?php echo esc_html( su_get_shortcode_prefix() . $table['id'] ); ?>]</h3>
<?php endif; ?>
<?php if ( ! is_array( $table['atts'] ) || ! count( $table['atts'] ) ) : ?>
<p class="description"><?php esc_html_e( 'This shortcode do not have options', 'shortcodes-ultimate' ); ?></p>
<?php else : ?>
<table class="widefat striped">
<tr>
<th><?php esc_html_e( 'Option name', 'shortcodes-ultimate' ); ?></th>
<th><?php esc_html_e( 'Possible values', 'shortcodes-ultimate' ); ?></th>
<th><?php esc_html_e( 'Default value', 'shortcodes-ultimate' ); ?></th>
</tr>
<?php foreach ( $table['atts'] as $attr_id => $attr ) : ?>
<tr>
<td style="max-width:360px">
<strong><?php echo esc_html( $attr_id ); ?></strong><br>
<small class="description"><?php echo $this->get_shortcode_description( $attr['desc'] ); ?></small>
</td>
<td><?php echo $this->get_possible_values( $attr ); ?></td>
<td><?php echo $this->get_default_value( $attr ); ?></td>
</tr>
<?php endforeach; ?>
</table>
<?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<!-- /Options section -->
shortcodes-single.php 0000666 00000001773 15175225671 0010740 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; ?>
<div id="su_admin_shortcodes" class="wrap su-admin-shortcodes">
<h1><?php $this->the_page_title(); ?></h1>
<div class="su-admin-shortcodes-single">
<!-- "Go back" button -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-back">
<a href="<?php echo esc_attr( $this->get_component_url() ); ?>" class="button">
<span class="dashicons dashicons-arrow-left-alt"></span>
<?php esc_html_e( 'Back to shortcodes list', 'shortcodes-ultimate' ); ?>
</a>
</div>
<!-- /"Go back" button -->
<?php $this->single_shortcode_page_content(); ?>
<!-- "Go back" button -->
<div class="su-admin-shortcodes-single-section su-admin-shortcodes-single-back">
<a href="<?php echo esc_attr( $this->get_component_url() ); ?>" class="button">
<span class="dashicons dashicons-arrow-left-alt"></span>
<?php esc_html_e( 'Back to shortcodes list', 'shortcodes-ultimate' ); ?>
</a>
</div>
<!-- /"Go back" button -->
</div>
</div>