File "fancy-facebook-comments-options-page.php"
Full Path: /home/refref/public_html/fancy-facebook-comments/admin/partials/fancy-facebook-comments-options-page.php
File size: 44.83 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Options page
*
* @since 1.0
*/
defined( 'ABSPATH' ) or die("Cheating........Uh!!");
?>
<div id="fb-root"></div>
<div class="metabox-holder columns-2" id="post-body">
<h1>Fancy Facebook Comments</h1>
<div>
<?php
echo sprintf( __( 'You can appreciate the effort put in this free plugin by rating it <a href="%s" target="_blank">here</a>', 'fancy-facebook-comments' ), '//wordpress.org/support/view/plugin-reviews/fancy-facebook-comments' );
?>
</div>
<div class="menu_div" id="tabs">
<form id="heateor_ffc_form" action="options.php" method="post">
<?php settings_fields( 'heateor_ffc_options' ); ?>
<h2 class="nav-tab-wrapper" style="height:34px">
<ul>
<li style="margin-left:9px"><a style="margin:0; height: 23px" class="nav-tab" href="#tabs-1"><?php _e( 'Basic', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height: 23px" class="nav-tab" href="#tabs-2"><?php _e( 'Moderation', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height: 23px" class="nav-tab" href="#tabs-3"><?php _e( 'Notification', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height: 23px" class="nav-tab" href="#tabs-4"><?php _e( 'GDPR', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height: 23px" class="nav-tab" href="#tabs-5"><?php _e( 'myCRED Integration', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-7"><?php _e( 'Shortcode and Widget', 'fancy-facebook-comments' ) ?></a></li>
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-8"><?php _e( 'FAQ', 'fancy-facebook-comments' ) ?></a></li>
</ul>
</h2>
<div class="menu_containt_div" id="tabs-1">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<div class="stuffbox">
<h3><label><?php _e( 'Basic Configuration', 'fancy-facebook-comments' );?></label></h3>
<div class="inside">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
<tr>
<td colspan="2">
<div>
<a href="https://www.heateor.com/fancy-facebook-comments-pro" target="_blank" style="text-decoration:none"><input type="button" value="<?php _e( 'Enable Facebook Comments notification and moderation', 'fancy-facebook-comments' ) ?> >>>" class="ss_demo" style="width:68%" /></a>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_commenting_title"><?php _e("Comment box title", 'fancy-facebook-comments' ); ?>
<img id="heateor_ffc_commenting_title_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</label>
</th>
<td>
<input id="heateor_ffc_commenting_title" name="heateor_ffc[commenting_label]" type="text" value="<?php echo $options['commenting_label']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_commenting_title_help_cont">
<td colspan="2">
<div>
<?php _e( 'Title to show above Facebook Comments box', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_title_color"><?php _e("Title text color", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_title_color_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_commenting_title" name="heateor_ffc[title_color]" type="text" value="<?php echo $options['title_color']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_title_color_help_cont">
<td colspan="2">
<div>
<?php _e( 'Specify the color or hex code (example #cc78e0) of the title text to show above Facebook Comments box. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_hor_alignment"><?php _e("Font family of the Title", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_hor_alignment_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<select id="heateor_ffc_hor_alignment" name="heateor_ffc[title_font_family]">
<option style="font-family:Arial,Helvetica Neue,Helvetica,sans-serif" value="Arial,Helvetica Neue,Helvetica,sans-serif" <?php echo $options['title_font_family'] == 'Arial,Helvetica Neue,Helvetica,sans-serif' ? 'selected' : ''; ?>>Arial,Helvetica Neue,Helvetica,sans-serif</option>
<option style="font-family:Arial Black,Arial Bold,Arial,sans-serif" value="Arial Black,Arial Bold,Arial,sans-serif" <?php echo $options['title_font_family'] == 'Arial Black,Arial Bold,Arial,sans-serif' ? 'selected' : ''; ?>>Arial Black,Arial Bold,Arial,sans-serif</option>
<option style="font-family:Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif" value="Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif" <?php echo $options['title_font_family'] == 'Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif' ? 'selected' : ''; ?>>Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif</option>
<option style="font-family:Courier,Verdana,sans-serif" value="Courier,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Courier,Verdana,sans-serif' ? 'selected' : ''; ?>>Courier,Verdana,sans-serif</option>
<option style="font-family:Georgia,Times New Roman,Times,serif" value="Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Times New Roman,Times,Georgia,serif" value="Times New Roman,Times,Georgia,serif" <?php echo $options['title_font_family'] == 'Times New Roman,Times,Georgia,serif' ? 'selected' : ''; ?>>Times New Roman,Times,Georgia,serif</option>
<option style="font-family:Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif" value="Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif" <?php echo $options['title_font_family'] == 'Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif' ? 'selected' : ''; ?>>Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif</option>
<option style="font-family:Verdana,sans-serif" value="Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Verdana,sans-serif' ? 'selected' : ''; ?>>Verdana,sans-serif</option>
<option style="font-family:American Typewriter,Georgia,serif" value="American Typewriter,Georgia,serif" <?php echo $options['title_font_family'] == 'American Typewriter,Georgia,serif' ? 'selected' : ''; ?>>American Typewriter,Georgia,serif</option>
<option style="font-family:Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif" value="Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif' ? 'selected' : ''; ?>>Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif</option>
<option style="font-family:Baskerville,Times New Roman,Times,serif" value="Baskerville,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Baskerville,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Baskerville,Times New Roman,Times,serif</option>
<option style="font-family:Bookman Old Style,Georgia,Times New Roman,Times,serif" value="Bookman Old Style,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Bookman Old Style,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Bookman Old Style,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif" value="Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif' ? 'selected' : ''; ?>>Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif</option>
<option style="font-family:Cambria,Georgia,Times New Roman,Times,serif" value="Cambria,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Cambria,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Cambria,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Candara,Verdana,sans-serif" value="Candara,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Candara,Verdana,sans-serif' ? 'selected' : ''; ?>>Candara,Verdana,sans-serif</option>
<option style="font-family:Century Gothic,Apple Gothic,Verdana,sans-serif" value="Century Gothic,Apple Gothic,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Century Gothic,Apple Gothic,Verdana,sans-serif' ? 'selected' : ''; ?>>Century Gothic,Apple Gothic,Verdana,sans-serif</option>
<option style="font-family:Century Schoolbook,Georgia,Times New Roman,Times,serif" value="Century Schoolbook,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Century Schoolbook,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Century Schoolbook,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif" value="Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif' ? 'selected' : ''; ?>>Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif</option>
<option style="font-family:Constantia,Georgia,Times New Roman,Times,serif" value="Constantia,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Constantia,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Constantia,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif" value="Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif" <?php echo $options['title_font_family'] == 'Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif' ? 'selected' : ''; ?>>Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif</option>
<option style="font-family:Franklin Gothic Medium,Arial,sans-serif" value="Franklin Gothic Medium,Arial,sans-serif" <?php echo $options['title_font_family'] == 'Franklin Gothic Medium,Arial,sans-serif' ? 'selected' : ''; ?>>Franklin Gothic Medium,Arial,sans-serif</option>
<option style="font-family:Garamond,Hoefler Text,Times New Roman,Times,serif" value="Garamond,Hoefler Text,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Garamond,Hoefler Text,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Garamond,Hoefler Text,Times New Roman,Times,serif</option>
<option style="font-family:Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif" value="Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif" <?php echo $options['title_font_family'] == 'Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif' ? 'selected' : ''; ?>>Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif</option>
<option style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif" value="Helvetica Neue,Helvetica,Arial,sans-serif" <?php echo $options['title_font_family'] == 'Helvetica Neue,Helvetica,Arial,sans-serif' ? 'selected' : ''; ?>>Helvetica Neue,Helvetica,Arial,sans-serif</option>
<option style="font-family:Hoefler Text,Garamond,Times New Roman,Times,sans-serif" value="Hoefler Text,Garamond,Times New Roman,Times,sans-serif" <?php echo $options['title_font_family'] == 'Hoefler Text,Garamond,Times New Roman,Times,sans-serif' ? 'selected' : ''; ?>>Hoefler Text,Garamond,Times New Roman,Times,sans-serif</option>
<option style="font-family:Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif" value="Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif" value="Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif" <?php echo $options['title_font_family'] == 'Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif' ? 'selected' : ''; ?>>Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif</option>
<option style="font-family:monospace" value="monospace" <?php echo $options['title_font_family'] == 'monospace' ? 'selected' : ''; ?>>Monospace</option>
<option style="font-family:Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif" value="Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif" <?php echo $options['title_font_family'] == 'Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif' ? 'selected' : ''; ?>>Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif</option>
<option style="font-family:Tahoma,Geneva,Verdana,sans-serif" value="Tahoma,Geneva,Verdana,sans-serif" <?php echo $options['title_font_family'] == 'Tahoma,Geneva,Verdana,sans-serif' ? 'selected' : ''; ?>>Tahoma,Geneva,Verdana,sans-serif</option>
<option style="font-family:Rockwell, Arial Black, Arial Bold, Arial, sans-serif" value="Rockwell, Arial Black, Arial Bold, Arial, sans-serif" <?php echo $options['title_font_family'] == 'Rockwell, Arial Black, Arial Bold, Arial, sans-serif' ? 'selected' : ''; ?>>Rockwell, Arial Black, Arial Bold, Arial, sans-serif</option>
</select>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_hor_alignment_help_cont">
<td colspan="2">
<div>
<?php _e( 'Font family of the title', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_heading_tag"><?php _e("HTML tag for Title", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_heading_tag_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<select id="heateor_ffc_heading_tag" name="heateor_ffc[heading_tag]">
<option value="h1" <?php echo $options['heading_tag'] == 'h1' ? 'selected' : '' ; ?>>H1</option>
<option value="h2" <?php echo $options['heading_tag'] == 'h2' ? 'selected' : '' ; ?>>H2</option>
<option value="h3" <?php echo $options['heading_tag'] == 'h3' ? 'selected' : '' ; ?>>H3</option>
<option value="h4" <?php echo $options['heading_tag'] == 'h4' ? 'selected' : '' ; ?>>H4</option>
<option value="h5" <?php echo $options['heading_tag'] == 'h5' ? 'selected' : '' ; ?>>H5</option>
<option value="h6" <?php echo $options['heading_tag'] == 'h6' ? 'selected' : '' ; ?>>H6</option>
<option value="div" <?php echo $options['heading_tag'] == 'div' ? 'selected' : '' ; ?>>Div</option>
<option value="span" <?php echo $options['heading_tag'] == 'span' ? 'selected' : '' ; ?>>Span</option>
</select>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_heading_tag_help_cont">
<td colspan="2">
<div>
<?php _e( 'HTML tag to use for title text', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_title_font_size"><?php _e("Title-font size", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_title_font_size_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_title_font_size" name="heateor_ffc[title_font_size]" type="text" value="<?php echo $options['title_font_size']; ?>" />px
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_title_font_size_help_cont">
<td colspan="2">
<div>
<?php _e( 'Font-size of the title text', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_title_alignment"><?php _e("Title alignment", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_title_alignment_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<select id="heateor_ffc_title_alignment" name="heateor_ffc[title_alignment]">
<option value="left" <?php echo $options['title_alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e( 'Left', 'fancy-facebook-comments' ) ?></option>
<option value="center" <?php echo $options['title_alignment'] == 'center' ? 'selected="selected"' : '' ?>><?php _e( 'Center', 'fancy-facebook-comments' ) ?></option>
<option value="right" <?php echo $options['title_alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e( 'Right', 'fancy-facebook-comments' ) ?></option>
</select>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_title_alignment_help_cont">
<td colspan="2">
<div>
<?php _e( 'Horizontal alignment of the title', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_theme"><?php _e( "Theme", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_theme_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<select id="heateor_ffc_theme" name="heateor_ffc[theme]">
<option value="light" <?php echo $options['theme'] == 'light' ? 'selected="selected"' : '' ?>><?php _e( 'Light', 'fancy-facebook-comments' ) ?></option>
<option value="dark" <?php echo $options['theme'] == 'dark' ? 'selected="selected"' : '' ?>><?php _e( 'Dark', 'fancy-facebook-comments' ) ?></option>
</select>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_theme_help_cont">
<td colspan="2">
<div>
<?php _e( 'Choose Dark if your webpage has a dark background', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_bg_color"><?php _e("Background color", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_bg_color_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_bg_color" name="heateor_ffc[bg_color]" type="text" value="<?php echo $options['bg_color']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_bg_color_help_cont">
<td colspan="2">
<div>
<?php _e( 'Specify the color or hex code (example #cc78e0) of the background of Facebook Comments interface. Leave empty for transparent. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_priority"><?php _e( "Priority for Facebook Comments to appear at front-end", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_priority_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<input id="heateor_ffc_priority" name="heateor_ffc[priority]" type="text" value="<?php echo $options['priority'] ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_priority_help_cont">
<td colspan="2">
<div>
<?php _e( "Higher number causes Facebook Comments to appear below the other elements at the webpage.", 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<?php
$post_types = get_post_types( array( 'public' => true ), 'names', 'and' );
?>
<tr>
<th>
<label><?php _e("Enable Social Commenting at", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_comments_location_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_home" name="heateor_ffc[home]" type="checkbox" <?php echo isset( $options['home'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_home"><?php _e( 'Homepage', 'fancy-facebook-comments' ) ?></label><br/>
<?php
if ( count( $post_types ) > 0 ) {
foreach ( $post_types as $post_type ) {
?>
<input id="heateor_ffc_comments_<?php echo $post_type ?>" name="heateor_ffc[<?php echo $post_type ?>]" type="checkbox" <?php echo isset($options['' . $post_type]) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_comments_<?php echo $post_type ?>"><?php echo ucfirst( $post_type ); ?></label><br/>
<?php
}
}
?>
<input id="heateor_ffc_category" name="heateor_ffc[category]" type="checkbox" <?php echo isset( $options['category'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_category"><?php _e( 'Category Archives', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_archive" name="heateor_ffc[archive]" type="checkbox" <?php echo isset( $options['archive'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_archive"><?php _e( 'Archive Pages (Category, Tag, Author or Date based pages)', 'fancy-facebook-comments' ) ?></label><br/>
<?php
if ( $this->is_bp_active) {
?>
<input id="heateor_ffc_bp_activity" name="heateor_ffc[bp_activity]" type="checkbox" <?php echo isset( $options['bp_activity'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bp_activity"><?php _e( 'BuddyPress activity', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_bp_group" name="heateor_ffc[bp_group]" type="checkbox" <?php echo isset( $options['bp_group'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bp_group"><?php _e( 'BuddyPress group (only at top of content)', 'fancy-facebook-comments' ) ?></label><br/>
<?php
}
if ( function_exists( 'is_bbpress' ) ) {
?>
<input id="heateor_ffc_bb_forum" name="heateor_ffc[bb_forum]" type="checkbox" <?php echo isset( $options['bb_forum'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bb_forum"><?php _e( 'BBPress forum', 'fancy-facebook-comments' ) ?></label>
<br/>
<input id="heateor_ffc_bb_topic" name="heateor_ffc[bb_topic]" type="checkbox" <?php echo isset( $options['bb_topic'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bb_topic"><?php _e( 'BBPress topic', 'fancy-facebook-comments' ) ?></label>
<br/>
<input id="heateor_ffc_bb_reply" name="heateor_ffc[bb_reply]" type="checkbox" <?php echo isset( $options['bb_reply'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bb_reply"><?php _e( 'BBPress reply', 'fancy-facebook-comments' ) ?></label>
<br/>
<?php
}
if ( $this->is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
?>
<input id="heateor_ffc_woocom_shop" name="heateor_ffc[woocom_shop]" type="checkbox" <?php echo isset( $options['woocom_shop'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_woocom_shop"><?php _e( 'After individual product at WooCommerce Shop page', 'fancy-facebook-comments' ) ?></label>
<br/>
<input id="heateor_ffc_woocom_product" name="heateor_ffc[woocom_product]" type="checkbox" <?php echo isset( $options['woocom_product'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_woocom_product"><?php _e( 'WooCommerce Product Page', 'fancy-facebook-comments' ) ?></label>
<br/>
<input id="heateor_ffc_woocom_thankyou" name="heateor_ffc[woocom_thankyou]" type="checkbox" <?php echo isset( $options['woocom_thankyou'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_woocom_thankyou"><?php _e( 'WooCommerce Thankyou Page', 'fancy-facebook-comments' ) ?></label>
<br/>
<?php
}
?>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_comments_location_help_cont">
<td colspan="2">
<div>
<?php _e( 'Specify the page/post groups where you want to enable Social Commenting', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label><?php _e( "Position of Comment Box", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_position_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_top" name="heateor_ffc[top]" type="checkbox" <?php echo isset( $options['top'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_top"><?php _e( 'Top of the content', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_bottom" name="heateor_ffc[bottom]" type="checkbox" <?php echo isset( $options['bottom'] ) ? 'checked = "checked"' : '';?> value="1" />
<label for="heateor_ffc_bottom"><?php _e( 'Bottom of the content', 'fancy-facebook-comments' ) ?></label>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_position_help_cont">
<td colspan="2">
<div>
<?php _e( 'Specify position of the Facebook comment box with respect to the content', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_comment_url"><?php _e( 'Load comments for', 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_fb_comment_url_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td id="heateor_ffc_url_to_comment_column">
<input id="heateor_ffc_url_to_comment_default" name="heateor_ffc[url_to_comment]" type="radio" <?php echo $options['url_to_comment'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
<label for="heateor_ffc_url_to_comment_default"><?php _e( 'Url of the webpage where Facebook Comments box is placed (default)', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_url_to_comment_home" name="heateor_ffc[url_to_comment]" type="radio" <?php echo $options['url_to_comment'] == 'home' ? 'checked = "checked"' : '';?> value="home" />
<label for="heateor_ffc_url_to_comment_home"><?php _e( 'Url of the homepage of your website', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_url_to_comment_custom" name="heateor_ffc[url_to_comment]" type="radio" <?php echo $options['url_to_comment'] == 'custom' ? 'checked = "checked"' : '';?> value="custom" />
<label for="heateor_ffc_url_to_comment_custom"><?php _e( 'Custom url', 'fancy-facebook-comments' ) ?></label><br/>
<input id="heateor_ffc_url_to_comment_custom_url" name="heateor_ffc[url_to_comment_custom]" type="text" value="<?php echo $options['url_to_comment_custom']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_fb_comment_url_help_cont">
<td colspan="2">
<div>
<?php _e( 'The absolute URL that comments posted will be permanently associated with. Stories on Facebook about comments posted, will link to this URL', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_fbcomment_width"><?php _e( 'Width', 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_fb_comment_width_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_fbcomment_width" name="heateor_ffc[comment_width]" type="text" value="<?php echo $options['comment_width']; ?>" />px
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_fb_comment_width_help_cont">
<td colspan="2">
<div>
<?php _e( 'Leave empty to auto-adjust the width. The width (in pixels) of the Comments block.', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_fbcomment_numposts"><?php _e( 'Number of comments', 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_fb_comment_numposts_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_fbcomment_numposts" name="heateor_ffc[comment_numposts]" type="text" value="<?php echo $options['comment_numposts']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_fb_comment_numposts_help_cont">
<td colspan="2">
<div>
<?php _e( 'The number of comments to show by default. The minimum value is 1. Defaults to 10', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_fbcomment_orderby"><?php _e( 'Order by', 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_fb_comment_orderby_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<select id="heateor_ffc_fbcomment_orderby" name="heateor_ffc[comment_orderby]">
<option value="social" <?php echo $options['comment_orderby'] == 'social' ? 'selected="selected"' : '' ?>><?php _e( 'Social', 'fancy-facebook-comments' ) ?></option>
<option value="reverse_time" <?php echo $options['comment_orderby'] == 'reverse_time' ? 'selected="selected"' : '' ?>><?php _e( 'Reverse Time', 'fancy-facebook-comments' ) ?></option>
<option value="time" <?php echo $options['comment_orderby'] == 'time' ? 'selected="selected"' : '' ?>><?php _e( 'Time', 'fancy-facebook-comments' ) ?></option>
</select>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_fb_comment_orderby_help_cont">
<td colspan="2">
<div>
<p><?php _e( 'The order to use when displaying comments.', 'fancy-facebook-comments' ) ?></p>
<p><?php _e( 'Social - This is also known as "Top". The comments plugin uses social signals to surface the highest quality comments. Comments are ordered so that the most relevant comments from friends and friends of friends are shown first, as well as the most-liked or active discussion threads. Comments marked as spam are hidden from view.', 'fancy-facebook-comments' ) ?></p>
<p><?php _e( 'Time - Comments are shown in the order that they were posted, with the oldest comments at the top and the newest at the bottom.', 'fancy-facebook-comments' ) ?></p>
<p><?php _e( 'Reverse time - Comments are shown in the opposite order that they were posted, with the newest comments at the top and the oldest at the bottom', 'fancy-facebook-comments' ) ?></p>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_fbcomment_lang"><?php _e( 'Language', 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_fb_comment_lang_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url('../../images/info.png', __FILE__) ?>" />
</th>
<td>
<input id="heateor_ffc_fbcomment_lang" name="heateor_ffc[comment_lang]" type="text" value="<?php echo $options['comment_lang']; ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_fb_comment_lang_help_cont">
<td colspan="2">
<div>
<?php echo sprintf(__('Enter the code of the language you want to use to display commenting. You can find the language codes at <a href="%s" target="_blank">this link</a>. Leave it empty for default language(English)', 'fancy-facebook-comments' ), 'http://fbdevwiki.com/wiki/Locales#Complete_List_.28as_of_2012-06-10.29') ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_recover_comments"><?php _e( "Recover lost comments after moving to 'https'", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_recover_comments_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<input id="heateor_ffc_recover_comments" name="heateor_ffc[recover_comments]" type="checkbox" <?php echo isset( $options['recover_comments'] ) ? 'checked = "checked"' : '';?> value="1" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_recover_comments_help_cont">
<td colspan="2">
<div>
<?php _e( 'Enable this option to recover lost comments after moving your website to "https"', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_restrict_comments"><?php _e( "Show Facebook Comments only to the logged in users", 'fancy-facebook-comments' ) ?> (<a href="https://www.heateor.com/fancy-facebook-comments-pro/" target="_blank"><?php _e( "Unlock", 'fancy-facebook-comments' ); ?></a>)</label>
<img id="heateor_ffc_restrict_comments_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>">
</th>
<td>
<input id="heateor_ffc_restrict_comments" name="heateor_ffc[restrict_comments]" disabled type="checkbox" value="1" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_restrict_comments_help_cont">
<td colspan="2">
<div>
<?php _e( 'Show Facebook Comments box only to the users who are logged into your website', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_dont_load_sdk"><?php _e( "Don't load Facebook SDK", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_dont_load_sdk_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<input id="heateor_ffc_dont_load_sdk" name="heateor_ffc[dont_load_sdk]" type="checkbox" <?php echo isset( $options['dont_load_sdk'] ) ? 'checked = "checked"' : '';?> value="1" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_dont_load_sdk_help_cont">
<td colspan="2">
<div>
<?php _e( 'Enable this option if Facebook SDK is already being loaded at your webpages', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_custom_css"><?php _e( "Custom CSS", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_custom_css_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<textarea rows="7" cols="63" id="heateor_ffc_custom_css" name="heateor_ffc[custom_css]"><?php echo isset( $options['custom_css'] ) ? $options['custom_css'] : '' ?></textarea>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_custom_css_help_cont">
<td colspan="2">
<div>
<?php _e( 'You can specify any additional CSS rules (without <style> tag)', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_qs_params"><?php _e( "Querystring Parameters to ignore", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_qs_params_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<textarea rows="7" cols="63" id="heateor_ffc_qs_params" name="heateor_ffc[qs_params]"><?php echo isset( $options['qs_params'] ) ? $options['qs_params'] : '' ?></textarea>
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_qs_params_help_cont">
<td colspan="2">
<div>
<?php _e( 'Querystring parameters can affect the Facebook Comments being loaded at your web pages. Specify the querystring parameters (comma separated) in this option that are causing the comments to disappear at your web pages.', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<th>
<label for="heateor_ffc_delete_options"><?php _e( "Delete all the options on plugin deletion", 'fancy-facebook-comments' ); ?></label>
<img id="heateor_ffc_delete_options_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
<td>
<input id="heateor_ffc_delete_options" name="heateor_ffc[delete_options]" type="checkbox" <?php echo isset( $options['delete_options'] ) ? 'checked = "checked"' : '';?> value="1" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_delete_options_help_cont">
<td colspan="2">
<div>
<?php _e( 'If enabled, plugin options will get deleted when plugin is deleted/uninstalled and you will need to reconfigure the options when you install the plugin next time.', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="stuffbox">
<h3><label><?php _e( 'Export/Import configuration', 'fancy-facebook-comments' );?> (<a href="https://www.heateor.com/fancy-facebook-comments-pro/" target="_blank"><?php _e( "Unlock", 'fancy-facebook-comments' ); ?></a>)</label></h3>
<div class="inside">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
<tr>
<td colspan="2">
<input type="button" class="button-primary" value="<?php _e( "Export Configuration", 'fancy-facebook-comments' ); ?>" />
<img id="heateor_ffc_export_config_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</td>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_export_config_help_cont">
<td colspan="2">
<div>
<?php _e( 'Click this button to get the configuration of plugin at this website in the textbox below to export to some other website', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<textarea id="heateor_ffc_exported_config" rows="5" cols="50" disabled></textarea>
</td>
</tr>
<tr>
<th colspan="2">
<?php _e( "Import Configuration", 'fancy-facebook-comments' ); ?>
<img id="heateor_ffc_import_config_help" class="heateor_ffc_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
</th>
</tr>
<tr class="heateor_ffc_help_content" id="heateor_ffc_import_config_help_cont">
<td colspan="2">
<div>
<?php _e( 'Paste the plugin-configuration you want to import to this website in the textbox given below and click Import Configuration button', 'fancy-facebook-comments' ) ?>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<textarea id="heateor_ffc_import_config_txt" rows="5" cols="50" disabled></textarea>
<br/>
<input type="button" class="button-primary" value="<?php _e( "Import Configuration", 'fancy-facebook-comments' ); ?>" />
</td>
</tr>
</table>
</div>
</div>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-2">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<a href="https://www.heateor.com/fancy-facebook-comments-pro" target="_blank"><img style="width:83%" src="<?php echo plugins_url( '../../images/snaps/Fancy Facebook Comments - Moderation.png', __FILE__ ) ?>" /></a>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-3">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<a href="https://www.heateor.com/fancy-facebook-comments-pro" target="_blank"><img style="width:99%" src="<?php echo plugins_url( '../../images/snaps/Fancy Facebook Comments - Notification.png', __FILE__ ) ?>" /></a>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-4">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<a href="https://www.heateor.com/fancy-facebook-comments-pro" target="_blank"><img style="width:100%" src="<?php echo plugins_url( '../../images/snaps/Fancy Facebook Comments - GDPR.png', __FILE__ ) ?>" /></a>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-5">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<a href="https://www.heateor.com/fancy-facebook-comments-pro" target="_blank"><img style="width:100%" src="<?php echo plugins_url( '../../images/snaps/Fancy Facebook Comments - mycred.png', __FILE__ ) ?>" /></a>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-7">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<div class="stuffbox">
<h3><label><?php _e( 'Shortcode', 'fancy-facebook-comments' );?></label></h3>
<div class="inside" style="padding-left:7px">
<p>[Fancy_Facebook_Comments]</p>
<p><a style="text-decoration:none" href="http://support.heateor.com/fancy-facebook-comments-shortcode/" target="_blank"><?php _e( 'More details', 'fancy-facebook-comments' ) ?></a></p>
</div>
</div>
<div class="stuffbox">
<h3><label><?php _e( 'Widget', 'fancy-facebook-comments' );?></label></h3>
<div class="inside" style="padding-left:7px">
<p><?php echo sprintf( __( 'You can enable Fancy Facebook Comments widget from <a style="text-decoration:none" href="%s" target="_blank">Appearance > Widgets</a> page', 'fancy-facebook-comments' ), admin_url() . 'widgets.php' ); ?></p>
</div>
</div>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="menu_containt_div" id="tabs-8">
<div class="clear"></div>
<div class="heateor_ffc_left_column">
<div class="stuffbox">
<h3><label><?php _e( 'FAQ', 'fancy-facebook-comments' ) ?></label></h3>
<div class="inside faq">
<div class="inside" style="padding-left:7px">
<p><a style="text-decoration:none" href="https://www.heateor.com/fancy-facebook-comments-pro/" target="_blank"><?php _e( 'How to get notified for Facebook Comments being posted at the website and moderate these?', 'fancy-facebook-comments' ) ?></a></p>
<p><a style="text-decoration:none" href="http://support.heateor.com/gdpr-and-our-plugins" target="_blank"><?php _e( 'Is this plugin GDPR compliant?', 'fancy-facebook-comments' ) ?></a></p>
<p><a style="text-decoration:none" href="http://support.heateor.com/disable-facebook-comments-individual-posts" target="_blank"><?php _e( 'How to Disable Facebook Comments at Individual Posts?', 'fancy-facebook-comments' ) ?></a></p>
</div>
</div>
</div>
</div>
<?php include 'fancy-facebook-comments-about.php'; ?>
</div>
<div class="heateor_ffc_clear"></div>
<?php
echo sprintf( __( 'You can appreciate the effort put in this free plugin by rating it <a href="%s" target="_blank">here</a>', 'fancy-facebook-comments' ), '//wordpress.org/support/view/plugin-reviews/fancy-facebook-comments' );
?>
<div class="heateor_ffc_clear"></div>
<p class="submit">
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e( "Save Changes", 'fancy-facebook-comments' ); ?>" />
</p>
</form>
<div class="stuffbox">
<h3><label>Instagram Shoutout</label></h3>
<div class="inside" style="padding: 0 13px;">
<p><?php _e( 'If you can send (to hello@heateor.com) how this plugin is helping your business, we can shoutout on Instagram. You can also send any relevant hashtags and people to mention in the Instagram post.', 'fancy-facebook-comments' ) ?></p>
</div>
</div>
</div>
</div>