Comments – wpDiscuz - Version 2.1.6

Version Description

  • Added : Integration with Ultimate Member - author profile picture
  • Added : Integration with Ultimate Member - author name is linked to profile page
  • Fixed Bug: CSS overrides some default styles on /wp-admin/

IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.

Download this release

Release Info

Developer AdvancedCoding
Plugin Icon 128x128 Comments – wpDiscuz
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

comment-form/form.php CHANGED
@@ -3,16 +3,16 @@ global $post, $wc_core, $current_user;
3
  get_currentuserinfo();
4
 
5
  if ($wc_core->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
6
- $wc_core->wc_options->wc_options_serialized->wc_phrases = $wc_core->wc_db_helper->get_phrases();
7
  }
8
 
9
- $wc_comment_list_update_type = $wc_core->wc_options->wc_options_serialized->wc_comment_list_update_type;
10
  ?>
11
  <script type="text/javascript">
12
  // initialize the validator function
13
- validator.message['invalid'] = '<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>';
14
- validator.message['empty'] = '<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>';
15
- validator.message['email'] = '<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>';
16
 
17
  jQuery(document).ready(function ($) {
18
  $(document).delegate('.wc-toggle', 'click', function () {
@@ -20,9 +20,9 @@ $wc_comment_list_update_type = $wc_core->wc_options->wc_options_serialized->wc_c
20
  var uniqueID = toggleID.substring(toggleID.lastIndexOf('-') + 1);
21
  $('#wc-comm-' + uniqueID + ' .wc-reply').slideToggle(500, function () {
22
  if ($(this).is(':hidden')) {
23
- $('#' + toggleID).html('<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_show_replies_text']; ?> &or;');
24
  } else {
25
- $('#' + toggleID).html('<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_hide_replies_text']; ?> &and;');
26
  }
27
  });
28
  });
@@ -41,14 +41,14 @@ $wc_comment_list_update_type = $wc_core->wc_options->wc_options_serialized->wc_c
41
  <?php
42
  $textarea_placeholder = '';
43
  if ($post->comment_count) {
44
- $textarea_placeholder = $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_comment_join_text'];
45
  } else {
46
- $textarea_placeholder = $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_comment_start_text'];
47
  }
48
  $unique_id = $post->ID . '_' . 0;
49
  $header_text = '<span class="wc_header_text_count">' . $post->comment_count . '</span> ';
50
- $header_text .= ($post->comment_count > 1) ? $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_header_text_plural'] : $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_header_text'];
51
- $header_text .= ' ' . $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_header_on_text'];
52
  $header_text .= ' "' . get_the_title($post) . '"';
53
  ?>
54
  <div style="clear:both"></div>
@@ -60,7 +60,7 @@ $header_text .= ' "' . get_the_title($post) . '"';
60
  $wc_core->wc_unsubscribe($_GET['wpdiscuzSubscribeID'], $_GET['key']);
61
  ?>
62
  <div id="wc_unsubscribe_message">
63
- <span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_unsubscribe_message']; ?></span>
64
  </div>
65
  <?php
66
  }
@@ -71,19 +71,19 @@ $header_text .= ' "' . get_the_title($post) . '"';
71
  $wc_core->wc_db_helper->wc_notification_confirm($_GET['wpdiscuzConfirmID'], $_GET['wpdiscuzConfirmKey']);
72
  ?>
73
  <div id="wc_unsubscribe_message">
74
- <span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_comfirm_success_message']; ?></span>
75
  </div>
76
  <?php
77
  }
78
  ?>
79
 
80
  <?php if (comments_open($post->ID)) { ?>
81
- <h3 id="wc-comment-header"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_leave_a_reply_text']; ?></h3>
82
  <?php } ?>
83
  <?php do_action('comment_form_before'); ?>
84
 
85
  <?php
86
- if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_loggedin_username) {
87
  if (is_user_logged_in()) {
88
  global $current_user;
89
  get_currentuserinfo();
@@ -91,7 +91,7 @@ $header_text .= ' "' . get_the_title($post) . '"';
91
  ?>
92
  <div id="wc_show_hide_loggedin_username">
93
  <span class="wc_show_hide_loggedin_username">
94
- <?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_logged_in_as'] . ' <a href="' . $user_url . '">' . $current_user->display_name . '</a> | <a href="' . wp_logout_url() . '">' . $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_log_out'] . '</a>'; ?>
95
  </span>
96
  </div>
97
  <?php
@@ -100,7 +100,7 @@ $header_text .= ' "' . get_the_title($post) . '"';
100
  ?>
101
  <div id="wpcomm">
102
  <p class="wc-comment-title">
103
- <?php echo ($post->comment_count) ? $header_text : $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_be_the_first_text']; ?>
104
  </p>
105
  <?php do_action('comment_form_top'); ?>
106
  <div class="wc-form-wrapper">
@@ -113,42 +113,42 @@ $header_text .= ' "' . get_the_title($post) . '"';
113
  <div class="wc-field-avatararea">
114
  <?php echo $wc_core->wc_helper->get_comment_author_avatar(); ?>
115
  </div>
116
- <div class="item wc-field-textarea"><textarea id="wc_comment-<?php echo $unique_id; ?>" class="wc_comment wc_field_input" name="wc_comment" required="required" placeholder="<?php echo $textarea_placeholder; ?>"></textarea></div>
117
  <div style="clear:both"></div>
118
  </div>
119
  <div id="wc-form-footer-<?php echo $unique_id; ?>" class="wc-form-footer">
120
  <?php if (!is_user_logged_in()) { ?>
121
  <div class="wc-author-data">
122
- <div class="wc-field-name item"><input id="wc_name-<?php echo $unique_id; ?>" class="wc_name wc_field_input" name="wc_name" required="required" value="" type="text" placeholder="<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_name_text'] ?>"/></div>
123
- <div class="wc-field-email item"><input id="wc_email-<?php echo $unique_id; ?>" class="wc_email wc_field_input email" name="wc_email" required="required" value="" type="email" placeholder="<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_email_text']; ?>"/></div>
124
  <div style="clear:both"></div>
125
  </div>
126
  <?php } ?>
127
  <div class="wc-form-submit">
128
- <?php if (!$wc_core->wc_options->wc_options_serialized->wc_captcha_show_hide) { ?>
129
  <?php if (!is_user_logged_in()) { ?>
130
- <div class="wc-field-captcha item">
131
  <input id="wc_captcha-<?php echo $unique_id; ?>" class="wc_field_input wc_field_captcha" name="wc_captcha" required="required" value="" type="text" />
132
  <span class="wc-label wc-captcha-label">
133
  <img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/captcha/captcha.php?comm_id=' . $post->ID . '-' . 0); ?>" id="wc_captcha_img-<?php echo $unique_id; ?>" rel="nofollow"/>
134
  <img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/refresh-16x16.png'); ?>" id="wc_captcha_refresh_img-<?php echo $unique_id; ?>" class="wc_captcha_refresh_img" rel="nofollow"/>
135
  </span>
136
- <span class="captcha_msg"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_captcha_text']; ?></span>
137
  </div>
138
  <?php } ?>
139
  <?php } ?>
140
- <div class="wc-field-submit"><input type="button" name="submit" value="<?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_submit_text']; ?>" id="wc_comm-<?php echo $unique_id; ?>" class="wc_comm_submit button alt"/></div>
141
  <div style="clear:both"></div>
142
  </div>
143
- <?php if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox || $wc_core->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox || $wc_core->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox) { ?>
144
- <span class="wc_manage_subscribtions"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_manage_subscribtions']; ?></span>
145
  <?php } ?>
146
- <div class="wc_notification_checkboxes">
147
  <?php
148
  $wc_is_user_subscription_confirmed = $wc_core->wc_db_helper->wc_is_user_subscription_confirmed($post->ID, $current_user->user_email);
149
- $wc_subscription_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_unsubscribe'] : $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_ignore_subscription'];
150
 
151
- if ($wc_core->wc_options->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
152
  $none_status = '';
153
  $post_sub_status = 'checked="checked"';
154
  } else {
@@ -156,43 +156,43 @@ $header_text .= ' "' . get_the_title($post) . '"';
156
  $post_sub_status = '';
157
  }
158
 
159
- if (class_exists('Prompt_Comment_Form_Handling') && $wc_core->wc_options->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
160
  ?>
161
  <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment" value="wc_notification_new_comment" <?php echo $post_sub_status; ?> type="checkbox" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php _e('Participate in this discussion via email', 'Postmatic'); ?></label>
162
  <?php
163
  } else {
164
  if ($current_user->ID && $wc_core->wc_db_helper->wc_has_post_notification($post->ID, $current_user->user_email)) {
165
- $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_subscribed_on_post'] : $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'];
166
  ?>
167
  <label class="wc-label-comment-notify" style="cursor: default;"><?php echo $wc_confirmation_phrase; ?> | <a href="<?php echo $wc_core->wc_db_helper->wc_unsubscribe_link($post->ID, $current_user->user_email, 'post'); ?>" rel="nofollow" class="unsubscribe"><?php echo $wc_subscription_phrase; ?></a></label>
168
  <?php
169
  } else {
170
  if ($current_user->ID && $wc_core->wc_db_helper->wc_has_all_comments_notification($post->ID, $current_user->user_email)) {
171
- $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment'] : $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'];
172
  ?>
173
  <label class="wc-label-all-reply-notify" style="cursor: default;"><?php echo $wc_confirmation_phrase; ?> | <a href="<?php echo $wc_core->wc_db_helper->wc_unsubscribe_link($post->ID, $current_user->user_email, 'all_comment'); ?>" rel="nofollow" class="unsubscribe"><?php echo $wc_subscription_phrase; ?></a></label><br/>
174
  <?php
175
  } else {
176
- if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox || $wc_core->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox || $wc_core->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox) {
177
  ?>
178
- <input id="wc_notification_none-<?php echo $unique_id; ?>" class="wc_notification_none" <?php echo $none_status; ?> value="wc_notification_none" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-notification-none" for="wc_notification_none-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_notify_none']; ?></label><br />
179
  <?php
180
  }
181
- if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox) {
182
  ?>
183
- <input id="wc_notification_new_reply-<?php echo $unique_id; ?>" class="wc_notification_new_reply" value="wc_notification_new_reply" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-reply-notify" for="wc_notification_new_reply-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_new_reply']; ?></label><br />
184
  <?php
185
  }
186
 
187
- if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
188
  ?>
189
- <input id="wc_notification_all_new_reply-<?php echo $unique_id; ?>" class="wc_notification_all_new_reply" value="wc_notification_all_new_reply" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-all-reply-notify" for="wc_notification_all_new_reply-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply']; ?></label><br />
190
  <?php
191
  }
192
 
193
- if ($wc_core->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox) {
194
  ?>
195
- <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment" value="wc_notification_new_comment" <?php echo $post_sub_status; ?> type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_new_comment']; ?></label><br />
196
  <?php
197
  }
198
  }
@@ -207,7 +207,7 @@ $header_text .= ' "' . get_the_title($post) . '"';
207
  <input type="hidden" name="wc_comment_parent" value="0" id="wc_comment_parent-<?php echo $unique_id; ?>" />
208
  </form>
209
  <?php } else { ?>
210
- <p class="wc-must-login"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_you_must_be_text']; ?> <a href="<?php echo wp_login_url(); ?>"><?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_logged_in_text']; ?></a> <?php echo $wc_core->wc_options->wc_options_serialized->wc_phrases['wc_to_post_comment_text']; ?></p>
211
  <?php
212
  }
213
  ?>
@@ -240,7 +240,7 @@ $header_text .= ' "' . get_the_title($post) . '"';
240
  <input type="hidden" name="wc_home_url" value="<?php echo plugins_url(); ?>" id="wc_home_url" />
241
  <input type="hidden" name="wc_plugin_dir_url" value="<?php echo WC_Core::$PLUGIN_DIRECTORY; ?>" id="wc_plugin_dir_url" />
242
  <input type="hidden" name="wc_comments_offset" id="wc_comments_offset" value="1" />
243
- <input type="hidden" name="wc_parent_per_page" id="wc_parent_per_page" value="<?php echo $wc_core->wc_options->wc_options_serialized->wc_comment_count; ?>" />
244
  <input type="hidden" name="wc_parent_comments_count" id="wc_parent_comments_count" value="<?php echo $wc_parent_comments_count; ?>" />
245
  <input type="hidden" name="wc_curr_user_comment_count" id="wc_curr_user_comment_count" class="wc_curr_user_comment_count" value="0" />
246
  <?php
@@ -251,16 +251,16 @@ $header_text .= ' "' . get_the_title($post) . '"';
251
  <input type="hidden" name="wc_last_comment_id_before_update" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_comment_id_before_update" />
252
  <input type="hidden" name="wc_all_comments_count_old" value="<?php echo $wc_all_comments_count_old; ?>" id="wc_all_comments_count_old" />
253
  <input type="hidden" name="wc_comment_list_update_type" value="<?php echo $wc_comment_list_update_type; ?>" id="wc_comment_list_update_type" />
254
- <input type="hidden" name="wc_comment_list_update_timer" value="<?php echo $wc_core->wc_options->wc_options_serialized->wc_comment_list_update_timer; ?>" id="wc_comment_list_update_timer" />
255
 
256
  <input type="hidden" name="wc_last_new_comment_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_comment_id" />
257
  <input type="hidden" name="wc_last_new_reply_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_reply_id" />
258
- <input type="hidden" name="wc_comment_reply_checkboxes_default_checked" value="<?php echo $wc_core->wc_options->wc_options_serialized->wc_comment_reply_checkboxes_default_checked; ?>" id="wc_comment_reply_checkboxes_default_checked" />
259
  <input type="hidden" value="<?php echo $post->ID; ?>" id="wpdiscuz_current_post_id"/>
260
  </span>
261
  <div style="clear:both"></div>
262
  <?php if (comments_open($post->ID)) { ?>
263
- <?php if ($wc_core->wc_options->wc_options_serialized->wc_show_plugin_powerid_by) { ?>
264
  <div class="by-wpdiscuz"><span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
265
  document.getElementById("awpdiscuz").style.display = "none";'><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/plugin-icon/icon_info.png'); ?>" align="absmiddle" class="wpdimg"/></span>&nbsp;<a href="http://gvectors.com/wpdiscuz/" id="bywpdiscuz" title="wpDiscuz v<?php echo get_option($wc_core->wc_version_slug); ?> - Interactive Comment System">wpDiscuz</a></div>
266
  <?php } ?>
3
  get_currentuserinfo();
4
 
5
  if ($wc_core->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
6
+ $wc_core->wc_options_serialized->wc_phrases = $wc_core->wc_db_helper->get_phrases();
7
  }
8
 
9
+ $wc_comment_list_update_type = $wc_core->wc_options_serialized->wc_comment_list_update_type;
10
  ?>
11
  <script type="text/javascript">
12
  // initialize the validator function
13
+ validator.message['invalid'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>';
14
+ validator.message['empty'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>';
15
+ validator.message['email'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>';
16
 
17
  jQuery(document).ready(function ($) {
18
  $(document).delegate('.wc-toggle', 'click', function () {
20
  var uniqueID = toggleID.substring(toggleID.lastIndexOf('-') + 1);
21
  $('#wc-comm-' + uniqueID + ' .wc-reply').slideToggle(500, function () {
22
  if ($(this).is(':hidden')) {
23
+ $('#' + toggleID).html('<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_show_replies_text']; ?> &or;');
24
  } else {
25
+ $('#' + toggleID).html('<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_hide_replies_text']; ?> &and;');
26
  }
27
  });
28
  });
41
  <?php
42
  $textarea_placeholder = '';
43
  if ($post->comment_count) {
44
+ $textarea_placeholder = $wc_core->wc_options_serialized->wc_phrases['wc_comment_join_text'];
45
  } else {
46
+ $textarea_placeholder = $wc_core->wc_options_serialized->wc_phrases['wc_comment_start_text'];
47
  }
48
  $unique_id = $post->ID . '_' . 0;
49
  $header_text = '<span class="wc_header_text_count">' . $post->comment_count . '</span> ';
50
+ $header_text .= ($post->comment_count > 1) ? $wc_core->wc_options_serialized->wc_phrases['wc_header_text_plural'] : $wc_core->wc_options_serialized->wc_phrases['wc_header_text'];
51
+ $header_text .= ' ' . $wc_core->wc_options_serialized->wc_phrases['wc_header_on_text'];
52
  $header_text .= ' "' . get_the_title($post) . '"';
53
  ?>
54
  <div style="clear:both"></div>
60
  $wc_core->wc_unsubscribe($_GET['wpdiscuzSubscribeID'], $_GET['key']);
61
  ?>
62
  <div id="wc_unsubscribe_message">
63
+ <span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_unsubscribe_message']; ?></span>
64
  </div>
65
  <?php
66
  }
71
  $wc_core->wc_db_helper->wc_notification_confirm($_GET['wpdiscuzConfirmID'], $_GET['wpdiscuzConfirmKey']);
72
  ?>
73
  <div id="wc_unsubscribe_message">
74
+ <span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_comfirm_success_message']; ?></span>
75
  </div>
76
  <?php
77
  }
78
  ?>
79
 
80
  <?php if (comments_open($post->ID)) { ?>
81
+ <h3 id="wc-comment-header"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_leave_a_reply_text']; ?></h3>
82
  <?php } ?>
83
  <?php do_action('comment_form_before'); ?>
84
 
85
  <?php
86
+ if ($wc_core->wc_options_serialized->wc_show_hide_loggedin_username) {
87
  if (is_user_logged_in()) {
88
  global $current_user;
89
  get_currentuserinfo();
91
  ?>
92
  <div id="wc_show_hide_loggedin_username">
93
  <span class="wc_show_hide_loggedin_username">
94
+ <?php echo $wc_core->wc_options_serialized->wc_phrases['wc_logged_in_as'] . ' <a href="' . $user_url . '">' . $current_user->display_name . '</a> | <a href="' . wp_logout_url() . '">' . $wc_core->wc_options_serialized->wc_phrases['wc_log_out'] . '</a>'; ?>
95
  </span>
96
  </div>
97
  <?php
100
  ?>
101
  <div id="wpcomm">
102
  <p class="wc-comment-title">
103
+ <?php echo ($post->comment_count) ? $header_text : $wc_core->wc_options_serialized->wc_phrases['wc_be_the_first_text']; ?>
104
  </p>
105
  <?php do_action('comment_form_top'); ?>
106
  <div class="wc-form-wrapper">
113
  <div class="wc-field-avatararea">
114
  <?php echo $wc_core->wc_helper->get_comment_author_avatar(); ?>
115
  </div>
116
+ <div class="wpdiscuz-item wc-field-textarea"><textarea id="wc_comment-<?php echo $unique_id; ?>" class="wc_comment wc_field_input" name="wc_comment" required="required" placeholder="<?php echo $textarea_placeholder; ?>"></textarea></div>
117
  <div style="clear:both"></div>
118
  </div>
119
  <div id="wc-form-footer-<?php echo $unique_id; ?>" class="wc-form-footer">
120
  <?php if (!is_user_logged_in()) { ?>
121
  <div class="wc-author-data">
122
+ <div class="wc-field-name wpdiscuz-item"><input id="wc_name-<?php echo $unique_id; ?>" class="wc_name wc_field_input" name="wc_name" required="required" value="" type="text" placeholder="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_name_text'] ?>"/></div>
123
+ <div class="wc-field-email wpdiscuz-item"><input id="wc_email-<?php echo $unique_id; ?>" class="wc_email wc_field_input email" name="wc_email" required="required" value="" type="email" placeholder="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_email_text']; ?>"/></div>
124
  <div style="clear:both"></div>
125
  </div>
126
  <?php } ?>
127
  <div class="wc-form-submit">
128
+ <?php if (!$wc_core->wc_options_serialized->wc_captcha_show_hide) { ?>
129
  <?php if (!is_user_logged_in()) { ?>
130
+ <div class="wc-field-captcha wpdiscuz-item">
131
  <input id="wc_captcha-<?php echo $unique_id; ?>" class="wc_field_input wc_field_captcha" name="wc_captcha" required="required" value="" type="text" />
132
  <span class="wc-label wc-captcha-label">
133
  <img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/captcha/captcha.php?comm_id=' . $post->ID . '-' . 0); ?>" id="wc_captcha_img-<?php echo $unique_id; ?>" rel="nofollow"/>
134
  <img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/refresh-16x16.png'); ?>" id="wc_captcha_refresh_img-<?php echo $unique_id; ?>" class="wc_captcha_refresh_img" rel="nofollow"/>
135
  </span>
136
+ <span class="captcha_msg"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_captcha_text']; ?></span>
137
  </div>
138
  <?php } ?>
139
  <?php } ?>
140
+ <div class="wc-field-submit"><input type="button" name="submit" value="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_submit_text']; ?>" id="wc_comm-<?php echo $unique_id; ?>" class="wc_comm_submit button alt"/></div>
141
  <div style="clear:both"></div>
142
  </div>
143
+ <?php if ($wc_core->wc_options_serialized->wc_show_hide_comment_checkbox || $wc_core->wc_options_serialized->wc_show_hide_reply_checkbox || $wc_core->wc_options_serialized->wc_show_hide_all_reply_checkbox) { ?>
144
+ <span class="wc_manage_subscribtions" <?php if(class_exists('Prompt_Comment_Form_Handling') && $wc_core->wc_options_serialized->wc_use_postmatic_for_comment_notification) echo 'style="display:none"' ?>><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_manage_subscribtions']; ?> &or;</span>
145
  <?php } ?>
146
+ <div class="wc_notification_checkboxes" <?php if(class_exists('Prompt_Comment_Form_Handling') && $wc_core->wc_options_serialized->wc_use_postmatic_for_comment_notification) echo 'style="display:block"' ?>>
147
  <?php
148
  $wc_is_user_subscription_confirmed = $wc_core->wc_db_helper->wc_is_user_subscription_confirmed($post->ID, $current_user->user_email);
149
+ $wc_subscription_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options_serialized->wc_phrases['wc_unsubscribe'] : $wc_core->wc_options_serialized->wc_phrases['wc_ignore_subscription'];
150
 
151
+ if ($wc_core->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
152
  $none_status = '';
153
  $post_sub_status = 'checked="checked"';
154
  } else {
156
  $post_sub_status = '';
157
  }
158
 
159
+ if (class_exists('Prompt_Comment_Form_Handling') && $wc_core->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
160
  ?>
161
  <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment" value="wc_notification_new_comment" <?php echo $post_sub_status; ?> type="checkbox" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php _e('Participate in this discussion via email', 'Postmatic'); ?></label>
162
  <?php
163
  } else {
164
  if ($current_user->ID && $wc_core->wc_db_helper->wc_has_post_notification($post->ID, $current_user->user_email)) {
165
+ $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options_serialized->wc_phrases['wc_subscribed_on_post'] : $wc_core->wc_options_serialized->wc_phrases['wc_confirm_email'];
166
  ?>
167
  <label class="wc-label-comment-notify" style="cursor: default;"><?php echo $wc_confirmation_phrase; ?> | <a href="<?php echo $wc_core->wc_db_helper->wc_unsubscribe_link($post->ID, $current_user->user_email, 'post'); ?>" rel="nofollow" class="unsubscribe"><?php echo $wc_subscription_phrase; ?></a></label>
168
  <?php
169
  } else {
170
  if ($current_user->ID && $wc_core->wc_db_helper->wc_has_all_comments_notification($post->ID, $current_user->user_email)) {
171
+ $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $wc_core->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment'] : $wc_core->wc_options_serialized->wc_phrases['wc_confirm_email'];
172
  ?>
173
  <label class="wc-label-all-reply-notify" style="cursor: default;"><?php echo $wc_confirmation_phrase; ?> | <a href="<?php echo $wc_core->wc_db_helper->wc_unsubscribe_link($post->ID, $current_user->user_email, 'all_comment'); ?>" rel="nofollow" class="unsubscribe"><?php echo $wc_subscription_phrase; ?></a></label><br/>
174
  <?php
175
  } else {
176
+ if ($wc_core->wc_options_serialized->wc_show_hide_reply_checkbox || $wc_core->wc_options_serialized->wc_show_hide_all_reply_checkbox || $wc_core->wc_options_serialized->wc_show_hide_comment_checkbox) {
177
  ?>
178
+ <input id="wc_notification_none-<?php echo $unique_id; ?>" class="wc_notification_none" <?php echo $none_status; ?> value="wc_notification_none" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-notification-none" for="wc_notification_none-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_notify_none']; ?></label><br />
179
  <?php
180
  }
181
+ if ($wc_core->wc_options_serialized->wc_show_hide_reply_checkbox) {
182
  ?>
183
+ <input id="wc_notification_new_reply-<?php echo $unique_id; ?>" class="wc_notification_new_reply" value="wc_notification_new_reply" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-reply-notify" for="wc_notification_new_reply-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_notify_on_new_reply']; ?></label><br />
184
  <?php
185
  }
186
 
187
+ if ($wc_core->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
188
  ?>
189
+ <input id="wc_notification_all_new_reply-<?php echo $unique_id; ?>" class="wc_notification_all_new_reply" value="wc_notification_all_new_reply" type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-all-reply-notify" for="wc_notification_all_new_reply-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply']; ?></label><br />
190
  <?php
191
  }
192
 
193
+ if ($wc_core->wc_options_serialized->wc_show_hide_comment_checkbox) {
194
  ?>
195
+ <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment" value="wc_notification_new_comment" <?php echo $post_sub_status; ?> type="radio" name="wc_comment_reply_notification-<?php echo $unique_id; ?>"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_notify_on_new_comment']; ?></label><br />
196
  <?php
197
  }
198
  }
207
  <input type="hidden" name="wc_comment_parent" value="0" id="wc_comment_parent-<?php echo $unique_id; ?>" />
208
  </form>
209
  <?php } else { ?>
210
+ <p class="wc-must-login"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_you_must_be_text']; ?> <a href="<?php echo wp_login_url(); ?>"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_logged_in_text']; ?></a> <?php echo $wc_core->wc_options_serialized->wc_phrases['wc_to_post_comment_text']; ?></p>
211
  <?php
212
  }
213
  ?>
240
  <input type="hidden" name="wc_home_url" value="<?php echo plugins_url(); ?>" id="wc_home_url" />
241
  <input type="hidden" name="wc_plugin_dir_url" value="<?php echo WC_Core::$PLUGIN_DIRECTORY; ?>" id="wc_plugin_dir_url" />
242
  <input type="hidden" name="wc_comments_offset" id="wc_comments_offset" value="1" />
243
+ <input type="hidden" name="wc_parent_per_page" id="wc_parent_per_page" value="<?php echo $wc_core->wc_options_serialized->wc_comment_count; ?>" />
244
  <input type="hidden" name="wc_parent_comments_count" id="wc_parent_comments_count" value="<?php echo $wc_parent_comments_count; ?>" />
245
  <input type="hidden" name="wc_curr_user_comment_count" id="wc_curr_user_comment_count" class="wc_curr_user_comment_count" value="0" />
246
  <?php
251
  <input type="hidden" name="wc_last_comment_id_before_update" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_comment_id_before_update" />
252
  <input type="hidden" name="wc_all_comments_count_old" value="<?php echo $wc_all_comments_count_old; ?>" id="wc_all_comments_count_old" />
253
  <input type="hidden" name="wc_comment_list_update_type" value="<?php echo $wc_comment_list_update_type; ?>" id="wc_comment_list_update_type" />
254
+ <input type="hidden" name="wc_comment_list_update_timer" value="<?php echo $wc_core->wc_options_serialized->wc_comment_list_update_timer; ?>" id="wc_comment_list_update_timer" />
255
 
256
  <input type="hidden" name="wc_last_new_comment_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_comment_id" />
257
  <input type="hidden" name="wc_last_new_reply_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_reply_id" />
258
+ <input type="hidden" name="wc_comment_reply_checkboxes_default_checked" value="<?php echo $wc_core->wc_options_serialized->wc_comment_reply_checkboxes_default_checked; ?>" id="wc_comment_reply_checkboxes_default_checked" />
259
  <input type="hidden" value="<?php echo $post->ID; ?>" id="wpdiscuz_current_post_id"/>
260
  </span>
261
  <div style="clear:both"></div>
262
  <?php if (comments_open($post->ID)) { ?>
263
+ <?php if ($wc_core->wc_options_serialized->wc_show_plugin_powerid_by) { ?>
264
  <div class="by-wpdiscuz"><span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
265
  document.getElementById("awpdiscuz").style.display = "none";'><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/plugin-icon/icon_info.png'); ?>" align="absmiddle" class="wpdimg"/></span>&nbsp;<a href="http://gvectors.com/wpdiscuz/" id="bywpdiscuz" title="wpDiscuz v<?php echo get_option($wc_core->wc_version_slug); ?> - Interactive Comment System">wpDiscuz</a></div>
266
  <?php } ?>
comment-form/tpl-comment.php CHANGED
@@ -5,11 +5,13 @@ class WC_Comment_Template_Builder {
5
  public $wc_helper;
6
  public $wc_db_helper;
7
  public $wc_options;
 
8
 
9
- function __construct($wc_helper, $wc_db_helper, $wc_options) {
10
  $this->wc_helper = $wc_helper;
11
  $this->wc_db_helper = $wc_db_helper;
12
  $this->wc_options = $wc_options;
 
13
  add_action('plugins_loaded', array(&$this, 'init_phrases_on_load'), 2129);
14
  }
15
 
@@ -45,24 +47,24 @@ class WC_Comment_Template_Builder {
45
  $post = get_post($comment->comment_post_ID);
46
  if ($user->ID == $post->post_author) {
47
  $wc_author_title_class = 'wc-post-author';
48
- $author_title = $this->wc_options->wc_options_serialized->wc_phrases['wc_user_title_author_text'];
49
  } else if (in_array('administrator', $user->roles)) {
50
  $wc_author_title_class = 'wc-blog-admin';
51
- $author_title = $this->wc_options->wc_options_serialized->wc_phrases['wc_user_title_admin_text'];
52
  } else {
53
  $wc_author_title_class = 'wc-blog-member';
54
- $author_title = $this->wc_options->wc_options_serialized->wc_phrases['wc_user_title_member_text'];
55
  }
56
  } else {
57
  $wc_author_title_class = 'wc-blog-guest';
58
- $author_title = $this->wc_options->wc_options_serialized->wc_phrases['wc_user_title_guest_text'];
59
  }
60
 
61
- if ($this->wc_options->wc_options_serialized->wc_simple_comment_date) {
62
  $date_format = get_option('date_format');
63
  $time_format = get_option('time_format');
64
  if (WC_Helper::is_posted_today($comment)) {
65
- $posted_date = $this->wc_options->wc_options_serialized->wc_phrases['wc_posted_today_text'] . ' ' . mysql2date($time_format, $comment->comment_date);
66
  } else {
67
  $posted_date = get_comment_date($date_format, $comment->comment_ID);
68
  }
@@ -70,15 +72,15 @@ class WC_Comment_Template_Builder {
70
  $posted_date = $this->wc_helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 2);
71
  }
72
 
73
- $reply_text = $this->wc_options->wc_options_serialized->wc_phrases['wc_reply_text'];
74
- $share_text = $this->wc_options->wc_options_serialized->wc_phrases['wc_share_text'];
75
  $comment_wrapper_class = ($comment->comment_parent) ? 'wc-comment wc-reply' : 'wc-comment';
76
  $textarea_placeholder = $this->get_textarea_placeholder($comment);
77
 
78
  $vote_count = ($comment->votes) ? $comment->votes : 0;
79
  $unique_id = $this->get_unique_id($comment);
80
 
81
- $wc_author_name = $comment->comment_author ? $comment->comment_author : __('Anonymous', WC_Core::$TEXT_DOMAIN);
82
 
83
  $wc_comm_author_avatar = $this->wc_helper->get_comment_author_avatar($comment);
84
  $wc_profile_url = $this->get_profile_url($user);
@@ -95,13 +97,13 @@ class WC_Comment_Template_Builder {
95
 
96
  if (!is_user_logged_in()) {
97
  $vote_cls = ' wc_tooltipster';
98
- $vote_title_text = $this->wc_options->wc_options_serialized->wc_phrases['wc_login_to_vote'];
99
  $vote_up = $vote_title_text;
100
  $vote_down = $vote_title_text;
101
  } else {
102
  $vote_cls = ' wc_vote';
103
- $vote_up = $this->wc_options->wc_options_serialized->wc_phrases['wc_vote_up'];
104
- $vote_down = $this->wc_options->wc_options_serialized->wc_phrases['wc_vote_down'];
105
  }
106
 
107
  $parent_comment = (!$comment->comment_parent && count($child_comments)) ? ' parnet_comment' : '';
@@ -111,7 +113,7 @@ class WC_Comment_Template_Builder {
111
 
112
  $output = '<div id="wc-comm-' . $unique_id . '" class="' . $comment_wrapper_class . ' ' . $parent_comment . ' wc_comment_level-' . $depth . '">';
113
  $output .= '<div class="wc-comment-left" id="comment-' . $comment->comment_ID . '">' . $wc_comm_author_avatar;
114
- if (!$this->wc_options->wc_options_serialized->wc_author_titles_show_hide) {
115
  $output .= '<div class="' . $wc_author_title_class . ' wc-comment-label">' . $author_title . '</div>';
116
  }
117
  if (class_exists('userpro_api') && $comment->user_id) {
@@ -122,24 +124,24 @@ class WC_Comment_Template_Builder {
122
  $output .= '<div class="wc-comment-header"><div class="wc-comment-author">' . $wc_author_name . '</div><div class="wc-comment-date">' . $posted_date . '</div><div style="clear:both"></div></div>';
123
  $output .= '<div class="wc-comment-text">' . $comment_content . '</div>';
124
  $output .= '<div class="wc-comment-footer">';
125
- if (!$this->wc_options->wc_options_serialized->wc_voting_buttons_show_hide) {
126
  $output .= '<div id="vote-count-' . $unique_id . '" class="wc-vote-result">' . $vote_count . '</div>';
127
  $output .= ' <span id="wc-up-' . $unique_id . '" class="wc-vote-link wc-up ' . $vote_cls . '" title="' . $vote_up . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/thumbs-up.png') . '" align="absmiddle" class="wc-vote-img-up" /></span> &nbsp;|&nbsp; <span id="wc-down-' . $unique_id . '" class="wc-vote-link wc-down ' . $vote_cls . '" title="' . $vote_down . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/thumbs-down.png') . '" align="absmiddle" class="wc-vote-img-down" /></span>&nbsp;';
128
  }
129
 
130
  if (comments_open($comment->comment_post_ID)) {
131
- if ($this->wc_options->wc_options_serialized->wc_user_must_be_registered) {
132
- if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
133
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
134
  } else if ($this->is_user_can_reply_by_role('administrator')) {
135
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
136
  }
137
  } else {
138
- if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options->wc_options_serialized->wc_reply_button_guests_show_hide) {
139
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
140
- } else if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
141
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
142
- } else if (!$this->wc_options->wc_options_serialized->wc_reply_button_guests_show_hide && !is_user_logged_in()) {
143
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
144
  } else if ($this->is_user_can_reply_by_role('administrator')) {
145
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
@@ -147,15 +149,15 @@ class WC_Comment_Template_Builder {
147
  }
148
  }
149
 
150
- if (!$this->wc_options->wc_options_serialized->wc_share_buttons_show_hide) {
151
  $output .= '-&nbsp;&nbsp; <span id="wc-comm-share-' . $unique_id . '" class="wc-share-link" title="' . $share_text . '">' . $share_text . '</span> &nbsp;&nbsp;';
152
 
153
  $twitt_content = strip_tags($comment_content) . ' ' . get_comment_link($comment);
154
 
155
  $output .= '<span id="share_buttons_box-' . $unique_id . '" class="share_buttons_box">';
156
- $output .= '<a target="_blank" href="http://www.facebook.com/sharer.php" title="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_share_facebook'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/fb-18x18.png') . '"/></a>&nbsp;&nbsp;';
157
- $output .= '<a target="_blank" href="https://twitter.com/home?status=' . $twitt_content . '" title="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_share_twitter'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/twitter-18x18.png') . '"/></a>&nbsp;&nbsp;';
158
- $output .= '<a target="_blank" href="https://plus.google.com/share?url=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_share_google'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/google-18x18.png') . '"/></a>&nbsp;&nbsp;';
159
  $output .= '</span>';
160
  }
161
 
@@ -164,15 +166,15 @@ class WC_Comment_Template_Builder {
164
  } else {
165
  if ($this->wc_helper->is_comment_editable($comment) && $current_user->ID && $current_user->ID == $comment->user_id) {
166
  $output .= '<span id="wc_editable_comment-' . $unique_id . '" class="wc_editable_comment">-&nbsp;&nbsp;' . __('Edit', 'default') . '</span>';
167
- $output .= '<span id="wc_cancel_edit-' . $unique_id . '" class="wc_cancel_edit">-&nbsp;&nbsp;' . $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_edit_cancel_button'] . '</span>';
168
- $output .= '<span id="wc_save_edited_comment-' . $unique_id . '" class="wc_save_edited_comment" style="display:none;">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_edit_save_button'] . '</span>';
169
  }
170
  }
171
 
172
  $visibility = 'none';
173
  if (!$comment->comment_parent && count($child_comments)) {
174
  $visibility = 'block';
175
- $output .= '<span id="wc-toggle-' . $unique_id . '" class="wc-toggle" style="display:' . $visibility . ';">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_hide_replies_text'] . ' &and;</span>';
176
  }
177
 
178
  $output .= '</div>';
@@ -184,40 +186,40 @@ class WC_Comment_Template_Builder {
184
  if (comments_open($comment->comment_post_ID)) {
185
  $output_form = '<div class="wc-form-wrapper wc-secondary-forms-wrapper" id="wc-secondary-forms-wrapper-' . $unique_id . '">';
186
  $output_form .= '<form action="" method="post" id="wc_comm_form-' . $unique_id . '" class="wc_comm_form wc_secondary_form">';
187
- $output_form .= '<div class="wc-field-comment"><div class="wc-field-avatararea">' . $this->wc_helper->get_comment_author_avatar() . '</div><div class="wc-field-textarea item"><textarea id="wc_comment-' . $unique_id . '" class="wc_comment wc_field_input" name="wc_comment" required="required" placeholder="' . $textarea_placeholder . '"></textarea></div><div style="clear:both"></div></div>';
188
 
189
  $output_form .= '<div id="wc-form-footer-' . $unique_id . '" class="wc-form-footer">';
190
 
191
  if (!is_user_logged_in()) {
192
- $output_form .= '<div class="wc-author-data"><div class="wc-field-name item"><input id="wc_name-' . $unique_id . '" name="wc_name" class="wc_name wc_field_input" required="required" value="" type="text" placeholder="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_name_text'] . '"/></div><div class="wc-field-email item"><input id="wc_email-' . $unique_id . '" class="wc_email wc_field_input email" name="wc_email" required="required" value="" type="email" placeholder="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_email_text'] . '"/></div><div style="clear:both"></div></div>';
193
  }
194
 
195
  $output_form .= '<div class="wc-form-submit">';
196
 
197
- if (!$this->wc_options->wc_options_serialized->wc_captcha_show_hide) {
198
  if (!is_user_logged_in()) {
199
- $output_form .= '<div class="wc-field-captcha item">';
200
  $output_form .= '<input id="wc_captcha-' . $unique_id . '" class="wc_field_input wc_field_captcha" name="wc_captcha" required="required" value="" type="text" /><span class="wc-label wc-captcha-label">';
201
  $output_form .= '<img rel="nofollow" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/captcha/captcha.php?comm_id=' . $comment->comment_post_ID . '-' . $comment->comment_ID) . '" id="wc_captcha_img-' . $unique_id . '" />';
202
  $output_form .= '<img rel="nofollow" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/refresh-16x16.png') . '" id="wc_captcha_refresh_img-' . $unique_id . '" class="wc_captcha_refresh_img" />';
203
- $output_form .= '</span><span class="captcha_msg">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_captcha_text'] . '</span></div>';
204
  }
205
  }
206
 
207
- $output_form .= '<div class="wc-field-submit"><input type="button" name="submit" value="' . $this->wc_options->wc_options_serialized->wc_phrases['wc_submit_text'] . '" id="wc_comm-' . $unique_id . '" class="wc_comm_submit button alt"/></div>';
208
  $output_form .= '<div style="clear:both"></div>';
209
 
210
- if ($this->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox || $this->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox || $this->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
211
- $output_form .= '<span class="wc_manage_subscribtions">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_manage_subscribtions'] . '</span>';
212
  }
213
 
214
- $output_form .= '<div class="wc_notification_checkboxes">';
215
 
216
 
217
  $wc_is_user_subscription_confirmed = $this->wc_db_helper->wc_is_user_subscription_confirmed($comment->comment_post_ID, $current_user->user_email);
218
- $wc_subscription_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_unsubscribe'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_ignore_subscription'];
219
 
220
- if ($this->wc_options->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
221
  $none_status = '';
222
  $post_sub_status = 'checked="checked"';
223
  } else {
@@ -225,33 +227,33 @@ class WC_Comment_Template_Builder {
225
  $post_sub_status = '';
226
  }
227
 
228
- if (class_exists('Prompt_Comment_Form_Handling') && $this->wc_options->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
229
  $output_form .= '<input id="wc_notification_new_comment-' . $unique_id . '" class="wc_notification_new_comment" value="wc_notification_new_comment" ' . $post_sub_status . 'type="checkbox" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-' . $unique_id . '">' . __('Participate in this discussion via email', 'Postmatic') . '</label>';
230
  } else {
231
  if ($current_user->ID && $this->wc_db_helper->wc_has_post_notification($comment->comment_post_ID, $current_user->user_email)) {
232
- $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_subscribed_on_post'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'];
233
  $output_form .= '<label class="wc-label-comment-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_post_ID, $current_user->user_email, 'post') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label>';
234
  } else {
235
  if ($current_user->ID && $this->wc_db_helper->wc_has_all_comments_notification($comment->comment_post_ID, $current_user->user_email) && $current_user->user_email == $comment->comment_author_email) {
236
- $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'];
237
  $output_form .= '<label class="wc-label-all-reply-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_post_ID, $current_user->user_email, 'all_comment') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label><br/>';
238
  } else {
239
  if ($current_user->ID && $this->wc_db_helper->wc_has_comment_notification($comment->comment_post_ID, $comment->comment_ID, $current_user->user_email) && $current_user->user_email == $comment->comment_author_email) {
240
- $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_subscribed_on_comment'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'];
241
  $output_form .= '<label class="wc-label-reply-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_ID, $current_user->user_email, 'comment') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label><br/>';
242
  } else {
243
- if ($this->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox || $this->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox || $this->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox) {
244
- $output_form .= '<input id="wc_notification_none-' . $unique_id . '" class="wc_notification_none" ' . $none_status . ' value="wc_notification_none" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-notification-none" for="wc_notification_none-' . $unique_id . '">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_notify_none'] . '</label><br />';
245
  }
246
- if ($this->wc_options->wc_options_serialized->wc_show_hide_reply_checkbox) {
247
- $output_form .= '<input class="wc-label-reply-notify wc_notification_new_reply" id="wc_notification_new_reply-' . $unique_id . '" value="wc_notification_new_reply" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_reply-' . $unique_id . '">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] . '</label><br />';
248
  }
249
- if ($this->wc_options->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
250
- $output_form .= '<input id="wc_notification_all_new_reply-' . $unique_id . '" class="wc_notification_all_new_reply" value="wc_notification_all_new_reply" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-all-reply-notify" for="wc_notification_all_new_reply-' . $unique_id . '">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] . '</label><br />';
251
  }
252
 
253
- if ($this->wc_options->wc_options_serialized->wc_show_hide_comment_checkbox) {
254
- $output_form .= '<input class="wc-label-comment-notify wc_notification_new_comment" id="wc_notification_new_comment-' . $unique_id . '" ' . $post_sub_status . ' value="wc_notification_new_comment" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-' . $unique_id . '">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_notify_on_new_comment'] . '</label>';
255
  }
256
  }
257
  }
@@ -270,18 +272,18 @@ class WC_Comment_Template_Builder {
270
  $output_form .= '</div>';
271
  }
272
 
273
- if ($this->wc_options->wc_options_serialized->wc_user_must_be_registered) {
274
- if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
275
  $output .= $output_form;
276
  } else if ($this->is_user_can_reply_by_role('administrator')) {
277
  $output .= $output_form;
278
  }
279
  } else {
280
- if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options->wc_options_serialized->wc_reply_button_guests_show_hide) {
281
  $output .= $output_form;
282
- } else if (!$this->wc_options->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
283
  $output .= $output_form;
284
- } else if (!$this->wc_options->wc_options_serialized->c_reply_button_guests_show_hide && !is_user_logged_in()) {
285
  $output .=
286
 
287
  $output_form;
@@ -312,7 +314,8 @@ class WC_Comment_Template_Builder {
312
  public function init_phrases_on_load() {
313
 
314
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
315
- $this->wc_options->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
 
316
  }
317
  }
318
 
@@ -326,12 +329,19 @@ class WC_Comment_Template_Builder {
326
  if ($user) {
327
  if (class_exists('BuddyPress')) {
328
  $wc_profile_url = bp_core_get_user_domain($user->ID);
329
- } else if (class_exists('XooUserUltra')) {
 
330
  global $xoouserultra;
331
  $wc_profile_url = $xoouserultra->userpanel->get_user_profile_permalink($user->ID);
332
  } else if (class_exists('userpro_api')) {
333
  global $userpro;
334
  $wc_profile_url = $userpro->permalink($user->ID);
 
 
 
 
 
 
335
  } else {
336
  if (count_user_posts($user->ID)) {
337
  $wc_profile_url = get_author_posts_url($user->ID);
@@ -352,10 +362,10 @@ class WC_Comment_Template_Builder {
352
  public function get_textarea_placeholder($comment) {
353
  $post = get_post($comment->comment_post_ID);
354
  if ($post->comment_count) {
355
- $textarea_placeholder = $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_join_text'];
356
  } else {
357
 
358
- $textarea_placeholder = $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_start_text'];
359
  }
360
  return $textarea_placeholder;
361
  }
5
  public $wc_helper;
6
  public $wc_db_helper;
7
  public $wc_options;
8
+ public $wc_options_serialized;
9
 
10
+ function __construct($wc_helper, $wc_db_helper, $wc_options, $wc_options_serialized) {
11
  $this->wc_helper = $wc_helper;
12
  $this->wc_db_helper = $wc_db_helper;
13
  $this->wc_options = $wc_options;
14
+ $this->wc_options_serialized = $wc_options_serialized;
15
  add_action('plugins_loaded', array(&$this, 'init_phrases_on_load'), 2129);
16
  }
17
 
47
  $post = get_post($comment->comment_post_ID);
48
  if ($user->ID == $post->post_author) {
49
  $wc_author_title_class = 'wc-post-author';
50
+ $author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_author_text'];
51
  } else if (in_array('administrator', $user->roles)) {
52
  $wc_author_title_class = 'wc-blog-admin';
53
+ $author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_admin_text'];
54
  } else {
55
  $wc_author_title_class = 'wc-blog-member';
56
+ $author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_member_text'];
57
  }
58
  } else {
59
  $wc_author_title_class = 'wc-blog-guest';
60
+ $author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_guest_text'];
61
  }
62
 
63
+ if ($this->wc_options_serialized->wc_simple_comment_date) {
64
  $date_format = get_option('date_format');
65
  $time_format = get_option('time_format');
66
  if (WC_Helper::is_posted_today($comment)) {
67
+ $posted_date = $this->wc_options_serialized->wc_phrases['wc_posted_today_text'] . ' ' . mysql2date($time_format, $comment->comment_date);
68
  } else {
69
  $posted_date = get_comment_date($date_format, $comment->comment_ID);
70
  }
72
  $posted_date = $this->wc_helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 2);
73
  }
74
 
75
+ $reply_text = $this->wc_options_serialized->wc_phrases['wc_reply_text'];
76
+ $share_text = $this->wc_options_serialized->wc_phrases['wc_share_text'];
77
  $comment_wrapper_class = ($comment->comment_parent) ? 'wc-comment wc-reply' : 'wc-comment';
78
  $textarea_placeholder = $this->get_textarea_placeholder($comment);
79
 
80
  $vote_count = ($comment->votes) ? $comment->votes : 0;
81
  $unique_id = $this->get_unique_id($comment);
82
 
83
+ $wc_author_name = $comment->comment_author ? $comment->comment_author : __('Anonymous', WC_Core::$TEXT_DOMAIN);
84
 
85
  $wc_comm_author_avatar = $this->wc_helper->get_comment_author_avatar($comment);
86
  $wc_profile_url = $this->get_profile_url($user);
97
 
98
  if (!is_user_logged_in()) {
99
  $vote_cls = ' wc_tooltipster';
100
+ $vote_title_text = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
101
  $vote_up = $vote_title_text;
102
  $vote_down = $vote_title_text;
103
  } else {
104
  $vote_cls = ' wc_vote';
105
+ $vote_up = $this->wc_options_serialized->wc_phrases['wc_vote_up'];
106
+ $vote_down = $this->wc_options_serialized->wc_phrases['wc_vote_down'];
107
  }
108
 
109
  $parent_comment = (!$comment->comment_parent && count($child_comments)) ? ' parnet_comment' : '';
113
 
114
  $output = '<div id="wc-comm-' . $unique_id . '" class="' . $comment_wrapper_class . ' ' . $parent_comment . ' wc_comment_level-' . $depth . '">';
115
  $output .= '<div class="wc-comment-left" id="comment-' . $comment->comment_ID . '">' . $wc_comm_author_avatar;
116
+ if (!$this->wc_options_serialized->wc_author_titles_show_hide) {
117
  $output .= '<div class="' . $wc_author_title_class . ' wc-comment-label">' . $author_title . '</div>';
118
  }
119
  if (class_exists('userpro_api') && $comment->user_id) {
124
  $output .= '<div class="wc-comment-header"><div class="wc-comment-author">' . $wc_author_name . '</div><div class="wc-comment-date">' . $posted_date . '</div><div style="clear:both"></div></div>';
125
  $output .= '<div class="wc-comment-text">' . $comment_content . '</div>';
126
  $output .= '<div class="wc-comment-footer">';
127
+ if (!$this->wc_options_serialized->wc_voting_buttons_show_hide) {
128
  $output .= '<div id="vote-count-' . $unique_id . '" class="wc-vote-result">' . $vote_count . '</div>';
129
  $output .= ' <span id="wc-up-' . $unique_id . '" class="wc-vote-link wc-up ' . $vote_cls . '" title="' . $vote_up . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/thumbs-up.png') . '" align="absmiddle" class="wc-vote-img-up" /></span> &nbsp;|&nbsp; <span id="wc-down-' . $unique_id . '" class="wc-vote-link wc-down ' . $vote_cls . '" title="' . $vote_down . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/thumbs-down.png') . '" align="absmiddle" class="wc-vote-img-down" /></span>&nbsp;';
130
  }
131
 
132
  if (comments_open($comment->comment_post_ID)) {
133
+ if ($this->wc_options_serialized->wc_user_must_be_registered) {
134
+ if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
135
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
136
  } else if ($this->is_user_can_reply_by_role('administrator')) {
137
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
138
  }
139
  } else {
140
+ if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options_serialized->wc_reply_button_guests_show_hide) {
141
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
142
+ } else if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
143
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
144
+ } else if (!$this->wc_options_serialized->wc_reply_button_guests_show_hide && !is_user_logged_in()) {
145
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
146
  } else if ($this->is_user_can_reply_by_role('administrator')) {
147
  $output .= '&nbsp;&nbsp;<span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> &nbsp;&nbsp;';
149
  }
150
  }
151
 
152
+ if (!$this->wc_options_serialized->wc_share_buttons_show_hide) {
153
  $output .= '-&nbsp;&nbsp; <span id="wc-comm-share-' . $unique_id . '" class="wc-share-link" title="' . $share_text . '">' . $share_text . '</span> &nbsp;&nbsp;';
154
 
155
  $twitt_content = strip_tags($comment_content) . ' ' . get_comment_link($comment);
156
 
157
  $output .= '<span id="share_buttons_box-' . $unique_id . '" class="share_buttons_box">';
158
+ $output .= '<a target="_blank" href="http://www.facebook.com/sharer.php" title="' . $this->wc_options_serialized->wc_phrases['wc_share_facebook'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/fb-18x18.png') . '"/></a>&nbsp;&nbsp;';
159
+ $output .= '<a target="_blank" href="https://twitter.com/home?status=' . $twitt_content . '" title="' . $this->wc_options_serialized->wc_phrases['wc_share_twitter'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/twitter-18x18.png') . '"/></a>&nbsp;&nbsp;';
160
+ $output .= '<a target="_blank" href="https://plus.google.com/share?url=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->wc_options_serialized->wc_phrases['wc_share_google'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/google-18x18.png') . '"/></a>&nbsp;&nbsp;';
161
  $output .= '</span>';
162
  }
163
 
166
  } else {
167
  if ($this->wc_helper->is_comment_editable($comment) && $current_user->ID && $current_user->ID == $comment->user_id) {
168
  $output .= '<span id="wc_editable_comment-' . $unique_id . '" class="wc_editable_comment">-&nbsp;&nbsp;' . __('Edit', 'default') . '</span>';
169
+ $output .= '<span id="wc_cancel_edit-' . $unique_id . '" class="wc_cancel_edit">-&nbsp;&nbsp;' . $this->wc_options_serialized->wc_phrases['wc_comment_edit_cancel_button'] . '</span>';
170
+ $output .= '<span id="wc_save_edited_comment-' . $unique_id . '" class="wc_save_edited_comment" style="display:none;">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options_serialized->wc_phrases['wc_comment_edit_save_button'] . '</span>';
171
  }
172
  }
173
 
174
  $visibility = 'none';
175
  if (!$comment->comment_parent && count($child_comments)) {
176
  $visibility = 'block';
177
+ $output .= '<span id="wc-toggle-' . $unique_id . '" class="wc-toggle" style="display:' . $visibility . ';">' . $this->wc_options_serialized->wc_phrases['wc_hide_replies_text'] . ' &and;</span>';
178
  }
179
 
180
  $output .= '</div>';
186
  if (comments_open($comment->comment_post_ID)) {
187
  $output_form = '<div class="wc-form-wrapper wc-secondary-forms-wrapper" id="wc-secondary-forms-wrapper-' . $unique_id . '">';
188
  $output_form .= '<form action="" method="post" id="wc_comm_form-' . $unique_id . '" class="wc_comm_form wc_secondary_form">';
189
+ $output_form .= '<div class="wc-field-comment"><div class="wc-field-avatararea">' . $this->wc_helper->get_comment_author_avatar() . '</div><div class="wc-field-textarea wpdiscuz-item"><textarea id="wc_comment-' . $unique_id . '" class="wc_comment wc_field_input" name="wc_comment" required="required" placeholder="' . $textarea_placeholder . '"></textarea></div><div style="clear:both"></div></div>';
190
 
191
  $output_form .= '<div id="wc-form-footer-' . $unique_id . '" class="wc-form-footer">';
192
 
193
  if (!is_user_logged_in()) {
194
+ $output_form .= '<div class="wc-author-data"><div class="wc-field-name wpdiscuz-item"><input id="wc_name-' . $unique_id . '" name="wc_name" class="wc_name wc_field_input" required="required" value="" type="text" placeholder="' . $this->wc_options_serialized->wc_phrases['wc_name_text'] . '"/></div><div class="wc-field-email wpdiscuz-item"><input id="wc_email-' . $unique_id . '" class="wc_email wc_field_input email" name="wc_email" required="required" value="" type="email" placeholder="' . $this->wc_options_serialized->wc_phrases['wc_email_text'] . '"/></div><div style="clear:both"></div></div>';
195
  }
196
 
197
  $output_form .= '<div class="wc-form-submit">';
198
 
199
+ if (!$this->wc_options_serialized->wc_captcha_show_hide) {
200
  if (!is_user_logged_in()) {
201
+ $output_form .= '<div class="wc-field-captcha wpdiscuz-item">';
202
  $output_form .= '<input id="wc_captcha-' . $unique_id . '" class="wc_field_input wc_field_captcha" name="wc_captcha" required="required" value="" type="text" /><span class="wc-label wc-captcha-label">';
203
  $output_form .= '<img rel="nofollow" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/captcha/captcha.php?comm_id=' . $comment->comment_post_ID . '-' . $comment->comment_ID) . '" id="wc_captcha_img-' . $unique_id . '" />';
204
  $output_form .= '<img rel="nofollow" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/refresh-16x16.png') . '" id="wc_captcha_refresh_img-' . $unique_id . '" class="wc_captcha_refresh_img" />';
205
+ $output_form .= '</span><span class="captcha_msg">' . $this->wc_options_serialized->wc_phrases['wc_captcha_text'] . '</span></div>';
206
  }
207
  }
208
 
209
+ $output_form .= '<div class="wc-field-submit"><input type="button" name="submit" value="' . $this->wc_options_serialized->wc_phrases['wc_submit_text'] . '" id="wc_comm-' . $unique_id . '" class="wc_comm_submit button alt"/></div>';
210
  $output_form .= '<div style="clear:both"></div>';
211
 
212
+ if ($this->wc_options_serialized->wc_show_hide_comment_checkbox || $this->wc_options_serialized->wc_show_hide_reply_checkbox || $this->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
213
+ $output_form .= '<span class="wc_manage_subscribtions" '.((class_exists('Prompt_Comment_Form_Handling') && $this->wc_options_serialized->wc_use_postmatic_for_comment_notification) ? 'style="display:none"' : '').'>' . $this->wc_options_serialized->wc_phrases['wc_manage_subscribtions'] . ' &or;</span>';
214
  }
215
 
216
+ $output_form .= '<div class="wc_notification_checkboxes" '.((class_exists('Prompt_Comment_Form_Handling') && $this->wc_options_serialized->wc_use_postmatic_for_comment_notification) ? 'style="display:block"' : '').'>';
217
 
218
 
219
  $wc_is_user_subscription_confirmed = $this->wc_db_helper->wc_is_user_subscription_confirmed($comment->comment_post_ID, $current_user->user_email);
220
+ $wc_subscription_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options_serialized->wc_phrases['wc_unsubscribe'] : $this->wc_options_serialized->wc_phrases['wc_ignore_subscription'];
221
 
222
+ if ($this->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
223
  $none_status = '';
224
  $post_sub_status = 'checked="checked"';
225
  } else {
227
  $post_sub_status = '';
228
  }
229
 
230
+ if (class_exists('Prompt_Comment_Form_Handling') && $this->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
231
  $output_form .= '<input id="wc_notification_new_comment-' . $unique_id . '" class="wc_notification_new_comment" value="wc_notification_new_comment" ' . $post_sub_status . 'type="checkbox" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-' . $unique_id . '">' . __('Participate in this discussion via email', 'Postmatic') . '</label>';
232
  } else {
233
  if ($current_user->ID && $this->wc_db_helper->wc_has_post_notification($comment->comment_post_ID, $current_user->user_email)) {
234
+ $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options_serialized->wc_phrases['wc_subscribed_on_post'] : $this->wc_options_serialized->wc_phrases['wc_confirm_email'];
235
  $output_form .= '<label class="wc-label-comment-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_post_ID, $current_user->user_email, 'post') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label>';
236
  } else {
237
  if ($current_user->ID && $this->wc_db_helper->wc_has_all_comments_notification($comment->comment_post_ID, $current_user->user_email) && $current_user->user_email == $comment->comment_author_email) {
238
+ $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment'] : $this->wc_options_serialized->wc_phrases['wc_confirm_email'];
239
  $output_form .= '<label class="wc-label-all-reply-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_post_ID, $current_user->user_email, 'all_comment') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label><br/>';
240
  } else {
241
  if ($current_user->ID && $this->wc_db_helper->wc_has_comment_notification($comment->comment_post_ID, $comment->comment_ID, $current_user->user_email) && $current_user->user_email == $comment->comment_author_email) {
242
+ $wc_confirmation_phrase = ($wc_is_user_subscription_confirmed == 1) ? $this->wc_options_serialized->wc_phrases['wc_subscribed_on_comment'] : $this->wc_options_serialized->wc_phrases['wc_confirm_email'];
243
  $output_form .= '<label class="wc-label-reply-notify" style="cursor: default;">' . $wc_confirmation_phrase . ' | <a href="' . $this->wc_db_helper->wc_unsubscribe_link($comment->comment_ID, $current_user->user_email, 'comment') . '" rel="nofollow" class="unsubscribe">' . $wc_subscription_phrase . '</a></label><br/>';
244
  } else {
245
+ if ($this->wc_options_serialized->wc_show_hide_reply_checkbox || $this->wc_options_serialized->wc_show_hide_all_reply_checkbox || $this->wc_options_serialized->wc_show_hide_comment_checkbox) {
246
+ $output_form .= '<input id="wc_notification_none-' . $unique_id . '" class="wc_notification_none" ' . $none_status . ' value="wc_notification_none" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-notification-none" for="wc_notification_none-' . $unique_id . '">' . $this->wc_options_serialized->wc_phrases['wc_notify_none'] . '</label><br />';
247
  }
248
+ if ($this->wc_options_serialized->wc_show_hide_reply_checkbox) {
249
+ $output_form .= '<input class="wc-label-reply-notify wc_notification_new_reply" id="wc_notification_new_reply-' . $unique_id . '" value="wc_notification_new_reply" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_reply-' . $unique_id . '">' . $this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] . '</label><br />';
250
  }
251
+ if ($this->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
252
+ $output_form .= '<input id="wc_notification_all_new_reply-' . $unique_id . '" class="wc_notification_all_new_reply" value="wc_notification_all_new_reply" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-all-reply-notify" for="wc_notification_all_new_reply-' . $unique_id . '">' . $this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] . '</label><br />';
253
  }
254
 
255
+ if ($this->wc_options_serialized->wc_show_hide_comment_checkbox) {
256
+ $output_form .= '<input class="wc-label-comment-notify wc_notification_new_comment" id="wc_notification_new_comment-' . $unique_id . '" ' . $post_sub_status . ' value="wc_notification_new_comment" type="radio" name="wc_comment_reply_notification-' . $unique_id . '"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-' . $unique_id . '">' . $this->wc_options_serialized->wc_phrases['wc_notify_on_new_comment'] . '</label>';
257
  }
258
  }
259
  }
272
  $output_form .= '</div>';
273
  }
274
 
275
+ if ($this->wc_options_serialized->wc_user_must_be_registered) {
276
+ if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
277
  $output .= $output_form;
278
  } else if ($this->is_user_can_reply_by_role('administrator')) {
279
  $output .= $output_form;
280
  }
281
  } else {
282
+ if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options_serialized->wc_reply_button_guests_show_hide) {
283
  $output .= $output_form;
284
+ } else if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
285
  $output .= $output_form;
286
+ } else if (!$this->wc_options_serialized->c_reply_button_guests_show_hide && !is_user_logged_in()) {
287
  $output .=
288
 
289
  $output_form;
314
  public function init_phrases_on_load() {
315
 
316
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
317
+ // var_dump($this->wc)
318
+ $this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
319
  }
320
  }
321
 
329
  if ($user) {
330
  if (class_exists('BuddyPress')) {
331
  $wc_profile_url = bp_core_get_user_domain($user->ID);
332
+ } else
333
+ if (class_exists('XooUserUltra')) {
334
  global $xoouserultra;
335
  $wc_profile_url = $xoouserultra->userpanel->get_user_profile_permalink($user->ID);
336
  } else if (class_exists('userpro_api')) {
337
  global $userpro;
338
  $wc_profile_url = $userpro->permalink($user->ID);
339
+ } else if (class_exists('UM_API')) {
340
+ $wc_profile_url = apply_filters('get_comment_author_link', $wc_profile_url);
341
+ $dom = new DOMDocument;
342
+ $dom->loadHTML($wc_profile_url);
343
+ $node = $dom->getElementsByTagName('a')->item(0);
344
+ $wc_profile_url = $node->getAttribute( 'href' );
345
  } else {
346
  if (count_user_posts($user->ID)) {
347
  $wc_profile_url = get_author_posts_url($user->ID);
362
  public function get_textarea_placeholder($comment) {
363
  $post = get_post($comment->comment_post_ID);
364
  if ($post->comment_count) {
365
+ $textarea_placeholder = $this->wc_options_serialized->wc_phrases['wc_comment_join_text'];
366
  } else {
367
 
368
+ $textarea_placeholder = $this->wc_options_serialized->wc_phrases['wc_comment_start_text'];
369
  }
370
  return $textarea_placeholder;
371
  }
files/css/fv.css CHANGED
@@ -7,21 +7,21 @@ input[type=checkbox]{ width:auto; border:none; bottom:-1px; cursor:pointer; marg
7
  button[type=submit]{ font-size:1.1em; padding:5px 25px; }*/
8
 
9
  /* Tooltips helpers */
10
- .item .tooltip{ float:left; top:2px; left:7px; position:relative; z-index:2; }
11
- .item .tooltip:hover{ z-index:3; }
12
- .item .tooltip > span{ display:inline-block; width:15px; height:15px; line-height:15px; font-size:0.9em; font-weight:bold; text-align:center; color:#FFF; cursor:help; background-color:#00AEEF; position:relative; border-radius:10px; }
13
- .item .tooltip .content{ opacity:0; width:200px; background-color:#333; color:#FFF; font-size:0.9em; position:absolute; top:0; left:20px; padding:8px; border-radius:6px; pointer-events:none; transition:0.2s cubic-bezier(0.1, 0.1, 0.25, 2); -webkit-transition:0.3s cubic-bezier(0.1, 0.2, 0.5, 2.2); -moz-transition:0.3s cubic-bezier(0.1, 0.2, 0.5, 2.2); }
14
- .item .tooltip p{ padding:0; }
15
- .item .tooltip.down .content{ left:auto; right:0; top:30px; }
16
- .item .tooltip:hover .content{ opacity:1; left:36px; }
17
- .item .tooltip .content b{ height:0; width:0; border-color:#333 #333 transparent transparent; border-style:solid; border-width:9px 7px; position:absolute; left:-14px; top:8px; }
18
- .item .tooltip.down .content b{ left:auto; right:6px; top:-10px; border-width:5px; border-color:transparent #333 #333 transparent; }
19
 
20
  /* alerts (when validation fails) */
21
- .item .alert{ float:left; margin:0px; padding:2px 10px; color:#DD0000; border-radius:3px 4px 4px 3px; background-color:#FFE8E8; white-space:pre; position:relative; left:-15px; opacity:0; z-index:1; transition:0.15s ease-out; }
22
- .item .alert {max-width: 100%;position: absolute;top: -15px;font-size: 12px;}
23
- /*.item .alert::after{ content:''; display:block; height:0; width:0; border-color:transparent #CE5454 transparent transparent; border-style:solid; border-width:11px 7px; position:absolute; left:-13px; top:1px; }*/
24
- .item.bad .alert{ left:0; opacity:1; padding:2px 4px; line-height:14px; }
25
 
26
 
27
  @keyframes shake{
@@ -38,28 +38,28 @@ button[type=submit]{ font-size:1.1em; padding:5px 25px; }*/
38
  }
39
 
40
  form fieldset{ clear:both; margin:0 0 10px 0; }
41
- form .item{ padding:5px 0; position:relative; height:2em; font-family: Lato,sans-serif; }
42
- form .item.items{ height:auto; }
43
- .item label, .item .label{ float:left; cursor:pointer; }
44
- .item label span, .item .label{ float:left; width:160px; text-transform:capitalize; line-height:2em; }
45
- .item input, .item textarea{ float:left; padding:3px 4px; width:210px; -webkit-transition:0.2s; -moz-transition:0.2s; transition:0.2s; }
46
- .item input[type=checkbox]{ width:auto; }
47
 
48
  .label ~ label{ vertical-align:middle; margin:0.3em 1.2em 0 0; }
49
 
50
- .item input.short{ width:90px; }
51
- .item input:focus:not([type="checkbox"]), .item textarea:focus{ box-shadow:0 0 4px #BCBCBC; border:1px solid #BCBCBC; }
52
 
53
- .item textarea{ }
54
- .item select{ float:left; width:220px; padding:2px 0; margin:0; border:1px solid #CCC; text-transform:capitalize; }
55
- .item select option{ padding:1px; }
56
 
57
- .item > .extra{ float:left; font-size:0.9em; color:#999; line-height:2em; margin-left:13px; }
58
 
59
- .item.multi .input{ float:left; }
60
- .item.multi input{ float:left; margin-right:5px; width:35px; text-align:center; }
61
- form .item.multi input:nth-last-child(-n+2){ margin:0; }
62
- .item.items input{ border-top:5px solid #E1E1E1; margin:0 0 0 160px; }
63
 
64
  .bad input,
65
  .bad select,
7
  button[type=submit]{ font-size:1.1em; padding:5px 25px; }*/
8
 
9
  /* Tooltips helpers */
10
+ .wpdiscuz-item .tooltip{ float:left; top:2px; left:7px; position:relative; z-index:2; }
11
+ .wpdiscuz-item .tooltip:hover{ z-index:3; }
12
+ .wpdiscuz-item .tooltip > span{ display:inline-block; width:15px; height:15px; line-height:15px; font-size:0.9em; font-weight:bold; text-align:center; color:#FFF; cursor:help; background-color:#00AEEF; position:relative; border-radius:10px; }
13
+ .wpdiscuz-item .tooltip .content{ opacity:0; width:200px; background-color:#333; color:#FFF; font-size:0.9em; position:absolute; top:0; left:20px; padding:8px; border-radius:6px; pointer-events:none; transition:0.2s cubic-bezier(0.1, 0.1, 0.25, 2); -webkit-transition:0.3s cubic-bezier(0.1, 0.2, 0.5, 2.2); -moz-transition:0.3s cubic-bezier(0.1, 0.2, 0.5, 2.2); }
14
+ .wpdiscuz-item .tooltip p{ padding:0; }
15
+ .wpdiscuz-item .tooltip.down .content{ left:auto; right:0; top:30px; }
16
+ .wpdiscuz-item .tooltip:hover .content{ opacity:1; left:36px; }
17
+ .wpdiscuz-item .tooltip .content b{ height:0; width:0; border-color:#333 #333 transparent transparent; border-style:solid; border-width:9px 7px; position:absolute; left:-14px; top:8px; }
18
+ .wpdiscuz-item .tooltip.down .content b{ left:auto; right:6px; top:-10px; border-width:5px; border-color:transparent #333 #333 transparent; }
19
 
20
  /* alerts (when validation fails) */
21
+ .wpdiscuz-item .alert{ float:left; margin:0px; padding:2px 10px; color:#DD0000; border-radius:3px 4px 4px 3px; background-color:#FFE8E8; white-space:pre; position:relative; left:-15px; opacity:0; z-index:1; transition:0.15s ease-out; }
22
+ .wpdiscuz-item .alert {max-width: 100%;position: absolute;top: -15px;font-size: 12px;}
23
+ /*.wpdiscuz-item .alert::after{ content:''; display:block; height:0; width:0; border-color:transparent #CE5454 transparent transparent; border-style:solid; border-width:11px 7px; position:absolute; left:-13px; top:1px; }*/
24
+ .wpdiscuz-item.bad .alert{ left:0; opacity:1; padding:2px 4px; line-height:14px; }
25
 
26
 
27
  @keyframes shake{
38
  }
39
 
40
  form fieldset{ clear:both; margin:0 0 10px 0; }
41
+ form .wpdiscuz-item{ padding:5px 0; position:relative; height:2em; font-family: Lato,sans-serif; }
42
+ form .wpdiscuz-item.wpdiscuz-items{ height:auto; }
43
+ .wpdiscuz-item label, .wpdiscuz-item .label{ float:left; cursor:pointer; }
44
+ .wpdiscuz-item label span, .wpdiscuz-item .label{ float:left; width:160px; text-transform:capitalize; line-height:2em; }
45
+ .wpdiscuz-item input, .wpdiscuz-item textarea{ float:left; padding:3px 4px; width:210px; -webkit-transition:0.2s; -moz-transition:0.2s; transition:0.2s; }
46
+ .wpdiscuz-item input[type=checkbox]{ width:auto; }
47
 
48
  .label ~ label{ vertical-align:middle; margin:0.3em 1.2em 0 0; }
49
 
50
+ .wpdiscuz-item input.short{ width:90px; }
51
+ .wpdiscuz-item input:focus:not([type="checkbox"]), .wpdiscuz-item textarea:focus{ box-shadow:0 0 4px #BCBCBC; border:1px solid #BCBCBC; }
52
 
53
+ .wpdiscuz-item textarea{ }
54
+ .wpdiscuz-item select{ float:left; width:220px; padding:2px 0; margin:0; border:1px solid #CCC; text-transform:capitalize; }
55
+ .wpdiscuz-item select option{ padding:1px; }
56
 
57
+ .wpdiscuz-item > .extra{ float:left; font-size:0.9em; color:#999; line-height:2em; margin-left:13px; }
58
 
59
+ .wpdiscuz-item.multi .input{ float:left; }
60
+ .wpdiscuz-item.multi input{ float:left; margin-right:5px; width:35px; text-align:center; }
61
+ form .wpdiscuz-item.multi input:nth-last-child(-n+2){ margin:0; }
62
+ .wpdiscuz-item.wpdiscuz-items input{ border-top:5px solid #E1E1E1; margin:0 0 0 160px; }
63
 
64
  .bad input,
65
  .bad select,
files/img/thumbs-down.png CHANGED
Binary file
files/img/thumbs-up.png CHANGED
Binary file
files/js/validator.js CHANGED
@@ -232,7 +232,7 @@ var validator = (function($) {
232
 
233
  // check if not already marked as a 'bad' record and add the 'alert' object.
234
  // if already is marked as 'bad', then make sure the text is set again because it might change depending on validation
235
- var item = field.parents('.item'),
236
  warning;
237
 
238
  if (item.hasClass('bad')) {
@@ -258,7 +258,7 @@ var validator = (function($) {
258
  return false;
259
  }
260
 
261
- field.parents('.item')
262
  .removeClass('bad')
263
  .find('.alert').remove();
264
  };
232
 
233
  // check if not already marked as a 'bad' record and add the 'alert' object.
234
  // if already is marked as 'bad', then make sure the text is set again because it might change depending on validation
235
+ var item = field.parents('.wpdiscuz-item'),
236
  warning;
237
 
238
  if (item.hasClass('bad')) {
258
  return false;
259
  }
260
 
261
+ field.parents('.wpdiscuz-item')
262
  .removeClass('bad')
263
  .find('.alert').remove();
264
  };
files/third-party/easy-responsive-tabs/css/easy-responsive-tabs.css CHANGED
@@ -1,8 +1,3 @@
1
- ul.resp-tabs-list, p {
2
- margin: 0px;
3
- padding: 0px;
4
- }
5
-
6
  .resp-tabs-list li {
7
  font-weight: 600;
8
  font-size: 13px;
@@ -12,6 +7,7 @@ ul.resp-tabs-list, p {
12
  list-style: none;
13
  cursor: pointer;
14
  float: left;
 
15
  }
16
 
17
  .resp-tabs-container {
@@ -71,124 +67,4 @@ h2.resp-tab-active {
71
  h2.resp-tab-title:last-child {
72
  border-bottom: 12px solid #c1c1c1 !important;
73
  background: blue;
74
- }
75
-
76
- /*-----------Vertical tabs-----------*/
77
- .resp-vtabs ul.resp-tabs-list {
78
- float: left;
79
- width: 30%;
80
- }
81
-
82
- .resp-vtabs .resp-tabs-list li {
83
- display: block;
84
- padding: 15px 15px !important;
85
- margin: 0 0 4px;
86
- cursor: pointer;
87
- float: none;
88
- }
89
-
90
- .resp-vtabs .resp-tabs-container {
91
- padding: 0px;
92
- background-color: #fff;
93
- border: 1px solid #c1c1c1;
94
- float: left;
95
- width: 68%;
96
- min-height: 250px;
97
- border-radius: 4px;
98
- clear: none;
99
- }
100
-
101
- .resp-vtabs .resp-tab-content {
102
- border: none;
103
- word-wrap: break-word;
104
- }
105
-
106
- .resp-vtabs li.resp-tab-active {
107
- position: relative;
108
- z-index: 1;
109
- margin-right: -1px !important;
110
- padding: 14px 15px 15px 14px !important;
111
- border-top: 1px solid;
112
- border: 1px solid #5AB1D0 !important;
113
- border-left: 4px solid #5AB1D0 !important;
114
- margin-bottom: 4px !important;
115
- border-right: 1px #FFF solid !important;
116
- }
117
-
118
- .resp-arrow {
119
- width: 0;
120
- height: 0;
121
- float: right;
122
- margin-top: 3px;
123
- border-left: 6px solid transparent;
124
- border-right: 6px solid transparent;
125
- border-top: 12px solid #c1c1c1;
126
- }
127
-
128
- h2.resp-tab-active span.resp-arrow {
129
- border: none;
130
- border-left: 6px solid transparent;
131
- border-right: 6px solid transparent;
132
- border-bottom: 12px solid #9B9797;
133
- }
134
-
135
- /*-----------Accordion styles-----------*/
136
- h2.resp-tab-active {
137
- background: #DBDBDB;/* !important;*/
138
- }
139
-
140
- .resp-easy-accordion h2.resp-accordion {
141
- display: block;
142
- }
143
-
144
- .resp-easy-accordion .resp-tab-content {
145
- border: 1px solid #c1c1c1;
146
- }
147
-
148
- .resp-easy-accordion .resp-tab-content:last-child {
149
- border-bottom: 1px solid #c1c1c1;/* !important;*/
150
- }
151
-
152
- .resp-jfit {
153
- width: 100%;
154
- margin: 0px;
155
- }
156
-
157
- .resp-tab-content-active {
158
- display: block;
159
- }
160
-
161
- h2.resp-accordion:first-child {
162
- border-top: 1px solid #c1c1c1;/* !important;*/
163
- }
164
-
165
- /*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
166
- @media only screen and (max-width: 768px) {
167
- ul.resp-tabs-list {
168
- display: none;
169
- }
170
-
171
- h2.resp-accordion {
172
- display: block;
173
- }
174
-
175
- .resp-vtabs .resp-tab-content {
176
- border: 1px solid #C1C1C1;
177
- }
178
-
179
- .resp-vtabs .resp-tabs-container {
180
- border: none;
181
- float: none;
182
- width: 100%;
183
- min-height: 100px;
184
- clear: none;
185
- }
186
-
187
- .resp-accordion-closed {
188
- display: none !important;
189
- }
190
-
191
- .resp-vtabs .resp-tab-content:last-child {
192
- border-bottom: 1px solid #c1c1c1 !important;
193
- }
194
- }
 
 
 
 
 
1
  .resp-tabs-list li {
2
  font-weight: 600;
3
  font-size: 13px;
7
  list-style: none;
8
  cursor: pointer;
9
  float: left;
10
+ line-height: 1;
11
  }
12
 
13
  .resp-tabs-container {
67
  h2.resp-tab-title:last-child {
68
  border-bottom: 12px solid #c1c1c1 !important;
69
  background: blue;
70
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wpdiscuz-en.mo CHANGED
Binary file
languages/wpdiscuz-en.po CHANGED
@@ -1,570 +1,1033 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
- "POT-Creation-Date: 2015-02-08 00:36+0400\n"
5
- "PO-Revision-Date: 2015-02-08 00:40+0400\n"
6
- "Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
7
- "Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
17
- "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Poedit-SearchPathExcluded-0: *.js\n"
21
-
22
- #: comment-form/tpl-comment.php:152
23
- msgid "Edit"
24
- msgstr ""
25
-
26
- #: options-templates/options-template-main.php:1
27
- msgid "General settings"
28
- msgstr ""
29
-
30
- #: options-templates/options-template-main.php:5
31
- msgid "Display comment form for post types:"
32
- msgstr ""
33
-
34
- #: options-templates/options-template-main.php:26
35
- msgid "Show the latest comments on"
36
- msgstr ""
37
-
38
- #: options-templates/options-template-main.php:30
39
- msgid "the top of the list"
40
- msgstr ""
41
-
42
- #: options-templates/options-template-main.php:32
43
- msgid "top of the threads"
44
- msgstr ""
45
-
46
- #: options-templates/options-template-main.php:34
47
- msgid "bottom of the threads"
48
- msgstr ""
49
-
50
- #: options-templates/options-template-main.php:36
51
- msgid "the bottom of the list"
52
- msgstr ""
53
-
54
- #: options-templates/options-template-main.php:44
55
- msgid "Live update options"
56
- msgstr ""
57
-
58
- #: options-templates/options-template-main.php:50
59
- msgid "Never update"
60
- msgstr ""
61
-
62
- #: options-templates/options-template-main.php:52
63
- msgid "Turn off \"Live Update\" function"
64
- msgstr ""
65
-
66
- #: options-templates/options-template-main.php:54
67
- msgid "Show new comment/reply buttons to update manualy"
68
- msgstr ""
69
-
70
- #: options-templates/options-template-main.php:56
71
- msgid "Always check for new comments and show update buttons"
72
- msgstr ""
73
-
74
- #: options-templates/options-template-main.php:58
75
- msgid "Always update"
76
- msgstr ""
77
-
78
- #: options-templates/options-template-main.php:60
79
- msgid "Always check for new comments and update automatically"
80
- msgstr ""
81
-
82
- #: options-templates/options-template-main.php:68
83
- msgid "Update comment list every"
84
- msgstr ""
85
-
86
- #: options-templates/options-template-main.php:73
87
- #: options-templates/options-template-main.php:74
88
- #: options-templates/options-template-main.php:75
89
- msgid "Seconds"
90
- msgstr ""
91
-
92
- #: options-templates/options-template-main.php:76
93
- #: options-templates/options-template-phrases.php:459
94
- msgid "Minute"
95
- msgstr ""
96
-
97
- #: options-templates/options-template-main.php:77
98
- #: options-templates/options-template-main.php:78
99
- #: options-templates/options-template-main.php:79
100
- msgid "Minutes"
101
- msgstr ""
102
-
103
- #: options-templates/options-template-main.php:86
104
- msgid "Hide Voting buttons"
105
- msgstr ""
106
-
107
- #: options-templates/options-template-main.php:97
108
- msgid "Hide Share Button"
109
- msgstr ""
110
-
111
- #: options-templates/options-template-main.php:108
112
- msgid "Hide the CAPTCHA field"
113
- msgstr ""
114
-
115
- #: options-templates/options-template-main.php:119
116
- msgid "User Must be registered to comment"
117
- msgstr ""
118
-
119
- #: options-templates/options-template-main.php:137
120
- msgid "Show logged-in user username on top of main form"
121
- msgstr ""
122
-
123
- #: options-templates/options-template-main.php:148
124
- msgid "Held new comments for moderation"
125
- msgstr ""
126
-
127
- #: options-templates/options-template-main.php:159
128
- msgid "Hide Reply button for Guests"
129
- msgstr ""
130
-
131
- #: options-templates/options-template-main.php:170
132
- msgid "Hide Reply button for Members"
133
- msgstr ""
134
-
135
- #: options-templates/options-template-main.php:181
136
- msgid "Hide Author Titles"
137
- msgstr ""
138
-
139
- #: options-templates/options-template-main.php:192
140
- msgid "Comment Threads Per Page"
141
- msgstr ""
142
-
143
- #: options-templates/options-template-main.php:203
144
- msgid "Comments max depth"
145
- msgstr ""
146
-
147
- #: options-templates/options-template-main.php:208
148
- msgid "Level"
149
- msgstr ""
150
-
151
- #: options-templates/options-template-main.php:209
152
- #: options-templates/options-template-main.php:210
153
- #: options-templates/options-template-main.php:211
154
- #: options-templates/options-template-main.php:212
155
- msgid "Levels"
156
- msgstr ""
157
-
158
- #: options-templates/options-template-main.php:219
159
- msgid "Use WordPress Date/Time format"
160
- msgstr ""
161
-
162
- #: options-templates/options-template-main.php:220
163
- msgid ""
164
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
165
- "show the date/time format set in WordPress General Settings."
166
- msgstr ""
167
-
168
- #: options-templates/options-template-main.php:231
169
- msgid ""
170
- "Keep checked-on the email notification checkboxes on comment form by default"
171
- msgstr ""
172
-
173
- #: options-templates/options-template-main.php:242
174
- msgid "Show \"Notify of all new follow-up comments\""
175
- msgstr ""
176
-
177
- #: options-templates/options-template-main.php:243
178
- msgid "Show \"Notify of new replies to all my comments\""
179
- msgstr ""
180
-
181
- #: options-templates/options-template-main.php:244
182
- msgid "Show \"Notify of new replies to this comment\""
183
- msgstr ""
184
-
185
- #: options-templates/options-template-main.php:246
186
- msgid ""
187
- "Please keep all three or at least one of those options ON, otherwise users "
188
- "will not have any option for email notifications and they'll not get any "
189
- "messages."
190
- msgstr ""
191
-
192
- #: options-templates/options-template-main.php:264
193
- msgid "Comment text size in pixels"
194
- msgstr ""
195
-
196
- #: options-templates/options-template-main.php:280
197
- msgid "Comment Form Background Color"
198
- msgstr ""
199
-
200
- #: options-templates/options-template-main.php:283
201
- #: options-templates/options-template-main.php:307
202
- #: options-templates/options-template-main.php:331
203
- #: options-templates/options-template-main.php:355
204
- #: options-templates/options-template-main.php:380
205
- #: options-templates/options-template-main.php:405
206
- #: options-templates/options-template-main.php:429
207
- msgid "Example: #00ff00"
208
- msgstr ""
209
-
210
- #: options-templates/options-template-main.php:304
211
- msgid "Comment Background Color"
212
- msgstr ""
213
-
214
- #: options-templates/options-template-main.php:328
215
- msgid "Reply Background Color"
216
- msgstr ""
217
-
218
- #: options-templates/options-template-main.php:352
219
- msgid "Comment Text Color"
220
- msgstr ""
221
-
222
- #: options-templates/options-template-main.php:377
223
- msgid "Author title color"
224
- msgstr ""
225
-
226
- #: options-templates/options-template-main.php:402
227
- msgid "Vote, Reply, Share, Edit links text colors"
228
- msgstr ""
229
-
230
- #: options-templates/options-template-main.php:426
231
- msgid "New loaded comments' background color"
232
- msgstr ""
233
-
234
- #: options-templates/options-template-main.php:450
235
- msgid "Custom CSS Code"
236
- msgstr ""
237
-
238
- #: options-templates/options-template-phrases.php:1
239
- msgid "Front-end phrases"
240
- msgstr ""
241
-
242
- #: options-templates/options-template-phrases.php:5
243
- msgid "Leave a Reply"
244
- msgstr ""
245
-
246
- #: options-templates/options-template-phrases.php:16
247
- msgid "Be the first to comment"
248
- msgstr ""
249
-
250
- #: options-templates/options-template-phrases.php:27
251
- msgid "Comment"
252
- msgstr ""
253
-
254
- #: options-templates/options-template-phrases.php:38
255
- msgid "On"
256
- msgstr ""
257
-
258
- #: options-templates/options-template-phrases.php:49
259
- msgid "Comment Field Start"
260
- msgstr ""
261
-
262
- #: options-templates/options-template-phrases.php:60
263
- msgid "Comment Field Join"
264
- msgstr ""
265
-
266
- #: options-templates/options-template-phrases.php:71
267
- msgid "Email Field"
268
- msgstr ""
269
-
270
- #: options-templates/options-template-phrases.php:82
271
- msgid "Name Field"
272
- msgstr ""
273
-
274
- #: options-templates/options-template-phrases.php:93
275
- msgid "CAPTCHA Field"
276
- msgstr ""
277
-
278
- #: options-templates/options-template-phrases.php:104
279
- msgid "Submit Button"
280
- msgstr ""
281
-
282
- #: options-templates/options-template-phrases.php:115
283
- msgid "Manage subscribtions"
284
- msgstr ""
285
-
286
- #: options-templates/options-template-phrases.php:119
287
- msgid "Manage Subscribtions"
288
- msgstr ""
289
-
290
- #: options-templates/options-template-phrases.php:126
291
- msgid "Notify on new comments (checkbox)"
292
- msgstr ""
293
-
294
- #: options-templates/options-template-phrases.php:130
295
- msgid "Notify of all new follow-up comments"
296
- msgstr ""
297
-
298
- #: options-templates/options-template-phrases.php:137
299
- msgid "Notify on all new replies (checkbox)"
300
- msgstr ""
301
-
302
- #: options-templates/options-template-phrases.php:141
303
- msgid "Notify of new replies to all my comments"
304
- msgstr ""
305
-
306
- #: options-templates/options-template-phrases.php:148
307
- msgid "Notify on new replies (checkbox)"
308
- msgstr ""
309
-
310
- #: options-templates/options-template-phrases.php:152
311
- msgid "Notify of new replies to this comment"
312
- msgstr ""
313
-
314
- #: options-templates/options-template-phrases.php:159
315
- msgid "Load More Button"
316
- msgstr ""
317
-
318
- #: options-templates/options-template-phrases.php:170
319
- msgid "Reply"
320
- msgstr ""
321
-
322
- #: options-templates/options-template-phrases.php:181
323
- msgid "Share"
324
- msgstr ""
325
-
326
- #: options-templates/options-template-phrases.php:192
327
- msgid "Share On Facebook"
328
- msgstr ""
329
-
330
- #: options-templates/options-template-phrases.php:203
331
- msgid "Share On Twitter"
332
- msgstr ""
333
-
334
- #: options-templates/options-template-phrases.php:214
335
- msgid "Share On Google"
336
- msgstr ""
337
-
338
- #: options-templates/options-template-phrases.php:225
339
- msgid "Hide Replies"
340
- msgstr ""
341
-
342
- #: options-templates/options-template-phrases.php:236
343
- msgid "Show Replies"
344
- msgstr ""
345
-
346
- #: options-templates/options-template-phrases.php:247
347
- msgid "Title For Guests"
348
- msgstr ""
349
-
350
- #: options-templates/options-template-phrases.php:258
351
- msgid "Title For Members"
352
- msgstr ""
353
-
354
- #: options-templates/options-template-phrases.php:272
355
- msgid "Title For Authors"
356
- msgstr ""
357
-
358
- #: options-templates/options-template-phrases.php:283
359
- msgid "Title For Admins"
360
- msgstr ""
361
-
362
- #: options-templates/options-template-phrases.php:294
363
- msgid "Email Subject"
364
- msgstr ""
365
-
366
- #: options-templates/options-template-phrases.php:305
367
- msgid "Email Message"
368
- msgstr ""
369
-
370
- #: options-templates/options-template-phrases.php:316
371
- msgid "New Reply Subject"
372
- msgstr ""
373
-
374
- #: options-templates/options-template-phrases.php:320
375
- #: options-templates/options-template-phrases.php:719
376
- msgid "New Reply"
377
- msgstr ""
378
-
379
- #: options-templates/options-template-phrases.php:327
380
- #: options-templates/options-template-phrases.php:371
381
- msgid "New Reply Message"
382
- msgstr ""
383
-
384
- #: options-templates/options-template-phrases.php:338
385
- msgid "Subscribed on this comment replies"
386
- msgstr ""
387
-
388
- #: options-templates/options-template-phrases.php:349
389
- msgid "Subscribed on all your comments replies"
390
- msgstr ""
391
-
392
- #: options-templates/options-template-phrases.php:360
393
- msgid "Subscribed on this post"
394
- msgstr ""
395
-
396
- #: options-templates/options-template-phrases.php:375
397
- msgid "Unsubscribe"
398
- msgstr ""
399
-
400
- #: options-templates/options-template-phrases.php:382
401
- msgid "You've successfully unsubscribed."
402
- msgstr ""
403
-
404
- #: options-templates/options-template-phrases.php:393
405
- msgid "Error message for empty field"
406
- msgstr ""
407
-
408
- #: options-templates/options-template-phrases.php:404
409
- msgid "Error message for invalid email field"
410
- msgstr ""
411
-
412
- #: options-templates/options-template-phrases.php:415
413
- msgid "Year"
414
- msgstr ""
415
-
416
- #: options-templates/options-template-phrases.php:426
417
- msgid "Month"
418
- msgstr ""
419
-
420
- #: options-templates/options-template-phrases.php:437
421
- msgid "Day"
422
- msgstr ""
423
-
424
- #: options-templates/options-template-phrases.php:448
425
- msgid "Hour"
426
- msgstr ""
427
-
428
- #: options-templates/options-template-phrases.php:470
429
- msgid "Second"
430
- msgstr ""
431
-
432
- #: options-templates/options-template-phrases.php:481
433
- msgid "Plural (Ex. user -> user + s)"
434
- msgstr ""
435
-
436
- #: options-templates/options-template-phrases.php:492
437
- msgid "Commented \"right now\" text"
438
- msgstr ""
439
-
440
- #: options-templates/options-template-phrases.php:503
441
- msgid "Ago text"
442
- msgstr ""
443
-
444
- #: options-templates/options-template-phrases.php:514
445
- msgid "\"Today\" text"
446
- msgstr ""
447
-
448
- #: options-templates/options-template-phrases.php:518
449
- msgid "Today"
450
- msgstr ""
451
-
452
- #: options-templates/options-template-phrases.php:525
453
- msgid "You must be"
454
- msgstr ""
455
-
456
- #: options-templates/options-template-phrases.php:537
457
- msgid "Logged in as"
458
- msgstr ""
459
-
460
- #: options-templates/options-template-phrases.php:547
461
- msgid "Log out"
462
- msgstr ""
463
-
464
- #: options-templates/options-template-phrases.php:561
465
- msgid "Logged In"
466
- msgstr ""
467
-
468
- #: options-templates/options-template-phrases.php:572
469
- msgid "To post a comment"
470
- msgstr ""
471
-
472
- #: options-templates/options-template-phrases.php:583
473
- msgid "Vote Up"
474
- msgstr ""
475
-
476
- #: options-templates/options-template-phrases.php:594
477
- msgid "Vote Down"
478
- msgstr ""
479
-
480
- #: options-templates/options-template-phrases.php:605
481
- msgid "Vote Counted"
482
- msgstr ""
483
-
484
- #: options-templates/options-template-phrases.php:616
485
- msgid "You can vote only 1 time"
486
- msgstr ""
487
-
488
- #: options-templates/options-template-phrases.php:627
489
- msgid "Voting Error"
490
- msgstr ""
491
-
492
- #: options-templates/options-template-phrases.php:638
493
- msgid "Login To Vote"
494
- msgstr ""
495
-
496
- #: options-templates/options-template-phrases.php:649
497
- msgid "You Cannot Vote On Your Comment"
498
- msgstr ""
499
-
500
- #: options-templates/options-template-phrases.php:660
501
- msgid "Invalid Captcha Code"
502
- msgstr ""
503
-
504
- #: options-templates/options-template-phrases.php:671
505
- msgid "Some of field value is invalid"
506
- msgstr ""
507
-
508
- #: options-templates/options-template-phrases.php:682
509
- msgid "Comment waiting moderation"
510
- msgstr ""
511
-
512
- #: options-templates/options-template-phrases.php:693
513
- msgid "Button text if has new comment"
514
- msgstr ""
515
-
516
- #: options-templates/options-template-phrases.php:697
517
- msgid "New Comment"
518
- msgstr ""
519
-
520
- #: options-templates/options-template-phrases.php:704
521
- msgid "Button text if has new comments"
522
- msgstr ""
523
-
524
- #: options-templates/options-template-phrases.php:708
525
- msgid "New Comments"
526
- msgstr ""
527
-
528
- #: options-templates/options-template-phrases.php:715
529
- msgid "Button text if has new reply"
530
- msgstr ""
531
-
532
- #: options-templates/options-template-phrases.php:726
533
- msgid "Button text if has new replies"
534
- msgstr ""
535
-
536
- #: options-templates/options-template-phrases.php:730
537
- msgid "New Replies"
538
- msgstr ""
539
-
540
- #: options-templates/options-template-phrases.php:737
541
- msgid "Text on load more button if has new comment(s)"
542
- msgstr ""
543
-
544
- #: options-templates/options-template-phrases.php:741
545
- msgid "New"
546
- msgstr ""
547
-
548
- #: wc-options.php:31 wc-options.php:184
549
- msgid "Hacker?"
550
- msgstr ""
551
-
552
- #: wc-options.php:77
553
- msgid "wpDiscuz General Settings"
554
- msgstr ""
555
-
556
- #: wc-options.php:165 wc-options.php:296
557
- msgid "Save Changes"
558
- msgstr ""
559
-
560
- #: wc-options.php:271
561
- msgid "WpDiscuz Front-end Phrases"
562
- msgstr ""
563
-
564
- #: wc.php:899
565
- msgid "Settings"
566
- msgstr ""
567
-
568
- #: wc.php:900
569
- msgid "Phrases"
570
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
+ "POT-Creation-Date: 2015-03-23 01:17+0400\n"
5
+ "PO-Revision-Date: 2015-03-23 01:17+0400\n"
6
+ "Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
7
+ "Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
21
+
22
+ #: comment-form/form.php:161 comment-form/tpl-comment.php:231
23
+ msgid "Participate in this discussion via email"
24
+ msgstr ""
25
+
26
+ #: comment-form/tpl-comment.php:83
27
+ msgid "Anonymous"
28
+ msgstr ""
29
+
30
+ #: comment-form/tpl-comment.php:165 comment-form/tpl-comment.php:168
31
+ msgid "Edit"
32
+ msgstr ""
33
+
34
+ #: options/options-layouts/settings-general.php:2
35
+ msgid "General Settings"
36
+ msgstr ""
37
+
38
+ #: options/options-layouts/settings-general.php:7
39
+ msgid "Display comment form for post types:"
40
+ msgstr ""
41
+
42
+ #: options/options-layouts/settings-general.php:28
43
+ msgid "User Must be registered to comment"
44
+ msgstr ""
45
+
46
+ #: options/options-layouts/settings-general.php:46
47
+ msgid "Show the latest comments on"
48
+ msgstr ""
49
+
50
+ #: options/options-layouts/settings-general.php:50
51
+ msgid "the top of the list"
52
+ msgstr ""
53
+
54
+ #: options/options-layouts/settings-general.php:52
55
+ msgid "top of the threads"
56
+ msgstr ""
57
+
58
+ #: options/options-layouts/settings-general.php:54
59
+ msgid "bottom of the threads"
60
+ msgstr ""
61
+
62
+ #: options/options-layouts/settings-general.php:56
63
+ msgid "the bottom of the list"
64
+ msgstr ""
65
+
66
+ #: options/options-layouts/settings-general.php:64
67
+ msgid "Comment Threads Per Page"
68
+ msgstr ""
69
+
70
+ #: options/options-layouts/settings-general.php:76
71
+ msgid "Comments max depth"
72
+ msgstr ""
73
+
74
+ #: options/options-layouts/settings-general.php:81
75
+ msgid "Level"
76
+ msgstr ""
77
+
78
+ #: options/options-layouts/settings-general.php:82
79
+ #: options/options-layouts/settings-general.php:83
80
+ #: options/options-layouts/settings-general.php:84
81
+ #: options/options-layouts/settings-general.php:85
82
+ msgid "Levels"
83
+ msgstr ""
84
+
85
+ #: options/options-layouts/settings-general.php:92
86
+ msgid "Comment text size in pixels"
87
+ msgstr ""
88
+
89
+ #: options/options-layouts/settings-general.php:109
90
+ msgid "Allow comment editing for"
91
+ msgstr ""
92
+
93
+ #: options/options-layouts/settings-general.php:114
94
+ msgid "Not Allow"
95
+ msgstr ""
96
+
97
+ #: options/options-layouts/settings-general.php:115
98
+ #: options/options-layouts/settings-general.php:116
99
+ #: options/options-layouts/settings-live-update.php:41
100
+ #: options/options-layouts/settings-live-update.php:42
101
+ #: options/options-layouts/settings-live-update.php:43
102
+ msgid "Minutes"
103
+ msgstr ""
104
+
105
+ #: options/options-layouts/settings-general.php:117
106
+ #: options/phrases-layout/phrases-datetime.php:73
107
+ msgid "Hour"
108
+ msgstr ""
109
+
110
+ #: options/options-layouts/settings-general.php:118
111
+ #: options/options-layouts/settings-general.php:119
112
+ msgid "Hours"
113
+ msgstr ""
114
+
115
+ #: options/options-layouts/settings-general.php:127
116
+ msgid "Use WordPress Date/Time format"
117
+ msgstr ""
118
+
119
+ #: options/options-layouts/settings-general.php:128
120
+ msgid ""
121
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
122
+ "show the date/time format set in WordPress General Settings."
123
+ msgstr ""
124
+
125
+ #: options/options-layouts/settings-general.php:135
126
+ msgid "Current Wordpress date/time format"
127
+ msgstr ""
128
+
129
+ #: options/options-layouts/settings-general.php:144
130
+ msgid ""
131
+ "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
132
+ "use"
133
+ msgstr ""
134
+
135
+ #: options/options-layouts/settings-general.php:146
136
+ msgid ""
137
+ "Please check this option on to help wpDiscuz get more popularity as your "
138
+ "thank to the hard work we do for you totally free. This option adds a very "
139
+ "small (16x16px) icon under the comment section which will allow your site "
140
+ "visitors recognize the name of comment solution you use."
141
+ msgstr ""
142
+
143
+ #: options/options-layouts/settings-general.php:151
144
+ msgid "Thank you!"
145
+ msgstr ""
146
+
147
+ #: options/options-layouts/settings-live-update.php:2
148
+ #: options/wc-options.php:159
149
+ msgid "Live Update"
150
+ msgstr ""
151
+
152
+ #: options/options-layouts/settings-live-update.php:8
153
+ msgid "Live update options"
154
+ msgstr ""
155
+
156
+ #: options/options-layouts/settings-live-update.php:14
157
+ msgid "Never update"
158
+ msgstr ""
159
+
160
+ #: options/options-layouts/settings-live-update.php:16
161
+ msgid "Turn off \"Live Update\" function"
162
+ msgstr ""
163
+
164
+ #: options/options-layouts/settings-live-update.php:18
165
+ msgid "Show new comment/reply buttons to update manualy"
166
+ msgstr ""
167
+
168
+ #: options/options-layouts/settings-live-update.php:20
169
+ msgid "Always check for new comments and show update buttons"
170
+ msgstr ""
171
+
172
+ #: options/options-layouts/settings-live-update.php:22
173
+ msgid "Always update"
174
+ msgstr ""
175
+
176
+ #: options/options-layouts/settings-live-update.php:24
177
+ msgid "Always check for new comments and update automatically"
178
+ msgstr ""
179
+
180
+ #: options/options-layouts/settings-live-update.php:32
181
+ msgid "Update comment list every"
182
+ msgstr ""
183
+
184
+ #: options/options-layouts/settings-live-update.php:37
185
+ #: options/options-layouts/settings-live-update.php:38
186
+ #: options/options-layouts/settings-live-update.php:39
187
+ msgid "Seconds"
188
+ msgstr ""
189
+
190
+ #: options/options-layouts/settings-live-update.php:40
191
+ #: options/phrases-layout/phrases-datetime.php:95
192
+ msgid "Minute"
193
+ msgstr ""
194
+
195
+ #: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:160
196
+ msgid "Show/Hide Components"
197
+ msgstr ""
198
+
199
+ #: options/options-layouts/settings-show-hide.php:7
200
+ msgid "Show logged-in user name and logout link on top of main form"
201
+ msgstr ""
202
+
203
+ #: options/options-layouts/settings-show-hide.php:18
204
+ msgid "Hide Reply button for Guests"
205
+ msgstr ""
206
+
207
+ #: options/options-layouts/settings-show-hide.php:29
208
+ msgid "Hide Reply button for Members"
209
+ msgstr ""
210
+
211
+ #: options/options-layouts/settings-show-hide.php:40
212
+ msgid "Hide Author Titles"
213
+ msgstr ""
214
+
215
+ #: options/options-layouts/settings-show-hide.php:51
216
+ msgid "Hide Voting buttons"
217
+ msgstr ""
218
+
219
+ #: options/options-layouts/settings-show-hide.php:62
220
+ msgid "Hide Share Button"
221
+ msgstr ""
222
+
223
+ #: options/options-layouts/settings-show-hide.php:73
224
+ msgid "Hide the CAPTCHA field"
225
+ msgstr ""
226
+
227
+ #: options/options-layouts/settings-style.php:2 options/wc-options.php:162
228
+ msgid "Background and Colors"
229
+ msgstr ""
230
+
231
+ #: options/options-layouts/settings-style.php:7
232
+ msgid "Comment Form Background Color"
233
+ msgstr ""
234
+
235
+ #: options/options-layouts/settings-style.php:10
236
+ #: options/options-layouts/settings-style.php:34
237
+ #: options/options-layouts/settings-style.php:58
238
+ #: options/options-layouts/settings-style.php:82
239
+ #: options/options-layouts/settings-style.php:107
240
+ #: options/options-layouts/settings-style.php:132
241
+ #: options/options-layouts/settings-style.php:155
242
+ #: options/options-layouts/settings-style.php:178
243
+ msgid "Example: #00ff00"
244
+ msgstr ""
245
+
246
+ #: options/options-layouts/settings-style.php:31
247
+ msgid "Comment Background Color"
248
+ msgstr ""
249
+
250
+ #: options/options-layouts/settings-style.php:55
251
+ msgid "Reply Background Color"
252
+ msgstr ""
253
+
254
+ #: options/options-layouts/settings-style.php:79
255
+ msgid "Comment Text Color"
256
+ msgstr ""
257
+
258
+ #: options/options-layouts/settings-style.php:104
259
+ msgid "Author title color"
260
+ msgstr ""
261
+
262
+ #: options/options-layouts/settings-style.php:129
263
+ msgid "Vote, Reply, Share, Edit links text colors"
264
+ msgstr ""
265
+
266
+ #: options/options-layouts/settings-style.php:152
267
+ msgid "Comment form fields border color"
268
+ msgstr ""
269
+
270
+ #: options/options-layouts/settings-style.php:175
271
+ msgid "New loaded comments' background color"
272
+ msgstr ""
273
+
274
+ #: options/options-layouts/settings-style.php:199
275
+ msgid "Custom CSS Code"
276
+ msgstr ""
277
+
278
+ #: options/options-layouts/settings-subscription.php:2
279
+ msgid "Email Subscription Settings"
280
+ msgstr ""
281
+
282
+ #: options/options-layouts/settings-subscription.php:7
283
+ msgid "Show \"Notify of all new follow-up comments\""
284
+ msgstr ""
285
+
286
+ #: options/options-layouts/settings-subscription.php:8
287
+ msgid "Show \"Notify of new replies to all my comments\""
288
+ msgstr ""
289
+
290
+ #: options/options-layouts/settings-subscription.php:9
291
+ msgid "Show \"Notify of new replies to this comment\""
292
+ msgstr ""
293
+
294
+ #: options/options-layouts/settings-subscription.php:11
295
+ msgid ""
296
+ "Please keep all three or at least one of those options ON, otherwise users "
297
+ "will not have any option for email notifications and they'll not get any "
298
+ "messages."
299
+ msgstr ""
300
+
301
+ #: options/options-layouts/settings-subscription.php:30
302
+ msgid "Use Postmatic for subscriptions and commenting by email"
303
+ msgstr ""
304
+
305
+ #: options/options-layouts/settings-subscription.php:31
306
+ msgid ""
307
+ "Postmatic allows your users subscribe to comments. Instead of just being "
308
+ "notified, they add a reply right from their inbox."
309
+ msgstr ""
310
+
311
+ #: options/options-layouts/settings-subscription.php:42
312
+ msgid ""
313
+ "Keep selected the email notification of all new follow-up comments by default"
314
+ msgstr ""
315
+
316
+ #: options/options-layouts/settings-subscription.php:43
317
+ msgid ""
318
+ "If this option is checked-on, in Manage Subscriptions section of comment "
319
+ "forms will only be displayed the \"Notify of all new follow-up comments\" "
320
+ "option and this option will always be selected by default."
321
+ msgstr ""
322
+
323
+ #: options/phrases-layout/phrases-comment.php:2
324
+ msgid "Comment Template Phrases"
325
+ msgstr ""
326
+
327
+ #: options/phrases-layout/phrases-comment.php:7
328
+ #: options/wc-options-serialize.php:344
329
+ msgid "Reply"
330
+ msgstr ""
331
+
332
+ #: options/phrases-layout/phrases-comment.php:17
333
+ #: options/wc-options-serialize.php:345
334
+ msgid "Share"
335
+ msgstr ""
336
+
337
+ #: options/phrases-layout/phrases-comment.php:27
338
+ #: options/wc-options-serialize.php:346
339
+ msgid "Share On Facebook"
340
+ msgstr ""
341
+
342
+ #: options/phrases-layout/phrases-comment.php:37
343
+ #: options/wc-options-serialize.php:347
344
+ msgid "Share On Twitter"
345
+ msgstr ""
346
+
347
+ #: options/phrases-layout/phrases-comment.php:47
348
+ #: options/wc-options-serialize.php:348
349
+ msgid "Share On Google"
350
+ msgstr ""
351
+
352
+ #: options/phrases-layout/phrases-comment.php:57
353
+ #: options/wc-options-serialize.php:349
354
+ msgid "Hide Replies"
355
+ msgstr ""
356
+
357
+ #: options/phrases-layout/phrases-comment.php:67
358
+ #: options/wc-options-serialize.php:350
359
+ msgid "Show Replies"
360
+ msgstr ""
361
+
362
+ #: options/phrases-layout/phrases-comment.php:77
363
+ msgid "Title For Guests"
364
+ msgstr ""
365
+
366
+ #: options/phrases-layout/phrases-comment.php:87
367
+ msgid "Title For Members"
368
+ msgstr ""
369
+
370
+ #: options/phrases-layout/phrases-comment.php:97
371
+ msgid "Title For Authors"
372
+ msgstr ""
373
+
374
+ #: options/phrases-layout/phrases-comment.php:107
375
+ msgid "Title For Admins"
376
+ msgstr ""
377
+
378
+ #: options/phrases-layout/phrases-comment.php:117
379
+ #: options/wc-options-serialize.php:391
380
+ msgid "Vote Up"
381
+ msgstr ""
382
+
383
+ #: options/phrases-layout/phrases-comment.php:127
384
+ #: options/wc-options-serialize.php:392
385
+ msgid "Vote Down"
386
+ msgstr ""
387
+
388
+ #: options/phrases-layout/phrases-comment.php:137
389
+ msgid "Save edited comment button text"
390
+ msgstr ""
391
+
392
+ #: options/phrases-layout/phrases-comment.php:141
393
+ #: options/wc-options-serialize.php:409
394
+ msgid "Save"
395
+ msgstr ""
396
+
397
+ #: options/phrases-layout/phrases-comment.php:147
398
+ msgid "Cancel comment editing button text"
399
+ msgstr ""
400
+
401
+ #: options/phrases-layout/phrases-comment.php:151
402
+ #: options/wc-options-serialize.php:410
403
+ msgid "Cancel"
404
+ msgstr ""
405
+
406
+ #: options/phrases-layout/phrases-datetime.php:2
407
+ msgid "Date/Time Phrases"
408
+ msgstr ""
409
+
410
+ #: options/phrases-layout/phrases-datetime.php:7
411
+ msgid "Year"
412
+ msgstr ""
413
+
414
+ #: options/phrases-layout/phrases-datetime.php:18
415
+ msgid "Years (Plural Form)"
416
+ msgstr ""
417
+
418
+ #: options/phrases-layout/phrases-datetime.php:22
419
+ msgid "Years"
420
+ msgstr ""
421
+
422
+ #: options/phrases-layout/phrases-datetime.php:29
423
+ msgid "Month"
424
+ msgstr ""
425
+
426
+ #: options/phrases-layout/phrases-datetime.php:40
427
+ msgid "Months (Plural Form)"
428
+ msgstr ""
429
+
430
+ #: options/phrases-layout/phrases-datetime.php:51
431
+ msgid "Day"
432
+ msgstr ""
433
+
434
+ #: options/phrases-layout/phrases-datetime.php:62
435
+ msgid "Days (Plural Form)"
436
+ msgstr ""
437
+
438
+ #: options/phrases-layout/phrases-datetime.php:84
439
+ msgid "Hours (Plural Form)"
440
+ msgstr ""
441
+
442
+ #: options/phrases-layout/phrases-datetime.php:106
443
+ msgid "Minutes (Plural Form)"
444
+ msgstr ""
445
+
446
+ #: options/phrases-layout/phrases-datetime.php:117
447
+ msgid "Second"
448
+ msgstr ""
449
+
450
+ #: options/phrases-layout/phrases-datetime.php:128
451
+ msgid "Seconds (Plural Form)"
452
+ msgstr ""
453
+
454
+ #: options/phrases-layout/phrases-datetime.php:138
455
+ msgid "Commented \"right now\" text"
456
+ msgstr ""
457
+
458
+ #: options/phrases-layout/phrases-datetime.php:149
459
+ msgid "Ago text"
460
+ msgstr ""
461
+
462
+ #: options/phrases-layout/phrases-datetime.php:160
463
+ msgid "\"Today\" text"
464
+ msgstr ""
465
+
466
+ #: options/phrases-layout/phrases-datetime.php:164
467
+ #: options/wc-options-serialize.php:385
468
+ msgid "Today"
469
+ msgstr ""
470
+
471
+ #: options/phrases-layout/phrases-email.php:2
472
+ msgid "Email Template Phrases"
473
+ msgstr ""
474
+
475
+ #: options/phrases-layout/phrases-email.php:7
476
+ msgid "Email Subject"
477
+ msgstr ""
478
+
479
+ #: options/phrases-layout/phrases-email.php:18
480
+ msgid "Email Message"
481
+ msgstr ""
482
+
483
+ #: options/phrases-layout/phrases-email.php:29
484
+ msgid "New Reply Subject"
485
+ msgstr ""
486
+
487
+ #: options/phrases-layout/phrases-email.php:33
488
+ #: options/phrases-layout/phrases-general.php:91
489
+ #: options/wc-options-serialize.php:357
490
+ msgid "New Reply"
491
+ msgstr ""
492
+
493
+ #: options/phrases-layout/phrases-email.php:40
494
+ msgid "New Reply Message"
495
+ msgstr ""
496
+
497
+ #: options/phrases-layout/phrases-email.php:50
498
+ #: options/phrases-layout/phrases-email.php:54
499
+ #: options/wc-options-serialize.php:362
500
+ msgid "Unsubscribe"
501
+ msgstr ""
502
+
503
+ #: options/phrases-layout/phrases-email.php:61
504
+ #: options/phrases-layout/phrases-email.php:65
505
+ #: options/wc-options-serialize.php:363
506
+ msgid "Ignore Subscription"
507
+ msgstr ""
508
+
509
+ #: options/phrases-layout/phrases-email.php:72
510
+ #: options/phrases-layout/phrases-email.php:76
511
+ #: options/wc-options-serialize.php:365
512
+ msgid "Confirm your subscribtion"
513
+ msgstr ""
514
+
515
+ #: options/phrases-layout/phrases-email.php:82
516
+ #: options/phrases-layout/phrases-email.php:86
517
+ #: options/wc-options-serialize.php:366
518
+ msgid "You've successfully confirmed your subscription."
519
+ msgstr ""
520
+
521
+ #: options/phrases-layout/phrases-email.php:92
522
+ msgid "Subscribe Confirmation Email Subject"
523
+ msgstr ""
524
+
525
+ #: options/phrases-layout/phrases-email.php:96
526
+ #: options/wc-options-serialize.php:367 wc.php:877
527
+ msgid "Subscribe Confirmation"
528
+ msgstr ""
529
+
530
+ #: options/phrases-layout/phrases-email.php:103
531
+ msgid "Subscribe Confirmation Email Content"
532
+ msgstr ""
533
+
534
+ #: options/phrases-layout/phrases-email.php:107
535
+ #: options/wc-options-serialize.php:368 wc.php:878
536
+ msgid ""
537
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
538
+ "you will receive an email when new comments are posted according to "
539
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
540
+ "If you believe this is an error, ignore this message and we'll never bother "
541
+ "you again."
542
+ msgstr ""
543
+
544
+ #: options/phrases-layout/phrases-form.php:2
545
+ msgid "Form Template Phrases"
546
+ msgstr ""
547
+
548
+ #: options/phrases-layout/phrases-form.php:7
549
+ msgid "Comment Field Start"
550
+ msgstr ""
551
+
552
+ #: options/phrases-layout/phrases-form.php:17
553
+ msgid "Comment Field Join"
554
+ msgstr ""
555
+
556
+ #: options/phrases-layout/phrases-form.php:27
557
+ msgid "Email Field"
558
+ msgstr ""
559
+
560
+ #: options/phrases-layout/phrases-form.php:37
561
+ msgid "Name Field"
562
+ msgstr ""
563
+
564
+ #: options/phrases-layout/phrases-form.php:47
565
+ msgid "CAPTCHA Field"
566
+ msgstr ""
567
+
568
+ #: options/phrases-layout/phrases-form.php:57
569
+ msgid "Submit Button"
570
+ msgstr ""
571
+
572
+ #: options/phrases-layout/phrases-form.php:67
573
+ #: options/phrases-layout/phrases-form.php:71
574
+ #: options/wc-options-serialize.php:338
575
+ msgid "Manage Subscriptions"
576
+ msgstr ""
577
+
578
+ #: options/phrases-layout/phrases-form.php:77
579
+ msgid "Notify \"None\""
580
+ msgstr ""
581
+
582
+ #: options/phrases-layout/phrases-form.php:81
583
+ #: options/wc-options-serialize.php:339
584
+ msgid "None"
585
+ msgstr ""
586
+
587
+ #: options/phrases-layout/phrases-form.php:87
588
+ msgid "Notify on new comments (checkbox)"
589
+ msgstr ""
590
+
591
+ #: options/phrases-layout/phrases-form.php:91
592
+ #: options/wc-options-serialize.php:340
593
+ msgid "Notify of all new follow-up comments"
594
+ msgstr ""
595
+
596
+ #: options/phrases-layout/phrases-form.php:98
597
+ msgid "Notify on all new replies (checkbox)"
598
+ msgstr ""
599
+
600
+ #: options/phrases-layout/phrases-form.php:102
601
+ #: options/wc-options-serialize.php:341
602
+ msgid "Notify of new replies to all my comments"
603
+ msgstr ""
604
+
605
+ #: options/phrases-layout/phrases-form.php:109
606
+ msgid "Notify on new replies (checkbox)"
607
+ msgstr ""
608
+
609
+ #: options/phrases-layout/phrases-form.php:113
610
+ #: options/wc-options-serialize.php:342
611
+ msgid "Notify of new replies to this comment"
612
+ msgstr ""
613
+
614
+ #: options/phrases-layout/phrases-form.php:119
615
+ msgid "Subscribed on this comment replies"
616
+ msgstr ""
617
+
618
+ #: options/phrases-layout/phrases-form.php:129
619
+ msgid "Subscribed on all your comments replies"
620
+ msgstr ""
621
+
622
+ #: options/phrases-layout/phrases-form.php:139
623
+ msgid "Subscribed on this post"
624
+ msgstr ""
625
+
626
+ #: options/phrases-layout/phrases-general.php:2
627
+ msgid "General Phrases"
628
+ msgstr ""
629
+
630
+ #: options/phrases-layout/phrases-general.php:7
631
+ #: options/wc-options-serialize.php:327
632
+ msgid "Leave a Reply"
633
+ msgstr ""
634
+
635
+ #: options/phrases-layout/phrases-general.php:17
636
+ msgid "Be the first to comment"
637
+ msgstr ""
638
+
639
+ #: options/phrases-layout/phrases-general.php:27
640
+ #: options/wc-options-serialize.php:329 options/wc-options.php:323
641
+ msgid "Comment"
642
+ msgstr ""
643
+
644
+ #: options/phrases-layout/phrases-general.php:37
645
+ msgid "Comment (Plural Form)"
646
+ msgstr ""
647
+
648
+ #: options/phrases-layout/phrases-general.php:47
649
+ msgid "On"
650
+ msgstr ""
651
+
652
+ #: options/phrases-layout/phrases-general.php:57
653
+ msgid "Load More Button"
654
+ msgstr ""
655
+
656
+ #: options/phrases-layout/phrases-general.php:67
657
+ msgid "Button text if has new comment"
658
+ msgstr ""
659
+
660
+ #: options/phrases-layout/phrases-general.php:71
661
+ #: options/wc-options-serialize.php:355
662
+ msgid "New Comment"
663
+ msgstr ""
664
+
665
+ #: options/phrases-layout/phrases-general.php:77
666
+ msgid "Button text if has new comments"
667
+ msgstr ""
668
+
669
+ #: options/phrases-layout/phrases-general.php:81
670
+ msgid "New Comments"
671
+ msgstr ""
672
+
673
+ #: options/phrases-layout/phrases-general.php:87
674
+ msgid "Button text if has new reply"
675
+ msgstr ""
676
+
677
+ #: options/phrases-layout/phrases-general.php:97
678
+ msgid "Button text if has new replies"
679
+ msgstr ""
680
+
681
+ #: options/phrases-layout/phrases-general.php:101
682
+ msgid "New Replies"
683
+ msgstr ""
684
+
685
+ #: options/phrases-layout/phrases-general.php:107
686
+ msgid "Text on load more button if has new comment(s)"
687
+ msgstr ""
688
+
689
+ #: options/phrases-layout/phrases-general.php:111
690
+ #: options/wc-options-serialize.php:405
691
+ msgid "New"
692
+ msgstr ""
693
+
694
+ #: options/phrases-layout/phrases-notification.php:2
695
+ msgid "Notification Phrases"
696
+ msgstr ""
697
+
698
+ #: options/phrases-layout/phrases-notification.php:7
699
+ #: options/wc-options-serialize.php:364
700
+ msgid "You've successfully unsubscribed."
701
+ msgstr ""
702
+
703
+ #: options/phrases-layout/phrases-notification.php:18
704
+ msgid "Error message for empty field"
705
+ msgstr ""
706
+
707
+ #: options/phrases-layout/phrases-notification.php:28
708
+ msgid "Error message for invalid email field"
709
+ msgstr ""
710
+
711
+ #: options/phrases-layout/phrases-notification.php:38
712
+ #: options/wc-options-serialize.php:386
713
+ msgid "You must be"
714
+ msgstr ""
715
+
716
+ #: options/phrases-layout/phrases-notification.php:48
717
+ msgid "Logged in as"
718
+ msgstr ""
719
+
720
+ #: options/phrases-layout/phrases-notification.php:58
721
+ #: options/wc-options-serialize.php:388
722
+ msgid "Log out"
723
+ msgstr ""
724
+
725
+ #: options/phrases-layout/phrases-notification.php:68
726
+ msgid "Logged In"
727
+ msgstr ""
728
+
729
+ #: options/phrases-layout/phrases-notification.php:78
730
+ msgid "To post a comment"
731
+ msgstr ""
732
+
733
+ #: options/phrases-layout/phrases-notification.php:88
734
+ #: options/wc-options-serialize.php:393
735
+ msgid "Vote Counted"
736
+ msgstr ""
737
+
738
+ #: options/phrases-layout/phrases-notification.php:98
739
+ msgid "You can vote only 1 time"
740
+ msgstr ""
741
+
742
+ #: options/phrases-layout/phrases-notification.php:108
743
+ #: options/wc-options-serialize.php:395
744
+ msgid "Voting Error"
745
+ msgstr ""
746
+
747
+ #: options/phrases-layout/phrases-notification.php:118
748
+ msgid "Login To Vote"
749
+ msgstr ""
750
+
751
+ #: options/phrases-layout/phrases-notification.php:128
752
+ msgid "You Cannot Vote On Your Comment"
753
+ msgstr ""
754
+
755
+ #: options/phrases-layout/phrases-notification.php:138
756
+ #: options/wc-options-serialize.php:398
757
+ msgid "Invalid Captcha Code"
758
+ msgstr ""
759
+
760
+ #: options/phrases-layout/phrases-notification.php:148
761
+ #: options/wc-options-serialize.php:399
762
+ msgid "Some of field value is invalid"
763
+ msgstr ""
764
+
765
+ #: options/phrases-layout/phrases-notification.php:158
766
+ msgid "Comment waiting moderation"
767
+ msgstr ""
768
+
769
+ #: options/phrases-layout/phrases-notification.php:168
770
+ msgid "Message if comment was not updated"
771
+ msgstr ""
772
+
773
+ #: options/phrases-layout/phrases-notification.php:172
774
+ #: options/wc-options-serialize.php:406
775
+ msgid "Sorry, the comment was not updated"
776
+ msgstr ""
777
+
778
+ #: options/phrases-layout/phrases-notification.php:178
779
+ msgid "Message if comment no longer possible to edit"
780
+ msgstr ""
781
+
782
+ #: options/phrases-layout/phrases-notification.php:182
783
+ #: options/wc-options-serialize.php:407
784
+ msgid "Sorry, this comment no longer possible to edit"
785
+ msgstr ""
786
+
787
+ #: options/phrases-layout/phrases-notification.php:189
788
+ msgid "Message if comment text not changed"
789
+ msgstr ""
790
+
791
+ #: options/phrases-layout/phrases-notification.php:193
792
+ msgid "TYou've not made any changes"
793
+ msgstr ""
794
+
795
+ #: options/wc-options-serialize.php:328
796
+ msgid "Be the First to Comment!"
797
+ msgstr ""
798
+
799
+ #: options/wc-options-serialize.php:330
800
+ msgid "Comments"
801
+ msgstr ""
802
+
803
+ #: options/wc-options-serialize.php:331
804
+ msgid "on"
805
+ msgstr ""
806
+
807
+ #: options/wc-options-serialize.php:332
808
+ msgid "Start the discussion"
809
+ msgstr ""
810
+
811
+ #: options/wc-options-serialize.php:333
812
+ msgid "Join the discussion"
813
+ msgstr ""
814
+
815
+ #: options/wc-options-serialize.php:334 options/wc-options.php:325
816
+ msgid "Email"
817
+ msgstr ""
818
+
819
+ #: options/wc-options-serialize.php:335
820
+ msgid "Name"
821
+ msgstr ""
822
+
823
+ #: options/wc-options-serialize.php:336
824
+ msgid "Please insert the code above to comment"
825
+ msgstr ""
826
+
827
+ #: options/wc-options-serialize.php:337
828
+ msgid "Post Comment"
829
+ msgstr ""
830
+
831
+ #: options/wc-options-serialize.php:343
832
+ msgid "Load More Comments"
833
+ msgstr ""
834
+
835
+ #: options/wc-options-serialize.php:351
836
+ msgid "Guest"
837
+ msgstr ""
838
+
839
+ #: options/wc-options-serialize.php:352
840
+ msgid "Member"
841
+ msgstr ""
842
+
843
+ #: options/wc-options-serialize.php:353
844
+ msgid "Author"
845
+ msgstr ""
846
+
847
+ #: options/wc-options-serialize.php:354
848
+ msgid "Admin"
849
+ msgstr ""
850
+
851
+ #: options/wc-options-serialize.php:356
852
+ msgid "New comment on the discussion section you've been interested in"
853
+ msgstr ""
854
+
855
+ #: options/wc-options-serialize.php:358
856
+ msgid "New reply on the discussion section you've been interested in"
857
+ msgstr ""
858
+
859
+ #: options/wc-options-serialize.php:359
860
+ msgid "You're subscribed for new replies on this comment"
861
+ msgstr ""
862
+
863
+ #: options/wc-options-serialize.php:360
864
+ msgid "You're subscribed for new replies on all your comments"
865
+ msgstr ""
866
+
867
+ #: options/wc-options-serialize.php:361
868
+ msgid "You're subscribed for new follow-up comments on this post"
869
+ msgstr ""
870
+
871
+ #: options/wc-options-serialize.php:369
872
+ msgid "please fill out this field to comment"
873
+ msgstr ""
874
+
875
+ #: options/wc-options-serialize.php:370
876
+ msgid "email address is invalid"
877
+ msgstr ""
878
+
879
+ #: options/wc-options-serialize.php:371
880
+ msgid "year"
881
+ msgstr ""
882
+
883
+ #: options/wc-options-serialize.php:372
884
+ msgid "years"
885
+ msgstr ""
886
+
887
+ #: options/wc-options-serialize.php:373
888
+ msgid "month"
889
+ msgstr ""
890
+
891
+ #: options/wc-options-serialize.php:374
892
+ msgid "months"
893
+ msgstr ""
894
+
895
+ #: options/wc-options-serialize.php:375
896
+ msgid "day"
897
+ msgstr ""
898
+
899
+ #: options/wc-options-serialize.php:376
900
+ msgid "days"
901
+ msgstr ""
902
+
903
+ #: options/wc-options-serialize.php:377
904
+ msgid "hour"
905
+ msgstr ""
906
+
907
+ #: options/wc-options-serialize.php:378
908
+ msgid "hours"
909
+ msgstr ""
910
+
911
+ #: options/wc-options-serialize.php:379
912
+ msgid "minute"
913
+ msgstr ""
914
+
915
+ #: options/wc-options-serialize.php:380
916
+ msgid "minutes"
917
+ msgstr ""
918
+
919
+ #: options/wc-options-serialize.php:381
920
+ msgid "second"
921
+ msgstr ""
922
+
923
+ #: options/wc-options-serialize.php:382
924
+ msgid "seconds"
925
+ msgstr ""
926
+
927
+ #: options/wc-options-serialize.php:383
928
+ msgid "right now"
929
+ msgstr ""
930
+
931
+ #: options/wc-options-serialize.php:384
932
+ msgid "ago"
933
+ msgstr ""
934
+
935
+ #: options/wc-options-serialize.php:387
936
+ msgid "You are logged in as"
937
+ msgstr ""
938
+
939
+ #: options/wc-options-serialize.php:389
940
+ msgid "logged in"
941
+ msgstr ""
942
+
943
+ #: options/wc-options-serialize.php:390
944
+ msgid "to post a comment."
945
+ msgstr ""
946
+
947
+ #: options/wc-options-serialize.php:394
948
+ msgid "You've already voted for this comment"
949
+ msgstr ""
950
+
951
+ #: options/wc-options-serialize.php:396
952
+ msgid "You Must Be Logged In To Vote"
953
+ msgstr ""
954
+
955
+ #: options/wc-options-serialize.php:397
956
+ msgid "You cannot vote for your comment"
957
+ msgstr ""
958
+
959
+ #: options/wc-options-serialize.php:400
960
+ msgid "new comment"
961
+ msgstr ""
962
+
963
+ #: options/wc-options-serialize.php:401
964
+ msgid "new comments"
965
+ msgstr ""
966
+
967
+ #: options/wc-options-serialize.php:402
968
+ msgid "Your Comment awaiting moderation"
969
+ msgstr ""
970
+
971
+ #: options/wc-options-serialize.php:403
972
+ msgid "new reply on your comment"
973
+ msgstr ""
974
+
975
+ #: options/wc-options-serialize.php:404
976
+ msgid "new replies on your comments"
977
+ msgstr ""
978
+
979
+ #: options/wc-options-serialize.php:408
980
+ msgid "You've not made any changes"
981
+ msgstr ""
982
+
983
+ #: options/wc-options.php:29 options/wc-options.php:208
984
+ msgid "Hacker?"
985
+ msgstr ""
986
+
987
+ #: options/wc-options.php:78
988
+ msgid "wpDiscuz General Settings"
989
+ msgstr ""
990
+
991
+ #: options/wc-options.php:158
992
+ msgid "General settings"
993
+ msgstr ""
994
+
995
+ #: options/wc-options.php:161
996
+ msgid "Email Subscription"
997
+ msgstr ""
998
+
999
+ #: options/wc-options.php:161
1000
+ msgid "and Postmatic"
1001
+ msgstr ""
1002
+
1003
+ #: options/wc-options.php:190 options/wc-options.php:353
1004
+ msgid "Save Changes"
1005
+ msgstr ""
1006
+
1007
+ #: options/wc-options.php:311
1008
+ msgid "WpDiscuz Front-end Phrases"
1009
+ msgstr ""
1010
+
1011
+ #: options/wc-options.php:321
1012
+ msgid "General"
1013
+ msgstr ""
1014
+
1015
+ #: options/wc-options.php:322
1016
+ msgid "Form"
1017
+ msgstr ""
1018
+
1019
+ #: options/wc-options.php:324
1020
+ msgid "Date/Time"
1021
+ msgstr ""
1022
+
1023
+ #: options/wc-options.php:326
1024
+ msgid "Notification"
1025
+ msgstr ""
1026
+
1027
+ #: wc.php:954
1028
+ msgid "Settings"
1029
+ msgstr ""
1030
+
1031
+ #: wc.php:955
1032
+ msgid "Phrases"
1033
+ msgstr ""
languages/wpdiscuz-pt_PT.po CHANGED
@@ -1,698 +1,698 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
- "POT-Creation-Date: 2015-03-11 01:00-0000\n"
5
- "PO-Revision-Date: 2015-03-12 00:47-0000\n"
6
- "Last-Translator: Celso Azevedo <mail@celsoazevedo.net>\n"
7
- "Language-Team: Celso Azevedo <mail@celsoazevedo.net>\n"
8
- "Language: pt_PT\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
17
- "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Poedit-SearchPathExcluded-0: *.js\n"
21
-
22
- #: comment-form/tpl-comment.php:158 comment-form/tpl-comment.php:161
23
- msgid "Edit"
24
- msgstr "Editar"
25
-
26
- #: options-templates/options-template-main.php:1
27
- msgid "General settings"
28
- msgstr "Opções gerais"
29
-
30
- #: options-templates/options-template-main.php:5
31
- msgid "Display comment form for post types:"
32
- msgstr "Mostrar o formulário de comentário em:"
33
-
34
- #: options-templates/options-template-main.php:26
35
- msgid "Show the latest comments on"
36
- msgstr "Mostrar os últimos comentários no"
37
-
38
- #: options-templates/options-template-main.php:30
39
- msgid "the top of the list"
40
- msgstr "no topo da lista de comentários"
41
-
42
- #: options-templates/options-template-main.php:32
43
- msgid "top of the threads"
44
- msgstr "no topo"
45
-
46
- #: options-templates/options-template-main.php:34
47
- msgid "bottom of the threads"
48
- msgstr "no fim"
49
-
50
- #: options-templates/options-template-main.php:36
51
- msgid "the bottom of the list"
52
- msgstr "no fim da lista de comentários"
53
-
54
- #: options-templates/options-template-main.php:44
55
- msgid "Live update options"
56
- msgstr "Opções de atualização automática"
57
-
58
- #: options-templates/options-template-main.php:50
59
- msgid "Never update"
60
- msgstr "Nunca atualizar"
61
-
62
- #: options-templates/options-template-main.php:52
63
- msgid "Turn off \"Live Update\" function"
64
- msgstr "Desligar a opção \"Atualização automática\""
65
-
66
- #: options-templates/options-template-main.php:54
67
- msgid "Show new comment/reply buttons to update manualy"
68
- msgstr ""
69
- "Mostrar os botões de novo comentário e resposta para atualizar manualmente"
70
-
71
- #: options-templates/options-template-main.php:56
72
- msgid "Always check for new comments and show update buttons"
73
- msgstr "Sempre verificar novos comentários e exibir botões de atualização"
74
-
75
- #: options-templates/options-template-main.php:58
76
- msgid "Always update"
77
- msgstr "Atualizar sempre"
78
-
79
- #: options-templates/options-template-main.php:60
80
- msgid "Always check for new comments and update automatically"
81
- msgstr "Sempre verificar novos comentários e atualizar automaticamente"
82
-
83
- #: options-templates/options-template-main.php:68
84
- msgid "Update comment list every"
85
- msgstr "Atualizar a lista de comentário a cada"
86
-
87
- #: options-templates/options-template-main.php:73
88
- #: options-templates/options-template-main.php:74
89
- #: options-templates/options-template-main.php:75
90
- msgid "Seconds"
91
- msgstr "Segundos"
92
-
93
- #: options-templates/options-template-main.php:76
94
- #: options-templates/options-template-phrases.php:519
95
- msgid "Minute"
96
- msgstr "Minuto"
97
-
98
- #: options-templates/options-template-main.php:77
99
- #: options-templates/options-template-main.php:78
100
- #: options-templates/options-template-main.php:79
101
- #: options-templates/options-template-main.php:92
102
- #: options-templates/options-template-main.php:93
103
- msgid "Minutes"
104
- msgstr "Minutos"
105
-
106
- #: options-templates/options-template-main.php:86
107
- msgid "Allow comment editing for"
108
- msgstr "Permitir a edição de comentários por"
109
-
110
- #: options-templates/options-template-main.php:91
111
- msgid "Not Allow"
112
- msgstr "Não Permitir"
113
-
114
- #: options-templates/options-template-main.php:94
115
- #: options-templates/options-template-phrases.php:508
116
- msgid "Hour"
117
- msgstr "Hora"
118
-
119
- #: options-templates/options-template-main.php:95
120
- #: options-templates/options-template-main.php:96
121
- msgid "Hours"
122
- msgstr "Horas"
123
-
124
- #: options-templates/options-template-main.php:103
125
- msgid "Hide Voting buttons"
126
- msgstr "Esconder os botões de votação"
127
-
128
- #: options-templates/options-template-main.php:114
129
- msgid "Hide Share Button"
130
- msgstr "Esconder o botão de partilha"
131
-
132
- #: options-templates/options-template-main.php:125
133
- msgid "Hide the CAPTCHA field"
134
- msgstr "Esconder o campo Captcha"
135
-
136
- #: options-templates/options-template-main.php:136
137
- msgid "User Must be registered to comment"
138
- msgstr "O utilizador deve estar registado para comentar"
139
-
140
- #: options-templates/options-template-main.php:154
141
- msgid "Show logged-in user name and logout link on top of main form"
142
- msgstr ""
143
- "Exibir o username no topo do formulário principal quando o utilizador tem o "
144
- "login feito"
145
-
146
- #: options-templates/options-template-main.php:165
147
- msgid "Held new comments for moderation"
148
- msgstr "Reter os novos comentários para moderação"
149
-
150
- #: options-templates/options-template-main.php:176
151
- msgid "Hide Reply button for Guests"
152
- msgstr "Esconder o botão Responder a visitantes"
153
-
154
- #: options-templates/options-template-main.php:187
155
- msgid "Hide Reply button for Members"
156
- msgstr "Esconder o botão Responder a membros"
157
-
158
- #: options-templates/options-template-main.php:198
159
- msgid "Hide Author Titles"
160
- msgstr "Esconder título do autor do comentário"
161
-
162
- #: options-templates/options-template-main.php:209
163
- msgid "Comment Threads Per Page"
164
- msgstr "Comentários Por Página"
165
-
166
- #: options-templates/options-template-main.php:220
167
- msgid "Comments max depth"
168
- msgstr "Níveis de respostas a comentários"
169
-
170
- #: options-templates/options-template-main.php:225
171
- msgid "Level"
172
- msgstr "Nível"
173
-
174
- #: options-templates/options-template-main.php:226
175
- #: options-templates/options-template-main.php:227
176
- #: options-templates/options-template-main.php:228
177
- #: options-templates/options-template-main.php:229
178
- msgid "Levels"
179
- msgstr "Níveis"
180
-
181
- #: options-templates/options-template-main.php:236
182
- msgid "Use WordPress Date/Time format"
183
- msgstr "Usar o formato de data e tempo do WordPress"
184
-
185
- #: options-templates/options-template-main.php:237
186
- msgid ""
187
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
188
- "show the date/time format set in WordPress General Settings."
189
- msgstr ""
190
- "O wpDiscuz mostra uma data mais amigável. Ao selecionar esta opção, o "
191
- "plugin vai usar o formato de data/hora definido na página de Opções do "
192
- "WordPress."
193
-
194
- #: options-templates/options-template-main.php:248
195
- msgid ""
196
- "Keep checked-on the email notification checkboxes on comment form by default"
197
- msgstr ""
198
- "Deixar as opções de notificação por email no formulário de comentário "
199
- "ativas por defeito"
200
-
201
- #: options-templates/options-template-main.php:259
202
- msgid "Show \"Notify of all new follow-up comments\""
203
- msgstr "Mostrar \"Notificar-me de novos comentários\""
204
-
205
- #: options-templates/options-template-main.php:260
206
- msgid "Show \"Notify of new replies to all my comments\""
207
- msgstr "Mostrar \"Notificar-me de novos comentários\""
208
-
209
- #: options-templates/options-template-main.php:261
210
- msgid "Show \"Notify of new replies to this comment\""
211
- msgstr "Mostrar \"Notificar-me de respostas a este comentário\""
212
-
213
- #: options-templates/options-template-main.php:263
214
- msgid ""
215
- "Please keep all three or at least one of those options ON, otherwise users "
216
- "will not have any option for email notifications and they'll not get any "
217
- "messages."
218
- msgstr ""
219
- "Mantenha pelo menos uma destas opções ativas para exibir uma opção de "
220
- "subscrição aos utilizadores."
221
-
222
- #: options-templates/options-template-main.php:282
223
- msgid "Use Postmatic for subscriptions and commenting by email"
224
- msgstr "Usar o Postmatic para subscrições e comentários via email"
225
-
226
- #: options-templates/options-template-main.php:283
227
- msgid ""
228
- "Postmatic allows your users subscribe to comments. Instead of just being "
229
- "notified, they add a reply right from their inbox."
230
- msgstr ""
231
- "O Postmatic permite que os seus utilizadores subscrevam aos comentários. Em "
232
- "vez de serem apenas notificados, eles podem responder diretamente via email."
233
-
234
- #: options-templates/options-template-main.php:294
235
- msgid "Comment text size in pixels"
236
- msgstr "Tamanho do texto do comentário em pixeis."
237
-
238
- #: options-templates/options-template-main.php:310
239
- msgid "Comment Form Background Color"
240
- msgstr "Cor de fundo do formulário de comentário"
241
-
242
- #: options-templates/options-template-main.php:313
243
- #: options-templates/options-template-main.php:337
244
- #: options-templates/options-template-main.php:361
245
- #: options-templates/options-template-main.php:385
246
- #: options-templates/options-template-main.php:410
247
- #: options-templates/options-template-main.php:435
248
- #: options-templates/options-template-main.php:459
249
- msgid "Example: #00ff00"
250
- msgstr "Exemplo: #00ff00"
251
-
252
- #: options-templates/options-template-main.php:334
253
- msgid "Comment Background Color"
254
- msgstr "Cor de fundo do comentário"
255
-
256
- #: options-templates/options-template-main.php:358
257
- msgid "Reply Background Color"
258
- msgstr "Cor de fundo da resposta"
259
-
260
- #: options-templates/options-template-main.php:382
261
- msgid "Comment Text Color"
262
- msgstr "Cor do texto do comentário"
263
-
264
- #: options-templates/options-template-main.php:407
265
- msgid "Author title color"
266
- msgstr "Cor do título do autor"
267
-
268
- #: options-templates/options-template-main.php:432
269
- msgid "Vote, Reply, Share, Edit links text colors"
270
- msgstr "Cor dos links Votar, Responder, Partilhar e Editar"
271
-
272
- #: options-templates/options-template-main.php:456
273
- msgid "New loaded comments' background color"
274
- msgstr "Cor de fundo dos novos comentários carregados"
275
-
276
- #: options-templates/options-template-main.php:480
277
- msgid "Custom CSS Code"
278
- msgstr "CSS personalizado"
279
-
280
- #: options-templates/options-template-main.php:489
281
- msgid "Show plugin powered by link"
282
- msgstr "Adicionar um link para o site do wpDiscuz"
283
-
284
- #: options-templates/options-template-phrases.php:1
285
- msgid "Front-end phrases"
286
- msgstr "Frases do Front-end"
287
-
288
- #: options-templates/options-template-phrases.php:5
289
- msgid "Leave a Reply"
290
- msgstr "Deixe um comentário"
291
-
292
- #: options-templates/options-template-phrases.php:16
293
- msgid "Be the first to comment"
294
- msgstr "Seja o primeiro a comentar"
295
-
296
- #: options-templates/options-template-phrases.php:27
297
- msgid "Comment"
298
- msgstr "Comentário"
299
-
300
- #: options-templates/options-template-phrases.php:38
301
- msgid "On"
302
- msgstr "Em"
303
-
304
- #: options-templates/options-template-phrases.php:49
305
- msgid "Comment Field Start"
306
- msgstr "Mensagem de incentivo a discussão"
307
-
308
- #: options-templates/options-template-phrases.php:60
309
- msgid "Comment Field Join"
310
- msgstr "Mensagem de incentivo no formulário"
311
-
312
- #: options-templates/options-template-phrases.php:71
313
- msgid "Email Field"
314
- msgstr "Campo de Email"
315
-
316
- #: options-templates/options-template-phrases.php:82
317
- msgid "Name Field"
318
- msgstr "Campo do Nome"
319
-
320
- #: options-templates/options-template-phrases.php:93
321
- msgid "CAPTCHA Field"
322
- msgstr "Campo do Captcha"
323
-
324
- #: options-templates/options-template-phrases.php:104
325
- msgid "Submit Button"
326
- msgstr "Botão de Submissão"
327
-
328
- #: options-templates/options-template-phrases.php:115
329
- #: options-templates/options-template-phrases.php:119
330
- msgid "Manage Subscriptions"
331
- msgstr "Gerir Subscrições"
332
-
333
- #: options-templates/options-template-phrases.php:126
334
- msgid "Notify \"None\""
335
- msgstr "Notificar \"Nenhum\""
336
-
337
- #: options-templates/options-template-phrases.php:130
338
- msgid "None"
339
- msgstr "Nenhum"
340
-
341
- #: options-templates/options-template-phrases.php:137
342
- msgid "Notify on new comments (checkbox)"
343
- msgstr "Notificar ao receber novos comentários (checkbox)"
344
-
345
- #: options-templates/options-template-phrases.php:141
346
- msgid "Notify of all new follow-up comments"
347
- msgstr "Notificar-me de novos comentários"
348
-
349
- #: options-templates/options-template-phrases.php:148
350
- msgid "Notify on all new replies (checkbox)"
351
- msgstr "Notificar em todas as respostas (checkbox)"
352
-
353
- #: options-templates/options-template-phrases.php:152
354
- msgid "Notify of new replies to all my comments"
355
- msgstr "Notificar-me de respostas a todos os meus comentários"
356
-
357
- #: options-templates/options-template-phrases.php:159
358
- msgid "Notify on new replies (checkbox)"
359
- msgstr "Notificar de respostas ao comentário (checkbox)"
360
-
361
- #: options-templates/options-template-phrases.php:163
362
- msgid "Notify of new replies to this comment"
363
- msgstr "Notificar-me de respostas a este comentário"
364
-
365
- #: options-templates/options-template-phrases.php:170
366
- msgid "Load More Button"
367
- msgstr "Botão Mostrar Mais"
368
-
369
- #: options-templates/options-template-phrases.php:181
370
- msgid "Reply"
371
- msgstr "Responder"
372
-
373
- #: options-templates/options-template-phrases.php:192
374
- msgid "Share"
375
- msgstr "Partilhar"
376
-
377
- #: options-templates/options-template-phrases.php:203
378
- msgid "Share On Facebook"
379
- msgstr "Partilhar no Facebook"
380
-
381
- #: options-templates/options-template-phrases.php:214
382
- msgid "Share On Twitter"
383
- msgstr "Partilhar no Twitter"
384
-
385
- #: options-templates/options-template-phrases.php:225
386
- msgid "Share On Google"
387
- msgstr "Partilhar no Google"
388
-
389
- #: options-templates/options-template-phrases.php:236
390
- msgid "Hide Replies"
391
- msgstr "Esconder Respostas"
392
-
393
- #: options-templates/options-template-phrases.php:247
394
- msgid "Show Replies"
395
- msgstr "Mostrar Respostas"
396
-
397
- #: options-templates/options-template-phrases.php:258
398
- msgid "Title For Guests"
399
- msgstr "Título para Visitantes"
400
-
401
- #: options-templates/options-template-phrases.php:269
402
- msgid "Title For Members"
403
- msgstr "Título para Membros"
404
-
405
- #: options-templates/options-template-phrases.php:280
406
- msgid "Title For Authors"
407
- msgstr "Título para Autores"
408
-
409
- #: options-templates/options-template-phrases.php:291
410
- msgid "Title For Admins"
411
- msgstr "Título para Administradores"
412
-
413
- #: options-templates/options-template-phrases.php:302
414
- msgid "Email Subject"
415
- msgstr "Assunto do Email"
416
-
417
- #: options-templates/options-template-phrases.php:313
418
- msgid "Email Message"
419
- msgstr "Mensagem do Email"
420
-
421
- #: options-templates/options-template-phrases.php:324
422
- msgid "New Reply Subject"
423
- msgstr "Assunto do alerta de Nova Resposta"
424
-
425
- #: options-templates/options-template-phrases.php:328
426
- #: options-templates/options-template-phrases.php:779
427
- msgid "New Reply"
428
- msgstr "Nova Resposta"
429
-
430
- #: options-templates/options-template-phrases.php:335
431
- #: options-templates/options-template-phrases.php:379
432
- msgid "New Reply Message"
433
- msgstr "Mensagem do alerta de Nova Resposta"
434
-
435
- #: options-templates/options-template-phrases.php:346
436
- msgid "Subscribed on this comment replies"
437
- msgstr "Subscrito a repostas a este comentário"
438
-
439
- #: options-templates/options-template-phrases.php:357
440
- msgid "Subscribed on all your comments replies"
441
- msgstr "Subscrito a respostas a todos os seus comentários"
442
-
443
- #: options-templates/options-template-phrases.php:368
444
- msgid "Subscribed on this post"
445
- msgstr "Subscrito neste artigo"
446
-
447
- #: options-templates/options-template-phrases.php:383
448
- msgid "Unsubscribe"
449
- msgstr "Cancelar Subscrição"
450
-
451
- #: options-templates/options-template-phrases.php:390
452
- #: options-templates/options-template-phrases.php:394
453
- msgid "Ignore Subscription"
454
- msgstr "Ignorar Subscrição"
455
-
456
- #: options-templates/options-template-phrases.php:401
457
- #: options-templates/options-template-phrases.php:405
458
- msgid "Confirm your subscribtion"
459
- msgstr "Confirme a sua subscrição"
460
-
461
- #: options-templates/options-template-phrases.php:411
462
- #: options-templates/options-template-phrases.php:415
463
- msgid "You've successfully confirmed your subscription."
464
- msgstr "A sua subscrição foi confirmada com sucesso."
465
-
466
- #: options-templates/options-template-phrases.php:421
467
- msgid "Subscribe Confirmation Email Subject"
468
- msgstr "Assunto do email de confirmação da subscrição"
469
-
470
- #: options-templates/options-template-phrases.php:425 wc.php:875
471
- msgid "Subscribe Confirmation"
472
- msgstr "Confirmação de subscrição"
473
-
474
- #: options-templates/options-template-phrases.php:432
475
- msgid "Subscribe Confirmation Email Content"
476
- msgstr "Conteúdo do email sobre a confirmação da subscrição"
477
-
478
- #: options-templates/options-template-phrases.php:436 wc.php:876
479
- msgid ""
480
- "Hi, <br/> You just subscribed for new comments on our website. This means "
481
- "you will receive an email when new comments are posted according to "
482
- "subscription option you've chosen. <br/> To activate, click confirm below. "
483
- "If you believe this is an error, ignore this message and we'll never bother "
484
- "you again."
485
- msgstr ""
486
- "Olá, <br/> Você de subscrever os novos comentários no nosso website. Isto "
487
- "significa que irá receber um email quando novos comentários forem "
488
- "publicados de acordo com as opções que escolheu. <br/> Para ativar, clique "
489
- "no link em baixo. Se acha que este email foi enviado por engano, por favor "
490
- "ignore esta mensagem e nunca o contactaremos de novo."
491
-
492
- #: options-templates/options-template-phrases.php:442
493
- msgid "You've successfully unsubscribed."
494
- msgstr "A sua subscrição foi cancelada com sucesso."
495
-
496
- #: options-templates/options-template-phrases.php:453
497
- msgid "Error message for empty field"
498
- msgstr "Mensagem de erro para campos vazios"
499
-
500
- #: options-templates/options-template-phrases.php:464
501
- msgid "Error message for invalid email field"
502
- msgstr "Mensagem de erro para email inválido"
503
-
504
- #: options-templates/options-template-phrases.php:475
505
- msgid "Year"
506
- msgstr "Ano"
507
-
508
- #: options-templates/options-template-phrases.php:486
509
- msgid "Month"
510
- msgstr "Mês"
511
-
512
- #: options-templates/options-template-phrases.php:497
513
- msgid "Day"
514
- msgstr "Dia"
515
-
516
- #: options-templates/options-template-phrases.php:530
517
- msgid "Second"
518
- msgstr "Segundo"
519
-
520
- #: options-templates/options-template-phrases.php:541
521
- msgid "Plural (Ex. user -> user + s)"
522
- msgstr "Plural (Ex: user -> user + s)"
523
-
524
- #: options-templates/options-template-phrases.php:552
525
- msgid "Commented \"right now\" text"
526
- msgstr "Comentário enviado \"agora mesmo\" texto"
527
-
528
- #: options-templates/options-template-phrases.php:563
529
- msgid "Ago text"
530
- msgstr "\"Atrás\" texto"
531
-
532
- #: options-templates/options-template-phrases.php:574
533
- msgid "\"Today\" text"
534
- msgstr "\"Hoje\" texto"
535
-
536
- #: options-templates/options-template-phrases.php:578
537
- msgid "Today"
538
- msgstr "Hoje"
539
-
540
- #: options-templates/options-template-phrases.php:585
541
- msgid "You must be"
542
- msgstr "Você deve"
543
-
544
- #: options-templates/options-template-phrases.php:597
545
- msgid "Logged in as"
546
- msgstr "Autenticado como"
547
-
548
- #: options-templates/options-template-phrases.php:607
549
- msgid "Log out"
550
- msgstr "Sair"
551
-
552
- #: options-templates/options-template-phrases.php:621
553
- msgid "Logged In"
554
- msgstr "Fazer o login"
555
-
556
- #: options-templates/options-template-phrases.php:632
557
- msgid "To post a comment"
558
- msgstr "Para publicar um comentário"
559
-
560
- #: options-templates/options-template-phrases.php:643
561
- msgid "Vote Up"
562
- msgstr "Voto Positivo"
563
-
564
- #: options-templates/options-template-phrases.php:654
565
- msgid "Vote Down"
566
- msgstr "Voto Negativo"
567
-
568
- #: options-templates/options-template-phrases.php:665
569
- msgid "Vote Counted"
570
- msgstr "Votos Contados"
571
-
572
- #: options-templates/options-template-phrases.php:676
573
- msgid "You can vote only 1 time"
574
- msgstr "Apenas pode votar uma vez"
575
-
576
- #: options-templates/options-template-phrases.php:687
577
- msgid "Voting Error"
578
- msgstr "Erro ao votar"
579
-
580
- #: options-templates/options-template-phrases.php:698
581
- msgid "Login To Vote"
582
- msgstr "Faça o login para votar"
583
-
584
- #: options-templates/options-template-phrases.php:709
585
- msgid "You Cannot Vote On Your Comment"
586
- msgstr "Não pode votar no seu comentário"
587
-
588
- #: options-templates/options-template-phrases.php:720
589
- msgid "Invalid Captcha Code"
590
- msgstr "Captcha Inválida"
591
-
592
- #: options-templates/options-template-phrases.php:731
593
- msgid "Some of field value is invalid"
594
- msgstr "A informação de algum campo é inválida"
595
-
596
- #: options-templates/options-template-phrases.php:742
597
- msgid "Comment waiting moderation"
598
- msgstr "O comentário aguarda moderação"
599
-
600
- #: options-templates/options-template-phrases.php:753
601
- msgid "Button text if has new comment"
602
- msgstr "Texto no botão se houver um novo comentário"
603
-
604
- #: options-templates/options-template-phrases.php:757
605
- msgid "New Comment"
606
- msgstr "Novo Comentário"
607
-
608
- #: options-templates/options-template-phrases.php:764
609
- msgid "Button text if has new comments"
610
- msgstr "Texto no botão se houverem novos comentários"
611
-
612
- #: options-templates/options-template-phrases.php:768
613
- msgid "New Comments"
614
- msgstr "Novos Comentários"
615
-
616
- #: options-templates/options-template-phrases.php:775
617
- msgid "Button text if has new reply"
618
- msgstr "Texto no botão se tiver uma resposta nova"
619
-
620
- #: options-templates/options-template-phrases.php:786
621
- msgid "Button text if has new replies"
622
- msgstr "Texto no botão se tiver várias respostas novas"
623
-
624
- #: options-templates/options-template-phrases.php:790
625
- msgid "New Replies"
626
- msgstr "Novas Respostas"
627
-
628
- #: options-templates/options-template-phrases.php:797
629
- msgid "Text on load more button if has new comment(s)"
630
- msgstr "Texto no botão Mostrar Mais"
631
-
632
- #: options-templates/options-template-phrases.php:801
633
- msgid "New"
634
- msgstr "Novo"
635
-
636
- #: options-templates/options-template-phrases.php:808
637
- msgid "Message if comment was not updated"
638
- msgstr "Mensagem se o comentário não for atualizado"
639
-
640
- #: options-templates/options-template-phrases.php:812
641
- msgid "Sorry, the comment was not updated"
642
- msgstr "Lamentamos, mas o comentário não foi atualizado"
643
-
644
- #: options-templates/options-template-phrases.php:818
645
- msgid "Message if comment no longer possible to edit"
646
- msgstr "Mensagem se não for mais possível editar"
647
-
648
- #: options-templates/options-template-phrases.php:822
649
- msgid "Sorry, this comment no longer possible to edit"
650
- msgstr "Lamentamos, mas já não é possível editar o comentário"
651
-
652
- #: options-templates/options-template-phrases.php:829
653
- msgid "Message if comment text not changed"
654
- msgstr "Mensagem se o texto do comentário não for alterado"
655
-
656
- #: options-templates/options-template-phrases.php:833
657
- msgid "TYou've not made any changes"
658
- msgstr "Você não fez nenhuma alteração"
659
-
660
- #: options-templates/options-template-phrases.php:840
661
- msgid "Save edited comment button text"
662
- msgstr "Texto do botão para guardar comentário editado"
663
-
664
- #: options-templates/options-template-phrases.php:844
665
- msgid "Save"
666
- msgstr "Guardar"
667
-
668
- #: options-templates/options-template-phrases.php:850
669
- msgid "Cancel comment editing button text"
670
- msgstr "Texto do botão para cancelar a edição do comentário"
671
-
672
- #: options-templates/options-template-phrases.php:854
673
- msgid "Cancel"
674
- msgstr "Cancelar"
675
-
676
- #: wc-options.php:31 wc-options.php:187
677
- msgid "Hacker?"
678
- msgstr "Hacker?"
679
-
680
- #: wc-options.php:80
681
- msgid "wpDiscuz General Settings"
682
- msgstr "wpDiscuz - Opções Gerais"
683
-
684
- #: wc-options.php:168 wc-options.php:308
685
- msgid "Save Changes"
686
- msgstr "Guardar Alterações"
687
-
688
- #: wc-options.php:283
689
- msgid "WpDiscuz Front-end Phrases"
690
- msgstr "wpDiscuz - Frases do Front-end"
691
-
692
- #: wc.php:950
693
- msgid "Settings"
694
- msgstr "Opções"
695
-
696
- #: wc.php:951
697
- msgid "Phrases"
698
- msgstr "Frases"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
+ "POT-Creation-Date: 2015-03-11 01:00-0000\n"
5
+ "PO-Revision-Date: 2015-03-12 00:47-0000\n"
6
+ "Last-Translator: Celso Azevedo <mail@celsoazevedo.net>\n"
7
+ "Language-Team: Celso Azevedo <mail@celsoazevedo.net>\n"
8
+ "Language: pt_PT\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.4\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
17
+ "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
21
+
22
+ #: comment-form/tpl-comment.php:158 comment-form/tpl-comment.php:161
23
+ msgid "Edit"
24
+ msgstr "Editar"
25
+
26
+ #: options-templates/options-template-main.php:1
27
+ msgid "General settings"
28
+ msgstr "Opções gerais"
29
+
30
+ #: options-templates/options-template-main.php:5
31
+ msgid "Display comment form for post types:"
32
+ msgstr "Mostrar o formulário de comentário em:"
33
+
34
+ #: options-templates/options-template-main.php:26
35
+ msgid "Show the latest comments on"
36
+ msgstr "Mostrar os últimos comentários no"
37
+
38
+ #: options-templates/options-template-main.php:30
39
+ msgid "the top of the list"
40
+ msgstr "no topo da lista de comentários"
41
+
42
+ #: options-templates/options-template-main.php:32
43
+ msgid "top of the threads"
44
+ msgstr "no topo"
45
+
46
+ #: options-templates/options-template-main.php:34
47
+ msgid "bottom of the threads"
48
+ msgstr "no fim"
49
+
50
+ #: options-templates/options-template-main.php:36
51
+ msgid "the bottom of the list"
52
+ msgstr "no fim da lista de comentários"
53
+
54
+ #: options-templates/options-template-main.php:44
55
+ msgid "Live update options"
56
+ msgstr "Opções de atualização automática"
57
+
58
+ #: options-templates/options-template-main.php:50
59
+ msgid "Never update"
60
+ msgstr "Nunca atualizar"
61
+
62
+ #: options-templates/options-template-main.php:52
63
+ msgid "Turn off \"Live Update\" function"
64
+ msgstr "Desligar a opção \"Atualização automática\""
65
+
66
+ #: options-templates/options-template-main.php:54
67
+ msgid "Show new comment/reply buttons to update manualy"
68
+ msgstr ""
69
+ "Mostrar os botões de novo comentário e resposta para atualizar manualmente"
70
+
71
+ #: options-templates/options-template-main.php:56
72
+ msgid "Always check for new comments and show update buttons"
73
+ msgstr "Sempre verificar novos comentários e exibir botões de atualização"
74
+
75
+ #: options-templates/options-template-main.php:58
76
+ msgid "Always update"
77
+ msgstr "Atualizar sempre"
78
+
79
+ #: options-templates/options-template-main.php:60
80
+ msgid "Always check for new comments and update automatically"
81
+ msgstr "Sempre verificar novos comentários e atualizar automaticamente"
82
+
83
+ #: options-templates/options-template-main.php:68
84
+ msgid "Update comment list every"
85
+ msgstr "Atualizar a lista de comentário a cada"
86
+
87
+ #: options-templates/options-template-main.php:73
88
+ #: options-templates/options-template-main.php:74
89
+ #: options-templates/options-template-main.php:75
90
+ msgid "Seconds"
91
+ msgstr "Segundos"
92
+
93
+ #: options-templates/options-template-main.php:76
94
+ #: options-templates/options-template-phrases.php:519
95
+ msgid "Minute"
96
+ msgstr "Minuto"
97
+
98
+ #: options-templates/options-template-main.php:77
99
+ #: options-templates/options-template-main.php:78
100
+ #: options-templates/options-template-main.php:79
101
+ #: options-templates/options-template-main.php:92
102
+ #: options-templates/options-template-main.php:93
103
+ msgid "Minutes"
104
+ msgstr "Minutos"
105
+
106
+ #: options-templates/options-template-main.php:86
107
+ msgid "Allow comment editing for"
108
+ msgstr "Permitir a edição de comentários por"
109
+
110
+ #: options-templates/options-template-main.php:91
111
+ msgid "Not Allow"
112
+ msgstr "Não Permitir"
113
+
114
+ #: options-templates/options-template-main.php:94
115
+ #: options-templates/options-template-phrases.php:508
116
+ msgid "Hour"
117
+ msgstr "Hora"
118
+
119
+ #: options-templates/options-template-main.php:95
120
+ #: options-templates/options-template-main.php:96
121
+ msgid "Hours"
122
+ msgstr "Horas"
123
+
124
+ #: options-templates/options-template-main.php:103
125
+ msgid "Hide Voting buttons"
126
+ msgstr "Esconder os botões de votação"
127
+
128
+ #: options-templates/options-template-main.php:114
129
+ msgid "Hide Share Button"
130
+ msgstr "Esconder o botão de partilha"
131
+
132
+ #: options-templates/options-template-main.php:125
133
+ msgid "Hide the CAPTCHA field"
134
+ msgstr "Esconder o campo Captcha"
135
+
136
+ #: options-templates/options-template-main.php:136
137
+ msgid "User Must be registered to comment"
138
+ msgstr "O utilizador deve estar registado para comentar"
139
+
140
+ #: options-templates/options-template-main.php:154
141
+ msgid "Show logged-in user name and logout link on top of main form"
142
+ msgstr ""
143
+ "Exibir o username no topo do formulário principal quando o utilizador tem o "
144
+ "login feito"
145
+
146
+ #: options-templates/options-template-main.php:165
147
+ msgid "Held new comments for moderation"
148
+ msgstr "Reter os novos comentários para moderação"
149
+
150
+ #: options-templates/options-template-main.php:176
151
+ msgid "Hide Reply button for Guests"
152
+ msgstr "Esconder o botão Responder a visitantes"
153
+
154
+ #: options-templates/options-template-main.php:187
155
+ msgid "Hide Reply button for Members"
156
+ msgstr "Esconder o botão Responder a membros"
157
+
158
+ #: options-templates/options-template-main.php:198
159
+ msgid "Hide Author Titles"
160
+ msgstr "Esconder título do autor do comentário"
161
+
162
+ #: options-templates/options-template-main.php:209
163
+ msgid "Comment Threads Per Page"
164
+ msgstr "Comentários Por Página"
165
+
166
+ #: options-templates/options-template-main.php:220
167
+ msgid "Comments max depth"
168
+ msgstr "Níveis de respostas a comentários"
169
+
170
+ #: options-templates/options-template-main.php:225
171
+ msgid "Level"
172
+ msgstr "Nível"
173
+
174
+ #: options-templates/options-template-main.php:226
175
+ #: options-templates/options-template-main.php:227
176
+ #: options-templates/options-template-main.php:228
177
+ #: options-templates/options-template-main.php:229
178
+ msgid "Levels"
179
+ msgstr "Níveis"
180
+
181
+ #: options-templates/options-template-main.php:236
182
+ msgid "Use WordPress Date/Time format"
183
+ msgstr "Usar o formato de data e tempo do WordPress"
184
+
185
+ #: options-templates/options-template-main.php:237
186
+ msgid ""
187
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
188
+ "show the date/time format set in WordPress General Settings."
189
+ msgstr ""
190
+ "O wpDiscuz mostra uma data mais amigável. Ao selecionar esta opção, o "
191
+ "plugin vai usar o formato de data/hora definido na página de Opções do "
192
+ "WordPress."
193
+
194
+ #: options-templates/options-template-main.php:248
195
+ msgid ""
196
+ "Keep checked-on the email notification checkboxes on comment form by default"
197
+ msgstr ""
198
+ "Deixar as opções de notificação por email no formulário de comentário "
199
+ "ativas por defeito"
200
+
201
+ #: options-templates/options-template-main.php:259
202
+ msgid "Show \"Notify of all new follow-up comments\""
203
+ msgstr "Mostrar \"Notificar-me de novos comentários\""
204
+
205
+ #: options-templates/options-template-main.php:260
206
+ msgid "Show \"Notify of new replies to all my comments\""
207
+ msgstr "Mostrar \"Notificar-me de novos comentários\""
208
+
209
+ #: options-templates/options-template-main.php:261
210
+ msgid "Show \"Notify of new replies to this comment\""
211
+ msgstr "Mostrar \"Notificar-me de respostas a este comentário\""
212
+
213
+ #: options-templates/options-template-main.php:263
214
+ msgid ""
215
+ "Please keep all three or at least one of those options ON, otherwise users "
216
+ "will not have any option for email notifications and they'll not get any "
217
+ "messages."
218
+ msgstr ""
219
+ "Mantenha pelo menos uma destas opções ativas para exibir uma opção de "
220
+ "subscrição aos utilizadores."
221
+
222
+ #: options-templates/options-template-main.php:282
223
+ msgid "Use Postmatic for subscriptions and commenting by email"
224
+ msgstr "Usar o Postmatic para subscrições e comentários via email"
225
+
226
+ #: options-templates/options-template-main.php:283
227
+ msgid ""
228
+ "Postmatic allows your users subscribe to comments. Instead of just being "
229
+ "notified, they add a reply right from their inbox."
230
+ msgstr ""
231
+ "O Postmatic permite que os seus utilizadores subscrevam aos comentários. Em "
232
+ "vez de serem apenas notificados, eles podem responder diretamente via email."
233
+
234
+ #: options-templates/options-template-main.php:294
235
+ msgid "Comment text size in pixels"
236
+ msgstr "Tamanho do texto do comentário em pixeis."
237
+
238
+ #: options-templates/options-template-main.php:310
239
+ msgid "Comment Form Background Color"
240
+ msgstr "Cor de fundo do formulário de comentário"
241
+
242
+ #: options-templates/options-template-main.php:313
243
+ #: options-templates/options-template-main.php:337
244
+ #: options-templates/options-template-main.php:361
245
+ #: options-templates/options-template-main.php:385
246
+ #: options-templates/options-template-main.php:410
247
+ #: options-templates/options-template-main.php:435
248
+ #: options-templates/options-template-main.php:459
249
+ msgid "Example: #00ff00"
250
+ msgstr "Exemplo: #00ff00"
251
+
252
+ #: options-templates/options-template-main.php:334
253
+ msgid "Comment Background Color"
254
+ msgstr "Cor de fundo do comentário"
255
+
256
+ #: options-templates/options-template-main.php:358
257
+ msgid "Reply Background Color"
258
+ msgstr "Cor de fundo da resposta"
259
+
260
+ #: options-templates/options-template-main.php:382
261
+ msgid "Comment Text Color"
262
+ msgstr "Cor do texto do comentário"
263
+
264
+ #: options-templates/options-template-main.php:407
265
+ msgid "Author title color"
266
+ msgstr "Cor do título do autor"
267
+
268
+ #: options-templates/options-template-main.php:432
269
+ msgid "Vote, Reply, Share, Edit links text colors"
270
+ msgstr "Cor dos links Votar, Responder, Partilhar e Editar"
271
+
272
+ #: options-templates/options-template-main.php:456
273
+ msgid "New loaded comments' background color"
274
+ msgstr "Cor de fundo dos novos comentários carregados"
275
+
276
+ #: options-templates/options-template-main.php:480
277
+ msgid "Custom CSS Code"
278
+ msgstr "CSS personalizado"
279
+
280
+ #: options-templates/options-template-main.php:489
281
+ msgid "Show plugin powered by link"
282
+ msgstr "Adicionar um link para o site do wpDiscuz"
283
+
284
+ #: options-templates/options-template-phrases.php:1
285
+ msgid "Front-end phrases"
286
+ msgstr "Frases do Front-end"
287
+
288
+ #: options-templates/options-template-phrases.php:5
289
+ msgid "Leave a Reply"
290
+ msgstr "Deixe um comentário"
291
+
292
+ #: options-templates/options-template-phrases.php:16
293
+ msgid "Be the first to comment"
294
+ msgstr "Seja o primeiro a comentar"
295
+
296
+ #: options-templates/options-template-phrases.php:27
297
+ msgid "Comment"
298
+ msgstr "Comentário"
299
+
300
+ #: options-templates/options-template-phrases.php:38
301
+ msgid "On"
302
+ msgstr "Em"
303
+
304
+ #: options-templates/options-template-phrases.php:49
305
+ msgid "Comment Field Start"
306
+ msgstr "Mensagem de incentivo a discussão"
307
+
308
+ #: options-templates/options-template-phrases.php:60
309
+ msgid "Comment Field Join"
310
+ msgstr "Mensagem de incentivo no formulário"
311
+
312
+ #: options-templates/options-template-phrases.php:71
313
+ msgid "Email Field"
314
+ msgstr "Campo de Email"
315
+
316
+ #: options-templates/options-template-phrases.php:82
317
+ msgid "Name Field"
318
+ msgstr "Campo do Nome"
319
+
320
+ #: options-templates/options-template-phrases.php:93
321
+ msgid "CAPTCHA Field"
322
+ msgstr "Campo do Captcha"
323
+
324
+ #: options-templates/options-template-phrases.php:104
325
+ msgid "Submit Button"
326
+ msgstr "Botão de Submissão"
327
+
328
+ #: options-templates/options-template-phrases.php:115
329
+ #: options-templates/options-template-phrases.php:119
330
+ msgid "Manage Subscriptions"
331
+ msgstr "Gerir Subscrições"
332
+
333
+ #: options-templates/options-template-phrases.php:126
334
+ msgid "Notify \"None\""
335
+ msgstr "Notificar \"Nenhum\""
336
+
337
+ #: options-templates/options-template-phrases.php:130
338
+ msgid "None"
339
+ msgstr "Nenhum"
340
+
341
+ #: options-templates/options-template-phrases.php:137
342
+ msgid "Notify on new comments (checkbox)"
343
+ msgstr "Notificar ao receber novos comentários (checkbox)"
344
+
345
+ #: options-templates/options-template-phrases.php:141
346
+ msgid "Notify of all new follow-up comments"
347
+ msgstr "Notificar-me de novos comentários"
348
+
349
+ #: options-templates/options-template-phrases.php:148
350
+ msgid "Notify on all new replies (checkbox)"
351
+ msgstr "Notificar em todas as respostas (checkbox)"
352
+
353
+ #: options-templates/options-template-phrases.php:152
354
+ msgid "Notify of new replies to all my comments"
355
+ msgstr "Notificar-me de respostas a todos os meus comentários"
356
+
357
+ #: options-templates/options-template-phrases.php:159
358
+ msgid "Notify on new replies (checkbox)"
359
+ msgstr "Notificar de respostas ao comentário (checkbox)"
360
+
361
+ #: options-templates/options-template-phrases.php:163
362
+ msgid "Notify of new replies to this comment"
363
+ msgstr "Notificar-me de respostas a este comentário"
364
+
365
+ #: options-templates/options-template-phrases.php:170
366
+ msgid "Load More Button"
367
+ msgstr "Botão Mostrar Mais"
368
+
369
+ #: options-templates/options-template-phrases.php:181
370
+ msgid "Reply"
371
+ msgstr "Responder"
372
+
373
+ #: options-templates/options-template-phrases.php:192
374
+ msgid "Share"
375
+ msgstr "Partilhar"
376
+
377
+ #: options-templates/options-template-phrases.php:203
378
+ msgid "Share On Facebook"
379
+ msgstr "Partilhar no Facebook"
380
+
381
+ #: options-templates/options-template-phrases.php:214
382
+ msgid "Share On Twitter"
383
+ msgstr "Partilhar no Twitter"
384
+
385
+ #: options-templates/options-template-phrases.php:225
386
+ msgid "Share On Google"
387
+ msgstr "Partilhar no Google"
388
+
389
+ #: options-templates/options-template-phrases.php:236
390
+ msgid "Hide Replies"
391
+ msgstr "Esconder Respostas"
392
+
393
+ #: options-templates/options-template-phrases.php:247
394
+ msgid "Show Replies"
395
+ msgstr "Mostrar Respostas"
396
+
397
+ #: options-templates/options-template-phrases.php:258
398
+ msgid "Title For Guests"
399
+ msgstr "Título para Visitantes"
400
+
401
+ #: options-templates/options-template-phrases.php:269
402
+ msgid "Title For Members"
403
+ msgstr "Título para Membros"
404
+
405
+ #: options-templates/options-template-phrases.php:280
406
+ msgid "Title For Authors"
407
+ msgstr "Título para Autores"
408
+
409
+ #: options-templates/options-template-phrases.php:291
410
+ msgid "Title For Admins"
411
+ msgstr "Título para Administradores"
412
+
413
+ #: options-templates/options-template-phrases.php:302
414
+ msgid "Email Subject"
415
+ msgstr "Assunto do Email"
416
+
417
+ #: options-templates/options-template-phrases.php:313
418
+ msgid "Email Message"
419
+ msgstr "Mensagem do Email"
420
+
421
+ #: options-templates/options-template-phrases.php:324
422
+ msgid "New Reply Subject"
423
+ msgstr "Assunto do alerta de Nova Resposta"
424
+
425
+ #: options-templates/options-template-phrases.php:328
426
+ #: options-templates/options-template-phrases.php:779
427
+ msgid "New Reply"
428
+ msgstr "Nova Resposta"
429
+
430
+ #: options-templates/options-template-phrases.php:335
431
+ #: options-templates/options-template-phrases.php:379
432
+ msgid "New Reply Message"
433
+ msgstr "Mensagem do alerta de Nova Resposta"
434
+
435
+ #: options-templates/options-template-phrases.php:346
436
+ msgid "Subscribed on this comment replies"
437
+ msgstr "Subscrito a repostas a este comentário"
438
+
439
+ #: options-templates/options-template-phrases.php:357
440
+ msgid "Subscribed on all your comments replies"
441
+ msgstr "Subscrito a respostas a todos os seus comentários"
442
+
443
+ #: options-templates/options-template-phrases.php:368
444
+ msgid "Subscribed on this post"
445
+ msgstr "Subscrito neste artigo"
446
+
447
+ #: options-templates/options-template-phrases.php:383
448
+ msgid "Unsubscribe"
449
+ msgstr "Cancelar Subscrição"
450
+
451
+ #: options-templates/options-template-phrases.php:390
452
+ #: options-templates/options-template-phrases.php:394
453
+ msgid "Ignore Subscription"
454
+ msgstr "Ignorar Subscrição"
455
+
456
+ #: options-templates/options-template-phrases.php:401
457
+ #: options-templates/options-template-phrases.php:405
458
+ msgid "Confirm your subscribtion"
459
+ msgstr "Confirme a sua subscrição"
460
+
461
+ #: options-templates/options-template-phrases.php:411
462
+ #: options-templates/options-template-phrases.php:415
463
+ msgid "You've successfully confirmed your subscription."
464
+ msgstr "A sua subscrição foi confirmada com sucesso."
465
+
466
+ #: options-templates/options-template-phrases.php:421
467
+ msgid "Subscribe Confirmation Email Subject"
468
+ msgstr "Assunto do email de confirmação da subscrição"
469
+
470
+ #: options-templates/options-template-phrases.php:425 wc.php:875
471
+ msgid "Subscribe Confirmation"
472
+ msgstr "Confirmação de subscrição"
473
+
474
+ #: options-templates/options-template-phrases.php:432
475
+ msgid "Subscribe Confirmation Email Content"
476
+ msgstr "Conteúdo do email sobre a confirmação da subscrição"
477
+
478
+ #: options-templates/options-template-phrases.php:436 wc.php:876
479
+ msgid ""
480
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
481
+ "you will receive an email when new comments are posted according to "
482
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
483
+ "If you believe this is an error, ignore this message and we'll never bother "
484
+ "you again."
485
+ msgstr ""
486
+ "Olá, <br/> Você de subscrever os novos comentários no nosso website. Isto "
487
+ "significa que irá receber um email quando novos comentários forem "
488
+ "publicados de acordo com as opções que escolheu. <br/> Para ativar, clique "
489
+ "no link em baixo. Se acha que este email foi enviado por engano, por favor "
490
+ "ignore esta mensagem e nunca o contactaremos de novo."
491
+
492
+ #: options-templates/options-template-phrases.php:442
493
+ msgid "You've successfully unsubscribed."
494
+ msgstr "A sua subscrição foi cancelada com sucesso."
495
+
496
+ #: options-templates/options-template-phrases.php:453
497
+ msgid "Error message for empty field"
498
+ msgstr "Mensagem de erro para campos vazios"
499
+
500
+ #: options-templates/options-template-phrases.php:464
501
+ msgid "Error message for invalid email field"
502
+ msgstr "Mensagem de erro para email inválido"
503
+
504
+ #: options-templates/options-template-phrases.php:475
505
+ msgid "Year"
506
+ msgstr "Ano"
507
+
508
+ #: options-templates/options-template-phrases.php:486
509
+ msgid "Month"
510
+ msgstr "Mês"
511
+
512
+ #: options-templates/options-template-phrases.php:497
513
+ msgid "Day"
514
+ msgstr "Dia"
515
+
516
+ #: options-templates/options-template-phrases.php:530
517
+ msgid "Second"
518
+ msgstr "Segundo"
519
+
520
+ #: options-templates/options-template-phrases.php:541
521
+ msgid "Plural (Ex. user -> user + s)"
522
+ msgstr "Plural (Ex: user -> user + s)"
523
+
524
+ #: options-templates/options-template-phrases.php:552
525
+ msgid "Commented \"right now\" text"
526
+ msgstr "Comentário enviado \"agora mesmo\" texto"
527
+
528
+ #: options-templates/options-template-phrases.php:563
529
+ msgid "Ago text"
530
+ msgstr "\"Atrás\" texto"
531
+
532
+ #: options-templates/options-template-phrases.php:574
533
+ msgid "\"Today\" text"
534
+ msgstr "\"Hoje\" texto"
535
+
536
+ #: options-templates/options-template-phrases.php:578
537
+ msgid "Today"
538
+ msgstr "Hoje"
539
+
540
+ #: options-templates/options-template-phrases.php:585
541
+ msgid "You must be"
542
+ msgstr "Você deve"
543
+
544
+ #: options-templates/options-template-phrases.php:597
545
+ msgid "Logged in as"
546
+ msgstr "Autenticado como"
547
+
548
+ #: options-templates/options-template-phrases.php:607
549
+ msgid "Log out"
550
+ msgstr "Sair"
551
+
552
+ #: options-templates/options-template-phrases.php:621
553
+ msgid "Logged In"
554
+ msgstr "Fazer o login"
555
+
556
+ #: options-templates/options-template-phrases.php:632
557
+ msgid "To post a comment"
558
+ msgstr "Para publicar um comentário"
559
+
560
+ #: options-templates/options-template-phrases.php:643
561
+ msgid "Vote Up"
562
+ msgstr "Voto Positivo"
563
+
564
+ #: options-templates/options-template-phrases.php:654
565
+ msgid "Vote Down"
566
+ msgstr "Voto Negativo"
567
+
568
+ #: options-templates/options-template-phrases.php:665
569
+ msgid "Vote Counted"
570
+ msgstr "Votos Contados"
571
+
572
+ #: options-templates/options-template-phrases.php:676
573
+ msgid "You can vote only 1 time"
574
+ msgstr "Apenas pode votar uma vez"
575
+
576
+ #: options-templates/options-template-phrases.php:687
577
+ msgid "Voting Error"
578
+ msgstr "Erro ao votar"
579
+
580
+ #: options-templates/options-template-phrases.php:698
581
+ msgid "Login To Vote"
582
+ msgstr "Faça o login para votar"
583
+
584
+ #: options-templates/options-template-phrases.php:709
585
+ msgid "You Cannot Vote On Your Comment"
586
+ msgstr "Não pode votar no seu comentário"
587
+
588
+ #: options-templates/options-template-phrases.php:720
589
+ msgid "Invalid Captcha Code"
590
+ msgstr "Captcha Inválida"
591
+
592
+ #: options-templates/options-template-phrases.php:731
593
+ msgid "Some of field value is invalid"
594
+ msgstr "A informação de algum campo é inválida"
595
+
596
+ #: options-templates/options-template-phrases.php:742
597
+ msgid "Comment waiting moderation"
598
+ msgstr "O comentário aguarda moderação"
599
+
600
+ #: options-templates/options-template-phrases.php:753
601
+ msgid "Button text if has new comment"
602
+ msgstr "Texto no botão se houver um novo comentário"
603
+
604
+ #: options-templates/options-template-phrases.php:757
605
+ msgid "New Comment"
606
+ msgstr "Novo Comentário"
607
+
608
+ #: options-templates/options-template-phrases.php:764
609
+ msgid "Button text if has new comments"
610
+ msgstr "Texto no botão se houverem novos comentários"
611
+
612
+ #: options-templates/options-template-phrases.php:768
613
+ msgid "New Comments"
614
+ msgstr "Novos Comentários"
615
+
616
+ #: options-templates/options-template-phrases.php:775
617
+ msgid "Button text if has new reply"
618
+ msgstr "Texto no botão se tiver uma resposta nova"
619
+
620
+ #: options-templates/options-template-phrases.php:786
621
+ msgid "Button text if has new replies"
622
+ msgstr "Texto no botão se tiver várias respostas novas"
623
+
624
+ #: options-templates/options-template-phrases.php:790
625
+ msgid "New Replies"
626
+ msgstr "Novas Respostas"
627
+
628
+ #: options-templates/options-template-phrases.php:797
629
+ msgid "Text on load more button if has new comment(s)"
630
+ msgstr "Texto no botão Mostrar Mais"
631
+
632
+ #: options-templates/options-template-phrases.php:801
633
+ msgid "New"
634
+ msgstr "Novo"
635
+
636
+ #: options-templates/options-template-phrases.php:808
637
+ msgid "Message if comment was not updated"
638
+ msgstr "Mensagem se o comentário não for atualizado"
639
+
640
+ #: options-templates/options-template-phrases.php:812
641
+ msgid "Sorry, the comment was not updated"
642
+ msgstr "Lamentamos, mas o comentário não foi atualizado"
643
+
644
+ #: options-templates/options-template-phrases.php:818
645
+ msgid "Message if comment no longer possible to edit"
646
+ msgstr "Mensagem se não for mais possível editar"
647
+
648
+ #: options-templates/options-template-phrases.php:822
649
+ msgid "Sorry, this comment no longer possible to edit"
650
+ msgstr "Lamentamos, mas já não é possível editar o comentário"
651
+
652
+ #: options-templates/options-template-phrases.php:829
653
+ msgid "Message if comment text not changed"
654
+ msgstr "Mensagem se o texto do comentário não for alterado"
655
+
656
+ #: options-templates/options-template-phrases.php:833
657
+ msgid "TYou've not made any changes"
658
+ msgstr "Você não fez nenhuma alteração"
659
+
660
+ #: options-templates/options-template-phrases.php:840
661
+ msgid "Save edited comment button text"
662
+ msgstr "Texto do botão para guardar comentário editado"
663
+
664
+ #: options-templates/options-template-phrases.php:844
665
+ msgid "Save"
666
+ msgstr "Guardar"
667
+
668
+ #: options-templates/options-template-phrases.php:850
669
+ msgid "Cancel comment editing button text"
670
+ msgstr "Texto do botão para cancelar a edição do comentário"
671
+
672
+ #: options-templates/options-template-phrases.php:854
673
+ msgid "Cancel"
674
+ msgstr "Cancelar"
675
+
676
+ #: wc-options.php:31 wc-options.php:187
677
+ msgid "Hacker?"
678
+ msgstr "Hacker?"
679
+
680
+ #: wc-options.php:80
681
+ msgid "wpDiscuz General Settings"
682
+ msgstr "wpDiscuz - Opções Gerais"
683
+
684
+ #: wc-options.php:168 wc-options.php:308
685
+ msgid "Save Changes"
686
+ msgstr "Guardar Alterações"
687
+
688
+ #: wc-options.php:283
689
+ msgid "WpDiscuz Front-end Phrases"
690
+ msgstr "wpDiscuz - Frases do Front-end"
691
+
692
+ #: wc.php:950
693
+ msgid "Settings"
694
+ msgstr "Opções"
695
+
696
+ #: wc.php:951
697
+ msgid "Phrases"
698
+ msgstr "Frases"
wc-options-serialize.php → options/wc-options-serialize.php RENAMED
@@ -1,7 +1,5 @@
1
  <?php
2
 
3
- include_once 'includes/wc-db-helper.php';
4
-
5
  class WC_Options_Serialize {
6
 
7
  public $wc_options_slug = 'wc_options';
1
  <?php
2
 
 
 
3
  class WC_Options_Serialize {
4
 
5
  public $wc_options_slug = 'wc_options';
wc-options.php → options/wc-options.php RENAMED
@@ -1,6 +1,4 @@
1
  <?php
2
- include_once 'wc-options-serialize.php';
3
- include_once 'includes/wc-db-helper.php';
4
 
5
  class WC_Options {
6
 
@@ -8,9 +6,9 @@ class WC_Options {
8
  public $wc_db_helper;
9
  private $wc_post_types;
10
 
11
- public function __construct() {
12
- $this->wc_db_helper = new WC_DB_Helper();
13
- $this->wc_options_serialized = new WC_Options_Serialize($this->wc_db_helper);
14
  }
15
 
16
  /**
@@ -165,13 +163,12 @@ class WC_Options {
165
  </ul>
166
  <div class="resp-tabs-container hor_1">
167
  <?php
168
- include 'options/options-layouts/settings-general.php';
169
- include 'options/options-layouts/settings-live-update.php';
170
- include 'options/options-layouts/settings-show-hide.php';
171
- include 'options/options-layouts/settings-subscription.php';
172
- include 'options/options-layouts/settings-style.php';
173
  ?>
174
- <?php // include 'options/options-template-main.php'; ?>
175
  </div>
176
  </div>
177
  <script type="text/javascript">
@@ -329,12 +326,12 @@ class WC_Options {
329
  <li><?php _e('Notification', WC_Core::$TEXT_DOMAIN); ?></li>
330
  </ul>
331
  <div class="resp-tabs-container hor_2">
332
- <?php include 'options/phrases-layout/phrases-general.php'; ?>
333
- <?php include 'options/phrases-layout/phrases-form.php'; ?>
334
- <?php include 'options/phrases-layout/phrases-comment.php'; ?>
335
- <?php include 'options/phrases-layout/phrases-datetime.php'; ?>
336
- <?php include 'options/phrases-layout/phrases-email.php'; ?>
337
- <?php include 'options/phrases-layout/phrases-notification.php'; ?>
338
  </div>
339
  </div>
340
  <script type="text/javascript">
1
  <?php
 
 
2
 
3
  class WC_Options {
4
 
6
  public $wc_db_helper;
7
  private $wc_post_types;
8
 
9
+ public function __construct($wc_options_serialized, $wc_db_helper) {
10
+ $this->wc_db_helper = $wc_db_helper;
11
+ $this->wc_options_serialized = $wc_options_serialized;
12
  }
13
 
14
  /**
163
  </ul>
164
  <div class="resp-tabs-container hor_1">
165
  <?php
166
+ include 'options-layouts/settings-general.php';
167
+ include 'options-layouts/settings-live-update.php';
168
+ include 'options-layouts/settings-show-hide.php';
169
+ include 'options-layouts/settings-subscription.php';
170
+ include 'options-layouts/settings-style.php';
171
  ?>
 
172
  </div>
173
  </div>
174
  <script type="text/javascript">
326
  <li><?php _e('Notification', WC_Core::$TEXT_DOMAIN); ?></li>
327
  </ul>
328
  <div class="resp-tabs-container hor_2">
329
+ <?php include 'phrases-layout/phrases-general.php'; ?>
330
+ <?php include 'phrases-layout/phrases-form.php'; ?>
331
+ <?php include 'phrases-layout/phrases-comment.php'; ?>
332
+ <?php include 'phrases-layout/phrases-datetime.php'; ?>
333
+ <?php include 'phrases-layout/phrases-email.php'; ?>
334
+ <?php include 'phrases-layout/phrases-notification.php'; ?>
335
  </div>
336
  </div>
337
  <script type="text/javascript">
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: wordpress comments, ajax comments, ajax, live update, theme, post comments, comments box, community, discussion, discuss, comment form, reply, comments, discussions, comment template, activity, comment author, comment system
5
  Requires at least: 2.7
6
  Tested up to: 4.1.1
7
- Stable tag: 2.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,8 +14,18 @@ New interactive, AJAX comment system. Responsive comment plugin with Live Update
14
 
15
  New interactive, AJAX comment system. Responsive comment plugin with Live Update function. Allows your visitors discuss, vote for comments and share.
16
 
 
17
  **wpDiscuz Features:**
18
 
 
 
 
 
 
 
 
 
 
19
  **Front-end**
20
 
21
  * | Adds interactive comment box on posts and other content types
@@ -43,13 +53,6 @@ New interactive, AJAX comment system. Responsive comment plugin with Live Update
43
  * | Post sharing options: Facebook, Twitter and Google+
44
 
45
 
46
- **Integration with User Profile Plugins**
47
-
48
- * BuddyPress - Avatar, Profile page
49
- * Users Ultra - Avatar, Profile page
50
- * UserPro - Avatar, Badges, Profile page
51
-
52
-
53
  **Dashboard**
54
 
55
  * | Option to display comment form for certain post types
@@ -123,6 +126,13 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
123
 
124
  == Changelog ==
125
 
 
 
 
 
 
 
 
126
  = 2.1.5 =
127
  * Fixed Bug: Problems with email notifications
128
  * Fixed Bug: Empty name of anonymouse comments
@@ -134,8 +144,6 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
134
  * Added: Better integration with Postmatic
135
  * Added: Portuguese (pt_PT) language, thanks to Celso Azevedo
136
 
137
- IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.
138
-
139
  = 2.1.4 =
140
  * Added: CSS classes for blog users titles by rank
141
  * Fixed Bug: Phrases saving issue
4
  Tags: wordpress comments, ajax comments, ajax, live update, theme, post comments, comments box, community, discussion, discuss, comment form, reply, comments, discussions, comment template, activity, comment author, comment system
5
  Requires at least: 2.7
6
  Tested up to: 4.1.1
7
+ Stable tag: 2.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  New interactive, AJAX comment system. Responsive comment plugin with Live Update function. Allows your visitors discuss, vote for comments and share.
16
 
17
+
18
  **wpDiscuz Features:**
19
 
20
+
21
+ **Integration with User Profile Plugins**
22
+
23
+ * BuddyPress - Avatar, Profile page
24
+ * Users Ultra - Avatar, Profile page
25
+ * Ultimate Member - Avatar, Profile page
26
+ * UserPro - Avatar, Badges, Profile page
27
+
28
+
29
  **Front-end**
30
 
31
  * | Adds interactive comment box on posts and other content types
53
  * | Post sharing options: Facebook, Twitter and Google+
54
 
55
 
 
 
 
 
 
 
 
56
  **Dashboard**
57
 
58
  * | Option to display comment form for certain post types
126
 
127
  == Changelog ==
128
 
129
+ = 2.1.6 =
130
+ * Added : Integration with Ultimate Member - author profile picture
131
+ * Added : Integration with Ultimate Member - author name is linked to profile page
132
+ * Fixed Bug: CSS overrides some default styles on /wp-admin/
133
+
134
+ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.
135
+
136
  = 2.1.5 =
137
  * Fixed Bug: Problems with email notifications
138
  * Fixed Bug: Empty name of anonymouse comments
144
  * Added: Better integration with Postmatic
145
  * Added: Portuguese (pt_PT) language, thanks to Celso Azevedo
146
 
 
 
147
  = 2.1.4 =
148
  * Added: CSS classes for blog users titles by rank
149
  * Fixed Bug: Phrases saving issue
wc-css.php CHANGED
@@ -2,27 +2,28 @@
2
 
3
  class WC_CSS {
4
 
5
- private $wc_options;
6
 
7
- function __construct($wc_options) {
8
- $this->wc_options = $wc_options;
9
  }
10
 
11
  /**
12
  * init woo discuss styles
13
  */
14
  public function init_styles() {
15
- if ( is_singular() ) {
16
- ?>
17
- <style type="text/css"> #wc-comment-header{ padding:20px 5px 1px 5px; display:block; float:none; clear:both; font-size:18px;} #wpcomm form div{ box-sizing: inherit; } #wpcomm form .item {display: block; height:auto; } .item input { border-radius:0px; height:auto; width:auto; } #wpcomm { margin:15px 5px; padding:1px 0px 10px 0px; border-top:#DDDDDD solid 1px; } #wpcomm form { margin:0px; padding:0px; background:none; border:none; width:auto !important;} #wpcomm form div{ margin:0px; } #wc_show_hide_loggedin_username{ padding:10px 5px 5px 5px; font-size:13px; } #wpcomm .wc_new_comment_and_replies { margin:0px; padding:0px; width:100%; height:auto; background:transparent;} #wpcomm .wc_new_comment_and_replies .wc_new_comment{ float:right; display:none; background:<?php echo $this->wc_options->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 3px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc_new_comment_and_replies .wc_new_reply{ float:right; display:none; background:<?php echo $this->wc_options->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 1px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc-comment-title{ margin:0px; line-height:18px; font-weight:bold; padding:10px; margin-bottom:10px; font-size:13px; text-align:right; border-bottom:#CCCCCC dotted 1px; padding-bottom:10px; } #wpcomm .wc-form-wrapper{ padding:10px; background:<?php echo isset($this->wc_options->wc_options_serialized->wc_form_bg_color) ? $this->wc_options->wc_options_serialized->wc_form_bg_color : '#f9f9f9'; ?>; margin-top:20px; border:1px solid #F1F1F1; } #wpcomm .wc-author-data{ margin-bottom:3px; } #wpcomm .wc-field-submit{ padding:5px 0px 13px 0px; } #wpcomm .wc-field-name{ width:49%; float:left; } #wpcomm .wc-field-email{ width:49%; float:right; text-align:right; } #wpcomm .wc-field-comment{ margin:5px auto 1px auto; } #wpcomm .wc-field-comment .wc-field-avatararea{ width:60px; float:left; } #wpcomm .wc-field-comment .wc-field-textarea{ margin-left:65px; } #wpcomm .wc-field-captcha{ width:55%; float:left; margin:0px; height:auto!important; padding-top:2px; } #wpcomm .wc-field-submit{ width:auto!important; float:right; text-align:right; margin:0px; } #wpcomm .wc-field-name input[type="text"]{ width:99%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-email input[type="email"]{ width:100%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-captcha input[type="text"]{ width:40%; min-width:82px; padding:3px 5px; font-size:14px; margin:0px 5px 0px 0px; height:27px; } #wpcomm .wc-field-submit input[type="submit"]{ margin:1px; } #wpcomm .wc-field-submit input[type="button"]{ margin:1px; border:#DDDDDD 1px solid; font-size: 13px; line-height: 16px; padding: 6px 15px; clear:both; float:none; } #wpcomm .captcha_msg{ color: #999999; font-family: Lato,sans-serif; font-size: 13px; line-height: 18px; display:block; clear:both; padding:5px 0px 0px 0px; } #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea { width:100%; max-width:100%; height:46px; min-height: 46px !important; padding:5px; box-sizing: border-box; border-radius:0px; } #wpcomm .wc-label{ display:block; font-size:14px; padding:5px; } #wpcomm .wc_manage_subscribtions {cursor: pointer; color: <?php echo $this->wc_options->wc_options_serialized->wc_vote_reply_color; ?>; padding: 0px 0px 5px 0px; display: block; font-size:13px; line-height:16px;} #wpcomm .wc_notification_checkboxes{ padding:7px 0px 7px 0px; text-align:left; display: none; border-top: 1px dotted #DDDDDD; line-height:18px; font-size:13px;} #wpcomm .wc_notification_checkboxes input[type="checkbox"], #wpcomm .wc_notification_checkboxes input[type="radio"]{ overflow:none; width:inherit; font-size:13px; margin:0px; padding:0px; display:inline; clear:both; float:none; max-height: 20px; } #wpcomm .wc_notification_checkboxes label { clear:both; float:none; font-weight:normal; } #wpcomm .wc-label-comment-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-reply-notify, #wpcomm .wc-notification-none { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-all-reply-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer;} #wpcomm .wc-field-captcha .wc-label{ font-size:14px; padding:5px; text-align:center; display:inline; } #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm textarea{ font-size:14px; color:#777777; font-family:Lato,sans-serif; box-sizing: border-box; margin:0px; border:<?php echo $this->wc_options->wc_options_serialized->wc_input_border_color; ?> 1px solid; clear:both; float:none; display:inline; } #wpcomm .wc-copyright{ margin: 0px 0px 0px auto; text-align:right; display: block; padding-top: 2px; } #wpcomm .wc-copyright a{ font-size: 9px; color: #AAAAAA; cursor:help; text-decoration:none; margin:0px; padding:0px; border:none;} #wpcomm .wc-thread-wrapper{ padding:10px 0px; margin-bottom:10px;} #wpcomm .wc-comment { margin-bottom:13px; } #wpcomm .wc-comment .wc-field-submit{ padding:5px 0px 5px 0px; } #wpcomm .wc-comment .wc-form-wrapper{ padding:10px 10px 7px 10px; } #wpcomm .wc-comment .wc-comment-left{ width:62px; float:left; position:absolute; text-align:center; font-family:Lato,sans-serif; line-height:16px; } #wpcomm .wc-comment .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; background:<?php echo $this->wc_options->wc_options_serialized->wc_comment_bg_color; ?>} #wpcomm .wc-reply .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; } #wpcomm .wc-reply { margin-top: 10px; margin-bottom:0px; margin-left:40px; } #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->wc_options->wc_options_serialized->wc_reply_bg_color; ?>; } #wpcomm .wc-must-login{ margin:0px; font-size:14px; line-height:16px; padding:10px; text-align:center; } #wpcomm hr{ background-color: rgba(0, 0, 0, 0.1); border: 0 none; height: 1px; margin:10px 0px; } #wpcomm .avatar{ border: 1px solid rgba(0, 0, 0, 0.1); padding: 2px; margin:0px auto; float:none; display:inline; width:48px; height:auto; } #wpcomm .wc-form-wrapper .avatar { margin-top:3px; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->wc_options->wc_options_serialized->wc_comment_text_size) ? $this->wc_options->wc_options_serialized->wc_comment_text_size : '14px'; ?>; text-align:left; color:<?php echo $this->wc_options->wc_options_serialized->wc_comment_text_color; ?>; padding-bottom:5px; line-height: 20px; /*white-space: pre-wrap;*/ white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } #wpcomm .wc-comment-text img {max-width: 90%; height: auto;} #wpcomm .wc-comment-header{ margin-bottom:7px; font-family:Lato,sans-serif; } #wpcomm .wc-comment-author{ color:<?php echo $this->wc_options->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; width:40%; float:left; white-space:nowrap; } #wpcomm .wc-comment-author a{ color:<?php echo $this->wc_options->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; white-space:nowrap; text-decoration:none; } #wpcomm .wc-comment-label{ background:<?php echo $this->wc_options->wc_options_serialized->wc_author_title_color; ?>; color:#FFFFFF; padding:2px 5px; font-size:12px; margin:4px auto; text-align:center; display:table; line-height:16px; } #wpcomm .wc-comment-date{ font-size:12px; color:#999999; float:right; text-align:right; white-space:nowrap; line-height:27px; } #wpcomm .wc-comment-footer { font-size:12px; font-weight:normal; color:#999999; margin-top:12px; min-height: 28px; font-family:Lato,sans-serif; } #wpcomm .wc-comment-footer a, #wpcomm .wc-comment-footer span.wc_editable_comment, #wpcomm .wc-comment-footer span.wc_save_edited_comment, #wpcomm span.wc_cancel_edit { text-decoration:none; font-size:13px; font-weight:bold; color:<?php echo $this->wc_options->wc_options_serialized->wc_vote_reply_color; ?>; cursor: pointer;} #wpcomm .wc-comment-footer .share_buttons_box img{ vertical-align:middle; } #wpcomm .wc-comment-footer .wc-voted{ color:#666666; cursor:default; } #wpcomm .wc-comment-footer .wc-vote-img-up{ padding:0px; margin:0px 0px -2px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-img-down{ padding:0px; margin:0px 0px -6px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-result{ padding:2px 6px 2px 5px; background:<?php echo $this->wc_options->wc_options_serialized->wc_vote_reply_color; ?>; color:#FFFFFF; font-size:12px; font-weight:bold; display:inline; margin-right:5px;} #wpcomm .wc-toggle{ float:right; text-align:right; padding-right:0px; margin-right:0px; color:#999999; cursor:pointer; font-size:12px; white-space:nowrap; } #wpcomm .item { background: none; border-radius: 0px; box-shadow: none; } #wc_response_info img{ margin: 0px auto 0px auto; } #wpcomm .share_buttons_box img { display:inline!important; width:16px; height:16px; } #wpcomm .wc-captcha-label img{ display: inline!important; border:none; padding:0px 0px 0px 2px; margin:0px; vertical-align:middle; } #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link { cursor: pointer; font-size:13px; font-weight:bold; color: <?php echo $this->wc_options->wc_options_serialized->wc_vote_reply_color; ?>; } #wpcomm .wc-form-footer, #wpcomm .wc-secondary-forms-wrapper {display: none;} #wpcomm .wc-field-captcha .wc-captcha-label { padding: 0; display: inline-block; } #wpcomm .wc_captcha_refresh_img {cursor: pointer; margin-left: 3px;} #wpcomm .share_buttons_box {display: none;} #wpcomm .wc-no-left-margin {margin-left: 0 !important;} div.wc_modal { background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} .wc-load-more-submit-wrap { width: 100%; text-align: center; margin-bottom:20px; margin-top:25px; } .wc-load-more-submit { width: auto!important; padding:10px 20px; text-align: center; background-color:#FAFAFA; border: 1px solid <?php echo $this->wc_options->wc_options_serialized->wc_input_border_color; ?>; border-radius: 3px; color:#555555; cursor:pointer; } .wc-load-more-submit:hover{ background-image: -moz-linear-gradient(center top , #f4f4f4, #e6e6e6); background-repeat: repeat-x; box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); color: #7c7c7c; } #wc_openModalFormAction > div#wc_response_info { width: 200px; background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} #wc_openModalFormAction > div#wc_response_info { } #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/x.png'); ?>") no-repeat; background-position-x: right; background-position-y: top; } #wpcomm #bywpdiscuz{ display:none; } #wpcomm .by-wpdiscuz{ text-align:right; border-top:#DDDDDD solid 1px; padding:1px 1px 1px 1px; } #wpcomm .by-wpdiscuz a{ font-size:11px; font-weight:bold; text-align:right; color:#CCCCCC; padding:1px; margin:0px; line-height:12px; border:none; text-decoration:none; } #wpcomm .wpdimg{ border:none; padding:0px; margin:0px; height:12px; cursor:pointer; display:inline; clear:both; } #wpcomm .wc-comment .wc-comment-right.wc_new_loaded_comment {background: <?php echo $this->wc_options->wc_options_serialized->wc_new_loaded_comment_bg_color; ?>;} #wc_unsubscribe_message { margin:10px auto 1px auto; padding:10px; text-align:center; border:#00DD00 1px dotted; background:#CCFFCC; } .wc_unsubscribe_message { font-size:14px; color:#444; } #wpcomm .wc_comment_level-3 { margin-left: 40px!important; } #wpcomm .wc_comment_level-4 { margin-left: 40px!important; } #wpcomm .wc_comment_level-5 { margin-left: 40px!important; } #wpcomm .wc_editable_div {-moz-appearance: textfield-multiline; -webkit-appearance: textarea; border: 1px solid #ccc; border-radius: 0; font: medium -moz-fixed; font: -webkit-small-control; overflow: auto; resize: both; box-sizing: border-box; height: 46px; max-width: 100%; min-height: 46px !important; padding: 5px; width: 100%; } #wpcomm .wc_cancel_edit {display: none;} #wpcomm .wc-comment-text p {margin-bottom: 10px;} #wpcomm .wc-comment-right textarea.wc_edit_comment {height: 80px; max-height: 200px;}; <?php echo stripslashes($this->wc_options->wc_options_serialized->wc_custom_css); ?> </style>
18
- <?php
19
- if (is_rtl()) {
20
- // RTL SUPPORT HERE
21
- ?>
22
  <style type="text/css">#wpcomm .wc-field-comment .wc-field-textarea{ margin-left: 2px; margin-right: 65px; } #wpcomm .wc-form-wrapper .avatar{ margin-top: 0px; } #wpcomm .wc-field-comment .wc-field-avatararea{ float:right; } #wpcomm .wc-field-submit{ float:left } #wpcomm .wc-field-captcha{ float:right; } #wpcomm .wc_notification_checkboxes{ text-align:right; } #wpcomm .wc-comment .wc-comment-right{ margin-left:0px; margin-right:70px; } #wpcomm .wc-comment-author{ float:right; } #wpcomm .wc-comment-date{ float:left; } #wpcomm .wc-comment-footer .wc-vote-result{ margin-right:0px; margin-left:5px; } #wpcomm .wc-toggle{ float:left; }</style>
23
  <?php
24
- }
25
- }
26
- }
 
27
  }
28
  ?>
2
 
3
  class WC_CSS {
4
 
5
+ private $wc_options_serialized;
6
 
7
+ function __construct($wc_options_serialized) {
8
+ $this->wc_options_serialized = $wc_options_serialized;
9
  }
10
 
11
  /**
12
  * init woo discuss styles
13
  */
14
  public function init_styles() {
15
+ if (is_singular()) {
16
+ ?>
17
+ <style type="text/css"> #wc-comment-header{ padding:20px 5px 1px 5px; display:block; float:none; clear:both; font-size:18px;} #wpcomm form div{ box-sizing: inherit; } #wpcomm form .wpdiscuz-item {display: block; height:auto; } .wpdiscuz-item input { border-radius:0px; height:auto; width:auto; } #wpcomm { margin:15px 5px; padding:1px 0px 10px 0px; border-top:#DDDDDD solid 1px; } #wpcomm form { margin:0px; padding:0px; background:none; border:none; width:auto !important;} #wpcomm form div{ margin:0px; } #wc_show_hide_loggedin_username{ padding:10px 5px 5px 5px; font-size:13px; } #wpcomm .wc_new_comment_and_replies { margin:0px; padding:0px; width:100%; height:auto; background:transparent;} #wpcomm .wc_new_comment_and_replies .wc_new_comment{ float:right; display:none; background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 3px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc_new_comment_and_replies .wc_new_reply{ float:right; display:none; background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 1px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc-comment-title{ margin:0px; line-height:18px; font-weight:bold; padding:10px; margin-bottom:10px; font-size:13px; text-align:right; border-bottom:#CCCCCC dotted 1px; padding-bottom:10px; } #wpcomm .wc-form-wrapper{ padding:10px; background:<?php echo isset($this->wc_options_serialized->wc_form_bg_color) ? $this->wc_options_serialized->wc_form_bg_color : '#f9f9f9'; ?>; margin-top:20px; border:1px solid #F1F1F1; } #wpcomm .wc-author-data{ margin-bottom:3px; } #wpcomm .wc-field-submit{ padding:5px 0px 13px 0px; } #wpcomm .wc-field-name{ width:49%; float:left; } #wpcomm .wc-field-email{ width:49%; float:right; text-align:right; } #wpcomm .wc-field-comment{ margin:5px auto 1px auto; } #wpcomm .wc-field-comment .wc-field-avatararea{ width:60px; float:left; } #wpcomm .wc-field-comment .wc-field-textarea{ margin-left:65px; } #wpcomm .wc-field-captcha{ width:55%; float:left; margin:0px; height:auto!important; } #wpcomm .wc-field-submit{ width:auto!important; float:right; text-align:right; margin:0px; } #wpcomm .wc-field-name input[type="text"]{ width:99%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-email input[type="email"]{ width:100%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-captcha input[type="text"]{ width:40%; min-width:82px; padding:3px 5px; font-size:14px; margin:0px 5px 0px 0px; height:27px; } #wpcomm .wc-field-submit input[type="submit"]{ margin:1px; } #wpcomm .wc-field-submit input[type="button"]{ margin:1px; border:#DDDDDD 1px solid; font-size: 13px; line-height: 16px; padding: 6px 15px; clear:both; float:none; } #wpcomm .captcha_msg{ color: #999999; font-family: Lato,sans-serif; font-size: 13px; line-height: 18px; display:block; clear:both; padding:5px 0px 0px 0px; } #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea { width:100%; max-width:100%; height:48px; min-height: 48px !important; padding:5px; box-sizing: border-box; border-radius:0px; } #wpcomm .wc-label{ display:block; font-size:14px; padding:5px; } #wpcomm .wc_manage_subscribtions {cursor: pointer; color: <?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding: 0px 0px 5px 0px; display: block; font-size:13px; line-height:16px;} #wpcomm .wc_notification_checkboxes{ padding:7px 0px 7px 0px; text-align:left; display: none; border-top: 1px dotted #DDDDDD; line-height:18px; font-size:13px;} #wpcomm .wc_notification_checkboxes input[type="checkbox"], #wpcomm .wc_notification_checkboxes input[type="radio"]{ overflow:none; width:inherit; font-size:13px; margin:0px; padding:0px; display:inline; clear:both; float:none; max-height: 20px; margin:0px 3px; } #wpcomm .wc_notification_checkboxes label { clear:both; float:none; font-weight:normal; } #wpcomm .wc-label-comment-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-reply-notify, #wpcomm .wc-notification-none { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-all-reply-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer;} #wpcomm .wc-field-captcha .wc-label{ font-size:14px; padding:5px; text-align:center; display:inline; } #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm textarea{ font-size:14px; color:#777777; font-family:Lato,sans-serif; box-sizing: border-box; margin:0px; border:<?php echo $this->wc_options_serialized->wc_input_border_color; ?> 1px solid; clear:both; float:none; display:inline; } #wpcomm .wc-copyright{ margin: 0px 0px 0px auto; text-align:right; display: block; padding-top: 2px; } #wpcomm .wc-copyright a{ font-size: 9px; color: #AAAAAA; cursor:help; text-decoration:none; margin:0px; padding:0px; border:none;} #wpcomm .wc-thread-wrapper{ padding:10px 0px; margin-bottom:10px;} #wpcomm .wc-comment { margin-bottom:13px; } #wpcomm .wc-comment .wc-field-submit{ padding:5px 0px 5px 0px; } #wpcomm .wc-comment .wc-form-wrapper{ padding:10px 10px 7px 10px; } #wpcomm .wc-comment .wc-comment-left{ width:62px; float:left; position:absolute; text-align:center; font-family:Lato,sans-serif; line-height:16px; } #wpcomm .wc-comment .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; background:<?php echo $this->wc_options_serialized->wc_comment_bg_color; ?>} #wpcomm .wc-reply .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; } #wpcomm .wc-reply { margin-top: 10px; margin-bottom:0px; margin-left:40px; } #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->wc_options_serialized->wc_reply_bg_color; ?>; } #wpcomm .wc-must-login{ margin:0px; font-size:14px; line-height:16px; padding:10px; text-align:center; } #wpcomm hr{ background-color: rgba(0, 0, 0, 0.1); border: 0 none; height: 1px; margin:10px 0px; } #wpcomm .avatar{ border: 1px solid rgba(0, 0, 0, 0.1); padding: 2px; margin:0px auto; float:none; display:inline; width:48px; height:auto; } #wpcomm .wc-form-wrapper .avatar { margin-top:3px; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->wc_options_serialized->wc_comment_text_size) ? $this->wc_options_serialized->wc_comment_text_size : '14px'; ?>; text-align:left; color:<?php echo $this->wc_options_serialized->wc_comment_text_color; ?>; padding-bottom:5px; line-height: 20px; /*white-space: pre-wrap;*/ white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } #wpcomm .wc-comment-text img {max-width: 90%; height: auto;} #wpcomm .wc-comment-header{ margin-bottom:7px; font-family:Lato,sans-serif; } #wpcomm .wc-comment-author{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; width:40%; float:left; white-space:nowrap; } #wpcomm .wc-comment-author a{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; white-space:nowrap; text-decoration:none; } #wpcomm .wc-comment-label{ background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; color:#FFFFFF; padding:2px 5px; font-size:12px; margin:4px auto; text-align:center; display:table; line-height:16px; } #wpcomm .wc-comment-date{ font-size:12px; color:#999999; float:right; text-align:right; white-space:nowrap; line-height:27px; } #wpcomm .wc-comment-footer { font-size:12px; font-weight:normal; color:#999999; margin-top:12px; min-height: 28px; font-family:Lato,sans-serif; } #wpcomm .wc-comment-footer a, #wpcomm .wc-comment-footer span.wc_editable_comment, #wpcomm .wc-comment-footer span.wc_save_edited_comment, #wpcomm span.wc_cancel_edit { text-decoration:none; font-size:13px; font-weight:bold; color:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; cursor: pointer;} #wpcomm .wc-comment-footer .share_buttons_box img{ vertical-align:middle; } #wpcomm .wc-comment-footer .wc-voted{ color:#666666; cursor:default; } #wpcomm .wc-comment-footer .wc-vote-img-up{ padding:0px; margin:0px 0px -2px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-img-down{ padding:0px; margin:0px 0px -6px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-result{ padding:2px 6px 2px 5px; background:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; color:#FFFFFF; font-size:12px; font-weight:bold; display:inline; margin-right:5px;} #wpcomm .wc-toggle{ float:right; text-align:right; padding-right:0px; margin-right:0px; color:#999999; cursor:pointer; font-size:12px; white-space:nowrap; } #wpcomm .wpdiscuz-item { background: none; border-radius: 0px; box-shadow: none; } #wc_response_info img{ margin: 0px auto 0px auto; box-shadow: none; } #wpcomm .share_buttons_box img { display:inline!important; width:16px; height:16px; } #wpcomm .wc-captcha-label img{ display: inline!important; border:none; padding:0px 0px 0px 2px; margin:0px; vertical-align:middle; } #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link { cursor: pointer; font-size:13px; font-weight:bold; color: <?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; } #wpcomm .wc-form-footer, #wpcomm .wc-secondary-forms-wrapper {display: none;} #wpcomm .wc-field-captcha .wc-captcha-label { padding: 0; display: inline-block; } #wpcomm .wc_captcha_refresh_img {cursor: pointer; margin-left: 3px;} #wpcomm .share_buttons_box {display: none;} #wpcomm .wc-no-left-margin {margin-left: 0 !important;} div.wc_modal { background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} .wc-load-more-submit-wrap { width: 100%; text-align: center; margin-bottom:20px; margin-top:25px; } .wc-load-more-submit { width: auto!important; padding:10px 20px; text-align: center; background-color:#FAFAFA; border: 1px solid <?php echo $this->wc_options_serialized->wc_input_border_color; ?>; border-radius: 3px; color:#555555; cursor:pointer; } .wc-load-more-submit:hover{ background-image: -moz-linear-gradient(center top , #f4f4f4, #e6e6e6); background-repeat: repeat-x; box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); color: #7c7c7c; } #wc_openModalFormAction > div#wc_response_info { width: 200px; background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} #wc_openModalFormAction > div#wc_response_info { } #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/x.png'); ?>") no-repeat; background-position-x: right; background-position-y: top; } #wpcomm #bywpdiscuz{ display:none; } #wpcomm .by-wpdiscuz{ text-align:right; border-top:#DDDDDD solid 1px; padding:1px 1px 1px 1px; } #wpcomm .by-wpdiscuz a{ font-size:11px; font-weight:bold; text-align:right; color:#CCCCCC; padding:1px; margin:0px; line-height:12px; border:none; text-decoration:none; } #wpcomm .wpdimg{ border:none; padding:0px; margin:0px; height:12px; cursor:pointer; display:inline; clear:both; } #wpcomm .wc-comment .wc-comment-right.wc_new_loaded_comment {background: <?php echo $this->wc_options_serialized->wc_new_loaded_comment_bg_color; ?>;} #wc_unsubscribe_message { margin:10px auto 1px auto; padding:10px; text-align:center; border:#00DD00 1px dotted; background:#CCFFCC; } .wc_unsubscribe_message { font-size:14px; color:#444; } #wpcomm .wc_comment_level-3 { margin-left: 40px!important; } #wpcomm .wc_comment_level-4 { margin-left: 40px!important; } #wpcomm .wc_comment_level-5 { margin-left: 40px!important; } #wpcomm .wc_editable_div {-moz-appearance: textfield-multiline; -webkit-appearance: textarea; border: 1px solid #ccc; border-radius: 0; font: medium -moz-fixed; font: -webkit-small-control; overflow: auto; resize: both; box-sizing: border-box; height: 46px; max-width: 100%; min-height: 46px !important; padding: 5px; width: 100%; } #wpcomm .wc_cancel_edit {display: none;} #wpcomm .wc-comment-text p {margin-bottom: 10px;} #wpcomm .wc-comment-right textarea.wc_edit_comment {height: 80px; max-height: 200px;}; <?php echo stripslashes($this->wc_options_serialized->wc_custom_css); ?> </style>
18
+ <?php
19
+ if (is_rtl()) {
20
+ // RTL SUPPORT HERE
21
+ ?>
22
  <style type="text/css">#wpcomm .wc-field-comment .wc-field-textarea{ margin-left: 2px; margin-right: 65px; } #wpcomm .wc-form-wrapper .avatar{ margin-top: 0px; } #wpcomm .wc-field-comment .wc-field-avatararea{ float:right; } #wpcomm .wc-field-submit{ float:left } #wpcomm .wc-field-captcha{ float:right; } #wpcomm .wc_notification_checkboxes{ text-align:right; } #wpcomm .wc-comment .wc-comment-right{ margin-left:0px; margin-right:70px; } #wpcomm .wc-comment-author{ float:right; } #wpcomm .wc-comment-date{ float:left; } #wpcomm .wc-comment-footer .wc-vote-result{ margin-right:0px; margin-left:5px; } #wpcomm .wc-toggle{ float:left; }</style>
23
  <?php
24
+ }
25
+ }
26
+ }
27
+
28
  }
29
  ?>
wc.php CHANGED
@@ -3,13 +3,14 @@
3
  /*
4
  Plugin Name: wpDiscuz - Wordpress Comments
5
  Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- Version: 2.1.5
7
  Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  Author URI: http://www.gvectors.com/
9
  Plugin URI: http://www.gvectors.com/wpdiscuz/
10
  */
11
 
12
- include_once 'wc-options.php';
 
13
  include_once 'helper/wc-helper.php';
14
  include_once 'includes/wc-db-helper.php';
15
  include_once 'comment-form/tpl-comment.php';
@@ -19,6 +20,7 @@ include_once 'wc-css.php';
19
  class WC_Core {
20
 
21
  public $wc_options;
 
22
  public $comment_types;
23
  public $reviews_count;
24
  public $wc_db_helper;
@@ -39,14 +41,16 @@ class WC_Core {
39
  add_action('plugins_loaded', array(&$this, 'load_wpdiscuz_text_domain'));
40
  add_action('init', array(&$this, 'init_plugin_dir_name'), 1);
41
 
42
- $this->wc_options = new WC_Options();
43
- $this->wc_db_helper = $this->wc_options->wc_db_helper;
 
 
44
 
45
  register_activation_hook(__FILE__, array($this, 'db_operations'));
46
 
47
- $this->wc_helper = new WC_Helper($this->wc_options->wc_options_serialized);
48
- $this->wc_css = new WC_CSS($this->wc_options);
49
- $this->comment_tpl_builder = new WC_Comment_Template_Builder($this->wc_helper, $this->wc_db_helper, $this->wc_options);
50
 
51
  add_action('init', array(&$this, 'register_session'), 2);
52
  add_action('admin_init', array(&$this, 'wc_plugin_new_version'), 2);
@@ -75,7 +79,7 @@ class WC_Core {
75
  add_action('wp_ajax_wc_list_new_comments', array(&$this, 'wc_list_new_comments'));
76
  add_action('wp_ajax_nopriv_wc_list_new_comments', array(&$this, 'wc_list_new_comments'));
77
 
78
- if ($this->wc_options->wc_options_serialized->wc_comment_editable_time) {
79
  add_action('wp_ajax_wc_get_editable_comment_content', array(&$this, 'wc_get_editable_comment_content'));
80
  add_action('wp_ajax_nopriv_wc_get_editable_comment_content', array(&$this, 'wc_get_editable_comment_content'));
81
  add_action('wp_ajax_wc_save_edited_comment', array(&$this, 'wc_save_edited_comment'));
@@ -122,16 +126,16 @@ class WC_Core {
122
  }
123
 
124
  private function wc_add_new_options() {
125
- $this->wc_options->wc_options_serialized->init_options(get_option($this->wc_options->wc_options_serialized->wc_options_slug));
126
- $wc_new_options = $this->wc_options->wc_options_serialized->to_array();
127
- update_option($this->wc_options->wc_options_serialized->wc_options_slug, serialize($wc_new_options));
128
  }
129
 
130
  private function wc_add_new_phrases() {
131
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
132
  $wc_saved_phrases = $this->wc_db_helper->get_phrases();
133
- $this->wc_options->wc_options_serialized->init_phrases();
134
- $wc_phrases = $this->wc_options->wc_options_serialized->wc_phrases;
135
  $wc_new_phrases = array_merge($wc_phrases, $wc_saved_phrases);
136
  $this->wc_db_helper->update_phrases($wc_new_phrases);
137
  }
@@ -189,7 +193,7 @@ class WC_Core {
189
  if ( is_singular() ) {
190
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
191
 
192
- if ($this->wc_options->wc_options_serialized->wc_comment_list_update_type != 0) {
193
  wp_enqueue_script('wc-jquery-ui', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/jquery-ui/jquery-ui.js'), array('jquery'), '1.11.2', false);
194
  }
195
 
@@ -272,13 +276,13 @@ class WC_Core {
272
  $notification_type = isset($_POST['notification_type']) ? $_POST['notification_type'] : '';
273
 
274
 
275
- if (!$this->wc_options->wc_options_serialized->wc_captcha_show_hide) {
276
  if (!is_user_logged_in()) {
277
  $sess_captcha = $_SESSION['wc_captcha'][$comment_post_ID . '-' . $comment_parent];
278
  $captcha = filter_input(INPUT_POST, 'captcha');
279
  if (md5(strtolower($captcha)) !== $sess_captcha) {
280
  $message_array['code'] = -1;
281
- $message_array['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_invalid_captcha'];
282
  echo json_encode($message_array);
283
  exit;
284
  }
@@ -334,7 +338,7 @@ class WC_Core {
334
  }
335
  $wc_notification_inserted_id = 0;
336
  if ($notification_type == 'post' && !$this->wc_db_helper->wc_has_post_notification($comment_post_ID, $email)) {
337
- if (class_exists('Prompt_Comment_Form_Handling') && $this->wc_options->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
338
  $_POST[Prompt_Comment_Form_Handling::SUBSCRIBE_CHECKBOX_NAME] = 1;
339
  Prompt_Comment_Form_Handling::handle_form($new_comment_id, $new_inserted_comment->comment_approved);
340
  } else {
@@ -353,7 +357,7 @@ class WC_Core {
353
  $new_comment = new WC_Comment(get_comment($new_comment_id, OBJECT));
354
  if ($held_moderate) {
355
  $message_array['code'] = -2;
356
- $message_array['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_held_for_moderate'];
357
  } else {
358
  $message_array['code'] = 1;
359
  $message_array['message'] = $this->comment_tpl_builder->get_comment_template($new_comment, null, $comment_depth);
@@ -363,7 +367,7 @@ class WC_Core {
363
  } else {
364
  $message_array['code'] = -1;
365
  $message_array['wc_new_comment_id'] = -1;
366
- $message_array['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_invalid_field'];
367
  }
368
 
369
  echo json_encode($message_array);
@@ -376,13 +380,13 @@ class WC_Core {
376
  // MUST BE CHANGED IN NEXT VERSION OF PLUGIN
377
  public function vote_on_comment() {
378
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
379
- $this->wc_options->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
380
  }
381
  $messageArray = array();
382
  $messageArray['code'] = -1;
383
  $comment_id = '';
384
  if (!is_user_logged_in()) {
385
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_login_to_vote'];
386
  echo json_encode($messageArray);
387
  exit();
388
  }
@@ -394,7 +398,7 @@ class WC_Core {
394
  $is_user_voted = $this->wc_db_helper->is_user_voted($user_id, $comment_id);
395
  $comment = get_comment($comment_id);
396
  if ($comment->user_id == $user_id) {
397
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_self_vote'];
398
  echo json_encode($messageArray);
399
  exit();
400
  }
@@ -406,9 +410,9 @@ class WC_Core {
406
  $vote_count = intval(get_comment_meta($comment_id, 'wpdiscuz_votes', true)) + intval($vote_type);
407
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
408
  $messageArray['code'] = 1;
409
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_vote_counted'];
410
  } else {
411
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_vote_only_one_time'];
412
  }
413
  } else {
414
  $this->wc_db_helper->add_vote_type($user_id, $comment_id, $vote_type);
@@ -420,10 +424,10 @@ class WC_Core {
420
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
421
  }
422
  $messageArray['code'] = 1;
423
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_vote_counted'];
424
  }
425
  } else {
426
- $messageArray['message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_voting_error'];
427
  }
428
 
429
  echo json_encode($messageArray);
@@ -436,7 +440,7 @@ class WC_Core {
436
  get_currentuserinfo();
437
  $message_array = array();
438
  $wc_post_id = isset($_POST['wc_post_id']) ? intval($_POST['wc_post_id']) : 0;
439
- $wc_comment_list_update_type = $this->wc_options->wc_options_serialized->wc_comment_list_update_type;
440
 
441
  $wc_all_new_comments_count = $this->wc_db_helper->get_comments_count($wc_post_id, null, null);
442
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? intval($_POST['wc_last_comment_id']) : 0;
@@ -452,7 +456,7 @@ class WC_Core {
452
  $c_offset = intval($_POST['wc_comments_offset']);
453
  $c_offset = ($c_offset) ? $c_offset : 1;
454
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
455
- $wc_limit = $c_offset * $this->wc_options->wc_options_serialized->wc_comment_count + $wc_curr_user_comment_count;
456
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($wc_post_id, $wc_last_comment_id, $wc_author_email);
457
 
458
  $wc_visible_parent_comment_ids = $this->wc_db_helper->wc_get_visible_parent_comment_ids($wc_post_id, $wc_limit);
@@ -471,8 +475,8 @@ class WC_Core {
471
 
472
  $wc_user_comments_replies_count = count($wc_hidden_new_comment_data['wc_new_replies_ids']);
473
  $wc_all_new_comments_count = count($wc_hidden_new_comment_data['wc_new_comments_ids']);
474
- $wc_all_new_comments_count_text = ($wc_all_new_comments_count > 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_comments_button_text'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_new_comment_button_text'];
475
- $wc_user_comments_replies_count_text = ($wc_user_comments_replies_count > 1) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_replies_button_text'] : $this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_button_text'];
476
 
477
  $message_array['code'] = 2;
478
  $message_array['wc_new_comment_button_text'] = $wc_all_new_comments_count_text;
@@ -502,8 +506,8 @@ class WC_Core {
502
  $wc_requested_comments_type = isset($_POST['wc_requested_comments_type']) ? intval($_POST['wc_requested_comments_type']) : 0;
503
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? intval($_POST['wc_curr_user_comment_count']) : 0;
504
  $wc_comments_offset = isset($_POST['wc_comments_offset']) ? $_POST['wc_comments_offset'] : 1;
505
- $wc_limit = $wc_comments_offset * $this->wc_options->wc_options_serialized->wc_comment_count + $wc_curr_user_comment_count;
506
- $wc_comments_max_depth = $this->wc_options->wc_options_serialized->wc_comments_max_depth ? $this->wc_options->wc_options_serialized->wc_comments_max_depth : 2;
507
 
508
  $wc_new_comments_ids = array();
509
  if (is_user_logged_in()) {
@@ -561,7 +565,7 @@ class WC_Core {
561
  $wc_child_comments = array();
562
  $wc_parent_comments = $this->wc_helper->wc_sort_parent_comments($wc_parent_comments);
563
 
564
- if ($this->wc_options->wc_options_serialized->wc_comment_list_order === 'desc') {
565
  $wc_parent_comments = array_reverse($wc_parent_comments);
566
  }
567
 
@@ -571,11 +575,11 @@ class WC_Core {
571
  $message_array['message'] = wp_list_comments($comm_list_args, $wc_parent_comments);
572
  $wc_post_parent_comments_count = $this->wc_db_helper->get_post_parent_comments_count($wc_post_id);
573
 
574
- if ($wc_post_parent_comments_count > $this->wc_options->wc_options_serialized->wc_comment_count * $wc_comments_offset + $wc_curr_user_comment_count) {
575
 
576
  $unique_id = $wc_post_id . '_' . 0;
577
  $load_more = '<div class="wc-load-more-submit-wrap">';
578
- $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
579
 
580
  $load_more .= '</button>';
581
  $load_more .= '</div>';
@@ -595,7 +599,7 @@ class WC_Core {
595
  }
596
  $child_comments = array();
597
  foreach ($wc_parent_comments as $parent_comment) {
598
- $child_comments = get_comments(array('parent' => $parent_comment->comment_ID, 'order' => $wc_comment_list_order = $this->wc_options->wc_options_serialized->wc_comment_list_order));
599
  if (!$this->has_comment($wc_child_comments, $parent_comment)) {
600
  $wc_child_comments[] = $parent_comment;
601
  }
@@ -669,15 +673,15 @@ class WC_Core {
669
  public function get_wp_comments($comments_offset, $post_id = null, $wc_curr_user_comment_count = 0, $wc_hidden_new_comment_count = 0) {
670
  global $post;
671
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
672
- $this->wc_options->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
673
  }
674
 
675
  if (!$post_id) {
676
  $post_id = $post->ID;
677
  }
678
- $wc_comment_count = $this->wc_options->wc_options_serialized->wc_comment_count;
679
- $wc_comment_list_order = $this->wc_options->wc_options_serialized->wc_comment_list_order;
680
- $wc_comments_max_depth = $this->wc_options->wc_options_serialized->wc_comments_max_depth ? $this->wc_options->wc_options_serialized->wc_comments_max_depth : 2;
681
 
682
  $comm_list_args = array(
683
  'callback' => array(&$this, 'wc_comment_callback'),
@@ -694,14 +698,14 @@ class WC_Core {
694
  $wc_wp_comments['wc_list'] = wp_list_comments($comm_list_args, $wc_comments);
695
  $wc_button_comments_count_style = $wc_hidden_new_comment_count > 0 ? "inline-block" : "none";
696
 
697
- if ($this->wc_parent_comments_count > $this->wc_options->wc_options_serialized->wc_comment_count * $comments_offset + $wc_curr_user_comment_count) {
698
 
699
  $unique_id = $post_id . '_' . 0;
700
  $load_more = '<div class="wc-load-more-submit-wrap">';
701
- $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
702
 
703
- if ($this->wc_options->wc_options_serialized->wc_comment_list_update_type == 1) {
704
- $load_more .= '<span style="display:' . $wc_button_comments_count_style . ';" id="wc_button_new_comments_text" class="wc_button_new_comments_text">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options->wc_options_serialized->wc_phrases['wc_new_comments_text'] . ' : ';
705
  $load_more .= '<span id="wc_button_new_comments_count" class="wc_button_new_comments_count">' . $wc_hidden_new_comment_count . '</span></span>';
706
  }
707
 
@@ -724,7 +728,7 @@ class WC_Core {
724
  $post_id = intval($_POST['wc_post_id']);
725
  $message_array = array();
726
  if ($c_offset && $post_id) {
727
- $wc_limit = $c_offset * $this->wc_options->wc_options_serialized->wc_comment_count;
728
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? $_POST['wc_last_comment_id'] : 0;
729
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
730
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($post_id, $wc_last_comment_id);
@@ -732,7 +736,7 @@ class WC_Core {
732
  $wc_hidden_new_comment_data = $this->get_invisible_comment_count($wc_new_comments, null, $wc_visible_parent_comment_ids);
733
 
734
  $message_array['code'] = 1;
735
- if ($this->wc_options->wc_options_serialized->wc_comment_list_update_type == 2) {
736
  $message_array['wc_last_comment_id'] = ($wc_hidden_new_comment_data['last_comment_id']) ? $wc_hidden_new_comment_data['last_comment_id'] : $wc_last_comment_id;
737
  } else {
738
  $message_array['wc_last_comment_id'] = $this->wc_db_helper->get_last_comment_id_by_post_id($post_id);
@@ -769,7 +773,7 @@ class WC_Core {
769
 
770
  public function is_guest_can_comment() {
771
  $user_can_comment = TRUE;
772
- if ($this->wc_options->wc_options_serialized->wc_user_must_be_registered) {
773
  if (!is_user_logged_in()) {
774
  $user_can_comment = FALSE;
775
  }
@@ -786,7 +790,7 @@ class WC_Core {
786
 
787
  public function init_current_post_type() {
788
  global $post;
789
- if ($post && in_array($post->post_type, $this->wc_options->wc_options_serialized->wc_post_types)) {
790
  add_filter('comments_template', array(&$this, 'remove_comments_template_on_pages'), 1);
791
  }
792
  }
@@ -835,8 +839,8 @@ class WC_Core {
835
  */
836
  public function wc_notify_on_new_comments($post_id, $comment_id, $email) {
837
  $emails_array = $this->wc_db_helper->wc_get_post_new_comment_notification($post_id, $email);
838
- $subject = ($this->wc_options->wc_options_serialized->wc_phrases['wc_email_subject']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_email_subject'] : 'New Comment';
839
- $message = ($this->wc_options->wc_options_serialized->wc_phrases['wc_email_message']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_email_message'] : 'New comment on the discussion section you\'ve been interested in';
840
  foreach ($emails_array as $e_row) {
841
  $this->wc_email_sender($e_row, $comment_id, $subject, $message);
842
  }
@@ -847,8 +851,8 @@ class WC_Core {
847
  */
848
  public function wc_notify_on_all_new_reply($post_id, $new_comment_id, $email) {
849
  $emails_array = $this->wc_db_helper->wc_get_post_all_new_comment_notification($post_id, $email);
850
- $subject = ($this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_subject']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_subject'] : 'New Reply';
851
- $message = ($this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_message']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_message'] : 'New reply on the discussion section you\'ve been interested in';
852
  foreach ($emails_array as $e_row) {
853
  $this->wc_email_sender($e_row, $new_comment_id, $subject, $message);
854
  }
@@ -859,8 +863,8 @@ class WC_Core {
859
  */
860
  public function wc_notify_on_new_reply($parent_comment_id, $new_comment_id, $email) {
861
  $emails_array = $this->wc_db_helper->wc_get_post_new_reply_notification($parent_comment_id, $email);
862
- $subject = ($this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_subject']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_subject'] : 'New Reply';
863
- $message = ($this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_message']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_new_reply_email_message'] : 'New reply on the discussion section you\'ve been interested in';
864
  foreach ($emails_array as $e_row) {
865
  $this->wc_email_sender($e_row, $new_comment_id, $subject, $message);
866
  }
@@ -870,8 +874,8 @@ class WC_Core {
870
  $curr_post = get_post($post_id);
871
  $curr_post_author = get_userdata($curr_post->post_author);
872
 
873
- $subject = isset($this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email_subject']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email_subject'] : __('Subscribe Confirmation', WC_Core::$TEXT_DOMAIN);
874
- $message = isset($this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email_message']) ? $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email_message'] : __('Hi, <br/> You just subscribed for new comments on our website. This means you will receive an email when new comments are posted according to subscription option you\'ve chosen. <br/> To activate, click confirm below. If you believe this is an error, ignore this message and we\'ll never bother you again.', WC_Core::$TEXT_DOMAIN);
875
 
876
  if ($subscribtion_type == 'post' || $subscribtion_type = '') {
877
  $comment_or_post_subscrib_id = $post_id;
@@ -882,8 +886,8 @@ class WC_Core {
882
  $unsubscribe_url = $this->wc_db_helper->wc_unsubscribe_link($comment_or_post_subscrib_id, $email, $subscribtion_type);
883
  $post_permalink = get_permalink($post_id);
884
  $message .= "<br/><br/><a href='$post_permalink'>$post_permalink</a>";
885
- $message .= "<br/><br/><a href='$confirm_url'>" . $this->wc_options->wc_options_serialized->wc_phrases['wc_confirm_email'] . "</a>";
886
- $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->wc_options->wc_options_serialized->wc_phrases['wc_ignore_subscription'] . "</a>";
887
  $headers = array();
888
  $content_type = apply_filters('wp_mail_content_type', 'text/html');
889
  $from_name = apply_filters('wp_mail_from_name', get_bloginfo('name'));
@@ -913,7 +917,7 @@ class WC_Core {
913
  $unsubscribe_url = get_permalink($comment->comment_post_ID) . "?wpdiscuzSubscribeID=" . $email_data['id'] . "&key=" . $email_data['activation_key'] . '&#wc_unsubscribe_message';
914
  $message .= "<br/><br/><a href='$permalink'>$permalink</a>";
915
  $message .= "<br/><br/>$wc_new_comment_content";
916
- $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->wc_options->wc_options_serialized->wc_phrases['wc_unsubscribe'] . "</a>";
917
  $headers = array();
918
  $content_type = apply_filters('wp_mail_content_type', 'text/html');
919
  $from_name = apply_filters('wp_mail_from_name', get_bloginfo('name'));
@@ -966,7 +970,7 @@ class WC_Core {
966
  $message_array['message'] = $comment->comment_content;
967
  } else {
968
  $message_array['code'] = -1;
969
- $message_array['phrase_message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_edit_not_possible'];
970
  }
971
  }
972
  echo json_encode($message_array);
@@ -1014,11 +1018,11 @@ class WC_Core {
1014
  $message_array['message'] = $this->comment_tpl_builder->get_comment_template($edited_comment, null, $comment_depth);
1015
  } else {
1016
  $message_array['code'] = -1;
1017
- $message_array['phrase_message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_not_updated'];
1018
  }
1019
  } else {
1020
  $message_array['code'] = -2;
1021
- $message_array['phrase_message'] = $this->wc_options->wc_options_serialized->wc_phrases['wc_comment_not_edited'];
1022
  }
1023
  }
1024
 
3
  /*
4
  Plugin Name: wpDiscuz - Wordpress Comments
5
  Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ Version: 2.1.6
7
  Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  Author URI: http://www.gvectors.com/
9
  Plugin URI: http://www.gvectors.com/wpdiscuz/
10
  */
11
 
12
+ include_once 'options/wc-options.php';
13
+ include_once 'options/wc-options-serialize.php';
14
  include_once 'helper/wc-helper.php';
15
  include_once 'includes/wc-db-helper.php';
16
  include_once 'comment-form/tpl-comment.php';
20
  class WC_Core {
21
 
22
  public $wc_options;
23
+ public $wc_options_serialized;
24
  public $comment_types;
25
  public $reviews_count;
26
  public $wc_db_helper;
41
  add_action('plugins_loaded', array(&$this, 'load_wpdiscuz_text_domain'));
42
  add_action('init', array(&$this, 'init_plugin_dir_name'), 1);
43
 
44
+ $this->wc_db_helper = new WC_DB_Helper();
45
+ $this->wc_options_serialized = new WC_Options_Serialize($this->wc_db_helper);
46
+ $this->wc_options = new WC_Options($this->wc_options_serialized, $this->wc_db_helper);
47
+ // $this->wc_db_helper = $this->wc_options->wc_db_helper;
48
 
49
  register_activation_hook(__FILE__, array($this, 'db_operations'));
50
 
51
+ $this->wc_helper = new WC_Helper($this->wc_options_serialized);
52
+ $this->wc_css = new WC_CSS($this->wc_options_serialized);
53
+ $this->comment_tpl_builder = new WC_Comment_Template_Builder($this->wc_helper, $this->wc_db_helper, $this->wc_options, $this->wc_options_serialized);
54
 
55
  add_action('init', array(&$this, 'register_session'), 2);
56
  add_action('admin_init', array(&$this, 'wc_plugin_new_version'), 2);
79
  add_action('wp_ajax_wc_list_new_comments', array(&$this, 'wc_list_new_comments'));
80
  add_action('wp_ajax_nopriv_wc_list_new_comments', array(&$this, 'wc_list_new_comments'));
81
 
82
+ if ($this->wc_options_serialized->wc_comment_editable_time) {
83
  add_action('wp_ajax_wc_get_editable_comment_content', array(&$this, 'wc_get_editable_comment_content'));
84
  add_action('wp_ajax_nopriv_wc_get_editable_comment_content', array(&$this, 'wc_get_editable_comment_content'));
85
  add_action('wp_ajax_wc_save_edited_comment', array(&$this, 'wc_save_edited_comment'));
126
  }
127
 
128
  private function wc_add_new_options() {
129
+ $this->wc_options_serialized->init_options(get_option($this->wc_options_serialized->wc_options_slug));
130
+ $wc_new_options = $this->wc_options_serialized->to_array();
131
+ update_option($this->wc_options_serialized->wc_options_slug, serialize($wc_new_options));
132
  }
133
 
134
  private function wc_add_new_phrases() {
135
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
136
  $wc_saved_phrases = $this->wc_db_helper->get_phrases();
137
+ $this->wc_options_serialized->init_phrases();
138
+ $wc_phrases = $this->wc_options_serialized->wc_phrases;
139
  $wc_new_phrases = array_merge($wc_phrases, $wc_saved_phrases);
140
  $this->wc_db_helper->update_phrases($wc_new_phrases);
141
  }
193
  if ( is_singular() ) {
194
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
195
 
196
+ if ($this->wc_options_serialized->wc_comment_list_update_type != 0) {
197
  wp_enqueue_script('wc-jquery-ui', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/jquery-ui/jquery-ui.js'), array('jquery'), '1.11.2', false);
198
  }
199
 
276
  $notification_type = isset($_POST['notification_type']) ? $_POST['notification_type'] : '';
277
 
278
 
279
+ if (!$this->wc_options_serialized->wc_captcha_show_hide) {
280
  if (!is_user_logged_in()) {
281
  $sess_captcha = $_SESSION['wc_captcha'][$comment_post_ID . '-' . $comment_parent];
282
  $captcha = filter_input(INPUT_POST, 'captcha');
283
  if (md5(strtolower($captcha)) !== $sess_captcha) {
284
  $message_array['code'] = -1;
285
+ $message_array['message'] = $this->wc_options_serialized->wc_phrases['wc_invalid_captcha'];
286
  echo json_encode($message_array);
287
  exit;
288
  }
338
  }
339
  $wc_notification_inserted_id = 0;
340
  if ($notification_type == 'post' && !$this->wc_db_helper->wc_has_post_notification($comment_post_ID, $email)) {
341
+ if (class_exists('Prompt_Comment_Form_Handling') && $this->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
342
  $_POST[Prompt_Comment_Form_Handling::SUBSCRIBE_CHECKBOX_NAME] = 1;
343
  Prompt_Comment_Form_Handling::handle_form($new_comment_id, $new_inserted_comment->comment_approved);
344
  } else {
357
  $new_comment = new WC_Comment(get_comment($new_comment_id, OBJECT));
358
  if ($held_moderate) {
359
  $message_array['code'] = -2;
360
+ $message_array['message'] = $this->wc_options_serialized->wc_phrases['wc_held_for_moderate'];
361
  } else {
362
  $message_array['code'] = 1;
363
  $message_array['message'] = $this->comment_tpl_builder->get_comment_template($new_comment, null, $comment_depth);
367
  } else {
368
  $message_array['code'] = -1;
369
  $message_array['wc_new_comment_id'] = -1;
370
+ $message_array['message'] = $this->wc_options_serialized->wc_phrases['wc_invalid_field'];
371
  }
372
 
373
  echo json_encode($message_array);
380
  // MUST BE CHANGED IN NEXT VERSION OF PLUGIN
381
  public function vote_on_comment() {
382
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
383
+ $this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
384
  }
385
  $messageArray = array();
386
  $messageArray['code'] = -1;
387
  $comment_id = '';
388
  if (!is_user_logged_in()) {
389
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
390
  echo json_encode($messageArray);
391
  exit();
392
  }
398
  $is_user_voted = $this->wc_db_helper->is_user_voted($user_id, $comment_id);
399
  $comment = get_comment($comment_id);
400
  if ($comment->user_id == $user_id) {
401
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_self_vote'];
402
  echo json_encode($messageArray);
403
  exit();
404
  }
410
  $vote_count = intval(get_comment_meta($comment_id, 'wpdiscuz_votes', true)) + intval($vote_type);
411
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
412
  $messageArray['code'] = 1;
413
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_vote_counted'];
414
  } else {
415
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'];
416
  }
417
  } else {
418
  $this->wc_db_helper->add_vote_type($user_id, $comment_id, $vote_type);
424
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
425
  }
426
  $messageArray['code'] = 1;
427
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_vote_counted'];
428
  }
429
  } else {
430
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_voting_error'];
431
  }
432
 
433
  echo json_encode($messageArray);
440
  get_currentuserinfo();
441
  $message_array = array();
442
  $wc_post_id = isset($_POST['wc_post_id']) ? intval($_POST['wc_post_id']) : 0;
443
+ $wc_comment_list_update_type = $this->wc_options_serialized->wc_comment_list_update_type;
444
 
445
  $wc_all_new_comments_count = $this->wc_db_helper->get_comments_count($wc_post_id, null, null);
446
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? intval($_POST['wc_last_comment_id']) : 0;
456
  $c_offset = intval($_POST['wc_comments_offset']);
457
  $c_offset = ($c_offset) ? $c_offset : 1;
458
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
459
+ $wc_limit = $c_offset * $this->wc_options_serialized->wc_comment_count + $wc_curr_user_comment_count;
460
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($wc_post_id, $wc_last_comment_id, $wc_author_email);
461
 
462
  $wc_visible_parent_comment_ids = $this->wc_db_helper->wc_get_visible_parent_comment_ids($wc_post_id, $wc_limit);
475
 
476
  $wc_user_comments_replies_count = count($wc_hidden_new_comment_data['wc_new_replies_ids']);
477
  $wc_all_new_comments_count = count($wc_hidden_new_comment_data['wc_new_comments_ids']);
478
+ $wc_all_new_comments_count_text = ($wc_all_new_comments_count > 1) ? $this->wc_options_serialized->wc_phrases['wc_new_comments_button_text'] : $this->wc_options_serialized->wc_phrases['wc_new_comment_button_text'];
479
+ $wc_user_comments_replies_count_text = ($wc_user_comments_replies_count > 1) ? $this->wc_options_serialized->wc_phrases['wc_new_replies_button_text'] : $this->wc_options_serialized->wc_phrases['wc_new_reply_button_text'];
480
 
481
  $message_array['code'] = 2;
482
  $message_array['wc_new_comment_button_text'] = $wc_all_new_comments_count_text;
506
  $wc_requested_comments_type = isset($_POST['wc_requested_comments_type']) ? intval($_POST['wc_requested_comments_type']) : 0;
507
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? intval($_POST['wc_curr_user_comment_count']) : 0;
508
  $wc_comments_offset = isset($_POST['wc_comments_offset']) ? $_POST['wc_comments_offset'] : 1;
509
+ $wc_limit = $wc_comments_offset * $this->wc_options_serialized->wc_comment_count + $wc_curr_user_comment_count;
510
+ $wc_comments_max_depth = $this->wc_options_serialized->wc_comments_max_depth ? $this->wc_options_serialized->wc_comments_max_depth : 2;
511
 
512
  $wc_new_comments_ids = array();
513
  if (is_user_logged_in()) {
565
  $wc_child_comments = array();
566
  $wc_parent_comments = $this->wc_helper->wc_sort_parent_comments($wc_parent_comments);
567
 
568
+ if ($this->wc_options_serialized->wc_comment_list_order === 'desc') {
569
  $wc_parent_comments = array_reverse($wc_parent_comments);
570
  }
571
 
575
  $message_array['message'] = wp_list_comments($comm_list_args, $wc_parent_comments);
576
  $wc_post_parent_comments_count = $this->wc_db_helper->get_post_parent_comments_count($wc_post_id);
577
 
578
+ if ($wc_post_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $wc_comments_offset + $wc_curr_user_comment_count) {
579
 
580
  $unique_id = $wc_post_id . '_' . 0;
581
  $load_more = '<div class="wc-load-more-submit-wrap">';
582
+ $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
583
 
584
  $load_more .= '</button>';
585
  $load_more .= '</div>';
599
  }
600
  $child_comments = array();
601
  foreach ($wc_parent_comments as $parent_comment) {
602
+ $child_comments = get_comments(array('parent' => $parent_comment->comment_ID, 'order' => $wc_comment_list_order = $this->wc_options_serialized->wc_comment_list_order));
603
  if (!$this->has_comment($wc_child_comments, $parent_comment)) {
604
  $wc_child_comments[] = $parent_comment;
605
  }
673
  public function get_wp_comments($comments_offset, $post_id = null, $wc_curr_user_comment_count = 0, $wc_hidden_new_comment_count = 0) {
674
  global $post;
675
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
676
+ $this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
677
  }
678
 
679
  if (!$post_id) {
680
  $post_id = $post->ID;
681
  }
682
+ $wc_comment_count = $this->wc_options_serialized->wc_comment_count;
683
+ $wc_comment_list_order = $this->wc_options_serialized->wc_comment_list_order;
684
+ $wc_comments_max_depth = $this->wc_options_serialized->wc_comments_max_depth ? $this->wc_options_serialized->wc_comments_max_depth : 2;
685
 
686
  $comm_list_args = array(
687
  'callback' => array(&$this, 'wc_comment_callback'),
698
  $wc_wp_comments['wc_list'] = wp_list_comments($comm_list_args, $wc_comments);
699
  $wc_button_comments_count_style = $wc_hidden_new_comment_count > 0 ? "inline-block" : "none";
700
 
701
+ if ($this->wc_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $comments_offset + $wc_curr_user_comment_count) {
702
 
703
  $unique_id = $post_id . '_' . 0;
704
  $load_more = '<div class="wc-load-more-submit-wrap">';
705
+ $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
706
 
707
+ if ($this->wc_options_serialized->wc_comment_list_update_type == 1) {
708
+ $load_more .= '<span style="display:' . $wc_button_comments_count_style . ';" id="wc_button_new_comments_text" class="wc_button_new_comments_text">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options_serialized->wc_phrases['wc_new_comments_text'] . ' : ';
709
  $load_more .= '<span id="wc_button_new_comments_count" class="wc_button_new_comments_count">' . $wc_hidden_new_comment_count . '</span></span>';
710
  }
711
 
728
  $post_id = intval($_POST['wc_post_id']);
729
  $message_array = array();
730
  if ($c_offset && $post_id) {
731
+ $wc_limit = $c_offset * $this->wc_options_serialized->wc_comment_count;
732
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? $_POST['wc_last_comment_id'] : 0;
733
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
734
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($post_id, $wc_last_comment_id);
736
  $wc_hidden_new_comment_data = $this->get_invisible_comment_count($wc_new_comments, null, $wc_visible_parent_comment_ids);
737
 
738
  $message_array['code'] = 1;
739
+ if ($this->wc_options_serialized->wc_comment_list_update_type == 2) {
740
  $message_array['wc_last_comment_id'] = ($wc_hidden_new_comment_data['last_comment_id']) ? $wc_hidden_new_comment_data['last_comment_id'] : $wc_last_comment_id;
741
  } else {
742
  $message_array['wc_last_comment_id'] = $this->wc_db_helper->get_last_comment_id_by_post_id($post_id);
773
 
774
  public function is_guest_can_comment() {
775
  $user_can_comment = TRUE;
776
+ if ($this->wc_options_serialized->wc_user_must_be_registered) {
777
  if (!is_user_logged_in()) {
778
  $user_can_comment = FALSE;
779
  }
790
 
791
  public function init_current_post_type() {
792
  global $post;
793
+ if ($post && in_array($post->post_type, $this->wc_options_serialized->wc_post_types)) {
794
  add_filter('comments_template', array(&$this, 'remove_comments_template_on_pages'), 1);
795
  }
796
  }
839
  */
840
  public function wc_notify_on_new_comments($post_id, $comment_id, $email) {
841
  $emails_array = $this->wc_db_helper->wc_get_post_new_comment_notification($post_id, $email);
842
+ $subject = ($this->wc_options_serialized->wc_phrases['wc_email_subject']) ? $this->wc_options_serialized->wc_phrases['wc_email_subject'] : 'New Comment';
843
+ $message = ($this->wc_options_serialized->wc_phrases['wc_email_message']) ? $this->wc_options_serialized->wc_phrases['wc_email_message'] : 'New comment on the discussion section you\'ve been interested in';
844
  foreach ($emails_array as $e_row) {
845
  $this->wc_email_sender($e_row, $comment_id, $subject, $message);
846
  }
851
  */
852
  public function wc_notify_on_all_new_reply($post_id, $new_comment_id, $email) {
853
  $emails_array = $this->wc_db_helper->wc_get_post_all_new_comment_notification($post_id, $email);
854
+ $subject = ($this->wc_options_serialized->wc_phrases['wc_new_reply_email_subject']) ? $this->wc_options_serialized->wc_phrases['wc_new_reply_email_subject'] : 'New Reply';
855
+ $message = ($this->wc_options_serialized->wc_phrases['wc_new_reply_email_message']) ? $this->wc_options_serialized->wc_phrases['wc_new_reply_email_message'] : 'New reply on the discussion section you\'ve been interested in';
856
  foreach ($emails_array as $e_row) {
857
  $this->wc_email_sender($e_row, $new_comment_id, $subject, $message);
858
  }
863
  */
864
  public function wc_notify_on_new_reply($parent_comment_id, $new_comment_id, $email) {
865
  $emails_array = $this->wc_db_helper->wc_get_post_new_reply_notification($parent_comment_id, $email);
866
+ $subject = ($this->wc_options_serialized->wc_phrases['wc_new_reply_email_subject']) ? $this->wc_options_serialized->wc_phrases['wc_new_reply_email_subject'] : 'New Reply';
867
+ $message = ($this->wc_options_serialized->wc_phrases['wc_new_reply_email_message']) ? $this->wc_options_serialized->wc_phrases['wc_new_reply_email_message'] : 'New reply on the discussion section you\'ve been interested in';
868
  foreach ($emails_array as $e_row) {
869
  $this->wc_email_sender($e_row, $new_comment_id, $subject, $message);
870
  }
874
  $curr_post = get_post($post_id);
875
  $curr_post_author = get_userdata($curr_post->post_author);
876
 
877
+ $subject = isset($this->wc_options_serialized->wc_phrases['wc_confirm_email_subject']) ? $this->wc_options_serialized->wc_phrases['wc_confirm_email_subject'] : __('Subscribe Confirmation', WC_Core::$TEXT_DOMAIN);
878
+ $message = isset($this->wc_options_serialized->wc_phrases['wc_confirm_email_message']) ? $this->wc_options_serialized->wc_phrases['wc_confirm_email_message'] : __('Hi, <br/> You just subscribed for new comments on our website. This means you will receive an email when new comments are posted according to subscription option you\'ve chosen. <br/> To activate, click confirm below. If you believe this is an error, ignore this message and we\'ll never bother you again.', WC_Core::$TEXT_DOMAIN);
879
 
880
  if ($subscribtion_type == 'post' || $subscribtion_type = '') {
881
  $comment_or_post_subscrib_id = $post_id;
886
  $unsubscribe_url = $this->wc_db_helper->wc_unsubscribe_link($comment_or_post_subscrib_id, $email, $subscribtion_type);
887
  $post_permalink = get_permalink($post_id);
888
  $message .= "<br/><br/><a href='$post_permalink'>$post_permalink</a>";
889
+ $message .= "<br/><br/><a href='$confirm_url'>" . $this->wc_options_serialized->wc_phrases['wc_confirm_email'] . "</a>";
890
+ $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->wc_options_serialized->wc_phrases['wc_ignore_subscription'] . "</a>";
891
  $headers = array();
892
  $content_type = apply_filters('wp_mail_content_type', 'text/html');
893
  $from_name = apply_filters('wp_mail_from_name', get_bloginfo('name'));
917
  $unsubscribe_url = get_permalink($comment->comment_post_ID) . "?wpdiscuzSubscribeID=" . $email_data['id'] . "&key=" . $email_data['activation_key'] . '&#wc_unsubscribe_message';
918
  $message .= "<br/><br/><a href='$permalink'>$permalink</a>";
919
  $message .= "<br/><br/>$wc_new_comment_content";
920
+ $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->wc_options_serialized->wc_phrases['wc_unsubscribe'] . "</a>";
921
  $headers = array();
922
  $content_type = apply_filters('wp_mail_content_type', 'text/html');
923
  $from_name = apply_filters('wp_mail_from_name', get_bloginfo('name'));
970
  $message_array['message'] = $comment->comment_content;
971
  } else {
972
  $message_array['code'] = -1;
973
+ $message_array['phrase_message'] = $this->wc_options_serialized->wc_phrases['wc_comment_edit_not_possible'];
974
  }
975
  }
976
  echo json_encode($message_array);
1018
  $message_array['message'] = $this->comment_tpl_builder->get_comment_template($edited_comment, null, $comment_depth);
1019
  } else {
1020
  $message_array['code'] = -1;
1021
+ $message_array['phrase_message'] = $this->wc_options_serialized->wc_phrases['wc_comment_not_updated'];
1022
  }
1023
  } else {
1024
  $message_array['code'] = -2;
1025
+ $message_array['phrase_message'] = $this->wc_options_serialized->wc_phrases['wc_comment_not_edited'];
1026
  }
1027
  }
1028