header-stickybar.tpl.php (1596B)
1 <?php 2 /** 3 * The template for the header sticky bar. 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 ReduxFramework/Templates 8 * @version: 4.0.0 9 */ 10 11 ?> 12 <div id="redux-sticky"> 13 <div id="info_bar"> 14 <a href="javascript:void(0);" 15 class="expand_options<?php echo esc_attr( ( $this->parent->args['open_expanded'] ) ? ' expanded' : '' ); ?>"<?php echo( true === $this->parent->args['hide_expand'] ? ' style="display: none;"' : '' ); ?>> 16 <?php esc_attr_e( 'Expand', 'redux-framework' ); ?> 17 </a> 18 <div class="redux-action_bar"> 19 <span class="spinner"></span> 20 <?php 21 if ( false === $this->parent->args['hide_save'] ) { 22 submit_button( esc_attr__( 'Save Changes', 'redux-framework' ), 'primary', 'redux_save', false, array( 'id' => 'redux_top_save' ) ); 23 } 24 25 if ( false === $this->parent->args['hide_reset'] ) { 26 submit_button( esc_attr__( 'Reset Section', 'redux-framework' ), 'secondary', $this->parent->args['opt_name'] . '[defaults-section]', false, array( 'id' => 'redux-defaults-section-top' ) ); 27 submit_button( esc_attr__( 'Reset All', 'redux-framework' ), 'secondary', $this->parent->args['opt_name'] . '[defaults]', false, array( 'id' => 'redux-defaults-top' ) ); 28 } 29 ?> 30 </div> 31 <div class="redux-ajax-loading" alt="<?php esc_attr_e( 'Working...', 'redux-framework' ); ?>"> </div> 32 <div class="clear"></div> 33 </div> 34 35 <!-- Notification bar --> 36 <div id="redux_notification_bar"> 37 <?php $this->notification_bar(); ?> 38 </div> 39 </div>