| 1 |
<?php |
| 2 |
/** |
| 3 |
* The template for the panel footer area. |
| 4 |
* Override this template by specifying the path where it is stored (templates_path) in your Redux config. |
| 5 |
* |
| 6 |
* @author Redux Framework |
| 7 |
* @package ReduxFrameworkLegacy/Templates |
| 8 |
* @version: 3.5.8.3 |
| 9 |
*/ |
| 10 |
?> |
| 11 |
<div id="redux-sticky-padder" style="display: none;"> </div> |
| 12 |
<div id="redux-footer-sticky"> |
| 13 |
<div id="redux-footer"> |
| 14 |
<?php |
| 15 |
if ( isset( $this->parent->args['share_icons'] ) ) { |
| 16 |
|
| 17 |
$skip_icons = false; |
| 18 |
if ( ! $this->parent->args['dev_mode'] && $this->parent->omit_share_icons ) { |
| 19 |
$skip_icons = true; |
| 20 |
} |
| 21 |
?> |
| 22 |
<div id="redux-share"> |
| 23 |
<?php |
| 24 |
foreach ( $this->parent->args['share_icons'] as $link ) { |
| 25 |
if ( $skip_icons ) { |
| 26 |
continue; |
| 27 |
} |
| 28 |
|
| 29 |
// SHIM, use URL now |
| 30 |
if ( isset( $link['link'] ) && ! empty( $link['link'] ) ) { |
| 31 |
$link['url'] = $link['link']; |
| 32 |
unset( $link['link'] ); |
| 33 |
} |
| 34 |
?> |
| 35 |
<a href="<?php echo esc_url( $link['url'] ); ?>" title="<?php echo esc_attr( $link['title'] ); ?>" target="_blank"> |
| 36 |
<?php if ( isset( $link['icon'] ) && ! empty( $link['icon'] ) ) : ?> |
| 37 |
<i class=" |
| 38 |
<?php |
| 39 |
if ( strpos( $link['icon'], 'el-icon' ) !== false && strpos( $link['icon'], 'el ' ) === false ) { |
| 40 |
$link['icon'] = 'el ' . $link['icon']; |
| 41 |
} |
| 42 |
echo esc_attr( $link['icon'] ); |
| 43 |
?> |
| 44 |
"></i> |
| 45 |
<?php else : ?> |
| 46 |
<img src="<?php echo esc_url( $link['img'] ); ?>"/> |
| 47 |
<?php endif; ?> |
| 48 |
|
| 49 |
</a> |
| 50 |
<?php } ?> |
| 51 |
|
| 52 |
</div> |
| 53 |
<?php } ?> |
| 54 |
|
| 55 |
<div class="redux-action_bar"> |
| 56 |
<span class="spinner"></span> |
| 57 |
<a id="quadmenu_delete_theme" style="color: #D0011B;" href="#"><?php esc_html_e( 'Delete this theme', 'quadmenu' ); ?></a> |
| 58 |
<a id="quadmenu_add_theme" class="button button-secondary" href="#"><?php esc_html_e( 'Create Theme', 'quadmenu' ); ?></a> |
| 59 |
<?php |
| 60 |
if ( false === $this->parent->args['hide_save'] ) { |
| 61 |
submit_button( __( 'Save', 'quadmenu' ), 'primary', 'redux_save', false ); |
| 62 |
} |
| 63 |
|
| 64 |
if ( false === $this->parent->args['hide_reset'] ) { |
| 65 |
submit_button( __( 'Reset Section', 'quadmenu' ), 'secondary', $this->parent->args['opt_name'] . '[defaults-section]', false, array( 'id' => 'redux-defaults-section' ) ); |
| 66 |
submit_button( __( 'Reset All', 'quadmenu' ), 'secondary', $this->parent->args['opt_name'] . '[defaults]', false, array( 'id' => 'redux-defaults' ) ); |
| 67 |
} |
| 68 |
?> |
| 69 |
</div> |
| 70 |
|
| 71 |
<div class="redux-ajax-loading" alt="<?php _e( 'Working...', 'quadmenu' ); ?>"> </div> |
| 72 |
<div class="clear"></div> |
| 73 |
|
| 74 |
</div> |
| 75 |
</div> |
| 76 |
|