PATH:
home
/
lab2454c
/
christianitybank.com
/
wp-content
/
plugins
/
root-file-manager
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); // Cache bust tinymce add_filter( 'tiny_mce_version', 'refresh_mce' ); // Add button to visual editor include dirname( __FILE__ ) . '/assets/tinymce/bctt-tinymce.php'; // instantiate i18n encouragement module $bctt_i18n = new bctt_i18n( array( 'textdomain' => 'better-click-to-tweet', 'project_slug' => '/wp-plugins/better-click-to-tweet/stable', 'plugin_name' => 'Better Click To Tweet', 'hook' => 'bctt_settings_top', 'glotpress_url' => 'https://translate.wordpress.org/', 'glotpress_name' => 'Translating WordPress', 'glotpress_logo' => 'https://plugins.svn.wordpress.org/better-click-to-tweet/assets/icon-256x256.png', 'register_url ' => 'https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/', ) ); // Add Settings Link add_action( 'admin_menu', 'bctt_admin_menu' ); function bctt_admin_menu() { add_action( 'admin_init', 'bctt_register_settings', 100, 1 ); add_submenu_page( 'options-general.php', __( 'Better Click To Tweet Main Settings', 'better-click-to-tweet' ), __( 'Better Click To Tweet', 'better-click-to-tweet' ), 'manage_options', 'better-click-to-tweet', 'bctt_settings' ); } function bctt_settings() { $addons = bctt_get_active_addons(); ?> <div class="wrap"> <h2 class="dashicons-before dashicons-twitter"> <?php _e( 'Better Click To Tweet', 'better-click-to-tweet' ); ?> </h2> <?php $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'bctt-settings'; ?> <h2 class="nav-tab-wrapper"> <a href="<?php echo admin_url( 'admin.php?page=better-click-to-tweet&tab=bctt-settings' ) ?>" class="nav-tab <?php echo $active_tab == 'bctt-settings' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Settings', 'better-click-to-tweet' ); ?> </a> <?php if ( ! empty( $addons ) ) { ?> <a href="<?php echo admin_url( 'admin.php?page=better-click-to-tweet&tab=bctt-licenses' ) ?>" class="nav-tab <?php echo $active_tab == 'bctt-licenses' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Licenses', 'better-click-to-tweet' ); ?> </a> <?php } ?> <a href="<?php echo admin_url( 'admin.php?page=better-click-to-tweet&tab=bctt-premium-styles' ) ?>" class="nav-tab <?php echo $active_tab == 'bctt-premium-styles' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Premium Styles', 'better-click-to-tweet' ); ?> </a> <a href="<?php echo admin_url( 'admin.php?page=better-click-to-tweet&tab=bctt-utm-tags' ) ?>" class="nav-tab <?php echo $active_tab == 'bctt-utm-tags' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'UTM Tags', 'better-click-to-tweet' ); ?> </a> </h2> <?php switch ($active_tab) { case 'bctt-licenses': bctt_license_page(); break; case 'bctt-premium-styles': if ( ! function_exists( 'bcttps_register_settings' )) { echo '<h2 style="text-align: center; margin-top: 20%;">'; echo sprintf( __( 'Want Premium styles? Add the <a href=%s>Premium Styles add-on</a> today!', 'better-click-to-tweet' ), esc_url( 'http://benlikes.us/bcttpsdirect' ) ); echo '</h2>'; } else { bcttps_settings_output(); } break; case 'bctt-utm-tags': if ( ! defined( 'BCTTUTM_VERSION' ) ) { echo '<h2 style="text-align: center; margin-top: 20%;">'; echo sprintf( __( 'Want to add UTM tags to the return URL to track how well BCTT boxes are performing? Add the <a href=%s>UTM tags add-on</a> today!', 'better-click-to-tweet' ), esc_url( 'http://benlikes.us/bcttutmdirect' ) ); echo '</h2>'; } else { $BCTT_Utm_tags = Bctt_Utm_Tags::get_instance(); $BCTT_Utm_tags->bctt_utm_tags_settings_output(); } break; default: bctt_settings_page(); break; } ?> </div><!-- /.wrap --> <?php } // end settings
[+]
includes
[+]
..
[-] better-click-to-tweet.php
[edit]
[-] i18n-module.php
[edit]
[-] bctt-welcome.php
[edit]
[+]
languages
[-] bctt_options.php
[edit]
[-] readme.txt
[edit]
[-] bctt-welcome-functions.php
[edit]
[+]
assets
[-] bctt-admin.php
[edit]
[-] admin-nags.php
[edit]
[-] bctt-i18n.php
[edit]