<?php
/**
 * Targeting
 *
 * @package     Wow_Pluign
 * @copyright   Copyright (c) 2018, Dmytro Lobov
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
include_once( 'settings/targeting.php' );

?>

<div id="targeting" class="postbox wow-sidebar">
  <h2><?php esc_attr_e( 'Targeting', 'side-menu' ); ?></h2>
  <div class="inside">
    <div class="container">
      <div class="element">
        <h4><?php esc_attr_e( 'Show on devices', 'side-menu' ); ?></h4>
				<?php echo self::option( $include_more_screen ); ?> <label
          for="include_more_screen"><?php esc_attr_e( "Don't show on screens more", 'side-menu' ); ?></label><?php echo self::tooltip( $show_screen_help ); ?>
        <p/>
				<?php echo self::option( $screen_more ); ?>
				<?php echo self::option( $include_mobile ); ?> <label
          for="include_mobile"><?php esc_attr_e( "Don't show on screens less", 'side-menu' ); ?></label><?php echo self::tooltip( $include_mobile_help ); ?>
        <p/>
				<?php echo self::option( $screen ); ?><p/>
      </div>
    </div>
    <div class="container">
      <div class="element">
        <h4><?php esc_attr_e( 'Show for users', 'side-menu' ); ?></h4>
				<?php echo self::option( $item_user ); ?><p/>
				<?php echo self::option( $user_role ); ?>
      </div>
    </div>
    <div class="container">
      <div class="element">
        <h4><?php esc_attr_e( 'Depending on the language', 'side-menu' ); ?></h4>
				<?php echo self::option( $depending_language ); ?> <label
          for="depending_language"><?php esc_attr_e( "Enable", 'side-menu' ); ?></label>
        <p/>
				<?php echo self::option( $lang ); ?>
      </div>
    </div>
    <div class="container">
      <div class="element">
        <h4><?php esc_attr_e( 'Font Awesome 5 style', 'side-menu' ); ?></h4>
        <?php echo self::option( $disable_fontawesome ); ?> <label
          for="disable_fontawesome"><?php esc_attr_e( "Disable", 'side-menu' ); ?></label>
        <?php echo self::tooltip( $disable_fontawesome_help ); ?>
      </div>
    </div>
  </div>
</div>