phrases-follow.php
8.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
if (!defined("ABSPATH")) {
exit();
}
?>
<div>
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php esc_html_e("Follow Users Phrases", "wpdiscuz"); ?></h2>
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
<tbody>
<tr valign="top">
<th scope="row"><label for="wc_follow_user"><?php esc_html_e("Follow this user", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_user"]); ?>" name="wc_follow_user" id="wc_follow_user" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_unfollow_user"><?php esc_html_e("Unfollow this user", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_unfollow_user"]); ?>" name="wc_unfollow_user" id="wc_unfollow_user" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_success"><?php esc_html_e("You started following this comment author", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_success"]); ?>" name="wc_follow_success" id="wc_follow_success" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_canceled"><?php esc_html_e("You stopped following this comment author", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_canceled"]); ?>" name="wc_follow_canceled" id="wc_follow_canceled" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_email_confirm"><?php esc_html_e("Please check your email and confirm the follow", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_email_confirm"]); ?>" name="wc_follow_email_confirm" id="wc_follow_email_confirm" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_email_confirm_fail"><?php esc_html_e("Sorry, we couldn't send confirmation email", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_email_confirm_fail"]); ?>" name="wc_follow_email_confirm_fail" id="wc_follow_email_confirm_fail" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_login_to_follow"><?php esc_html_e("Please login to follow users", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_login_to_follow"]); ?>" name="wc_follow_login_to_follow" id="wc_follow_login_to_follow" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_impossible"><?php esc_html_e("We are sorry, following this user is impossible", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_impossible"]); ?>" name="wc_follow_impossible" id="wc_follow_impossible" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_not_added"><?php esc_html_e("We are sorry, following failed. Please try again later.", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_not_added"]); ?>" name="wc_follow_not_added" id="wc_follow_not_added" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_confirm"><?php esc_html_e("Confirm following link text", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_confirm"]); ?>" name="wc_follow_confirm" id="wc_follow_confirm" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="wc_follow_cancel"><?php esc_html_e("Cancel following link text", "wpdiscuz"); ?></label></th>
<td colspan="3"><input type="text" value="<?php echo esc_attr($this->phrases["wc_follow_cancel"]); ?>" name="wc_follow_cancel" id="wc_follow_cancel" /></td>
</tr>
<tr valign="top">
<th scope="row">
<label for="wc_confirm_email_subject"><?php esc_html_e("Follow confirmation email subject", "wpdiscuz"); ?></label>
<p class="wpd-desc"><?php esc_html_e("Available shortcodes", "wpdiscuz"); ?>:
<div class="wc_available_variables">
<div class="wc_available_variable">[BLOG_TITLE]</div>
<div class="wc_available_variable">[POST_TITLE]</div>
</div>
</th>
<td colspan="3"><input type="text" name="wc_follow_confirm_email_subject" id="wc_follow_confirm_email_subject" value="<?php echo esc_attr($this->phrases["wc_follow_confirm_email_subject"]); ?>" /></td>
</tr>
<tr valign="top">
<th scope="row">
<label for="wc_follow_confirm_email_message"><?php esc_html_e("Follow confirmation email content", "wpdiscuz"); ?></label>
<p class="wpd-desc"><?php esc_html_e("Available shortcodes", "wpdiscuz"); ?>:
<div class="wc_available_variables">
<div class="wc_available_variable">[SITE_URL]</div>
<div class="wc_available_variable">[POST_URL]</div>
<div class="wc_available_variable">[BLOG_TITLE]</div>
<div class="wc_available_variable">[POST_TITLE]</div>
<div class="wc_available_variable">[CONFIRM_URL]</div>
<div class="wc_available_variable">[CANCEL_URL]</div>
</div>
</p>
</th>
<td colspan="3"><?php wp_editor($this->phrases["wc_follow_confirm_email_message"], "wc_follow_confirm_email_message", ["textarea_rows" => 10, "teeny" => true]); ?></td>
</tr>
<tr valign="top">
<th scope="row">
<label for="wc_follow_email_subject"><?php esc_html_e("Following email subject", "wpdiscuz"); ?></label>
<p class="wpd-desc"><?php esc_html_e("Available shortcodes", "wpdiscuz"); ?>:</p>
<div class="wc_available_variables">
<div class="wc_available_variable">[BLOG_TITLE]</div>
<div class="wc_available_variable">[POST_TITLE]</div>
<div class="wc_available_variable">[COMMENT_AUTHOR]</div>
</div>
</th>
<td colspan="3"><input type="text" name="wc_follow_email_subject" id="wc_follow_email_subject" value="<?php echo esc_attr($this->phrases["wc_follow_email_subject"]); ?>" /></td>
</tr>
<tr valign="top">
<th scope="row">
<label for="wc_follow_email_message"><?php esc_html_e("Follow email content", "wpdiscuz"); ?></label>
<p class="wpd-desc"><?php esc_html_e("Available shortcodes", "wpdiscuz"); ?>:</p>
<div class="wc_available_variables">
<div class="wc_available_variable">[SITE_URL]</div>
<div class="wc_available_variable">[POST_URL]</div>
<div class="wc_available_variable">[BLOG_TITLE]</div>
<div class="wc_available_variable">[POST_TITLE]</div>
<div class="wc_available_variable">[FOLLOWER_NAME]</div>
<div class="wc_available_variable">[COMMENT_URL]</div>
<div class="wc_available_variable">[COMMENT_AUTHOR]</div>
<div class="wc_available_variable">[COMMENT_CONTENT]</div>
<div class="wc_available_variable">[CANCEL_URL]</div>
</div>
</th>
<td colspan="3"><?php wp_editor($this->phrases["wc_follow_email_message"], "wc_follow_email_message", ["textarea_rows" => 10, "teeny" => true]); ?></td>
</tr>
</tbody>
</table>
</div>