balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

templates.php (2500B)


      1 <?php
      2 /**
      3  * Admin View: Page - About
      4  *
      5  * @package Redux Framework
      6  */
      7 
      8 defined( 'ABSPATH' ) || exit;
      9 
     10 ?>
     11 <div class="wrap about-wrap">
     12 	<div class="error hide">
     13 		<p>Redux.io is running from within one of your products. To keep your site safe, please install the Redux Framework plugin from WordPress.org.</p>
     14 	</div>
     15 	<h1><?php printf( esc_html__( 'Welcome to', 'redux-framework' ) . ' Redux Framework %s', esc_html( $this->display_version ) ); ?></h1>
     16 
     17 
     18 	<div class="about-text">
     19 		<?php esc_html_e( "Redux is the world's most powerful and widely used WordPress interface builder. We are trusted by millions of developers and end users world-wide.", 'redux-framework' ); ?>
     20 	</div>
     21 	<div class="redux-badge">
     22 		<i class="el el-redux"></i>
     23 		<span><?php printf( esc_html__( 'Version', 'redux-framework' ) . ' %s', esc_html( Redux_Core::$version ) ); ?></span>
     24 	</div>
     25 
     26 	<?php $this->actions(); ?>
     27 	<?php $this->tabs(); ?>
     28 
     29 	<?php $ext_value = Redux_Core::$extendify_templates_enabled; ?>
     30 	<?php $value = Redux_Core::$redux_templates_enabled; ?>
     31 
     32 	<div class="feature-section one-col">
     33 		<div class="col">
     34 			<?php // translators: %s: HTML. ?>
     35 			<h2><?php echo sprintf( esc_html__( ' Template Libraries', 'redux-framework' ), '<br />' ); ?></h2>
     36 		</div>
     37 	</div>
     38 	<div class='wrap'>
     39 		<form method="post" action="options.php">
     40 			<?php settings_fields( 'redux_templates' ); ?>
     41 			<table class="form-table">
     42 				<tbody>
     43 				<tr style='vertical-align:top'>
     44 					<th scope='row' style='vertical-align:top'>
     45 						<?php esc_html_e( 'Extendify Template Library', 'redux-framework' ); ?>
     46 					</th>
     47 					<td>
     48 						<input id="extendify-templates" name="use_extendify_templates" type="checkbox" class="regular-text" value="1" <?php checked( $ext_value, '1' ); ?>/>
     49 						<label class="description" for="use_extendify_templates"><?php esc_html_e( 'Load Extendify template library', 'redux-framework' ); ?></label>
     50 					</td>
     51 				</tr>
     52 				<tr style='vertical-align:top'>
     53 					<th scope="row" style="vertical-align:top">
     54 						<?php esc_html_e( 'Redux Template Library', 'redux-framework' ); ?>
     55 					</th>
     56 					<td>
     57 						<input id="redux-templates" name="use_redux_templates" type="checkbox" class="regular-text" value="1" <?php checked( $value, '1' ); ?>/>
     58 						<label class="description" for="use_redux_templates"><?php esc_html_e( 'Load legacy Redux template library', 'redux-framework' ); ?></label>
     59 					</td>
     60 				</tr>
     61 				</tbody>
     62 			</table>
     63 			<?php submit_button(); ?>
     64 		</form>
     65 		<hr>
     66 </div>