Version Description
Supercharged Comments =
IMPORTANT: If your're updating from wpDiscuz 1.x or from 2.x you should do one-time data optimization of existing comments. It doesn't load comments if those are not optimized. Please Go to Dashboard > Comments > wpDiscuz Settings > Comments Optimization Tab and click on [Supercharge my comments] button and wait for 100% result. All new comments will be automatically optimized. This process doesn't affect any data, it doesn't re-store comments in different tables, it just collects comments thread hierarchy and relationship information. IMPORTANT: If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
- Boosted: Supports dozens of thousands comments per post (tested with 50k/per post)
- ccelerated: First page load x10 faster (for >100 comments)
- ccelerated: Load more comments (button) x12 faster (for >100 comments)
- ccelerated: Live Update x20 faster (for >100 new comments)
- ccelerated: Commenting x2 faster
- ccelerated: Voting x2 faster
- Optimized: SQL queries are x10 less
- Optimized: Memory usage x6 less
- Optimized: Better SEO with AJAX crawling technology for Search Engine Bots
- Added: Fully CDN and cache compatible
- Added: Super responsive on different screen sizes (intuitive multi-layout design)
- Added: Comment list sorting buttons (newest, oldest, most voted)
- Added: Simple pagination [1][2]..[>]
- Added: Separate subscribe to comments/replies bar
- Added: Icon to get individual comment URL
- Added: 100% integrated with WordPress native comments settings
- Added: Option - Comment text min length
- Added: Option - Comment text max length
- Added: Option - Comment editing for unlimited time
- Added: Option - Manage share buttons individually
- Added: Option - Manage user role label and username colors individually
- Added: Option - Disable subscription confirmation for registered users
- Added: Option - Disable live update for guests
- Fixed: Lots of bugs...
More information here: http://wpdiscuz.com/wpdiscuz-3-0-0/
Download this release
Release Info
Developer | gzakar |
Plugin | Comments – wpDiscuz |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 3.0.0
- {files → assets}/css/fv.min.css +0 -0
- assets/css/options-css.min.css +5 -0
- assets/css/wpdiscuz-rtl.min.css +34 -0
- assets/css/wpdiscuz.min.css +3 -0
- assets/img/captcha-loading.png +0 -0
- {files → assets}/img/gc/1.png +0 -0
- {files → assets}/img/gc/2.png +0 -0
- {files → assets}/img/gc/3.png +0 -0
- {files → assets}/img/gc/4.png +0 -0
- {files → assets}/img/gc/5.png +0 -0
- {files → assets}/img/gc/5s.png +0 -0
- assets/img/icon-link.gif +0 -0
- assets/img/loading.gif +0 -0
- {files → assets}/img/plugin-icon/icon_info.png +0 -0
- {files → assets}/img/plugin-icon/plugin-icon-48.png +0 -0
- assets/img/progressbar.gif +0 -0
- {files → assets}/img/social-icons/fb-18x18-orig.png +0 -0
- {files → assets}/img/social-icons/fb-18x18.png +0 -0
- {files → assets}/img/social-icons/google-18x18-orig.png +0 -0
- {files → assets}/img/social-icons/google-18x18.png +0 -0
- {files → assets}/img/social-icons/ok-18x18-orig.png +0 -0
- {files → assets}/img/social-icons/ok-18x18.png +0 -0
- {files → assets}/img/social-icons/twitter-18x18-orig.png +0 -0
- {files → assets}/img/social-icons/twitter-18x18.png +0 -0
- {files → assets}/img/social-icons/vk-18x18-orig.png +0 -0
- {files → assets}/img/social-icons/vk-18x18.png +0 -0
- {files → assets}/img/thumbs-down.png +0 -0
- {files → assets}/img/thumbs-up.png +0 -0
- {files → assets}/js/jquery.autogrowtextarea.min.js +0 -0
- {files → assets}/js/jquery.cookie.min.js +8 -7
- assets/js/validator.min.js +2 -0
- assets/js/wpdiscuz-captcha.min.js +2 -0
- assets/js/wpdiscuz-options.min.js +2 -0
- assets/js/wpdiscuz-synch-comments.min.js +2 -0
- assets/js/wpdiscuz.min.js +2 -0
- assets/third-party/colorpicker/css/compatibility.css +45 -0
- assets/third-party/colorpicker/css/index.css +10 -0
- assets/third-party/colorpicker/img/screen-shot-all.jpg +0 -0
- assets/third-party/colorpicker/js/colors.js +418 -0
- assets/third-party/colorpicker/js/index.js +498 -0
- assets/third-party/colorpicker/js/jqColorPicker.js +332 -0
- assets/third-party/colorpicker/js/jqColorPicker.min.js +4 -0
- {files → assets}/third-party/easy-responsive-tabs/MIT-license +0 -0
- assets/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css +1 -0
- assets/third-party/easy-responsive-tabs/js/easy-responsive-tabs.js +223 -0
- {files → assets}/third-party/easy-responsive-tabs/js/easy-responsive-tabs.min.js +1 -1
- {files → assets}/third-party/jquery-ui/jquery-ui.min.js +0 -0
- {files → assets}/third-party/tooltipster/css/tooltipster.min.css +0 -0
- {files → assets}/third-party/tooltipster/js/html5.min.js +0 -0
- {files → assets}/third-party/tooltipster/js/jquery.tooltipster.min.js +0 -0
- class.WpdiscuzCore.php +794 -0
- comment-form/form.php +0 -299
- comment-form/tpl-comment.php +0 -435
- dto/wc-comment.php +0 -55
- files/css/options-css.min.css +0 -1
- files/css/wpdiscuz-rtl.min.css +0 -1
- files/css/wpdiscuz.min.css +0 -2
- files/img/avatar_default.png +0 -0
- files/img/facebook.png +0 -0
- files/img/gplus.png +0 -0
- files/img/loader/ajax-loader-200x200.gif +0 -0
- files/img/loader/warning.png +0 -0
- files/img/plugin-icon/logo.png +0 -0
- files/img/plugin-icon/plugin-icon-20.png +0 -0
- files/img/plugin-icon/plugin-icon-48-2.png +0 -0
- files/img/refresh-16x16.png +0 -0
- files/img/refresh-32x32.png +0 -0
- files/img/social-icons/fb-24x24.png +0 -0
- files/img/social-icons/google-24x24.png +0 -0
- files/img/social-icons/ok-24x24.png +0 -0
- files/img/social-icons/twitter-24x24.png +0 -0
- files/img/social-icons/vk-24x24.png +0 -0
- files/img/twitter.png +0 -0
- files/img/x.png +0 -0
- files/js/options-js.min.js +0 -1
- files/js/validator.min.js +0 -1
- files/js/wc-ajax.min.js +0 -1
- files/js/wc-frontend.min.js +0 -1
- files/js/wc-scripts.min.js +0 -1
- files/third-party/colorpicker/css/colorpicker.min.css +0 -1
- files/third-party/colorpicker/img/blank.gif +0 -0
- files/third-party/colorpicker/img/colorpicker_background.png +0 -0
- files/third-party/colorpicker/img/colorpicker_hex.png +0 -0
- files/third-party/colorpicker/img/colorpicker_hsb_b.png +0 -0
- files/third-party/colorpicker/img/colorpicker_hsb_h.png +0 -0
- files/third-party/colorpicker/img/colorpicker_hsb_s.png +0 -0
- files/third-party/colorpicker/img/colorpicker_icon.jpg +0 -0
- files/third-party/colorpicker/img/colorpicker_icon_22.png +0 -0
- files/third-party/colorpicker/img/colorpicker_icon_256.png +0 -0
- files/third-party/colorpicker/img/colorpicker_icon_30.png +0 -0
- files/third-party/colorpicker/img/colorpicker_indic.gif +0 -0
- files/third-party/colorpicker/img/colorpicker_overlay.png +0 -0
- files/third-party/colorpicker/img/colorpicker_rgb_b.png +0 -0
- files/third-party/colorpicker/img/colorpicker_rgb_g.png +0 -0
- files/third-party/colorpicker/img/colorpicker_rgb_r.png +0 -0
- files/third-party/colorpicker/img/colorpicker_select.gif +0 -0
- files/third-party/colorpicker/img/colorpicker_submit.png +0 -0
- files/third-party/colorpicker/img/custom_background.png +0 -0
- files/third-party/colorpicker/img/custom_hex.png +0 -0
- files/third-party/colorpicker/img/custom_hsb_b.png +0 -0
- files/third-party/colorpicker/img/custom_hsb_h.png +0 -0
- files/third-party/colorpicker/img/custom_hsb_s.png +0 -0
- files/third-party/colorpicker/img/custom_indic.gif +0 -0
- files/third-party/colorpicker/img/custom_rgb_b.png +0 -0
- files/third-party/colorpicker/img/custom_rgb_g.png +0 -0
- files/third-party/colorpicker/img/custom_rgb_r.png +0 -0
- files/third-party/colorpicker/img/custom_submit.png +0 -0
- files/third-party/colorpicker/js/colorpicker.min.js +0 -1
- files/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css +0 -1
- files/third-party/modal-box/modal-box-ie.min.css +0 -1
- files/third-party/modal-box/modal-box.min.css +0 -1
- helper/wc-helper.php +0 -308
- includes/class.WpdiscuzCss.php +24 -0
- includes/wc-db-helper.php +0 -357
- languages/wpdiscuz-en.mo +0 -0
- languages/wpdiscuz-en.po +378 -202
- languages/wpdiscuz-fr_FR.mo +0 -0
- languages/wpdiscuz-fr_FR.po +1223 -0
- languages/wpdiscuz-hy_HY.mo +0 -0
- languages/wpdiscuz-hy_HY.po +1160 -0
- languages/wpdiscuz-pt_BR.mo +0 -0
- languages/wpdiscuz-pt_BR.po +1109 -0
- languages/wpdiscuz-pt_PT.mo +0 -0
- languages/wpdiscuz-pt_PT.po +994 -418
- languages/wpdiscuz-ru_RU.mo +0 -0
- languages/wpdiscuz-ru_RU.po +1001 -323
- languages/wpdiscuz.pot +1207 -0
- manager/class.WpdiscuzDBManager.php +440 -0
- options/class.WpdiscuzOptions.php +468 -0
- options/class.WpdiscuzOptionsSerialized.php +677 -0
- options/options-layouts/settings-general.php +57 -95
- options/options-layouts/settings-live-update.php +32 -22
- options/options-layouts/settings-show-hide.php +70 -25
- options/options-layouts/settings-social.php +32 -16
- options/options-layouts/settings-style.php +54 -154
- options/options-layouts/settings-subscription.php +36 -44
- options/options-layouts/settings-synch-comments.php +36 -0
- options/phrases-layout/phrases-form.php +0 -159
- options/phrases-layout/phrases-notification.php +0 -219
- options/{phrases-layout → phrases-layouts}/phrases-comment.php +42 -37
- options/{phrases-layout → phrases-layouts}/phrases-datetime.php +36 -44
- options/{phrases-layout → phrases-layouts}/phrases-email.php +27 -28
- options/phrases-layouts/phrases-form.php +202 -0
- options/{phrases-layout → phrases-layouts}/phrases-general.php +30 -25
- options/phrases-layouts/phrases-notification.php +282 -0
- options/wc-options-serialize.php +0 -574
- options/wc-options.php +0 -394
- readme.txt +112 -20
- templates/comment/class.WpdiscuzTemplateBuilder.php +245 -0
- templates/comment/comment-form.php +250 -0
{files → assets}/css/fv.min.css
RENAMED
File without changes
|
assets/css/options-css.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wc-form tr:nth-child(even){background:#fff}.wc-form tr:nth-child(odd){background:#fbfbfb}.form-table.wc-form-table tr{background:transparent}.wpdiscuz_options_page .wc-phrases-settings-form input[type="text"],.wpdiscuz_options_page .wc-phrases-settings-form textarea{width:300px}.wpdiscuz_wrap { height: 50px;width: 100%;}.wpdiscuz_progressbar {height: 50px;text-align: center;background: #f00;width: 0;}
|
2 |
+
.wpdiscuz-share-buttons {display: inline-block; width: 18px; height: 18px;}
|
3 |
+
.wc-form input.wc_share_button {display: none;}
|
4 |
+
.wc-form input[type="text"].regular-text{ width:160px; }
|
5 |
+
.wc-form .wpdiscuz-option-title {vertical-align: middle;}
|
assets/css/wpdiscuz-rtl.min.css
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#wpcomm .wc-field-comment .wc-field-textarea{margin-left:2px;margin-right:65px}
|
2 |
+
#wpcomm .wc-form-wrapper .avatar{margin-top:0}
|
3 |
+
#wpcomm .wc-field-comment .wc-field-avatararea{float:right}
|
4 |
+
#wpcomm .wc-field-submit{float:left; text-align:left;}
|
5 |
+
#wpcomm .wc-field-captcha{float:right; text-align: right;}
|
6 |
+
#wpcomm .wc_notification_checkboxes{text-align:left;}
|
7 |
+
#wpcomm .wc-comment .wc-comment-right{margin-left:0;margin-right:70px}
|
8 |
+
#wpcomm .wc-comment-author{float:right; text-align: right;}
|
9 |
+
#wpcomm .wc-comment-date{float:left}
|
10 |
+
#wpcomm .wc-comment-footer .wc-vote-result{margin-right:0;margin-left:5px}
|
11 |
+
#wpcomm .wc-toggle{float:left}
|
12 |
+
#wpcomm .wc-comment .wc-comment-left{ float: right; }
|
13 |
+
#wpcomm .wc-comment-link{ float: left; text-align: left; padding: 0 10px 0 0 ; }
|
14 |
+
#wpcomm .wc-comment-text{ text-align: right; }
|
15 |
+
#wpcomm .wc-comment-footer{ text-align: right; }
|
16 |
+
#wpcomm .wpdiscuz-subscribe-form-button{ float: right; }
|
17 |
+
#wpcomm .wpdiscuz-subscribe-form-option{ float: right; }
|
18 |
+
#wpcomm .wpdiscuz-subscribe-form-intro{ float: right; }
|
19 |
+
#wpcomm .wpdiscuz-subscribe-form-email{ float: right; }
|
20 |
+
@media screen and (max-width:600px){
|
21 |
+
#wpcomm .wc-field-comment .wc-field-textarea{ margin-right: 30px; }
|
22 |
+
#wpcomm .wc-reply{ margin-right:25px!important }
|
23 |
+
#wpcomm .wc_comment_level-3{ margin-right:0px!important; }
|
24 |
+
#wpcomm .wc_comment_level-4{ margin-right:0px!important; }
|
25 |
+
#wpcomm .wc_comment_level-5{ margin-right:0px!important; }
|
26 |
+
#wpcomm .wc-comment .wc-comment-right{ margin-right: 55px!important; }
|
27 |
+
#wpcomm .wc-reply .wc-comment-right{ margin-right: 55px!important; }
|
28 |
+
}
|
29 |
+
@media screen and (max-width:420px){
|
30 |
+
#wpcomm .wc-field-comment .wc-field-textarea{ margin-right: 0px; }
|
31 |
+
#wpcomm .wc-comment .wc-comment-right, #wpcomm .wc-reply .wc-comment-right{ margin-right:0px!important; }
|
32 |
+
#wpcomm .wc-comment .wc-comment-left .avatar{ float:right!important; }
|
33 |
+
#wpcomm .wc-comment .wc-comment-left .wc-comment-label{ margin-right:33px; }
|
34 |
+
}
|
assets/css/wpdiscuz.min.css
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
#wpcomm * { box-sizing:border-box; }#wpcomm span{ display:inline; }#wpcomm{ margin:15px 5px;padding:1px 0 10px 0;border-top:#ddd solid 1px }#wc-comment-header{ padding:20px 5px 1px 5px;display:block;float:none;clear:both;font-size:18px }#wpcomm form .wpdiscuz-item{ display:block; height:auto;}.wpdiscuz-item input{border-radius:0;height:auto;width:auto}#wpcomm form{ margin:0!important;padding:0!important;background:none;border:0;width:auto!important }#wpcomm form div{ margin:0 }#wc_show_hide_loggedin_username{padding:10px 5px 5px 5px;font-size:13px}#wpcomm .wc_new_comment_and_replies{margin:0;padding:0;width:100%;height:auto;background:transparent}#wpcomm .wc_new_comment_and_replies .wc_new_comment{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 3px;cursor:pointer;color:#fff;line-height:15px}#wpcomm .wc_new_comment_and_replies .wc_new_reply{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 1px;cursor:pointer;color:#fff;line-height:15px}#wpcomm .wc-comment-bar{width:100%;padding:0;display:block}#wpcomm .wc-comment-title{margin:0;line-height:18px;font-weight:bold;padding:10px;margin-bottom:10px;font-size:13px;text-align:right;border-bottom:#ccc dotted 1px;padding-bottom:10px}#wpcomm .wc-form-wrapper{padding:10px;margin-top:0px;border:1px solid #f1f1f1;clear:both;}#wpcomm .wc-author-data{margin-bottom: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:49%;float:left;text-align:left;margin:0;height:auto!important}#wpcomm .wc-field-submit{width:49%;float:right;text-align:right;margin:0;padding:5px 0 13px 0;}#wpcomm .wc-field-website{width:100%;padding:0 0 10px 0;margin:0;display:block}#wpcomm .wc-field-name input[type="text"]{width:99%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-website input[type="url"],#wpcomm .wc-field-website input[type="text"]{width:100%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-email input[type="email"]{width:100%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-captcha input[type="text"]{max-width:45%;min-width:85px;padding:3px 5px;font-size:14px;margin:0 5px 2px 0;height:27px}#wpcomm .wc-field-submit input[type="button"]{margin:1px;border:#ddd 1px solid;font-size:13px;line-height:16px;padding:6px 15px;clear:both;float:none}#wpcomm .captcha_msg{color:#999;font-family:Lato,sans-serif;font-size:13px;line-height:18px;display:block;clear:both;padding:5px 0 0 0}#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:0}#wpcomm .wc-label{display:block;font-size:14px;padding:5px}#wpcomm .wc_manage_subscribtions{cursor:pointer;padding:0 0 5px 0;display:block;font-size:13px;line-height:16px;font-family:Lato,sans-serif}#wpcomm .wc_notification_checkboxes{padding:7px 0 7px 0;text-align:right;display:none;border-top:1px dotted #ddd;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:0;padding:0;display:inline;clear:both;float:none;max-height:20px;margin:0 3px}#wpcomm .wc_notification_checkboxes label{clear:both;float:none;font-weight:normal}#wpcomm .wc-label-comment-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}#wpcomm .wc-label-reply-notify,#wpcomm .wc-notification-none{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}#wpcomm .wc-label-all-reply-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;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 input[type="url"],#wpcomm textarea{font-size:14px;color:#777;font-family:Lato,sans-serif;box-sizing:border-box;margin:0;clear:both;float:none;display:inline}#wpcomm .wc-copyright{margin:0 0 0 auto;text-align:right;display:block;padding-top:2px}#wpcomm .wc-copyright a{font-size:9px;color:#aaa;cursor:help;text-decoration:none;margin:0;padding:0;border:0}#wpcomm .wc-thread-wrapper{padding:10px 0;margin-bottom:10px}#wpcomm .wc-comment{margin-bottom:13px}#wpcomm .wc-comment .wc-field-submit{padding:5px 0 5px 0}#wpcomm .wc-comment .wc-form-wrapper{padding:10px 10px 7px 10px}#wpcomm .wc-comment .wc-comment-left{width:62px;float:left;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; display:block; }#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:0;margin-left:40px}#wpcomm .wc-must-login{margin:0;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 0}#wpcomm .avatar{border:1px solid rgba(0,0,0,0.1);padding:2px;margin:0 auto;float:none;display:inline;width:48px;height:auto}#wpcomm .wc-form-wrapper .avatar{margin-top:3px}#wpcomm .wc-comment-text{text-align:left;padding-bottom:5px;line-height:20px;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{font-size:16px;width:40%;float:left;white-space:normal; text-align:left;}#wpcomm .wc-comment-author a{font-size:16px;white-space:normal;text-decoration:none; line-height:25px; }#wpcomm .wc-comment-label{color:#fff;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:#999;float:right;text-align:right;white-space:nowrap;line-height:23px}#wpcomm .wc-comment-footer{font-size:12px;font-weight:normal;color:#999;margin-top:12px;min-height:28px;font-family:Lato,sans-serif; text-align:left;}#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;cursor:pointer}#wpcomm .wc-comment-footer .share_buttons_box img{vertical-align:middle}#wpcomm .wc-comment-footer .wc-voted{color:#666;cursor:default}#wpcomm .wc-comment-footer .wc-vote-img-up{padding:0;margin:0 0 -2px 0;vertical-align:baseline;display:inline;float:none;clear:both;border:0;background:transparent;width:16px;height:16px;border-radius:0;box-shadow:none;box-sizing:border-box}#wpcomm .wc-comment-footer .wc-vote-img-down{padding:0;margin:0 0 -6px 0;vertical-align:baseline;display:inline;float:none;clear:both;border:0;background:transparent;width:16px;height:16px;border-radius:0;box-shadow:none;box-sizing:border-box}#wpcomm .wc-comment-footer .wc-vote-result{padding:2px 6px 2px 5px;color:#fff;font-size:12px;font-weight:bold;display:inline;margin-right:5px}#wpcomm .wc-toggle{float:right;text-align:right;padding-right:0;margin-right:0;color:#999;cursor:pointer;font-size:12px;white-space:nowrap; line-height:24px;}#wpcomm .wpdiscuz-item{background:0;border-radius:0;box-shadow:none}#wc_response_info img{margin:0 auto 0 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:0;padding:0 0 0 2px;margin:0;vertical-align:middle}#wpcomm .wc-reply-link,#wpcomm .wc-vote-link,#wpcomm .wc-share-link{cursor:pointer;font-size:13px;font-weight:bold}#wpcomm .wc-form-footer{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-comment.wc-no-left-margin{margin-left:0!important}div.wc_modal{background:none repeat scroll 0 0 #ededed;color:#444;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-radius:3px;color:#555;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:#444;font-size:18px;font-weight:normal;padding:45px 10px 50px 10px!important;text-align:center;line-height:25px}#wc_openModalFormAction>div#wc_response_info a.close{background-position-x:right;background-position-y:top}#wpcomm #bywpdiscuz{display:none}#wpcomm .by-wpdiscuz{text-align:right;border-top:#ddd solid 1px;padding:1px 1px 1px 1px}#wpcomm .by-wpdiscuz a{font-size:11px;font-weight:bold;text-align:right;color:#ccc;padding:1px;margin:0;line-height:12px;border:0;text-decoration:none}#wpcomm .wpdimg{border:0;padding:0;margin:0;height:12px;cursor:pointer;display:inline;clear:both}#wc_unsubscribe_message{margin:10px auto 1px auto;padding:10px;text-align:center;border:#0d0 1px dotted;background:#cfc}.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}#wpcomm .wc_social_plugin_wrapper{width:auto;}#wpcomm .wc_comm_form .wc_secondary_form{clear:both}#wpcomm .wc_comm_form .wc-field-comment{clear:both}#wpcomm .wp-social-login-widget{margin-bottom:15px; }#wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:left;font-size:13px;padding:2px 7px 0 0;text-transform:uppercase}#wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{padding:1px;text-align:left;margin-bottom:-10px}#wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{padding:1px;text-align:right}#wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img{width:20px;height:20px;float:none;display:inline;border:0}#wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc_social_plugin_wrapper .social_connect_ui{padding:0;clear:both;margin:0;margin-top:-20px;margin-bottom:-10px}#wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}#wpcomm .wc_social_plugin_wrapper .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc_social_plugin_wrapper .social_connect_form{float:left;line-height:35px;text-align:left;vertical-align:middle}#wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}#social_connect_facebook_auth,#social_connect_twitter_auth,#social_connect_google_auth,#social_connect_google_plus_auth,#social_connect_yahoo_auth,#social_connect_wordpress_auth{clear:both;padding:0;margin:0}#wpcomm .wc-secondary-forms-social-content .social_connect_ui{padding:0;clear:both;margin:0;text-align:right}#wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}#wpcomm .wc-secondary-forms-social-content .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc-secondary-forms-social-content .social_connect_form{float:left;width:100%;text-align:right;padding:0 0 5px 0;line-height:20px;vertical-align:middle}#wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}#wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="password"], #wpcomm input[type="url"]{ line-height: inherit!important;}#wpcomm .wc-comment-text ol li, #wpcomm .wc-comment-text ul li{ margin-left:20px; }#wpcomm .wc-comment-text blockquote { font-size: inherit; line-height: inherit; margin-bottom: 1em; margin-left: 1em; padding-left: 1em; }.wpdiscuz-nofollow,.wpdiscuz-nofollow:hover{text-decoration: none!important;}#wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea{ display: inline; }#wpcomm .input-text, #wpcomm input[type="text"], #wpcomm input[type="input"], #wpcomm input[type="password"], #wpcomm input[type="email"], #wpcomm input[type="number"], #wpcomm input[type="url"], #wpcomm input[type="tel"], #wpcomm input[type="search"], #wpcomm textarea, #wpcomm select{ margin:0px;}.wc_msg_required_fields,.wc_invalid_field,.wc_invalid_captcha, .wc_error_url_text,.wc_error_email_text,.wpdiscuz-sendmail-error, .wc_msg_comment_text_min_length,.wc_msg_comment_text_max_length, .wc_login_to_vote, .wc_deny_voting_from_same_ip, .wc_self_vote, .wc_vote_only_one_time, .wc_voting_error,.wc_comment_edit_not_possible,.wc_comment_not_updated,.wc_comment_not_edited{ background-color: #FCE8E8 !important; font-size:14px; text-align:center; color:#CE4A66; border:#F2D3D2 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0px; border-radius:3px; }.wc_held_for_moderate{ background-color: #FCE6BF; font-size:14px; text-align:center; color:#D3760C; border:#F9C975 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0px; border-radius:3px; }.wc-label a:focus{ outline:none; }.wpdiscuz-loading-bar{ position: fixed; text-align:center; right: 0; width: 50px; border:none; background:transparent; z-index:999999; display: none;}.wpdiscuz-loading-bar-auth{ top:32px; }.wpdiscuz-loading-bar-unauth{ top:0px; }.wpdiscuz-vote-sorting-desc,.wpdiscuz-vote-sorting-asc{ text-align:center; border:none; z-index:999999; cursor: pointer; display: inline-block;}.wpdiscuz-front-actions{ width:100%; box-sizing:border-box; padding:5px 10px; margin-bottom:10px;border-right: 1px solid #f1f1f1;border-left: 1px solid #f1f1f1; text-align: right;}.wpdiscuz-subscribe-bar{ width:100%; box-sizing:border-box; padding:10px; margin-bottom:10px;border-right: 1px solid #f1f1f1;border-left: 1px solid #f1f1f1;}.wpdiscuz_select { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") no-repeat scroll right center!important; border-radius: 0; border: 1px solid lightgray!important; box-shadow:none!important; height:28px!important; padding: 3px 22px 3px 3px!important; font-size:13px!important; -moz-appearance:none!important; -webkit-appearance:none!important; outline: 0 none!important; text-indent: 0.01px; text-overflow: ""!important; width:100%!important; box-sizing:border-box !important; line-height:20px!important; clear:both; float:none!important; margin:0px!important; }.wc-secondary-form-wrapper{ margin-top:10px!important; }#wpcomm .wpdiscuz-subscribe-form-intro{ font-size:14px; float:left; display:block; padding:3px 10px 3px 1px; line-height:20px; box-sizing:border-box; white-space:nowrap; }#wpcomm .wpdiscuz-subscribe-form-option{ font-size:13px; float:left; display:block; padding-right:5px; box-sizing:border-box; }#wpcomm .wpdiscuz-subscribe-form-email{ font-size:14px; float:left; display:block; padding:0 5px 0 0; box-sizing:border-box; width:30%; }#wpcomm .wpdiscuz-subscribe-form-button{ font-size:14px; float:left; display:block;box-sizing:border-box; }#wpcomm .wpdiscuz-subscribe-form-email select{ width:100%!important; }#wpcomm .wpdiscuz-subscribe-form-email input[type="email"]{ font-size:13px!important; padding:3px!important; width:100%!important; height:auto!important; line-height:20px!important; box-sizing:border-box !important; clear: both; float: none; margin:0px; }#wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{ font-size:16px!important; min-height:29px!important; height:29px!important; padding:1px 3px 5px 3px!important; width:40px; line-height:14px!important; box-sizing:border-box !important; border: 1px solid #ddd; clear: both; float: none; margin:0px; }#wpcomm .wc-comment-link{ font-size:12px; float:right; text-align:right; line-height:20px; height:15px; padding:0px 0px 0px 10px; }#wpcomm .wc-comment-link .wc-comment-img-link{ cursor:pointer; height:10px; }#wpcomm .wpdiscuz_subscribe_status{ font-size:12px; padding-top:6px; }#wpcomm .wpdiscuz_subscribe_status a{ font-size:12px; }.tooltipster-content input[type="text"].wc-comment-link-input{ padding:2px; width:100%; font-size:13px; } #wpcomm .page-numbers{ padding:2px 7px; font-size:14px; margin:20px 1px; line-height: 33px; background:#FFFFFF; } #wpcomm span.current{ color:#FFFFFF; } @media screen and (max-width:1000px){#wpcomm .wc-field-captcha input[type="text"]{max-width:45%;min-width:90px}} @media screen and (max-width:850px){#wpcomm .wc-field-captcha input[type="text"]{max-width:35%;min-width:90px}} @media screen and (max-width:790px){#wpcomm .wc-field-captcha input[type="text"]{max-width:30%;min-width:80px}} @media screen and (max-width:690px){#wpcomm .wc-field-captcha input[type="text"]{max-width:30%;min-width:80px}} @media screen and (max-width:600px){#wpcomm .wpdiscuz-subscribe-form-option{ width:100%!important; padding:0px!important; } #wpcomm .wpdiscuz-subscribe-form-email{ width:100%!important; padding:0px!important; margin-top:5px; } #wpcomm .wpdiscuz-subscribe-form-button{ width:100%!important; padding:0px!important; } #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{ width:100%!important; margin-top:5px;} #wpcomm .wc-field-comment .wc-field-avatararea{ width:25px; } #wpcomm .wc-field-comment .wc-field-avatararea .avatar{ width:25px; } #wpcomm .wc-field-comment .wc-field-textarea{ margin-left: 30px; } #wpcomm .wc-field-name{ width:100%; } #wpcomm .wc-field-email{ width:100%; } #wpcomm .wc-field-submit input[type="button"]{ width:100%; } #wpcomm .wc-field-captcha input[type="text"]{ max-width: 100%; width: 100%; } #wpcomm .wc-field-name input[type="text"]{ max-width: 100%; width: 100%; } #wpcomm .wc-captcha-label img{ padding:0px; margin-top:8px; } #wpcomm .wc-field-website{ padding-bottom: 8px; } #wpcomm .wc-reply{ margin-left:25px!important } #wpcomm .wc_comment_level-3{ margin-left:0px!important; } #wpcomm .wc_comment_level-4{ margin-left:0px!important; } #wpcomm .wc_comment_level-5{ margin-left:0px!important; } #wpcomm .wc-comment-text{ font-size:13px!important; } #wpcomm .wc-comment .wc-comment-left{ width: 40px!important; } #wpcomm .wc-comment .wc-comment-left .avatar{ width: 40px!important; } #wpcomm .wc-comment .wc-comment-right{ margin-left: 55px!important; } #wpcomm .wc-reply .wc-comment-right{ margin-left: 55px!important; } #wpcomm .wc-toggle{ font-size:11px; line-height:12px; padding-top:40px; padding-bottom:5px; } #wpcomm .share_buttons_box{ margin-top:9px;}} @media screen and (max-width:420px){ #wpcomm .wc-toggle{ font-size:11px; line-height:12px; padding-top:35px; padding-bottom:5px; } #wpcomm .wpdiscuz-sort-buttons, #wpcomm .wpdiscuz-sort-button{ font-size:11px!important; } #wpcomm .wc-captcha-label .wc_captcha_img{ width:70%;} #wpcomm .wc-share-link{ line-height:30px;} #wpcomm .wc-field-comment .wc-field-textarea{ margin-left: 0px; } #wpcomm .wc-field-comment .wc-field-avatararea .avatar{ width:0px; display: none;} #wpcomm .wc-comment .wc-comment-left{ float:none!important; margin-bottom:8px; width:100%!important; } #wpcomm .wc-comment .wc-comment-right, #wpcomm .wc-reply .wc-comment-right{ margin-left:0px!important; } #wpcomm .wc-comment .wc-comment-left .avatar{ width:25px!important; height:25px!important; margin:0px 5px 0px 0px!important; float:left!important; display:block!important; } #wpcomm .wc-comment .wc-comment-left .wc-comment-label{ font-size:13px; padding:6px 5px 5px 5px; line-height:14px; display:block-inline!important; margin-left:33px; } #wpcomm .wc-field-submit input[type="button"]{ width:99%; font-size:10px; padding:5px 2px; } .wpdiscuz_auth .wc-field-submit{width: 100%!important;} .wpdiscuz_auth .wc_notification_checkboxes{ text-align: left!important; }}
|
2 |
+
|
3 |
+
|
assets/img/captcha-loading.png
ADDED
Binary file
|
{files → assets}/img/gc/1.png
RENAMED
File without changes
|
{files → assets}/img/gc/2.png
RENAMED
File without changes
|
{files → assets}/img/gc/3.png
RENAMED
File without changes
|
{files → assets}/img/gc/4.png
RENAMED
File without changes
|
{files → assets}/img/gc/5.png
RENAMED
File without changes
|
{files → assets}/img/gc/5s.png
RENAMED
File without changes
|
assets/img/icon-link.gif
ADDED
Binary file
|
assets/img/loading.gif
ADDED
Binary file
|
{files → assets}/img/plugin-icon/icon_info.png
RENAMED
File without changes
|
{files → assets}/img/plugin-icon/plugin-icon-48.png
RENAMED
File without changes
|
assets/img/progressbar.gif
ADDED
Binary file
|
{files → assets}/img/social-icons/fb-18x18-orig.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/fb-18x18.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/google-18x18-orig.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/google-18x18.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/ok-18x18-orig.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/ok-18x18.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/twitter-18x18-orig.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/twitter-18x18.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/vk-18x18-orig.png
RENAMED
File without changes
|
{files → assets}/img/social-icons/vk-18x18.png
RENAMED
File without changes
|
{files → assets}/img/thumbs-down.png
RENAMED
File without changes
|
{files → assets}/img/thumbs-up.png
RENAMED
File without changes
|
{files → assets}/js/jquery.autogrowtextarea.min.js
RENAMED
File without changes
|
{files → assets}/js/jquery.cookie.min.js
RENAMED
@@ -1,8 +1,9 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
7 |
-
|
|
|
8 |
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));
|
1 |
+
|
2 |
+
/*!
|
3 |
+
* jQuery Cookie Plugin v1.4.1
|
4 |
+
* https://github.com/carhartl/jquery-cookie
|
5 |
+
*
|
6 |
+
* Copyright 2013 Klaus Hartl
|
7 |
+
* Released under the MIT license
|
8 |
+
*/
|
9 |
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));
|
assets/js/validator.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,50}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){return/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(y)}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
|
assets/js/wpdiscuz-captcha.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
jQuery(document).ready(function(f){var d=getUniqueID(f(".wc_main_comm_form"),1);f(document).delegate(".wc_captcha_refresh_img","click",function(){b(f(this))});f(document).delegate(".wc_field_captcha","focus",function(){b(f(this))});a(d,30*60*1000);function a(i,h){g(i);setTimeout(function(){e(i);c(i)},h)}function c(h){if(f("#wc-secondary-form-wrapper-"+h).hasClass("wc-secondary-forms")){f("#wc-secondary-form-wrapper-"+h+" .wc_field_captcha").addClass("wpdiscuz-expired")}else{f("#wc-main-form-wrapper-"+h+" .wc_field_captcha").addClass("wpdiscuz-expired")}}function g(h){if(f("#wc-secondary-form-wrapper-"+h).hasClass("wc-secondary-forms")){f("#wc-secondary-form-wrapper-"+h+" .wc_field_captcha").removeClass("wpdiscuz-expired")}else{f("#wc-main-form-wrapper-"+h+" .wc_field_captcha").removeClass("wpdiscuz-expired")}}function e(h){f.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuz_uniqueId:h,action:"setCaptchaExpired"}})}function b(m){var j=f(m).prev().children(".wc_captcha_img");var l=j.attr("src");var h=l.substring(0,l.lastIndexOf("="))+"="+Math.random();j.attr("src",h);var i=m.parents(".wc-form-wrapper").hasClass("wc-secondary-forms")?0:1;var n=getUniqueID(m,i);var k=i?30*60*1000:15*60*1000;a(n,k)}});
|
assets/js/wpdiscuz-options.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
jQuery(document).ready(function(a){if(location.href.indexOf("wpdiscuz_options_page")>=0){a(".wpdiscuz-color-picker").colorPicker()}});
|
assets/js/wpdiscuz-synch-comments.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
jQuery(document).ready(function(c){var d;var b;if(admin_options_obj.lastCommentId){c("#wpdiscuz_synch_comments_count").keyup(function(){if(isNaN(parseInt(c(this).val()))){c("#wpdiscuz_synch_comments").attr("disabled","disabled")}else{c("#wpdiscuz_synch_comments").removeAttr("disabled");b=Math.abs(c(this).val())}})}c("#wpdiscuz_synch_comments").click(function(){d=0;c(this).attr("disabled","disabled");window.onbeforeunload=f;function f(){return""}var e='<div id="wpdiscuz_progressbar" class="wpdiscuz_progressbar" style="width:1%;">1%</div>';document.getElementById("wpdiscuz_progressbar_wrapper").innerHTML=e;b=b>100?100:b;b=b<10?10:b;a(b,0)});function a(f,e){c.ajax({type:"POST",url:ajaxurl,data:{action:"synchronizeComments",commentsCountPerRequest:f,synchronizedComments:e,offset:d}}).done(function(h){try{d++;var j,n;var l=c.parseJSON(h);var m=l.wpdiscuz_progress;var i=l.synchronizedComments;if(isNaN(parseInt(m))){j=100;n=m}else{j=m;n=m+" %"}var g='<div id="wpdiscuz_progressbar" class="wpdiscuz_progressbar" style="width:'+j+'%;">'+n+"</div>";document.getElementById("wpdiscuz_progressbar_wrapper").innerHTML=g;if(parseInt(m)<100){a(f,i)}else{window.onbeforeunload=null}}catch(k){console.log(k)}})}});
|
assets/js/wpdiscuz.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
jQuery(document).ready(function(E){wpdiscuzValidator.message.invalid=wpdiscuz_ajax_obj.wpdiscuz_options.wc_invalid_field;wpdiscuzValidator.message.empty=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_empty_text;wpdiscuzValidator.message.email=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_email_text;wpdiscuzValidator.message.url=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_url_text;wpdiscuzValidator.message.min=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_min_length;wpdiscuzValidator.message.max=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_max_length;var S=wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var r=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide==0&&!S;var R=parseInt(wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members)>0&&wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var x=wpdiscuz_ajax_obj.wpdiscuz_options.main_form_time_out;var m=wpdiscuz_ajax_obj.wpdiscuz_options.secondary_form_time_out;var b=wpdiscuz_ajax_obj.wpdiscuz_options.wc_load_all_comments;var p=wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;var k=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateType;var j=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateTimer;var H=wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;var T=wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;var a=wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;var c;var n="date";var L=[];var v=[];F();h();E(".wpdiscuz-date-sort-"+a).addClass("wpdiscuz-sort-button-active");E("#wc_unsubscribe_message").delay(7000).fadeOut(1500,function(){E(this).remove();location.href=location.href.substring(0,location.href.indexOf("subscribeAnchor"))});if(E(".wc_main_comm_form").length){var G=o(E(".wc_main_comm_form"),1);N(G,x*60*1000);g()}E(document).delegate(".wc-reply-link","click",function(){if(E(this).hasClass("wpdiscuz-clonned")){E("#wc-secondary-form-wrapper-"+o(E(this),0)).slideToggle(700)}else{i(E(this))}g()});E(document).delegate("textarea.wc_comment","focus",function(){E(this).autoGrow();var aa=E(this).parents(".wc-form-wrapper");E(".wc-form-footer",aa).slideDown(700)});E(document).delegate(".wc-share-link","click",function(){var aa=E(this).parents(".wc-comment-right");E(".share_buttons_box",aa).slideToggle(1000)});E(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wc-toggle,.wc-load-more-link","click",function(aa){aa.preventDefault()});E(document).delegate(".wc-toggle","click",function(){var ab=o(E(this),0);var aa=E(this);E("#wc-comm-"+ab+"> .wc-reply").slideToggle(700,function(){if(E(this).is(":hidden")){aa.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_show_replies_text+" ∨")}else{aa.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_hide_replies_text+" ∧")}})});E(document).delegate(".wc-new-loaded-comment","mouseenter",function(){if(E(this).hasClass("wc-reply")){E(">.wc-comment-right",E(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_reply_bg_color},1500)}else{E(">.wc-comment-right",E(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_comment_bg_color},1500)}});E(document).delegate(".wc_captcha_refresh_img","click",function(){Q(E(this))});E(document).delegate(".wc_field_captcha","focus",function(){if(E(this).hasClass("wpdiscuz-expired")){W(E(this))}});function N(ab,aa){if(E("#wpcomm .wc-field-captcha").length){f(ab);P(ab);setTimeout(function(){z(ab);V(ab)},aa)}}function V(aa){if(E("#wc-secondary-form-wrapper-"+aa).hasClass("wc-secondary-form-wrapper")){E("#wc-secondary-form-wrapper-"+aa+" .wc_field_captcha").addClass("wpdiscuz-expired")}else{E("#wc-main-form-wrapper-"+aa+" .wc_field_captcha").addClass("wpdiscuz-expired")}}function f(aa){if(E("#wc-secondary-form-wrapper-"+aa).hasClass("wc-secondary-form-wrapper")){E("#wc-secondary-form-wrapper-"+aa+" .wc_field_captcha").removeClass("wpdiscuz-expired")}else{E("#wc-main-form-wrapper-"+aa+" .wc_field_captcha").removeClass("wpdiscuz-expired")}}function z(aa){e("setCaptchaExpired",aa);E(".wpdiscuz-loading-bar").hide()}function Q(af){if(r||R){var ac=E(af).prev().children(".wc_captcha_img");var ae=ac.attr("src");var aa=ae.substring(0,ae.lastIndexOf("="))+"="+Math.random();ac.attr("src",aa);var ab=af.parents(".wc-form-wrapper").hasClass("wc-secondary-form-wrapper")?0:1;var ag=o(af,ab);var ad=ab?x*60*1000:m*60*1000;N(ag,ad)}}function W(aa){aa.parent().addClass("bad")}function P(aa){if(E("#wc-secondary-form-wrapper-"+aa).hasClass("wc-secondary-form-wrapper")){E("#wc-secondary-form-wrapper-"+aa+" .wc-field-captcha").removeClass("bad")}else{E("#wc-main-form-wrapper-"+aa+" .wc-field-captcha").removeClass("bad")}}E(document).delegate(".wc_comm_submit","click",function(){var ae=true;var af=1;var ad=E(this).parents("form");if(!ad.hasClass("wc_main_comm_form")){af=D(E(this).parents(".wc-comment"))}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&E(".wc_email",ad).val()){E(".wc_email",ad).attr("required","required")}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&!(E(".wc_email",ad).val())){E(".wc_email",ad).removeAttr("required");E(".wc_email",ad).next(".alert").html("")}if(!wpdiscuzValidator.checkAll(ad)){ae=false}else{var aa="";var ab="";var ac=ad.serialize()+"&wc_comment_depth="+af+"&comment_post_ID="+p;e("addComment",ac).done(function(ah){try{var aj=E.parseJSON(ah);aa=aj.code;if(parseInt(aa)>=0){var ag=aj.is_main;ab=aj.message;E(".wc_header_text_count").html(aj.wc_all_comments_count_new);if(ag){E(".wc-thread-wrapper").prepend(ab)}else{E("#wc-secondary-form-wrapper-"+aa).slideToggle(700);if(aj.is_in_same_container==1){E("#wc-secondary-form-wrapper-"+aa).after(ab)}else{E("#wc-secondary-form-wrapper-"+aa).after(ab.replace("wc-reply","wc-reply wc-no-left-margin"))}}q(aj);X(aj);u(ad,aj);ad.get(0).reset();g()}else{ab=wpdiscuz_ajax_obj.wpdiscuz_options[aa];t(ad,aa,ab,true)}}catch(ai){if(ah.indexOf("<")>=0&&ah.indexOf(">")>=0){ab=ai}else{ab=ah}t(ad,"wc_invalid_field",ab,true)}Q(E(".wc_captcha_refresh_img",ad));F();E(".wpdiscuz-loading-bar").hide()})}});function q(ac){if(!ac.held_moderate){var ab="post_id="+p+"&comment_id="+ac.new_comment_id+"&email="+ac.user_email+"&isParent="+ac.is_main;var aa=e("checkNotificationType",ab);aa.done(function(ad){try{ac=E.parseJSON(ad)}catch(ae){console.log(ae)}})}}function X(ac){if(ac.redirect>0&&ac.new_comment_id){var ab="commentId="+ac.new_comment_id;var aa=e("redirect",ab);aa.done(function(ad){ac=E.parseJSON(ad);if(ac.code==1){setTimeout(function(){window.location.href=ac.redirect_to},5000)}})}}function g(){if(E.cookie("wc_author_name")){E(".wc_comm_form .wc_name").val(E.cookie("wc_author_name"))}if(E.cookie("wc_author_email")){E(".wc_comm_form .wc_email").val(E.cookie("wc_author_email"))}if(E.cookie("wc_author_website")){E(".wc_comm_form .wc_website").val(E.cookie("wc_author_website"))}}function u(aa,ab){if(E(".wc_email",aa).val()){E.cookie("wc_author_email",E(".wc_email",aa).val())}else{E.cookie("wc_author_email",ab.user_email)}if(E(".wc_name",aa).val()){E.cookie("wc_author_name",E(".wc_name",aa).val())}else{E.cookie("wc_author_name",ab.user_name)}E.cookie("wc_author_website",E(".wc_website",aa).val())}var U;E(document).delegate(".wc_editable_comment","click",function(){var ad=o(E(this),0);var aa=Y(ad);var ac=E(this);var ab="commentId="+aa;e("editComment",ab).done(function(af){try{var aj=E.parseJSON(af);var ah="";var ag=aj.code;if(parseInt(ag)>=0){U=aj.message;var ae='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+ad+'" style="min-height: 2em;">'+aj.message+"</textarea>";E("#wc-comm-"+ad+" > .wc-comment-right .wc-comment-text").replaceWith(ae);document.getElementById("wc_edit_comment-"+ad).focus();E("#wc-comm-"+ad+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").show();ae="";E("#wc-comm-"+ad+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").hide();E("#wc-comm-"+ad+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").show()}else{ah=wpdiscuz_ajax_obj.wpdiscuz_options[ag];t(ac,ag,ah,false)}}catch(ai){console.log(ai)}E(".wpdiscuz-loading-bar").hide()})});E(document).delegate(".wc_save_edited_comment","click",function(){var af=o(E(this));var ab=Y(af);var aa=E("#wc-comm-"+af+" textarea#wc_edit_comment-"+af);var ac=aa.val();var ae=E(this);if(E.trim(ac).length>0){var ad="commentId="+ab+"&commentContent="+ac;e("saveEditedComment",ad).done(function(ag){try{var ak=E.parseJSON(ag);var ah=ak.code;var ai="";if(parseInt(ah)>=0){I(af,ak.message)}else{ai=wpdiscuz_ajax_obj.wpdiscuz_options[ah];t(ae,ah,ai,false)}aa="";ac=""}catch(aj){console.log(aj)}E(".wpdiscuz-loading-bar").hide()})}});E(document).delegate(".wc_cancel_edit","click",function(){var aa=o(E(this));I(aa,U)});function I(ac,ab){E("#wc-comm-"+ac+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").show();E("#wc-comm-"+ac+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").hide();E("#wc-comm-"+ac+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").hide();var aa='<div class="wc-comment-text">'+l(ab)+"</div>";E("#wc-comm-"+ac+" #wc_edit_comment-"+ac).replaceWith(aa)}function l(ad,ac){var ab=(ac||typeof ac==="undefined")?"<br/>":"<br>";var aa=(ad+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+ab+"$2");return aa.replace("<br><br>","<br/>")}E(document).delegate(".wc-load-more-submit","click",function(){var aa;if(n=="vote"){aa="offset="+c+"&orderBy="+n+"&order="+a;c++}else{aa="orderBy="+n+"&order="+a+"&lastParentId="+w()}aa+="&postId="+p+"&loadAllCommnts="+b;e("loadMoreComments",aa).done(function(ab){try{var ad=E.parseJSON(ab);E(".wpdiscuz-comment-pagination").before(ad.comment_list);s(ad);E(".wpdiscuz_single").remove()}catch(ac){console.log(ac)}F();E(".wpdiscuz-loading-bar").hide();E(".wc-load-more-submit").blur()})});function s(aa){if(aa.is_show_load_more!=false){O(aa.last_parent_id)}else{E(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()}}E(document).delegate(".wc_vote","click",function(){var aa=E(this);var ad="";var ae="";var ab=E(this).parents(".wc-comment-right").attr("id");ab=ab.substring(ab.lastIndexOf("-")+1);var ac;if(E(this).hasClass("wc-up")){ac=1}else{ac=-1}var af="commentId="+ab+"&voteType="+ac;e("voteOnComment",af).done(function(ag){try{var ai=E.parseJSON(ag);ad=ai.code;if(parseInt(ad)>=0){var aj=E(".wc-comment-footer .wc-vote-result",E("#comment-"+ab));E(aj).text(parseInt(E(aj).text())+ac)}else{ae=wpdiscuz_ajax_obj.wpdiscuz_options[ad];t(aa,ad,ae,false)}}catch(ah){console.log(ah)}E(".wpdiscuz-loading-bar").hide()})});E(document).delegate(".wpdiscuz-sort-button","click",function(){if(!(E(this).hasClass("wpdiscuz-sort-button-active"))){var ad=E(this);if(E(this).hasClass("wpdiscuz-vote-sort-up")){n="vote";a="desc"}else{n="date";a=E(this).hasClass("wpdiscuz-date-sort-desc")?"desc":"asc"}var ac="postId="+p+"&orderBy="+n+"&order="+a;var aa="";var ab="";e("wpdiscuzSorting",ac).done(function(ae){try{var ag=E.parseJSON(ae);aa=ag.code;ab=ag.message;if(parseInt(aa)>0){E("#wpcomm .wc-thread-wrapper .wc-comment").each(function(){E(this).remove()});E("#wpcomm .wc-thread-wrapper").prepend(ab);c=parseInt(ag.loadCount)}else{}K(ad);s(ag)}catch(af){console.log(af)}F();E(".wpdiscuz-loading-bar").hide()})}});function K(aa){E(".wpdiscuz-sort-buttons .wpdiscuz-sort-button").each(function(){E(this).removeClass("wpdiscuz-sort-button-active")});aa.addClass("wpdiscuz-sort-button-active")}function Z(){var ae=location.href;var ad=ae.match(/#comment\-(\d+)/);if(ad!==null){var ab=ad[1];if(!E("#comment-"+ab).length){var ac="commentId="+ab;var aa=e("getSingleComment",ac);aa.done(function(af){try{var ah=E.parseJSON(af);E(".wc-thread-wrapper").prepend(ah.message);E("html, body").animate({scrollTop:E(".wc-thread-wrapper").offset().top},1000)}catch(ag){console.log(ag)}F();E(".wpdiscuz-loading-bar").hide()})}}}Z();if(k>0&&T&&(S||(!S&&!H))){setInterval(M,parseInt(j)*1000)}function M(){var ad=C();var ab=(E.cookie("wc_author_email")!=undefined&&E.cookie("wc_author_email")!="")?E.cookie("wc_author_email"):"";var ac="postId="+p+"&loadLastCommentId="+T+"&visibleCommentIds="+ad+"&email="+ab;var aa=e("liveUpdate",ac);aa.done(function(af){try{var ak=E.parseJSON(af);if(ak.code==1){if(k==1){A(ak)}else{v=v.concat(ak.message.comments);L=L.concat(ak.message.author_replies);var ag=v.length;var ae=L.length;if(ag>0){var ai=ag+" ";ai+=ag>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comments_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comment_button_text;E(".wc_new_comment").html(ai).show()}else{E(".wc_new_comment").hide()}if(ae>0){var ah=ae+" ";ah+=ae>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_replies_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_reply_button_text;E(".wc_new_reply").html(ah).show()}else{E(".wc_new_reply").hide()}}E(".wc_header_text_count").html(ak.wc_all_comments_count_new);T=ak.loadLastCommentId}}catch(aj){console.log(aj)}F();E(".wpdiscuz-loading-bar").hide()})}function A(ad){if(ad.message!==undefined){var aa;var ac=ad.message;for(var ab=0;ab<ac.length;ab++){aa=ac[ab];y(aa.comment_parent,aa.comment_html)}}}E(document).delegate(".wc-update-on-click","click",function(){var aa;var ab=E(this);if(ab.hasClass("wc_new_comment")){aa=v.join()}else{aa=L.join()}e("updateOnClick",aa).done(function(ac){try{var ae=E.parseJSON(ac);A(ae);if(ab.hasClass("wc_new_comment")){v=[];E(".wc_new_comment").hide()}else{L=[];E(".wc_new_reply").hide()}}catch(ad){console.log(ad)}F();E(".wpdiscuz-loading-bar").hide()})});function t(ae,ab,ad,ac){var aa;var af;if(ac){af=ae.parents(".wc-form-wrapper")}else{af=ae.closest(".wc-comment")}aa=af.children(".wpdiscuz-comment-message");aa.addClass(ab);aa.html(ad);aa.show().delay(5000).fadeOut(1000,function(){aa.removeClass();aa.addClass("wpdiscuz-comment-message");aa.html("")})}function i(aa){var ab=o(aa,0);E("#wpdiscuz_form_anchor-"+ab).before(J(ab));E("#wc-secondary-form-wrapper-"+ab).slideToggle(700,function(){aa.addClass("wpdiscuz-clonned")});N(ab,m*60*1000)}function J(ab){var aa=E("#wpdiscuz_hidden_secondary_form").html();return aa.replace(/wpdiscuzuniqueid/g,ab)}function o(ac,ab){var aa="";if(ab){aa=ac.parents(".wc-main-form-wrapper").attr("id")}else{aa=ac.parents(".wc-comment").attr("id")}var ad=aa.substring(aa.lastIndexOf("-")+1);return ad}function Y(aa){return aa.substring(0,aa.indexOf("_"))}function B(ab){var aa=ab.substring(ab.indexOf("_")+1);return aa}function w(){var aa=E(".wc-load-more-link").attr("href");return aa.substring(aa.lastIndexOf("=")+1)}function O(aa){var ab=E(".wc-load-more-link").attr("href");E(".wc-load-more-link").attr("href",ab.replace(/[\d]+$/m,aa));E(".wpdiscuz-comment-pagination").show()}function D(ac){var ab=ac.attr("class");var aa=ab.split(" ");var ad="";E.each(aa,function(ae,af){if("wc_comment_level"===d(af,false)){ad=d(af,true)}});return parseInt(ad)+1}function d(aa,ab){var ac="";if(ab){ac=aa.substring(aa.indexOf("-")+1)}else{ac=aa.substring(0,aa.indexOf("-"))}return ac}function e(ab,aa){if(ab!=="liveUpdate"){E(".wpdiscuz-loading-bar").show()}return E.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuzAjaxData:aa,action:ab}})}function y(ac,ab){if(ac==0){E(".wc-thread-wrapper").prepend(ab)}else{var aa=o(E("#comment-"+ac),0);E("#wpdiscuz_form_anchor-"+aa).after(ab)}}function C(){var ac;var aa;var ab="";E(".wc-comment-right").each(function(){ac=o(E(this),0);aa=Y(ac);ab+=aa+","});return ab}function F(){E(".wc-comment-img-link").tooltipster({trigger:"click",contentAsHTML:true,interactive:true,multiple:true});E(".wc_tooltipster").tooltipster({offsetY:2,multiple:true})}function h(){if(E(".wc_social_plugin_wrapper .wp-social-login-provider-list").length){E(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(E(".wc_social_plugin_wrapper .the_champ_login_container").length){E(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(E(".wc_social_plugin_wrapper .social_connect_form").length){E(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(E(".wc_social_plugin_wrapper .oneall_social_login_providers").length){E(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}}}}}});
|
assets/third-party/colorpicker/css/compatibility.css
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.cp-xy-slider {
|
2 |
+
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
3 |
+
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
4 |
+
background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
|
5 |
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
|
6 |
+
background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
|
7 |
+
background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
|
8 |
+
background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
|
9 |
+
background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
|
10 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-8 */
|
11 |
+
}
|
12 |
+
|
13 |
+
.cp-white {
|
14 |
+
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
15 |
+
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
16 |
+
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
|
17 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
|
18 |
+
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
|
19 |
+
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
|
20 |
+
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
|
21 |
+
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
|
22 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-8 */
|
23 |
+
}
|
24 |
+
.cp-z-slider {
|
25 |
+
background: url(rainbow.png); /* Old browsers */
|
26 |
+
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
27 |
+
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjE3JSIgc3RvcC1jb2xvcj0iI2ZmMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iIzAwMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzAwZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY3JSIgc3RvcC1jb2xvcj0iIzAwZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjgzJSIgc3RvcC1jb2xvcj0iI2ZmZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
28 |
+
background: -moz-linear-gradient(top, rgba(255,0,0,1) 0%, rgba(255,0,255,1) 17%, rgba(0,0,255,1) 33%, rgba(0,255,255,1) 50%, rgba(0,255,0,1) 67%, rgba(255,255,0,1) 83%, rgba(255,0,0,1) 100%); /* FF3.6+ */
|
29 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,0,0,1)), color-stop(17%,rgba(255,0,255,1)), color-stop(33%,rgba(0,0,255,1)), color-stop(50%,rgba(0,255,255,1)), color-stop(67%,rgba(0,255,0,1)), color-stop(83%,rgba(255,255,0,1)), color-stop(100%,rgba(255,0,0,1))); /* Chrome,Safari4+ */
|
30 |
+
background: -webkit-linear-gradient(top, rgba(255,0,0,1) 0%,rgba(255,0,255,1) 17%,rgba(0,0,255,1) 33%,rgba(0,255,255,1) 50%,rgba(0,255,0,1) 67%,rgba(255,255,0,1) 83%,rgba(255,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
|
31 |
+
background: -o-linear-gradient(top, rgba(255,0,0,1) 0%,rgba(255,0,255,1) 17%,rgba(0,0,255,1) 33%,rgba(0,255,255,1) 50%,rgba(0,255,0,1) 67%,rgba(255,255,0,1) 83%,rgba(255,0,0,1) 100%); /* Opera 11.10+ */
|
32 |
+
background: -ms-linear-gradient(top, rgba(255,0,0,1) 0%,rgba(255,0,255,1) 17%,rgba(0,0,255,1) 33%,rgba(0,255,255,1) 50%,rgba(0,255,0,1) 67%,rgba(255,255,0,1) 83%,rgba(255,0,0,1) 100%); /* IE10+ */
|
33 |
+
background: linear-gradient(to bottom, rgba(255,0,0,1) 0%,rgba(255,0,255,1) 17%,rgba(0,0,255,1) 33%,rgba(0,255,255,1) 50%,rgba(0,255,0,1) 67%,rgba(255,255,0,1) 83%,rgba(255,0,0,1) 100%); /* W3C */
|
34 |
+
}
|
35 |
+
.cp-alpha {
|
36 |
+
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
37 |
+
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ0NDQ0NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
38 |
+
background: -moz-linear-gradient(left, rgba(68,68,68,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
|
39 |
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(68,68,68,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
|
40 |
+
background: -webkit-linear-gradient(left, rgba(68,68,68,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
|
41 |
+
background: -o-linear-gradient(left, rgba(68,68,68,1) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
|
42 |
+
background: -ms-linear-gradient(left, rgba(68,68,68,1) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
|
43 |
+
background: linear-gradient(to right, rgba(68,68,68,1) 0%,rgba(0,0,0,0) 100%); /* W3C */
|
44 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#00000000',GradientType=1 ); /* IE6-8 */
|
45 |
+
}
|
assets/third-party/colorpicker/css/index.css
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
input:focus {
|
2 |
+
outline: none;
|
3 |
+
}
|
4 |
+
.color {
|
5 |
+
padding: .5em;
|
6 |
+
margin-right: .4em;
|
7 |
+
border: 1px solid #aaa;
|
8 |
+
border-radius: 3px;
|
9 |
+
width: 140px;
|
10 |
+
}
|
assets/third-party/colorpicker/img/screen-shot-all.jpg
ADDED
Binary file
|
assets/third-party/colorpicker/js/colors.js
ADDED
@@ -0,0 +1,418 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(window, undefined){
|
2 |
+
"use strict"
|
3 |
+
|
4 |
+
var _valueRanges = {
|
5 |
+
rgb: {r: [0, 255], g: [0, 255], b: [0, 255]},
|
6 |
+
hsv: {h: [0, 360], s: [0, 100], v: [0, 100]},
|
7 |
+
hsl: {h: [0, 360], s: [0, 100], l: [0, 100]},
|
8 |
+
alpha: {alpha: [0, 1]},
|
9 |
+
HEX: {HEX: [0, 16777215]} // maybe we don't need this
|
10 |
+
},
|
11 |
+
|
12 |
+
_instance = {},
|
13 |
+
_colors = {},
|
14 |
+
|
15 |
+
grey = {r: 0.298954, g: 0.586434, b: 0.114612}, // CIE-XYZ 1931
|
16 |
+
luminance = {r: 0.2126, g: 0.7152, b: 0.0722}, // W3C 2.0
|
17 |
+
|
18 |
+
Colors = window.Colors = function(options) {
|
19 |
+
this.colors = {RND: {}};
|
20 |
+
this.options = {
|
21 |
+
color: 'rgba(204, 82, 37, 0.8)', // init value(s)...
|
22 |
+
grey: grey,
|
23 |
+
luminance: luminance,
|
24 |
+
valueRanges: _valueRanges
|
25 |
+
// customBG: '#808080'
|
26 |
+
// convertCallback: undefined,
|
27 |
+
// allMixDetails: false
|
28 |
+
};
|
29 |
+
initInstance(this, options || {});
|
30 |
+
},
|
31 |
+
initInstance = function(THIS, options) {
|
32 |
+
var importColor,
|
33 |
+
_options = THIS.options,
|
34 |
+
customBG;
|
35 |
+
|
36 |
+
focusInstance(THIS);
|
37 |
+
for (var option in options) {
|
38 |
+
if (options[option] !== undefined) _options[option] = options[option];
|
39 |
+
}
|
40 |
+
customBG = _options.customBG;
|
41 |
+
_options.customBG = (typeof customBG === 'string') ? ColorConverter.txt2color(customBG).rgb : customBG;
|
42 |
+
_colors = setColor(THIS.colors, _options.color, undefined, true); // THIS.colors = _colors =
|
43 |
+
},
|
44 |
+
focusInstance = function(THIS) {
|
45 |
+
if (_instance !== THIS) {
|
46 |
+
_instance = THIS;
|
47 |
+
_colors = THIS.colors;
|
48 |
+
}
|
49 |
+
};
|
50 |
+
|
51 |
+
Colors.prototype.setColor = function(newCol, type, alpha) {
|
52 |
+
focusInstance(this);
|
53 |
+
if (newCol) {
|
54 |
+
return setColor(this.colors, newCol, type, undefined, alpha);
|
55 |
+
} else {
|
56 |
+
if (alpha !== undefined) {
|
57 |
+
this.colors.alpha = limitValue(alpha, 0, 1);
|
58 |
+
}
|
59 |
+
return convertColors(type);
|
60 |
+
}
|
61 |
+
};
|
62 |
+
|
63 |
+
Colors.prototype.setCustomBackground = function(col) { // wild gues,... check again...
|
64 |
+
focusInstance(this); // needed???
|
65 |
+
this.options.customBG = (typeof col === 'string') ? ColorConverter.txt2color(col).rgb : col;
|
66 |
+
// return setColor(this.colors, this.options.customBG, 'rgb', true); // !!!!RGB
|
67 |
+
return setColor(this.colors, undefined, 'rgb'); // just recalculate existing
|
68 |
+
};
|
69 |
+
|
70 |
+
Colors.prototype.saveAsBackground = function() { // alpha
|
71 |
+
focusInstance(this); // needed???
|
72 |
+
// return setColor(this.colors, this.colors.RND.rgb, 'rgb', true);
|
73 |
+
return setColor(this.colors, undefined, 'rgb', true);
|
74 |
+
};
|
75 |
+
|
76 |
+
// ------------------------------------------------------ //
|
77 |
+
// ---------- Color calculation related stuff ---------- //
|
78 |
+
// -------------------------------------------------------//
|
79 |
+
|
80 |
+
function setColor(colors, color, type, save, alpha) { // color only full range
|
81 |
+
if (typeof color === 'string') {
|
82 |
+
var color = ColorConverter.txt2color(color); // new object
|
83 |
+
type = color.type;
|
84 |
+
_colors[type] = color[type];
|
85 |
+
alpha = alpha !== undefined ? alpha : color.alpha;
|
86 |
+
} else if (color) {
|
87 |
+
for (var n in color) {
|
88 |
+
colors[type][n] = limitValue(color[n] / _valueRanges[type][n][1], 0 , 1);
|
89 |
+
}
|
90 |
+
}
|
91 |
+
if (alpha !== undefined) {
|
92 |
+
colors.alpha = limitValue(+alpha, 0, 1);
|
93 |
+
}
|
94 |
+
return convertColors(type, save ? colors : undefined);
|
95 |
+
}
|
96 |
+
|
97 |
+
function saveAsBackground(RGB, rgb, alpha) {
|
98 |
+
var grey = _instance.options.grey,
|
99 |
+
color = {};
|
100 |
+
|
101 |
+
color.RGB = {r: RGB.r, g: RGB.g, b: RGB.b};
|
102 |
+
color.rgb = {r: rgb.r, g: rgb.g, b: rgb.b};
|
103 |
+
color.alpha = alpha;
|
104 |
+
// color.RGBLuminance = getLuminance(RGB);
|
105 |
+
color.equivalentGrey = Math.round(grey.r * RGB.r + grey.g * RGB.g + grey.b * RGB.b);
|
106 |
+
|
107 |
+
color.rgbaMixBlack = mixColors(rgb, {r: 0, g: 0, b: 0}, alpha, 1);
|
108 |
+
color.rgbaMixWhite = mixColors(rgb, {r: 1, g: 1, b: 1}, alpha, 1);
|
109 |
+
color.rgbaMixBlack.luminance = getLuminance(color.rgbaMixBlack, true);
|
110 |
+
color.rgbaMixWhite.luminance = getLuminance(color.rgbaMixWhite, true);
|
111 |
+
|
112 |
+
if (_instance.options.customBG) {
|
113 |
+
color.rgbaMixCustom = mixColors(rgb, _instance.options.customBG, alpha, 1);
|
114 |
+
color.rgbaMixCustom.luminance = getLuminance(color.rgbaMixCustom, true);
|
115 |
+
_instance.options.customBG.luminance = getLuminance(_instance.options.customBG, true);
|
116 |
+
}
|
117 |
+
|
118 |
+
return color;
|
119 |
+
}
|
120 |
+
|
121 |
+
function convertColors(type, colorObj) {
|
122 |
+
// console.time('convertColors');
|
123 |
+
var colors = colorObj || _colors,
|
124 |
+
convert = ColorConverter,
|
125 |
+
options = _instance.options,
|
126 |
+
ranges = _valueRanges,
|
127 |
+
RND = colors.RND,
|
128 |
+
// type = colorType, // || _mode.type,
|
129 |
+
modes, mode = '', from = '', // value = '',
|
130 |
+
exceptions = {hsl: 'hsv', rgb: type},
|
131 |
+
RGB = RND.rgb, SAVE, SMART;
|
132 |
+
|
133 |
+
if (type !== 'alpha') {
|
134 |
+
for (var typ in ranges) {
|
135 |
+
if (!ranges[typ][typ]) { // no alpha|HEX
|
136 |
+
if (type !== typ) {
|
137 |
+
from = exceptions[typ] || 'rgb';
|
138 |
+
colors[typ] = convert[from + '2' + typ](colors[from]);
|
139 |
+
}
|
140 |
+
|
141 |
+
if (!RND[typ]) RND[typ] = {};
|
142 |
+
modes = colors[typ];
|
143 |
+
for(mode in modes) {
|
144 |
+
RND[typ][mode] = Math.round(modes[mode] * ranges[typ][mode][1]);
|
145 |
+
}
|
146 |
+
}
|
147 |
+
}
|
148 |
+
|
149 |
+
RGB = RND.rgb;
|
150 |
+
colors.HEX = convert.RGB2HEX(RGB);
|
151 |
+
colors.equivalentGrey =
|
152 |
+
options.grey.r * colors.rgb.r +
|
153 |
+
options.grey.g * colors.rgb.g +
|
154 |
+
options.grey.b * colors.rgb.b;
|
155 |
+
colors.webSave = SAVE = getClosestWebColor(RGB, 51);
|
156 |
+
// colors.webSave.HEX = convert.RGB2HEX(colors.webSave);
|
157 |
+
colors.webSmart = SMART = getClosestWebColor(RGB, 17);
|
158 |
+
// colors.webSmart.HEX = convert.RGB2HEX(colors.webSmart);
|
159 |
+
colors.saveColor =
|
160 |
+
RGB.r === SAVE.r && RGB.g === SAVE.g && RGB.b === SAVE.b ? 'web save' :
|
161 |
+
RGB.r === SMART.r && RGB.g === SMART.g && RGB.b === SMART.b ? 'web smart' : '';
|
162 |
+
colors.hueRGB = ColorConverter.hue2RGB(colors.hsv.h);
|
163 |
+
|
164 |
+
if (colorObj) {
|
165 |
+
colors.background = saveAsBackground(RGB, colors.rgb, colors.alpha);
|
166 |
+
}
|
167 |
+
} // else RGB = RND.rgb;
|
168 |
+
|
169 |
+
var rgb = colors.rgb, // for better minification...
|
170 |
+
alpha = colors.alpha,
|
171 |
+
luminance = 'luminance',
|
172 |
+
background = colors.background,
|
173 |
+
rgbaMixBlack, rgbaMixWhite, rgbaMixCustom,
|
174 |
+
rgbaMixBG, rgbaMixBGMixBlack, rgbaMixBGMixWhite, rgbaMixBGMixCustom;
|
175 |
+
|
176 |
+
rgbaMixBlack = mixColors(rgb, {r: 0, g: 0, b: 0}, alpha, 1);
|
177 |
+
rgbaMixBlack[luminance] = getLuminance(rgbaMixBlack, true);
|
178 |
+
colors.rgbaMixBlack = rgbaMixBlack;
|
179 |
+
|
180 |
+
rgbaMixWhite = mixColors(rgb, {r: 1, g: 1, b: 1}, alpha, 1);
|
181 |
+
rgbaMixWhite[luminance] = getLuminance(rgbaMixWhite, true);
|
182 |
+
colors.rgbaMixWhite = rgbaMixWhite;
|
183 |
+
|
184 |
+
if (options.customBG) {
|
185 |
+
rgbaMixBGMixCustom = mixColors(rgb, background.rgbaMixCustom, alpha, 1);
|
186 |
+
rgbaMixBGMixCustom[luminance] = getLuminance(rgbaMixBGMixCustom, true);
|
187 |
+
rgbaMixBGMixCustom.WCAG2Ratio = getWCAG2Ratio(rgbaMixBGMixCustom[luminance],
|
188 |
+
background.rgbaMixCustom[luminance]);
|
189 |
+
colors.rgbaMixBGMixCustom = rgbaMixBGMixCustom;
|
190 |
+
/* ------ */
|
191 |
+
rgbaMixBGMixCustom.luminanceDelta = Math.abs(
|
192 |
+
rgbaMixBGMixCustom[luminance] - background.rgbaMixCustom[luminance]);
|
193 |
+
rgbaMixBGMixCustom.hueDelta = getHueDelta(background.rgbaMixCustom, rgbaMixBGMixCustom, true);
|
194 |
+
/* ------ */
|
195 |
+
}
|
196 |
+
|
197 |
+
colors.RGBLuminance = getLuminance(RGB);
|
198 |
+
colors.HUELuminance = getLuminance(colors.hueRGB);
|
199 |
+
|
200 |
+
// renderVars.readyToRender = true;
|
201 |
+
if (options.convertCallback) {
|
202 |
+
options.convertCallback(colors, type); //, convert); //, _mode);
|
203 |
+
}
|
204 |
+
|
205 |
+
// console.timeEnd('convertColors')
|
206 |
+
// if (colorObj)
|
207 |
+
return colors;
|
208 |
+
}
|
209 |
+
|
210 |
+
|
211 |
+
// ------------------------------------------------------ //
|
212 |
+
// ------------------ color conversion ------------------ //
|
213 |
+
// -------------------------------------------------------//
|
214 |
+
|
215 |
+
var ColorConverter = {
|
216 |
+
txt2color: function(txt) {
|
217 |
+
var color = {},
|
218 |
+
parts = txt.replace(/(?:#|\)|%)/g, '').split('('),
|
219 |
+
values = (parts[1] || '').split(/,\s*/),
|
220 |
+
type = parts[1] ? parts[0].substr(0, 3) : 'rgb',
|
221 |
+
m = '';
|
222 |
+
|
223 |
+
color.type = type;
|
224 |
+
color[type] = {};
|
225 |
+
if (parts[1]) {
|
226 |
+
for (var n = 3; n--; ) {
|
227 |
+
m = type[n] || type.charAt(n); // IE7
|
228 |
+
color[type][m] = +values[n] / _valueRanges[type][m][1];
|
229 |
+
}
|
230 |
+
} else {
|
231 |
+
color.rgb = ColorConverter.HEX2rgb(parts[0]);
|
232 |
+
}
|
233 |
+
// color.color = color[type];
|
234 |
+
color.alpha = values[3] ? +values[3] : 1;
|
235 |
+
|
236 |
+
return color;
|
237 |
+
},
|
238 |
+
|
239 |
+
RGB2HEX: function(RGB) {
|
240 |
+
return (
|
241 |
+
(RGB.r < 16 ? '0' : '') + RGB.r.toString(16) +
|
242 |
+
(RGB.g < 16 ? '0' : '') + RGB.g.toString(16) +
|
243 |
+
(RGB.b < 16 ? '0' : '') + RGB.b.toString(16)
|
244 |
+
).toUpperCase();
|
245 |
+
},
|
246 |
+
|
247 |
+
HEX2rgb: function(HEX) {
|
248 |
+
HEX = HEX.split(''); // IE7
|
249 |
+
return {
|
250 |
+
r: parseInt(HEX[0] + HEX[HEX[3] ? 1 : 0], 16) / 255,
|
251 |
+
g: parseInt(HEX[HEX[3] ? 2 : 1] + (HEX[3] || HEX[1]), 16) / 255,
|
252 |
+
b: parseInt((HEX[4] || HEX[2]) + (HEX[5] || HEX[2]), 16) / 255
|
253 |
+
};
|
254 |
+
},
|
255 |
+
|
256 |
+
hue2RGB: function(hue) {
|
257 |
+
var h = hue * 6,
|
258 |
+
mod = ~~h % 6, // Math.floor(h) -> faster in most browsers
|
259 |
+
i = h === 6 ? 0 : (h - mod);
|
260 |
+
|
261 |
+
return {
|
262 |
+
r: Math.round([1, 1 - i, 0, 0, i, 1][mod] * 255),
|
263 |
+
g: Math.round([i, 1, 1, 1 - i, 0, 0][mod] * 255),
|
264 |
+
b: Math.round([0, 0, i, 1, 1, 1 - i][mod] * 255)
|
265 |
+
};
|
266 |
+
},
|
267 |
+
|
268 |
+
// ------------------------ HSV ------------------------ //
|
269 |
+
|
270 |
+
rgb2hsv: function(rgb) { // faster
|
271 |
+
var r = rgb.r,
|
272 |
+
g = rgb.g,
|
273 |
+
b = rgb.b,
|
274 |
+
k = 0, chroma, min, s;
|
275 |
+
|
276 |
+
if (g < b) {
|
277 |
+
g = b + (b = g, 0);
|
278 |
+
k = -1;
|
279 |
+
}
|
280 |
+
min = b;
|
281 |
+
if (r < g) {
|
282 |
+
r = g + (g = r, 0);
|
283 |
+
k = -2 / 6 - k;
|
284 |
+
min = Math.min(g, b); // g < b ? g : b; ???
|
285 |
+
}
|
286 |
+
chroma = r - min;
|
287 |
+
s = r ? (chroma / r) : 0;
|
288 |
+
return {
|
289 |
+
h: s < 1e-15 ? ((_colors && _colors.hsl && _colors.hsl.h) || 0) :
|
290 |
+
chroma ? Math.abs(k + (g - b) / (6 * chroma)) : 0,
|
291 |
+
s: r ? (chroma / r) : ((_colors && _colors.hsv && _colors.hsv.s) || 0), // ??_colors.hsv.s || 0
|
292 |
+
v: r
|
293 |
+
};
|
294 |
+
},
|
295 |
+
|
296 |
+
hsv2rgb: function(hsv) {
|
297 |
+
var h = hsv.h * 6,
|
298 |
+
s = hsv.s,
|
299 |
+
v = hsv.v,
|
300 |
+
i = ~~h, // Math.floor(h) -> faster in most browsers
|
301 |
+
f = h - i,
|
302 |
+
p = v * (1 - s),
|
303 |
+
q = v * (1 - f * s),
|
304 |
+
t = v * (1 - (1 - f) * s),
|
305 |
+
mod = i % 6;
|
306 |
+
|
307 |
+
return {
|
308 |
+
r: [v, q, p, p, t, v][mod],
|
309 |
+
g: [t, v, v, q, p, p][mod],
|
310 |
+
b: [p, p, t, v, v, q][mod]
|
311 |
+
};
|
312 |
+
},
|
313 |
+
|
314 |
+
// ------------------------ HSL ------------------------ //
|
315 |
+
|
316 |
+
hsv2hsl: function(hsv) {
|
317 |
+
var l = (2 - hsv.s) * hsv.v,
|
318 |
+
s = hsv.s * hsv.v;
|
319 |
+
|
320 |
+
s = !hsv.s ? 0 : l < 1 ? (l ? s / l : 0) : s / (2 - l);
|
321 |
+
|
322 |
+
return {
|
323 |
+
h: hsv.h,
|
324 |
+
s: !hsv.v && !s ? ((_colors && _colors.hsl && _colors.hsl.s) || 0) : s, // ???
|
325 |
+
l: l / 2
|
326 |
+
};
|
327 |
+
},
|
328 |
+
|
329 |
+
rgb2hsl: function(rgb, dependent) { // not used in Color
|
330 |
+
var hsv = ColorConverter.rgb2hsv(rgb);
|
331 |
+
|
332 |
+
return ColorConverter.hsv2hsl(dependent ? hsv : (_colors.hsv = hsv));
|
333 |
+
},
|
334 |
+
|
335 |
+
hsl2rgb: function(hsl) {
|
336 |
+
var h = hsl.h * 6,
|
337 |
+
s = hsl.s,
|
338 |
+
l = hsl.l,
|
339 |
+
v = l < 0.5 ? l * (1 + s) : (l + s) - (s * l),
|
340 |
+
m = l + l - v,
|
341 |
+
sv = v ? ((v - m) / v) : 0,
|
342 |
+
sextant = ~~h, // Math.floor(h) -> faster in most browsers
|
343 |
+
fract = h - sextant,
|
344 |
+
vsf = v * sv * fract,
|
345 |
+
t = m + vsf,
|
346 |
+
q = v - vsf,
|
347 |
+
mod = sextant % 6;
|
348 |
+
|
349 |
+
return {
|
350 |
+
r: [v, q, m, m, t, v][mod],
|
351 |
+
g: [t, v, v, q, m, m][mod],
|
352 |
+
b: [m, m, t, v, v, q][mod]
|
353 |
+
};
|
354 |
+
}
|
355 |
+
};
|
356 |
+
|
357 |
+
// ------------------------------------------------------ //
|
358 |
+
// ------------------ helper functions ------------------ //
|
359 |
+
// -------------------------------------------------------//
|
360 |
+
|
361 |
+
function getClosestWebColor(RGB, val) {
|
362 |
+
var out = {},
|
363 |
+
tmp = 0,
|
364 |
+
half = val / 2;
|
365 |
+
|
366 |
+
for (var n in RGB) {
|
367 |
+
tmp = RGB[n] % val; // 51 = 'web save', 17 = 'web smart'
|
368 |
+
out[n] = RGB[n] + (tmp > half ? val - tmp : -tmp);
|
369 |
+
}
|
370 |
+
return out;
|
371 |
+
}
|
372 |
+
|
373 |
+
function getHueDelta(rgb1, rgb2, nominal) {
|
374 |
+
return (Math.max(rgb1.r - rgb2.r, rgb2.r - rgb1.r) +
|
375 |
+
Math.max(rgb1.g - rgb2.g, rgb2.g - rgb1.g) +
|
376 |
+
Math.max(rgb1.b - rgb2.b, rgb2.b - rgb1.b)) * (nominal ? 255 : 1) / 765;
|
377 |
+
}
|
378 |
+
|
379 |
+
function getLuminance(rgb, normalized) {
|
380 |
+
var div = normalized ? 1 : 255,
|
381 |
+
RGB = [rgb.r / div, rgb.g / div, rgb.b / div],
|
382 |
+
luminance = _instance.options.luminance;
|
383 |
+
|
384 |
+
for (var i = RGB.length; i--; ) {
|
385 |
+
RGB[i] = RGB[i] <= 0.03928 ? RGB[i] / 12.92 : Math.pow(((RGB[i] + 0.055) / 1.055), 2.4);
|
386 |
+
}
|
387 |
+
return ((luminance.r * RGB[0]) + (luminance.g * RGB[1]) + (luminance.b * RGB[2]));
|
388 |
+
}
|
389 |
+
|
390 |
+
function mixColors(topColor, bottomColor, topAlpha, bottomAlpha) {
|
391 |
+
var newColor = {},
|
392 |
+
alphaTop = (topAlpha !== undefined ? topAlpha : 1),
|
393 |
+
alphaBottom = (bottomAlpha !== undefined ? bottomAlpha : 1),
|
394 |
+
alpha = alphaTop + alphaBottom * (1 - alphaTop); // 1 - (1 - alphaTop) * (1 - alphaBottom);
|
395 |
+
|
396 |
+
for(var n in topColor) {
|
397 |
+
newColor[n] = (topColor[n] * alphaTop + bottomColor[n] * alphaBottom * (1 - alphaTop)) / alpha;
|
398 |
+
}
|
399 |
+
newColor.a = alpha;
|
400 |
+
return newColor;
|
401 |
+
}
|
402 |
+
|
403 |
+
function getWCAG2Ratio(lum1, lum2) {
|
404 |
+
var ratio = 1;
|
405 |
+
|
406 |
+
if (lum1 >= lum2) {
|
407 |
+
ratio = (lum1 + 0.05) / (lum2 + 0.05);
|
408 |
+
} else {
|
409 |
+
ratio = (lum2 + 0.05) / (lum1 + 0.05);
|
410 |
+
}
|
411 |
+
return Math.round(ratio * 100) / 100;
|
412 |
+
}
|
413 |
+
|
414 |
+
function limitValue(value, min, max) {
|
415 |
+
// return Math.max(min, Math.min(max, value)); // faster??
|
416 |
+
return (value > max ? max : value < min ? min : value);
|
417 |
+
}
|
418 |
+
})(window);
|
assets/third-party/colorpicker/js/index.js
ADDED
@@ -0,0 +1,498 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(window, $, undefined){
|
2 |
+
'use strict';
|
3 |
+
|
4 |
+
var plugin = {},
|
5 |
+
$pluginSelect = $('#pluginSelect'),
|
6 |
+
getQueryVariable = function(variable) {
|
7 |
+
var query = window.location.search.substring(1),
|
8 |
+
vars = query.split('&'),
|
9 |
+
pair, i;
|
10 |
+
|
11 |
+
for (i = vars.length; i--; ) {
|
12 |
+
pair = vars[i].split('=');
|
13 |
+
if(pair[0] === variable){
|
14 |
+
return pair[1].replace(/^\s*|\s*$/, '');
|
15 |
+
}
|
16 |
+
}
|
17 |
+
return(false);
|
18 |
+
},
|
19 |
+
type = getQueryVariable('type');
|
20 |
+
|
21 |
+
// plugin for mobile use (bigger and value/color display on top)
|
22 |
+
plugin.mobile = {
|
23 |
+
customBG: '#222',
|
24 |
+
margin: '4px -2px 0',
|
25 |
+
doRender: 'div div',
|
26 |
+
preventFocus: true,
|
27 |
+
animationSpeed: 0,
|
28 |
+
|
29 |
+
// demo on how to make plugins... mobile support plugin
|
30 |
+
buildCallback: function($elm) {
|
31 |
+
$elm.prepend('<div class="cp-disp"></div>');
|
32 |
+
$('.color').on('click', function(e) {
|
33 |
+
e.preventDefault && e.preventDefault();
|
34 |
+
});
|
35 |
+
},
|
36 |
+
cssAddon: // could also be in a css file instead
|
37 |
+
'.cp-disp{padding:10px; margin-bottom:6px; font-size:19px; height:20px; line-height:20px}' +
|
38 |
+
'.cp-xy-slider{width:200px; height:200px;}' +
|
39 |
+
'.cp-xy-cursor{width:16px; height:16px; border-width:2px; margin:-8px}' +
|
40 |
+
'.cp-z-slider{height:200px; width:40px;}' +
|
41 |
+
'.cp-z-cursor{border-width:8px; margin-top:-8px;}' +
|
42 |
+
'.cp-alpha{height:40px;}' +
|
43 |
+
'.cp-alpha-cursor{border-width: 8px; margin-left:-8px;}',
|
44 |
+
|
45 |
+
renderCallback: function($elm, toggled) {
|
46 |
+
var colors = this.color.colors,
|
47 |
+
rgb = colors.RND.rgb;
|
48 |
+
|
49 |
+
$('.cp-disp').css({
|
50 |
+
backgroundColor: '#' + colors.HEX,
|
51 |
+
color: colors.RGBLuminance > 0.22 ? '#222' : '#ddd'
|
52 |
+
}).text('rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b +
|
53 |
+
', ' + (Math.round(colors.alpha * 100) / 100) + ')');
|
54 |
+
}
|
55 |
+
};
|
56 |
+
|
57 |
+
// shows input fields for rgb and hsv; changeable
|
58 |
+
plugin.input = {
|
59 |
+
customBG: '#222',
|
60 |
+
margin: '4px -2px 0',
|
61 |
+
doRender: 'div div',
|
62 |
+
|
63 |
+
buildCallback: function($elm) {
|
64 |
+
var colorInstance = this.color,
|
65 |
+
colorPicker = this;
|
66 |
+
|
67 |
+
$elm.prepend('<div class="cp-panel">' +
|
68 |
+
'R <input type="text" class="cp-r" /><br>' +
|
69 |
+
'G <input type="text" class="cp-g" /><br>' +
|
70 |
+
'B <input type="text" class="cp-b" /><hr>' +
|
71 |
+
'H <input type="text" class="cp-h" /><br>' +
|
72 |
+
'S <input type="text" class="cp-s" /><br>' +
|
73 |
+
'B <input type="text" class="cp-v" /><hr>' +
|
74 |
+
'<input type="text" class="cp-HEX" />' +
|
75 |
+
'</div>').on('change', 'input', function(e) {
|
76 |
+
var value = this.value,
|
77 |
+
className = this.className,
|
78 |
+
type = className.split('-')[1],
|
79 |
+
color = {};
|
80 |
+
|
81 |
+
color[type] = value;
|
82 |
+
colorInstance.setColor(type === 'HEX' ? value : color,
|
83 |
+
type === 'HEX' ? 'HEX' : /(?:r|g|b)/.test(type) ? 'rgb' : 'hsv');
|
84 |
+
colorPicker.render();
|
85 |
+
this.blur();
|
86 |
+
});
|
87 |
+
},
|
88 |
+
|
89 |
+
cssAddon: // could also be in a css file instead
|
90 |
+
'.cp-color-picker{box-sizing:border-box; width:226px;}' +
|
91 |
+
'.cp-color-picker .cp-panel {line-height: 21px; float:right;' +
|
92 |
+
'padding:0 1px 0 8px; margin-top:-1px; overflow:visible}' +
|
93 |
+
'.cp-xy-slider:active {cursor:none;}' +
|
94 |
+
'.cp-panel, .cp-panel input {color:#bbb; font-family:monospace,' +
|
95 |
+
'"Courier New",Courier,mono; font-size:12px; font-weight:bold;}' +
|
96 |
+
'.cp-panel input {width:28px; height:12px; padding:2px 3px 1px;' +
|
97 |
+
'text-align:right; line-height:12px; background:transparent;' +
|
98 |
+
'border:1px solid; border-color:#222 #666 #666 #222;}' +
|
99 |
+
'.cp-panel hr {margin:0 -2px 2px; height:1px; border:0;' +
|
100 |
+
'background:#666; border-top:1px solid #222;}' +
|
101 |
+
'.cp-panel .cp-HEX {width:44px; position:absolute; margin:1px -3px 0 -2px;}' +
|
102 |
+
'.cp-alpha {width:155px;}',
|
103 |
+
|
104 |
+
renderCallback: function($elm, toggled) {
|
105 |
+
var colors = this.color.colors.RND,
|
106 |
+
modes = {
|
107 |
+
r: colors.rgb.r, g: colors.rgb.g, b: colors.rgb.b,
|
108 |
+
h: colors.hsv.h, s: colors.hsv.s, v: colors.hsv.v,
|
109 |
+
HEX: this.color.colors.HEX
|
110 |
+
};
|
111 |
+
|
112 |
+
$('input', '.cp-panel').each(function() {
|
113 |
+
this.value = modes[this.className.substr(3)];
|
114 |
+
});
|
115 |
+
}
|
116 |
+
};
|
117 |
+
|
118 |
+
// shows memory fields
|
119 |
+
plugin.memory = {
|
120 |
+
customBG: '#222',
|
121 |
+
margin: '4px -2px 0',
|
122 |
+
doRender: 'div div',
|
123 |
+
opacity: false,
|
124 |
+
|
125 |
+
buildCallback: function($elm) {
|
126 |
+
var colorInstance = this.color,
|
127 |
+
colorPicker = this,
|
128 |
+
random = function(n) {
|
129 |
+
return Math.round(Math.random() * (n || 255));
|
130 |
+
};
|
131 |
+
|
132 |
+
$elm.append('<div class="cp-memory">' +
|
133 |
+
'<div></div><div></div><div></div><div></div>' +
|
134 |
+
'<div></div><div></div><div></div><div class="cp-store">S</div>').
|
135 |
+
on('click', '.cp-memory div', function(e) {
|
136 |
+
var $this = $(this);
|
137 |
+
|
138 |
+
if (this.className) {
|
139 |
+
$this.parent().prepend($this.prev()).children().eq(0).
|
140 |
+
css('background-color', '#' + colorInstance.colors.HEX);
|
141 |
+
} else {
|
142 |
+
colorInstance.setColor($this.css('background-color'));
|
143 |
+
colorPicker.render();
|
144 |
+
}
|
145 |
+
}).find('.cp-memory div').each(function() {
|
146 |
+
!this.className && $(this).css({background:
|
147 |
+
'rgb(' + random() + ', ' + random() + ', ' + random() + ')'
|
148 |
+
});
|
149 |
+
});
|
150 |
+
},
|
151 |
+
|
152 |
+
cssAddon: // could also be in a css file instead
|
153 |
+
'.cp-memory {margin-bottom:6px; clear:both;}' +
|
154 |
+
'.cp-xy-slider:active {cursor:none;}' +
|
155 |
+
'.cp-memory div {float:left; width:17px; height:17px; margin-right:2px;' +
|
156 |
+
'background:rgba(0,0,0,1); text-align:center; line-height:17px;}' +
|
157 |
+
'.cp-memory .cp-store {width:21px; margin:0; background:none; font-weight:bold;' +
|
158 |
+
'box-sizing:border-box; border: 1px solid; border-color: #666 #222 #222 #666;}'
|
159 |
+
};
|
160 |
+
|
161 |
+
// the default; no extra stuff
|
162 |
+
plugin.desktop = {
|
163 |
+
customBG: '#222',
|
164 |
+
margin: '4px -2px 0',
|
165 |
+
doRender: 'div div',
|
166 |
+
cssAddon:'.cp-xy-slider:active {cursor:none;}'
|
167 |
+
};
|
168 |
+
|
169 |
+
// the default without alpha chanel though
|
170 |
+
plugin.noalpha = {
|
171 |
+
customBG: '#222',
|
172 |
+
margin: '4px -2px 0',
|
173 |
+
doRender: 'div div',
|
174 |
+
cssAddon:'.cp-xy-slider:active {cursor:none;}',
|
175 |
+
opacity: false
|
176 |
+
};
|
177 |
+
|
178 |
+
// the default but smaller
|
179 |
+
plugin.small = {
|
180 |
+
customBG: '#222',
|
181 |
+
margin: '4px -2px 0',
|
182 |
+
doRender: 'div div',
|
183 |
+
cssAddon: // could also be in a css file instead
|
184 |
+
'.cp-color-picker{padding:5px 5px 0;}' +
|
185 |
+
'.cp-xy-slider{width:100px; height:100px; margin-bottom:3px;}' +
|
186 |
+
'.cp-z-slider{height:100px; margin-left:4px;}' +
|
187 |
+
'.cp-alpha{margin:4px 0;}' +
|
188 |
+
'.cp-xy-slider:active {cursor:none;}'
|
189 |
+
};
|
190 |
+
|
191 |
+
// better IE support
|
192 |
+
plugin.IE8 = {
|
193 |
+
customBG: '#222',
|
194 |
+
margin: '4px -2px 0',
|
195 |
+
doRender: 'div div',
|
196 |
+
// this demo adds divs with gradiends,... you could simply load an image as well
|
197 |
+
buildCallback: function($elm) {
|
198 |
+
var that = this;
|
199 |
+
|
200 |
+
$elm.find('.cp-z-slider').prepend(
|
201 |
+
'<div class="cp-r-rb"></div>' +
|
202 |
+
'<div class="cp-rb-b"></div>' +
|
203 |
+
'<div class="cp-b-bg"></div>' +
|
204 |
+
'<div class="cp-bg-g"></div>' +
|
205 |
+
'<div class="cp-g-gr"></div>' +
|
206 |
+
'<div class="cp-gr-r"></div>'
|
207 |
+
);
|
208 |
+
},
|
209 |
+
cssAddon: // could also be in a css file instead
|
210 |
+
'.cp-r-rb{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#ff0000\', endColorstr=\'#ff00ff\',GradientType=0 ); height:21px; width: 100%;}' +
|
211 |
+
'.cp-rb-b{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#FF00FF\', endColorstr=\'#0000FF\',GradientType=0 ); height:21px; width: 100%;}' +
|
212 |
+
'.cp-b-bg{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#0000FF\', endColorstr=\'#00FFFF\',GradientType=0 ); height:22px; width: 100%;}' +
|
213 |
+
'.cp-bg-g{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#00FFFF\', endColorstr=\'#00FF00\',GradientType=0 ); height:21px; width: 100%;}' +
|
214 |
+
'.cp-g-gr{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#00FF00\', endColorstr=\'#FFFF00\',GradientType=0 ); height:21px; width: 100%;}' +
|
215 |
+
'.cp-gr-r{filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#FFFF00\', endColorstr=\'#FF0000\',GradientType=0 ); height:22px; width: 100%;}' +
|
216 |
+
'.cp-z-cursor{top:0;height:0;}' +
|
217 |
+
'.cp-xy-slider:active {cursor:none;}',
|
218 |
+
|
219 |
+
renderCallback: function($elm, toggled) {
|
220 |
+
// to avoid selection
|
221 |
+
window.event && (window.event.returnValue = false);
|
222 |
+
}
|
223 |
+
};
|
224 |
+
|
225 |
+
|
226 |
+
// the default skinned and white
|
227 |
+
plugin.skinned = {
|
228 |
+
customBG: '#222',
|
229 |
+
margin: '5px -2px 0',
|
230 |
+
doRender: 'div div',
|
231 |
+
cssAddon: // could also be in a css file instead
|
232 |
+
'.cp-color-picker{border:1px solid #999; padding:10px 10px 0;' +
|
233 |
+
'background:#eee; overflow:visible; border-radius:3px;}' +
|
234 |
+
'.cp-color-picker:after{content:""; display:block; ' +
|
235 |
+
'position:absolute; top:-15px; left:12px; border:8px solid #eee;' +
|
236 |
+
'border-color: transparent transparent #eee}' +
|
237 |
+
// simulate border...
|
238 |
+
'.cp-color-picker:before{content:""; display:block; ' +
|
239 |
+
'position:absolute; top:-16px; left:12px; border:8px solid #eee;' +
|
240 |
+
'border-color: transparent transparent #999}' +
|
241 |
+
'.cp-xy-slider:active {cursor:none;}' +
|
242 |
+
'.cp-xy-slider{border:1px solid #999; margin-bottom:10px;}' +
|
243 |
+
'.cp-xy-cursor{width:12px; height:12px; margin:-6px}' +
|
244 |
+
'.cp-z-slider{margin-left:10px; border:1px solid #999;}' +
|
245 |
+
'.cp-z-cursor{border-width:5px; margin-top:-5px;}' +
|
246 |
+
'.cp-color-picker .cp-alpha{margin:10px 0 0; height:6px; border-radius:6px;' +
|
247 |
+
'overflow:visible; border:1px solid #999; box-sizing:border-box;' +
|
248 |
+
'background: linear-gradient(to right, rgba(238,238,238,1) 0%,rgba(238,238,238,0) 100%);}' +
|
249 |
+
'.cp-color-picker .cp-alpha{margin:10px 0}' +
|
250 |
+
'.cp-alpha-cursor{background: #eee; border-radius: 100%;' +
|
251 |
+
'width:14px; height:14px; margin:-5px -7px; border:1px solid #666!important;' +
|
252 |
+
'box-shadow:inset -2px -4px 3px #ccc}'
|
253 |
+
};
|
254 |
+
|
255 |
+
// the default skinned and white
|
256 |
+
plugin.skinned_sa = $.extend({}, plugin.skinned, {
|
257 |
+
renderCallback: function($elm, toggled) {
|
258 |
+
if (typeof toggled === 'boolean') {
|
259 |
+
$('.cp-alpha', this.$UI).css('display', $elm.hasClass('no-alpha') ? 'none' : '')
|
260 |
+
}
|
261 |
+
}});
|
262 |
+
|
263 |
+
// skinned similar to dev tools color picker (but then way smaller and faster...)
|
264 |
+
plugin.dev_skinned = {
|
265 |
+
customBG: '#222',
|
266 |
+
margin: '5px 0 0',
|
267 |
+
doRender: 'div div',
|
268 |
+
colorNames: {
|
269 |
+
'191970': 'midnightblue',
|
270 |
+
'696969': 'dimgrey',
|
271 |
+
'708090': 'slategrey',
|
272 |
+
'778899': 'lightslategrey',
|
273 |
+
'800000': 'maroon',
|
274 |
+
'800080': 'purple',
|
275 |
+
'808000': 'olive',
|
276 |
+
'808080': 'grey',
|
277 |
+
'F0F8FF': 'aliceblue',
|
278 |
+
'FAEBD7': 'antiquewhite',
|
279 |
+
'00FFFF': 'cyan',
|
280 |
+
'7FFFD4': 'aquamarine',
|
281 |
+
'F0FFFF': 'azure',
|
282 |
+
'F5F5DC': 'beige',
|
283 |
+
'FFE4C4': 'bisque',
|
284 |
+
'000000': 'black',
|
285 |
+
'FFEBCD': 'blanchedalmond',
|
286 |
+
'0000FF': 'blue',
|
287 |
+
'8A2BE2': 'blueviolet',
|
288 |
+
'A52A2A': 'brown',
|
289 |
+
'DEB887': 'burlywood',
|
290 |
+
'5F9EA0': 'cadetblue',
|
291 |
+
'7FFF00': 'chartreuse',
|
292 |
+
'D2691E': 'chocolate',
|
293 |
+
'FF7F50': 'coral',
|
294 |
+
'6495ED': 'cornflowerblue',
|
295 |
+
'FFF8DC': 'cornsilk',
|
296 |
+
'DC143C': 'crimson',
|
297 |
+
'00008B': 'darkblue',
|
298 |
+
'008B8B': 'darkcyan',
|
299 |
+
'B8860B': 'darkgoldenrod',
|
300 |
+
'A9A9A9': 'darkgrey',
|
301 |
+
'006400': 'darkgreen',
|
302 |
+
'BDB76B': 'darkkhaki',
|
303 |
+
'8B008B': 'darkmagenta',
|
304 |
+
'556B2F': 'darkolivegreen',
|
305 |
+
'FF8C00': 'darkorange',
|
306 |
+
'9932CC': 'darkorchid',
|
307 |
+
'8B0000': 'darkred',
|
308 |
+
'E9967A': 'darksalmon',
|
309 |
+
'8FBC8F': 'darkseagreen',
|
310 |
+
'483D8B': 'darkslateblue',
|
311 |
+
'2F4F4F': 'darkslategrey',
|
312 |
+
'00CED1': 'darkturquoise',
|
313 |
+
'9400D3': 'darkviolet',
|
314 |
+
'FF1493': 'deeppink',
|
315 |
+
'00BFFF': 'deepskyblue',
|
316 |
+
'1E90FF': 'dodgerblue',
|
317 |
+
'B22222': 'firebrick',
|
318 |
+
'FFFAF0': 'floralwhite',
|
319 |
+
'228B22': 'forestgreen',
|
320 |
+
'FF00FF': 'magenta',
|
321 |
+
'DCDCDC': 'gainsboro',
|
322 |
+
'F8F8FF': 'ghostwhite',
|
323 |
+
'FFD700': 'gold',
|
324 |
+
'DAA520': 'goldenrod',
|
325 |
+
'008000': 'green',
|
326 |
+
'ADFF2F': 'greenyellow',
|
327 |
+
'F0FFF0': 'honeydew',
|
328 |
+
'FF69B4': 'hotpink',
|
329 |
+
'CD5C5C': 'indianred',
|
330 |
+
'4B0082': 'indigo',
|
331 |
+
'FFFFF0': 'ivory',
|
332 |
+
'F0E68C': 'khaki',
|
333 |
+
'E6E6FA': 'lavender',
|
334 |
+
'FFF0F5': 'lavenderblush',
|
335 |
+
'7CFC00': 'lawngreen',
|
336 |
+
'FFFACD': 'lemonchiffon',
|
337 |
+
'ADD8E6': 'lightblue',
|
338 |
+
'F08080': 'lightcoral',
|
339 |
+
'E0FFFF': 'lightcyan',
|
340 |
+
'FAFAD2': 'lightgoldenrodyellow',
|
341 |
+
'D3D3D3': 'lightgrey',
|
342 |
+
'90EE90': 'lightgreen',
|
343 |
+
'FFB6C1': 'lightpink',
|
344 |
+
'FFA07A': 'lightsalmon',
|
345 |
+
'20B2AA': 'lightseagreen',
|
346 |
+
'87CEFA': 'lightskyblue',
|
347 |
+
'B0C4DE': 'lightsteelblue',
|
348 |
+
'FFFFE0': 'lightyellow',
|
349 |
+
'00FF00': 'lime',
|
350 |
+
'32CD32': 'limegreen',
|
351 |
+
'FAF0E6': 'linen',
|
352 |
+
'66CDAA': 'mediumaquamarine',
|
353 |
+
'0000CD': 'mediumblue',
|
354 |
+
'BA55D3': 'mediumorchid',
|
355 |
+
'9370DB': 'mediumpurple',
|
356 |
+
'3CB371': 'mediumseagreen',
|
357 |
+
'7B68EE': 'mediumslateblue',
|
358 |
+
'00FA9A': 'mediumspringgreen',
|
359 |
+
'48D1CC': 'mediumturquoise',
|
360 |
+
'C71585': 'mediumvioletred',
|
361 |
+
'F5FFFA': 'mintcream',
|
362 |
+
'FFE4E1': 'mistyrose',
|
363 |
+
'FFE4B5': 'moccasin',
|
364 |
+
'FFDEAD': 'navajowhite',
|
365 |
+
'000080': 'navy',
|
366 |
+
'FDF5E6': 'oldlace',
|
367 |
+
'6B8E23': 'olivedrab',
|
368 |
+
'FFA500': 'orange',
|
369 |
+
'FF4500': 'orangered',
|
370 |
+
'DA70D6': 'orchid',
|
371 |
+
'EEE8AA': 'palegoldenrod',
|
372 |
+
'98FB98': 'palegreen',
|
373 |
+
'AFEEEE': 'paleturquoise',
|
374 |
+
'DB7093': 'palevioletred',
|
375 |
+
'FFEFD5': 'papayawhip',
|
376 |
+
'FFDAB9': 'peachpuff',
|
377 |
+
'CD853F': 'peru',
|
378 |
+
'FFC0CB': 'pink',
|
379 |
+
'DDA0DD': 'plum',
|
380 |
+
'B0E0E6': 'powderblue',
|
381 |
+
'FF0000': 'red',
|
382 |
+
'BC8F8F': 'rosybrown',
|
383 |
+
'4169E1': 'royalblue',
|
384 |
+
'8B4513': 'saddlebrown',
|
385 |
+
'FA8072': 'salmon',
|
386 |
+
'F4A460': 'sandybrown',
|
387 |
+
'2E8B57': 'seagreen',
|
388 |
+
'FFF5EE': 'seashell',
|
389 |
+
'A0522D': 'sienna',
|
390 |
+
'C0C0C0': 'silver',
|
391 |
+
'87CEEB': 'skyblue',
|
392 |
+
'6A5ACD': 'slateblue',
|
393 |
+
'FFFAFA': 'snow',
|
394 |
+
'00FF7F': 'springgreen',
|
395 |
+
'4682B4': 'steelblue',
|
396 |
+
'D2B48C': 'tan',
|
397 |
+
'008080': 'teal',
|
398 |
+
'D8BFD8': 'thistle',
|
399 |
+
'FF6347': 'tomato',
|
400 |
+
'40E0D0': 'turquoise',
|
401 |
+
'EE82EE': 'violet',
|
402 |
+
'F5DEB3': 'wheat',
|
403 |
+
'FFFFFF': 'white',
|
404 |
+
'F5F5F5': 'whitesmoke',
|
405 |
+
'FFFF00': 'yellow',
|
406 |
+
'9ACD32': 'yellowgreen'
|
407 |
+
},
|
408 |
+
|
409 |
+
buildCallback: function($elm) {
|
410 |
+
var that = this;
|
411 |
+
|
412 |
+
$elm.append('<div class="cp-patch"><div></div></div><div class="cp-disp"></div>');
|
413 |
+
$('.trigger').parent().on('click', '.trigger', function(e) {
|
414 |
+
if (e.target === this && $(this).hasClass('active')) {
|
415 |
+
e.cancelBubble = true;
|
416 |
+
e.stopPropagation && e.stopPropagation();
|
417 |
+
that.toggle();
|
418 |
+
}
|
419 |
+
});
|
420 |
+
// if input type="color"
|
421 |
+
$('.color').on('click', function(e){
|
422 |
+
e.preventDefault && e.preventDefault();
|
423 |
+
});
|
424 |
+
},
|
425 |
+
|
426 |
+
cssAddon: // could also be in a css file instead
|
427 |
+
'.cp-patch{float:left; margin:9px 0 0;' +
|
428 |
+
'height:24px; width: 24px; border:1px solid #aaa;}' +
|
429 |
+
'.cp-patch{background-image: url(\'data:image/gif;base64,R0lGODlhDAAMAIABAMzMzP///yH5BAEAAAEALAAAAAAMAAwAAAIWhB+ph5ps3IMyQFBvzVRq3zmfGC5QAQA7\');}' +
|
430 |
+
'.cp-patch div{height:24px; width: 24px;}' +
|
431 |
+
'.cp-disp{padding:4px 0 4px 4px; margin-top:10px; font-size:12px;' +
|
432 |
+
'height:16px; line-height:16px; color:#333;}' +
|
433 |
+
'.cp-color-picker{border:1px solid #999; padding:8px; box-shadow:5px 5px 16px rgba(0,0,0,0.4);' +
|
434 |
+
'background:#eee; overflow:visible; border-radius:3px;}' +
|
435 |
+
'.cp-color-picker:after{content:""; display:block; ' +
|
436 |
+
'position:absolute; top:-8px; left:8px; border:8px solid #eee; border-width: 0px 8px 8px;' +
|
437 |
+
'border-color: transparent transparent #eee}' +
|
438 |
+
// simulate border...
|
439 |
+
'.cp-color-picker:before{content:""; display:block; ' +
|
440 |
+
'position:absolute; top:-9px; left:8px; border:8px solid #eee; border-width: 0px 8px 8px;' +
|
441 |
+
'border-color: transparent transparent #999}' +
|
442 |
+
'.cp-xy-slider{border:1px solid #aaa; margin-bottom:10px; width:150px; height:150px;}' +
|
443 |
+
'.cp-xy-slider:active {cursor:none;}' +
|
444 |
+
'.cp-xy-cursor{width:12px; height:12px; margin:-6px}' +
|
445 |
+
'.cp-z-slider{margin-left:8px; border:1px solid #aaa; height:150px; width:24px;}' +
|
446 |
+
'.cp-z-cursor{border-width:5px; margin-top:-5px;}' +
|
447 |
+
'.cp-color-picker .cp-alpha{width:152px; margin:10px 0 0; height:6px; border-radius:6px;' +
|
448 |
+
'overflow:visible; border:1px solid #aaa; box-sizing:border-box;' +
|
449 |
+
'background: linear-gradient(to right, rgba(238,238,238,1) 0%,rgba(238,238,238,0) 100%);}' +
|
450 |
+
'.cp-alpha-cursor{background: #eee; border-radius: 100%;' +
|
451 |
+
'width:14px; height:14px; margin:-5px -7px; border:1px solid #999!important;' +
|
452 |
+
'box-shadow:inset -2px -4px 3px #ccc}' +
|
453 |
+
'.cp-alpha:after{position:relative; content:"α"; color:#666; font-size:16px;' +
|
454 |
+
'font-family:monospace; position:absolute; right:-26px; top:-8px}',
|
455 |
+
|
456 |
+
renderCallback: function($elm, toggled) {
|
457 |
+
var colors = this.color.colors,
|
458 |
+
rgb = colors.RND.rgb;
|
459 |
+
|
460 |
+
$('.cp-patch div').css({'background-color': $elm[0].style.backgroundColor});
|
461 |
+
$('.cp-disp').text(this.color.options.colorNames[colors.HEX] || $elm.val());
|
462 |
+
if (toggled === true) {
|
463 |
+
// here you can recalculate position after showing the color picker
|
464 |
+
// in case it doesn't fit into view.
|
465 |
+
$('.trigger').removeClass('active');
|
466 |
+
$elm.closest('.trigger').addClass('active');
|
467 |
+
} else if (toggled === false) {
|
468 |
+
$elm.closest('.trigger').removeClass('active');
|
469 |
+
}
|
470 |
+
}
|
471 |
+
};
|
472 |
+
|
473 |
+
plugin.dev_skinned_hh = $.extend({}, plugin.dev_skinned,
|
474 |
+
{cssAddon: plugin.dev_skinned.cssAddon +
|
475 |
+
'.cp-xy-slider{height:100px}' +
|
476 |
+
'.cp-z-slider{height:100px}' +
|
477 |
+
'.cp-xy-slider, .cp-patch, .cp-z-slider{box-shadow: inset 1px 1px 8px rgba(0,0,0,.15),' +
|
478 |
+
' inset -1px -1px 6px rgba(0,0,0,.15);'});
|
479 |
+
|
480 |
+
|
481 |
+
$pluginSelect.val(type || 'desktop').
|
482 |
+
on('change', function(e) {
|
483 |
+
window.location = './?type=' + this.value + '#demo'
|
484 |
+
});
|
485 |
+
|
486 |
+
|
487 |
+
var isMobile = /webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.
|
488 |
+
test(window.navigator.userAgent);
|
489 |
+
|
490 |
+
type === 'mobile' && !isMobile && $('#qr').show();
|
491 |
+
isMobile && $('.div-toggles').hide();
|
492 |
+
|
493 |
+
window.myColorPicker = $('.color').colorPicker(
|
494 |
+
plugin[type] || plugin.desktop
|
495 |
+
);
|
496 |
+
$('.trigger').colorPicker();
|
497 |
+
$('pre').colorPicker({doRender: false});
|
498 |
+
})(window, jQuery);
|
assets/third-party/colorpicker/js/jqColorPicker.js
ADDED
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($, Colors, undefined){
|
2 |
+
'use strict';
|
3 |
+
|
4 |
+
var $document = $(document),
|
5 |
+
_instance,
|
6 |
+
_colorPicker,
|
7 |
+
_color,
|
8 |
+
_options,
|
9 |
+
_selector = '',
|
10 |
+
|
11 |
+
_$trigger,
|
12 |
+
_$UI, _$xy_slider, _$xy_cursor, _$z_cursor , _$alpha , _$alpha_cursor,
|
13 |
+
|
14 |
+
_pointermove = 'touchmove.a mousemove.a pointermove.a',
|
15 |
+
_pointerdown = 'touchstart.a mousedown.a pointerdown.a',
|
16 |
+
_pointerup = 'touchend.a mouseup.a pointerup.a',
|
17 |
+
_GPU = false,
|
18 |
+
_animate = window.requestAnimationFrame ||
|
19 |
+
window.webkitRequestAnimationFrame || function(cb){cb()},
|
20 |
+
_html = '<div class="cp-color-picker"><div class="cp-z-slider"><div c' +
|
21 |
+
'lass="cp-z-cursor"></div></div><div class="cp-xy-slider"><div cl' +
|
22 |
+
'ass="cp-white"></div><div class="cp-xy-cursor"></div></div><div ' +
|
23 |
+
'class="cp-alpha"><div class="cp-alpha-cursor"></div></div></div>',
|
24 |
+
// 'grunt-contrib-uglify' puts all this back to one single string...
|
25 |
+
_css = '.cp-color-picker{position:absolute;overflow:hidden;padding:6p' +
|
26 |
+
'x 6px 0;background-color:#444;color:#bbb;font-family:Arial,Helve' +
|
27 |
+
'tica,sans-serif;font-size:12px;font-weight:400;cursor:default;bo' +
|
28 |
+
'rder-radius:5px}.cp-color-picker>div{position:relative;overflow:' +
|
29 |
+
'hidden}.cp-xy-slider{float:left;height:128px;width:128px;margin-' +
|
30 |
+
'bottom:6px;background:linear-gradient(to right,#FFF,rgba(255,255' +
|
31 |
+
',255,0))}.cp-white{height:100%;width:100%;background:linear-grad' +
|
32 |
+
'ient(rgba(0,0,0,0),#000)}.cp-xy-cursor{position:absolute;top:0;w' +
|
33 |
+
'idth:10px;height:10px;margin:-5px;border:1px solid #fff;border-r' +
|
34 |
+
'adius:100%;box-sizing:border-box}.cp-z-slider{float:right;margin' +
|
35 |
+
'-left:6px;height:128px;width:20px;background:linear-gradient(red' +
|
36 |
+
' 0,#f0f 17%,#00f 33%,#0ff 50%,#0f0 67%,#ff0 83%,red 100%)}.cp-z-' +
|
37 |
+
'cursor{position:absolute;margin-top:-4px;width:100%;border:4px s' +
|
38 |
+
'olid #fff;border-color:transparent #fff;box-sizing:border-box}.c' +
|
39 |
+
'p-alpha{clear:both;width:100%;height:16px;margin:6px 0;backgroun' +
|
40 |
+
'd:linear-gradient(to right,#444,rgba(0,0,0,0))}.cp-alpha-cursor{' +
|
41 |
+
'position:absolute;margin-left:-4px;height:100%;border:4px solid ' +
|
42 |
+
'#fff;border-color:#fff transparent;box-sizing:border-box}',
|
43 |
+
|
44 |
+
ColorPicker = function(options) {
|
45 |
+
_color = this.color = new Colors(options);
|
46 |
+
_options = _color.options;
|
47 |
+
};
|
48 |
+
|
49 |
+
ColorPicker.prototype = {
|
50 |
+
render: preRender,
|
51 |
+
toggle: toggle
|
52 |
+
};
|
53 |
+
|
54 |
+
function extractValue(elm) {
|
55 |
+
return elm.value || elm.getAttribute('value') ||
|
56 |
+
$(elm).css('background-color') || '#fff';
|
57 |
+
}
|
58 |
+
|
59 |
+
function resolveEventType(event) {
|
60 |
+
event = event.originalEvent && event.originalEvent.touches ?
|
61 |
+
event.originalEvent.touches[0] : event;
|
62 |
+
|
63 |
+
return event.originalEvent ? event.originalEvent : event;
|
64 |
+
}
|
65 |
+
|
66 |
+
function findElement($elm) {
|
67 |
+
return $($elm.find(_options.doRender)[0] || $elm[0]);
|
68 |
+
}
|
69 |
+
|
70 |
+
function toggle(event) {
|
71 |
+
var $this = $(this),
|
72 |
+
position = $this.offset(),
|
73 |
+
$window = $(window),
|
74 |
+
gap = _options.gap;
|
75 |
+
|
76 |
+
if (event) {
|
77 |
+
_$trigger = findElement($this);
|
78 |
+
_colorPicker.$trigger = $this;
|
79 |
+
|
80 |
+
(_$UI || build()).css({
|
81 |
+
// 'width': _$UI[0]._width,
|
82 |
+
'left': (_$UI[0]._left = position.left) -
|
83 |
+
((_$UI[0]._left = _$UI[0]._left + _$UI[0]._width -
|
84 |
+
($window.scrollLeft() + $window.width())) + gap > 0 ?
|
85 |
+
_$UI[0]._left + gap : 0),
|
86 |
+
'top': (_$UI[0]._top = position.top + $this.outerHeight()) -
|
87 |
+
((_$UI[0]._top = _$UI[0]._top + _$UI[0]._height -
|
88 |
+
($window.scrollTop() + $window.height())) + gap > 0 ?
|
89 |
+
_$UI[0]._top + gap : 0)
|
90 |
+
}).show(_options.animationSpeed, function() {
|
91 |
+
if (event === true) {
|
92 |
+
return;
|
93 |
+
}
|
94 |
+
_$alpha._width = _$alpha.width();
|
95 |
+
_$xy_slider._width = _$xy_slider.width();
|
96 |
+
_$xy_slider._height = _$xy_slider.height();
|
97 |
+
_color.setColor(extractValue(_$trigger[0]));
|
98 |
+
|
99 |
+
preRender(true);
|
100 |
+
});
|
101 |
+
} else {
|
102 |
+
$(_$UI).hide(_options.animationSpeed, function() {
|
103 |
+
_$trigger.blur();
|
104 |
+
_colorPicker.$trigger = null;
|
105 |
+
preRender(false);
|
106 |
+
});
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
+
function build() {
|
111 |
+
$('head').append('<style type="text/css">' +
|
112 |
+
(_options.css || _css) + (_options.cssAddon || '') + '</style>');
|
113 |
+
|
114 |
+
return _colorPicker.$UI = _$UI =
|
115 |
+
$(_html).css({'margin': _options.margin}).
|
116 |
+
appendTo('body').
|
117 |
+
show(0, function() {
|
118 |
+
var $this = $(this);
|
119 |
+
|
120 |
+
_GPU = _options.GPU && $this.css('perspective') !== undefined;
|
121 |
+
_$xy_slider = $('.cp-xy-slider', this);
|
122 |
+
_$xy_cursor = $('.cp-xy-cursor', this);
|
123 |
+
_$z_cursor = $('.cp-z-cursor', this);
|
124 |
+
_$alpha = $('.cp-alpha', this).toggle(!!_options.opacity);
|
125 |
+
_$alpha_cursor = $('.cp-alpha-cursor', this);
|
126 |
+
_options.buildCallback.call(_colorPicker, $this);
|
127 |
+
$this.prepend('<div>').children().eq(0).css('width',
|
128 |
+
$this.children().eq(0).width() // stabilizer
|
129 |
+
);
|
130 |
+
this._width = this.offsetWidth;
|
131 |
+
this._height = this.offsetHeight;
|
132 |
+
}).hide().
|
133 |
+
on(_pointerdown,
|
134 |
+
'.cp-xy-slider,.cp-z-slider,.cp-alpha', pointerdown);
|
135 |
+
}
|
136 |
+
|
137 |
+
function pointerdown(e) {
|
138 |
+
var action = this.className.
|
139 |
+
replace(/cp-(.*?)(?:\s*|$)/, '$1').replace('-', '_');
|
140 |
+
|
141 |
+
e.preventDefault && e.preventDefault();
|
142 |
+
e.returnValue = false;
|
143 |
+
|
144 |
+
_$trigger._offset = $(this).offset();
|
145 |
+
|
146 |
+
(action = action === 'xy_slider' ? xy_slider :
|
147 |
+
action === 'z_slider' ? z_slider : alpha)(e);
|
148 |
+
preRender();
|
149 |
+
|
150 |
+
$document.on(_pointerup, function(e) {
|
151 |
+
$document.off('.a');
|
152 |
+
}).on(_pointermove, function(e) {
|
153 |
+
action(e);
|
154 |
+
preRender();
|
155 |
+
});
|
156 |
+
}
|
157 |
+
|
158 |
+
function xy_slider(event) {
|
159 |
+
var e = resolveEventType(event),
|
160 |
+
x = e.pageX - _$trigger._offset.left,
|
161 |
+
y = e.pageY - _$trigger._offset.top;
|
162 |
+
|
163 |
+
_color.setColor({
|
164 |
+
s: x / _$xy_slider._width * 100,
|
165 |
+
v: 100 - (y / _$xy_slider._height * 100)
|
166 |
+
}, 'hsv');
|
167 |
+
}
|
168 |
+
|
169 |
+
function z_slider(event) {
|
170 |
+
var z = resolveEventType(event).pageY - _$trigger._offset.top;
|
171 |
+
|
172 |
+
_color.setColor({h: 360 - (z / _$xy_slider._height * 360)}, 'hsv');
|
173 |
+
}
|
174 |
+
|
175 |
+
function alpha(event) {
|
176 |
+
var x = resolveEventType(event).pageX - _$trigger._offset.left,
|
177 |
+
alpha = x / _$alpha._width;
|
178 |
+
|
179 |
+
_color.setColor({}, 'rgb', alpha);
|
180 |
+
}
|
181 |
+
|
182 |
+
function preRender(toggled) {
|
183 |
+
var colors = _color.colors,
|
184 |
+
hueRGB = colors.hueRGB,
|
185 |
+
RGB = colors.RND.rgb,
|
186 |
+
HSL = colors.RND.hsl,
|
187 |
+
dark = '#222',
|
188 |
+
light = '#ddd',
|
189 |
+
colorMode = _$trigger.data('colorMode'),
|
190 |
+
isAlpha = colors.alpha !== 1,
|
191 |
+
alpha = Math.round(colors.alpha * 100) / 100,
|
192 |
+
RGBInnerText = RGB.r + ', ' + RGB.g + ', ' + RGB.b,
|
193 |
+
text = (colorMode === 'HEX' && !isAlpha ? '#' + colors.HEX :
|
194 |
+
colorMode === 'rgb' || (colorMode === 'HEX' && isAlpha) ?
|
195 |
+
(!isAlpha ? 'rgb(' + RGBInnerText + ')' :
|
196 |
+
'rgba(' + RGBInnerText + ', ' + alpha + ')') :
|
197 |
+
('hsl' + (isAlpha ? 'a(' : '(') + HSL.h + ', ' + HSL.s + '%, ' +
|
198 |
+
HSL.l + '%' + (isAlpha ? ', ' + alpha : '') + ')')),
|
199 |
+
HUEContrast = colors.HUELuminance > 0.22 ? dark : light,
|
200 |
+
alphaContrast = colors.rgbaMixBlack.luminance > 0.22 ? dark : light,
|
201 |
+
h = (1 - colors.hsv.h) * _$xy_slider._height,
|
202 |
+
s = colors.hsv.s * _$xy_slider._width,
|
203 |
+
v = (1 - colors.hsv.v) * _$xy_slider._height,
|
204 |
+
a = alpha * _$alpha._width,
|
205 |
+
translate3d = _GPU ? 'translate3d' : '',
|
206 |
+
triggerValue = _$trigger.val(),
|
207 |
+
hasNoValue = _$trigger[0].hasAttribute('value') &&
|
208 |
+
triggerValue === '' && toggled !== undefined;
|
209 |
+
|
210 |
+
_$xy_slider._css = {
|
211 |
+
backgroundColor: 'rgb(' +
|
212 |
+
hueRGB.r + ',' + hueRGB.g + ',' + hueRGB.b + ')'};
|
213 |
+
_$xy_cursor._css = {
|
214 |
+
transform: translate3d + '(' + s + 'px, ' + v + 'px, 0)',
|
215 |
+
left: !_GPU ? s : '',
|
216 |
+
top: !_GPU ? v : '',
|
217 |
+
borderColor : colors.RGBLuminance > 0.22 ? dark : light
|
218 |
+
};
|
219 |
+
_$z_cursor._css = {
|
220 |
+
transform: translate3d + '(0, ' + h + 'px, 0)',
|
221 |
+
top: !_GPU ? h : '',
|
222 |
+
borderColor : 'transparent ' + HUEContrast
|
223 |
+
};
|
224 |
+
_$alpha._css = {backgroundColor: 'rgb(' + RGBInnerText + ')'};
|
225 |
+
_$alpha_cursor._css = {
|
226 |
+
transform: translate3d + '(' + a + 'px, 0, 0)',
|
227 |
+
left: !_GPU ? a : '',
|
228 |
+
borderColor : alphaContrast + ' transparent'
|
229 |
+
};
|
230 |
+
_$trigger._css = {
|
231 |
+
backgroundColor : hasNoValue ? '' : text,
|
232 |
+
color: hasNoValue ? '' :
|
233 |
+
colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light
|
234 |
+
};
|
235 |
+
_$trigger.text = hasNoValue ? '' : triggerValue !== text ? text : '';
|
236 |
+
|
237 |
+
toggled !== undefined ? render(toggled) : _animate(render);
|
238 |
+
}
|
239 |
+
|
240 |
+
// As _animate() is actually requestAnimationFrame(), render() gets called
|
241 |
+
// decoupled from any pointer action (whenever the browser decides to do
|
242 |
+
// so) as an event. preRender() is coupled to toggle() and all pointermove
|
243 |
+
// actions; that's where all the calculations happen. render() can now be
|
244 |
+
// called without extra calculations which results in faster rendering.
|
245 |
+
function render(toggled) {
|
246 |
+
_$xy_slider.css(_$xy_slider._css);
|
247 |
+
_$xy_cursor.css(_$xy_cursor._css);
|
248 |
+
_$z_cursor.css(_$z_cursor._css);
|
249 |
+
_$alpha.css(_$alpha._css);
|
250 |
+
_$alpha_cursor.css(_$alpha_cursor._css);
|
251 |
+
|
252 |
+
_options.doRender && _$trigger.css(_$trigger._css);
|
253 |
+
_$trigger.text && _$trigger.val(_$trigger.text);
|
254 |
+
|
255 |
+
_options.renderCallback.call(
|
256 |
+
_colorPicker,
|
257 |
+
_$trigger,
|
258 |
+
typeof toggled === 'boolean' ? toggled : undefined
|
259 |
+
);
|
260 |
+
}
|
261 |
+
|
262 |
+
$.fn.colorPicker = function(options) {
|
263 |
+
var noop = function(){};
|
264 |
+
|
265 |
+
options = $.extend({
|
266 |
+
animationSpeed: 150,
|
267 |
+
GPU: true,
|
268 |
+
doRender: true,
|
269 |
+
customBG: '#FFF',
|
270 |
+
opacity: true,
|
271 |
+
renderCallback: noop,
|
272 |
+
buildCallback: noop,
|
273 |
+
body: document.body,
|
274 |
+
scrollResize: true,
|
275 |
+
gap: 4
|
276 |
+
// css: '',
|
277 |
+
// cssAddon: '',
|
278 |
+
// margin: '',
|
279 |
+
// preventFocus: false
|
280 |
+
}, options);
|
281 |
+
|
282 |
+
!_colorPicker && options.scrollResize && $(window).
|
283 |
+
on('resize.a scroll.a', function() {
|
284 |
+
if (_colorPicker.$trigger) {
|
285 |
+
_colorPicker.toggle.call(_colorPicker.$trigger[0], true);
|
286 |
+
}
|
287 |
+
});
|
288 |
+
_instance = _instance ? _instance.add(this) : this;
|
289 |
+
_instance.colorPicker = _colorPicker ||
|
290 |
+
(_colorPicker = new ColorPicker(options));
|
291 |
+
_selector += (_selector ? ', ' : '') + this.selector;
|
292 |
+
|
293 |
+
$(options.body).off('.a').
|
294 |
+
on(_pointerdown, function(e) {
|
295 |
+
var $target = $(e.target);
|
296 |
+
|
297 |
+
if ($.inArray($target.closest(_selector)[0], _instance) === -1 &&
|
298 |
+
!$target.closest(_$UI).length) {
|
299 |
+
toggle();
|
300 |
+
}
|
301 |
+
}).
|
302 |
+
on('focus.a click.a', _selector, toggle).
|
303 |
+
on('change.a', _selector, function() {
|
304 |
+
_color.setColor(this.value || '#FFF');
|
305 |
+
_instance.colorPicker.render(true);
|
306 |
+
});
|
307 |
+
|
308 |
+
return this.each(function() {
|
309 |
+
var value = extractValue(this),
|
310 |
+
mode = value.split('('),
|
311 |
+
$elm = findElement($(this));
|
312 |
+
|
313 |
+
$elm.data('colorMode', mode[1] ? mode[0].substr(0, 3) : 'HEX').
|
314 |
+
attr('readonly', _options.preventFocus);
|
315 |
+
options.doRender &&
|
316 |
+
$elm.css({'background-color': value,
|
317 |
+
'color': function() {
|
318 |
+
return _color.setColor(value).
|
319 |
+
rgbaMixBGMixCustom.luminance > 0.22 ? '#222' : '#ddd'
|
320 |
+
}
|
321 |
+
});
|
322 |
+
});
|
323 |
+
};
|
324 |
+
|
325 |
+
$.fn.colorPicker.destroy = function() {
|
326 |
+
$(_colorPicker.color.options.body).off('.a');
|
327 |
+
_colorPicker.toggle(false);
|
328 |
+
_instance = null;
|
329 |
+
_selector = '';
|
330 |
+
};
|
331 |
+
|
332 |
+
})(jQuery, Colors);
|
assets/third-party/colorpicker/js/jqColorPicker.min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*! tinyColorPicker - v1.0.0 2015-09-06 */
|
2 |
+
|
3 |
+
!function(a,b){"use strict";function c(a,c,d,f,g){if("string"==typeof c){var c=t.txt2color(c);d=c.type,n[d]=c[d],g=g!==b?g:c.alpha}else if(c)for(var h in c)a[d][h]=k(c[h]/l[d][h][1],0,1);return g!==b&&(a.alpha=k(+g,0,1)),e(d,f?a:b)}function d(a,b,c){var d=m.options.grey,e={};return e.RGB={r:a.r,g:a.g,b:a.b},e.rgb={r:b.r,g:b.g,b:b.b},e.alpha=c,e.equivalentGrey=Math.round(d.r*a.r+d.g*a.g+d.b*a.b),e.rgbaMixBlack=i(b,{r:0,g:0,b:0},c,1),e.rgbaMixWhite=i(b,{r:1,g:1,b:1},c,1),e.rgbaMixBlack.luminance=h(e.rgbaMixBlack,!0),e.rgbaMixWhite.luminance=h(e.rgbaMixWhite,!0),m.options.customBG&&(e.rgbaMixCustom=i(b,m.options.customBG,c,1),e.rgbaMixCustom.luminance=h(e.rgbaMixCustom,!0),m.options.customBG.luminance=h(m.options.customBG,!0)),e}function e(a,b){var c,e,k,o=b||n,p=t,q=m.options,r=l,s=o.RND,u="",v="",w={hsl:"hsv",rgb:a},x=s.rgb;if("alpha"!==a){for(var y in r)if(!r[y][y]){a!==y&&(v=w[y]||"rgb",o[y]=p[v+"2"+y](o[v])),s[y]||(s[y]={}),c=o[y];for(u in c)s[y][u]=Math.round(c[u]*r[y][u][1])}x=s.rgb,o.HEX=p.RGB2HEX(x),o.equivalentGrey=q.grey.r*o.rgb.r+q.grey.g*o.rgb.g+q.grey.b*o.rgb.b,o.webSave=e=f(x,51),o.webSmart=k=f(x,17),o.saveColor=x.r===e.r&&x.g===e.g&&x.b===e.b?"web save":x.r===k.r&&x.g===k.g&&x.b===k.b?"web smart":"",o.hueRGB=t.hue2RGB(o.hsv.h),b&&(o.background=d(x,o.rgb,o.alpha))}var z,A,B,C=o.rgb,D=o.alpha,E="luminance",F=o.background;return z=i(C,{r:0,g:0,b:0},D,1),z[E]=h(z,!0),o.rgbaMixBlack=z,A=i(C,{r:1,g:1,b:1},D,1),A[E]=h(A,!0),o.rgbaMixWhite=A,q.customBG&&(B=i(C,F.rgbaMixCustom,D,1),B[E]=h(B,!0),B.WCAG2Ratio=j(B[E],F.rgbaMixCustom[E]),o.rgbaMixBGMixCustom=B,B.luminanceDelta=Math.abs(B[E]-F.rgbaMixCustom[E]),B.hueDelta=g(F.rgbaMixCustom,B,!0)),o.RGBLuminance=h(x),o.HUELuminance=h(o.hueRGB),q.convertCallback&&q.convertCallback(o,a),o}function f(a,b){var c={},d=0,e=b/2;for(var f in a)d=a[f]%b,c[f]=a[f]+(d>e?b-d:-d);return c}function g(a,b,c){return(Math.max(a.r-b.r,b.r-a.r)+Math.max(a.g-b.g,b.g-a.g)+Math.max(a.b-b.b,b.b-a.b))*(c?255:1)/765}function h(a,b){for(var c=b?1:255,d=[a.r/c,a.g/c,a.b/c],e=m.options.luminance,f=d.length;f--;)d[f]=d[f]<=.03928?d[f]/12.92:Math.pow((d[f]+.055)/1.055,2.4);return e.r*d[0]+e.g*d[1]+e.b*d[2]}function i(a,c,d,e){var f={},g=d!==b?d:1,h=e!==b?e:1,i=g+h*(1-g);for(var j in a)f[j]=(a[j]*g+c[j]*h*(1-g))/i;return f.a=i,f}function j(a,b){var c=1;return c=a>=b?(a+.05)/(b+.05):(b+.05)/(a+.05),Math.round(100*c)/100}function k(a,b,c){return a>c?c:b>a?b:a}var l={rgb:{r:[0,255],g:[0,255],b:[0,255]},hsv:{h:[0,360],s:[0,100],v:[0,100]},hsl:{h:[0,360],s:[0,100],l:[0,100]},alpha:{alpha:[0,1]},HEX:{HEX:[0,16777215]}},m={},n={},o={r:.298954,g:.586434,b:.114612},p={r:.2126,g:.7152,b:.0722},q=a.Colors=function(a){this.colors={RND:{}},this.options={color:"rgba(204, 82, 37, 0.8)",grey:o,luminance:p,valueRanges:l},r(this,a||{})},r=function(a,d){var e,f=a.options;s(a);for(var g in d)d[g]!==b&&(f[g]=d[g]);e=f.customBG,f.customBG="string"==typeof e?t.txt2color(e).rgb:e,n=c(a.colors,f.color,b,!0)},s=function(a){m!==a&&(m=a,n=a.colors)};q.prototype.setColor=function(a,d,f){return s(this),a?c(this.colors,a,d,b,f):(f!==b&&(this.colors.alpha=k(f,0,1)),e(d))},q.prototype.setCustomBackground=function(a){return s(this),this.options.customBG="string"==typeof a?t.txt2color(a).rgb:a,c(this.colors,b,"rgb")},q.prototype.saveAsBackground=function(){return s(this),c(this.colors,b,"rgb",!0)};var t={txt2color:function(a){var b={},c=a.replace(/(?:#|\)|%)/g,"").split("("),d=(c[1]||"").split(/,\s*/),e=c[1]?c[0].substr(0,3):"rgb",f="";if(b.type=e,b[e]={},c[1])for(var g=3;g--;)f=e[g]||e.charAt(g),b[e][f]=+d[g]/l[e][f][1];else b.rgb=t.HEX2rgb(c[0]);return b.alpha=d[3]?+d[3]:1,b},RGB2HEX:function(a){return((a.r<16?"0":"")+a.r.toString(16)+(a.g<16?"0":"")+a.g.toString(16)+(a.b<16?"0":"")+a.b.toString(16)).toUpperCase()},HEX2rgb:function(a){return a=a.split(""),{r:parseInt(a[0]+a[a[3]?1:0],16)/255,g:parseInt(a[a[3]?2:1]+(a[3]||a[1]),16)/255,b:parseInt((a[4]||a[2])+(a[5]||a[2]),16)/255}},hue2RGB:function(a){var b=6*a,c=~~b%6,d=6===b?0:b-c;return{r:Math.round(255*[1,1-d,0,0,d,1][c]),g:Math.round(255*[d,1,1,1-d,0,0][c]),b:Math.round(255*[0,0,d,1,1,1-d][c])}},rgb2hsv:function(a){var b,c,d,e=a.r,f=a.g,g=a.b,h=0;return g>f&&(f=g+(g=f,0),h=-1),c=g,f>e&&(e=f+(f=e,0),h=-2/6-h,c=Math.min(f,g)),b=e-c,d=e?b/e:0,{h:1e-15>d?n&&n.hsl&&n.hsl.h||0:b?Math.abs(h+(f-g)/(6*b)):0,s:e?b/e:n&&n.hsv&&n.hsv.s||0,v:e}},hsv2rgb:function(a){var b=6*a.h,c=a.s,d=a.v,e=~~b,f=b-e,g=d*(1-c),h=d*(1-f*c),i=d*(1-(1-f)*c),j=e%6;return{r:[d,h,g,g,i,d][j],g:[i,d,d,h,g,g][j],b:[g,g,i,d,d,h][j]}},hsv2hsl:function(a){var b=(2-a.s)*a.v,c=a.s*a.v;return c=a.s?1>b?b?c/b:0:c/(2-b):0,{h:a.h,s:a.v||c?c:n&&n.hsl&&n.hsl.s||0,l:b/2}},rgb2hsl:function(a,b){var c=t.rgb2hsv(a);return t.hsv2hsl(b?c:n.hsv=c)},hsl2rgb:function(a){var b=6*a.h,c=a.s,d=a.l,e=.5>d?d*(1+c):d+c-c*d,f=d+d-e,g=e?(e-f)/e:0,h=~~b,i=b-h,j=e*g*i,k=f+j,l=e-j,m=h%6;return{r:[e,l,f,f,k,e][m],g:[k,e,e,l,f,f][m],b:[f,f,k,e,e,l][m]}}}}(window),function(a,b,c){"use strict";function d(b){return b.value||b.getAttribute("value")||a(b).css("background-color")||"#fff"}function e(a){return a=a.originalEvent&&a.originalEvent.touches?a.originalEvent.touches[0]:a,a.originalEvent?a.originalEvent:a}function f(b){return a(b.find(r.doRender)[0]||b[0])}function g(b){var c=a(this),e=c.offset(),g=a(window),i=r.gap;b?(s=f(c),p.$trigger=c,(t||h()).css({left:(t[0]._left=e.left)-((t[0]._left=t[0]._left+t[0]._width-(g.scrollLeft()+g.width()))+i>0?t[0]._left+i:0),top:(t[0]._top=e.top+c.outerHeight())-((t[0]._top=t[0]._top+t[0]._height-(g.scrollTop()+g.height()))+i>0?t[0]._top+i:0)}).show(r.animationSpeed,function(){b!==!0&&(x._width=x.width(),u._width=u.width(),u._height=u.height(),q.setColor(d(s[0])),m(!0))})):a(t).hide(r.animationSpeed,function(){s.blur(),p.$trigger=null,m(!1)})}function h(){return a("head").append('<style type="text/css">'+(r.css||H)+(r.cssAddon||"")+"</style>"),p.$UI=t=a(G).css({margin:r.margin}).appendTo("body").show(0,function(){var b=a(this);E=r.GPU&&b.css("perspective")!==c,u=a(".cp-xy-slider",this),v=a(".cp-xy-cursor",this),w=a(".cp-z-cursor",this),x=a(".cp-alpha",this).toggle(!!r.opacity),y=a(".cp-alpha-cursor",this),r.buildCallback.call(p,b),b.prepend("<div>").children().eq(0).css("width",b.children().eq(0).width()),this._width=this.offsetWidth,this._height=this.offsetHeight}).hide().on(C,".cp-xy-slider,.cp-z-slider,.cp-alpha",i)}function i(b){var c=this.className.replace(/cp-(.*?)(?:\s*|$)/,"$1").replace("-","_");b.preventDefault&&b.preventDefault(),b.returnValue=!1,s._offset=a(this).offset(),(c="xy_slider"===c?j:"z_slider"===c?k:l)(b),m(),z.on(D,function(){z.off(".a")}).on(B,function(a){c(a),m()})}function j(a){var b=e(a),c=b.pageX-s._offset.left,d=b.pageY-s._offset.top;q.setColor({s:c/u._width*100,v:100-d/u._height*100},"hsv")}function k(a){var b=e(a).pageY-s._offset.top;q.setColor({h:360-b/u._height*360},"hsv")}function l(a){var b=e(a).pageX-s._offset.left,c=b/x._width;q.setColor({},"rgb",c)}function m(a){var b=q.colors,d=b.hueRGB,e=b.RND.rgb,f=b.RND.hsl,g="#222",h="#ddd",i=s.data("colorMode"),j=1!==b.alpha,k=Math.round(100*b.alpha)/100,l=e.r+", "+e.g+", "+e.b,m="HEX"!==i||j?"rgb"===i||"HEX"===i&&j?j?"rgba("+l+", "+k+")":"rgb("+l+")":"hsl"+(j?"a(":"(")+f.h+", "+f.s+"%, "+f.l+"%"+(j?", "+k:"")+")":"#"+b.HEX,o=b.HUELuminance>.22?g:h,p=b.rgbaMixBlack.luminance>.22?g:h,r=(1-b.hsv.h)*u._height,t=b.hsv.s*u._width,z=(1-b.hsv.v)*u._height,A=k*x._width,B=E?"translate3d":"",C=s.val(),D=s[0].hasAttribute("value")&&""===C&&a!==c;u._css={backgroundColor:"rgb("+d.r+","+d.g+","+d.b+")"},v._css={transform:B+"("+t+"px, "+z+"px, 0)",left:E?"":t,top:E?"":z,borderColor:b.RGBLuminance>.22?g:h},w._css={transform:B+"(0, "+r+"px, 0)",top:E?"":r,borderColor:"transparent "+o},x._css={backgroundColor:"rgb("+l+")"},y._css={transform:B+"("+A+"px, 0, 0)",left:E?"":A,borderColor:p+" transparent"},s._css={backgroundColor:D?"":m,color:D?"":b.rgbaMixBGMixCustom.luminance>.22?g:h},s.text=D?"":C!==m?m:"",a!==c?n(a):F(n)}function n(a){u.css(u._css),v.css(v._css),w.css(w._css),x.css(x._css),y.css(y._css),r.doRender&&s.css(s._css),s.text&&s.val(s.text),r.renderCallback.call(p,s,"boolean"==typeof a?a:c)}var o,p,q,r,s,t,u,v,w,x,y,z=a(document),A="",B="touchmove.a mousemove.a pointermove.a",C="touchstart.a mousedown.a pointerdown.a",D="touchend.a mouseup.a pointerup.a",E=!1,F=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(a){a()},G='<div class="cp-color-picker"><div class="cp-z-slider"><div class="cp-z-cursor"></div></div><div class="cp-xy-slider"><div class="cp-white"></div><div class="cp-xy-cursor"></div></div><div class="cp-alpha"><div class="cp-alpha-cursor"></div></div></div>',H=".cp-color-picker{position:absolute;overflow:hidden;padding:6px 6px 0;background-color:#444;color:#bbb;font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;cursor:default;border-radius:5px}.cp-color-picker>div{position:relative;overflow:hidden}.cp-xy-slider{float:left;height:128px;width:128px;margin-bottom:6px;background:linear-gradient(to right,#FFF,rgba(255,255,255,0))}.cp-white{height:100%;width:100%;background:linear-gradient(rgba(0,0,0,0),#000)}.cp-xy-cursor{position:absolute;top:0;width:10px;height:10px;margin:-5px;border:1px solid #fff;border-radius:100%;box-sizing:border-box}.cp-z-slider{float:right;margin-left:6px;height:128px;width:20px;background:linear-gradient(red 0,#f0f 17%,#00f 33%,#0ff 50%,#0f0 67%,#ff0 83%,red 100%)}.cp-z-cursor{position:absolute;margin-top:-4px;width:100%;border:4px solid #fff;border-color:transparent #fff;box-sizing:border-box}.cp-alpha{clear:both;width:100%;height:16px;margin:6px 0;background:linear-gradient(to right,#444,rgba(0,0,0,0))}.cp-alpha-cursor{position:absolute;margin-left:-4px;height:100%;border:4px solid #fff;border-color:#fff transparent;box-sizing:border-box}",I=function(a){q=this.color=new b(a),r=q.options};I.prototype={render:m,toggle:g},a.fn.colorPicker=function(b){var c=function(){};return b=a.extend({animationSpeed:150,GPU:!0,doRender:!0,customBG:"#FFF",opacity:!0,renderCallback:c,buildCallback:c,body:document.body,scrollResize:!0,gap:4},b),!p&&b.scrollResize&&a(window).on("resize.a scroll.a",function(){p.$trigger&&p.toggle.call(p.$trigger[0],!0)}),o=o?o.add(this):this,o.colorPicker=p||(p=new I(b)),A+=(A?", ":"")+this.selector,a(b.body).off(".a").on(C,function(b){var c=a(b.target);-1!==a.inArray(c.closest(A)[0],o)||c.closest(t).length||g()}).on("focus.a click.a",A,g).on("change.a",A,function(){q.setColor(this.value||"#FFF"),o.colorPicker.render(!0)}),this.each(function(){var c=d(this),e=c.split("("),g=f(a(this));g.data("colorMode",e[1]?e[0].substr(0,3):"HEX").attr("readonly",r.preventFocus),b.doRender&&g.css({"background-color":c,color:function(){return q.setColor(c).rgbaMixBGMixCustom.luminance>.22?"#222":"#ddd"}})})},a.fn.colorPicker.destroy=function(){a(p.color.options.body).off(".a"),p.toggle(!1),o=null,A=""}}(jQuery,Colors);
|
4 |
+
//# sourceMappingURL=jqColorPicker.js.map
|
{files → assets}/third-party/easy-responsive-tabs/MIT-license
RENAMED
File without changes
|
assets/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.resp-tabs-list li,h2.resp-accordion{font-size:13px;cursor:pointer}.resp-tabs-list li{font-weight:600;display:inline-block;padding:13px 15px;margin:0 4px 0 0;list-style:none;float:left;line-height:1}.resp-tabs-container{padding:0;background-color:#fff;clear:left}h2.resp-accordion{display:none}.resp-tab-content{display:none;padding:15px}.resp-accordion-active,.resp-content-active,.resp-easy-accordion h2.resp-accordion,.resp-tab-content-active{display:block}.resp-tab-active{border:1px solid #5ab1d0!important;margin-bottom:-1px!important;padding:12px 14px 14px!important;border-top:4px solid #5ab1d0!important;border-bottom:0 #fff solid!important;background-color:#fff}.resp-tab-content{border:1px solid #c1c1c1;border-top-color:#5ab1d0}h2.resp-accordion{font-size:13px;border:1px solid #c1c1c1;border-top:0 solid #c1c1c1;margin:0;padding:10px 15px}h2.resp-tab-active{border-bottom:0 solid #c1c1c1!important;margin-bottom:0!important;padding:10px 15px!important}h2.resp-tab-title:last-child{border-bottom:12px solid #c1c1c1!important;background:#00f}.resp-vtabs ul.resp-tabs-list{float:left;width:25%}.resp-vtabs .resp-tabs-list li{display:block;padding:15px!important;margin:0 0 4px;cursor:pointer;float:none}.resp-vtabs .resp-tabs-container{padding:0;background-color:#fff;border:1px solid #c1c1c1;float:left;width:73%;min-height:250px;border-radius:4px;clear:none}.resp-vtabs .resp-tab-content{border:none;word-wrap:break-word}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px!important;padding:14px 15px 15px 14px!important;border:1px solid #5AB1D0!important;border-left:4px solid #5AB1D0!important;margin-bottom:4px!important;border-right:1px #FFF solid!important}.resp-arrow{width:0;height:0;float:right;margin-top:3px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #c1c1c1}h2.resp-tab-active span.resp-arrow{border:none;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:12px solid #9B9797}h2.resp-tab-active{background:#DBDBDB}.resp-easy-accordion .resp-tab-content{border:1px solid #c1c1c1}.resp-easy-accordion .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1}.resp-jfit{width:100%;margin:0}h2.resp-accordion:first-child{border-top:1px solid #c1c1c1}@media only screen and (max-width:768px){ul.resp-tabs-list{display:none}h2.resp-accordion{display:block}.resp-vtabs .resp-tab-content{border:1px solid #C1C1C1}.resp-vtabs .resp-tabs-container{border:none;float:none;width:100%;min-height:100px;clear:none}.resp-accordion-closed{display:none!important}.resp-vtabs .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1!important}}
|
assets/third-party/easy-responsive-tabs/js/easy-responsive-tabs.js
ADDED
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Easy Responsive Tabs Plugin
|
2 |
+
// Author: Samson.Onna <Email : samson3d@gmail.com>
|
3 |
+
(function ($) {
|
4 |
+
$.fn.extend({
|
5 |
+
easyResponsiveTabs: function (options) {
|
6 |
+
//Set the default values, use comma to separate the settings, example:
|
7 |
+
var defaults = {
|
8 |
+
type: 'default', //default, vertical, accordion;
|
9 |
+
width: 'auto',
|
10 |
+
fit: true,
|
11 |
+
closed: false,
|
12 |
+
tabidentify: '',
|
13 |
+
activetab_bg: 'white',
|
14 |
+
inactive_bg: '#F9F9F9',
|
15 |
+
active_border_color: '#c1c1c1',
|
16 |
+
active_content_border_color: '#c1c1c1',
|
17 |
+
activate: function () {
|
18 |
+
}
|
19 |
+
}
|
20 |
+
//Variables
|
21 |
+
var options = $.extend(defaults, options);
|
22 |
+
var opt = options, jtype = opt.type, jfit = opt.fit, jwidth = opt.width, vtabs = 'vertical', accord = 'accordion';
|
23 |
+
var hash = window.location.hash;
|
24 |
+
var historyApi = !!(window.history && history.replaceState);
|
25 |
+
|
26 |
+
//Events
|
27 |
+
$(this).bind('tabactivate', function (e, currentTab) {
|
28 |
+
if (typeof options.activate === 'function') {
|
29 |
+
options.activate.call(currentTab, e)
|
30 |
+
}
|
31 |
+
});
|
32 |
+
|
33 |
+
//Main function
|
34 |
+
this.each(function () {
|
35 |
+
var $respTabs = $(this);
|
36 |
+
var $respTabsList = $respTabs.find('ul.resp-tabs-list.' + options.tabidentify);
|
37 |
+
var respTabsId = $respTabs.attr('id');
|
38 |
+
$respTabs.find('ul.resp-tabs-list.' + options.tabidentify + ' li').addClass('resp-tab-item').addClass(options.tabidentify);
|
39 |
+
$respTabs.css({
|
40 |
+
'display': 'block',
|
41 |
+
'width': jwidth
|
42 |
+
});
|
43 |
+
|
44 |
+
// if (options.type == 'vertical')
|
45 |
+
// $respTabsList.css('margin-top', '3px');
|
46 |
+
|
47 |
+
$respTabs.find('.resp-tabs-container.' + options.tabidentify).css('border-color', options.active_content_border_color);
|
48 |
+
$respTabs.find('.resp-tabs-container.' + options.tabidentify + ' > div').addClass('resp-tab-content').addClass(options.tabidentify);
|
49 |
+
jtab_options();
|
50 |
+
//Properties Function
|
51 |
+
function jtab_options() {
|
52 |
+
if (jtype == vtabs) {
|
53 |
+
$respTabs.addClass('resp-vtabs').addClass(options.tabidentify);
|
54 |
+
}
|
55 |
+
if (jfit == true) {
|
56 |
+
$respTabs.css({ width: '100%', margin: '0px' });
|
57 |
+
}
|
58 |
+
if (jtype == accord) {
|
59 |
+
$respTabs.addClass('resp-easy-accordion').addClass(options.tabidentify);
|
60 |
+
$respTabs.find('.resp-tabs-list').css('display', 'none');
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
//Assigning the h2 markup to accordion title
|
65 |
+
var $tabItemh2;
|
66 |
+
$respTabs.find('.resp-tab-content.' + options.tabidentify).before("<h2 class='resp-accordion " + options.tabidentify + "' role='tab'><span class='resp-arrow'></span></h2>");
|
67 |
+
|
68 |
+
$respTabs.find('.resp-tab-content.' + options.tabidentify).prev("h2").css({
|
69 |
+
'background-color': options.inactive_bg,
|
70 |
+
'border-color': options.active_border_color
|
71 |
+
});
|
72 |
+
|
73 |
+
var itemCount = 0;
|
74 |
+
$respTabs.find('.resp-accordion').each(function () {
|
75 |
+
$tabItemh2 = $(this);
|
76 |
+
var $tabItem = $respTabs.find('.resp-tab-item:eq(' + itemCount + ')');
|
77 |
+
var $accItem = $respTabs.find('.resp-accordion:eq(' + itemCount + ')');
|
78 |
+
$accItem.append($tabItem.html());
|
79 |
+
$accItem.data($tabItem.data());
|
80 |
+
$tabItemh2.attr('aria-controls', options.tabidentify + '_tab_item-' + (itemCount));
|
81 |
+
itemCount++;
|
82 |
+
});
|
83 |
+
|
84 |
+
//Assigning the 'aria-controls' to Tab items
|
85 |
+
var count = 0,
|
86 |
+
$tabContent;
|
87 |
+
$respTabs.find('.resp-tab-item').each(function () {
|
88 |
+
$tabItem = $(this);
|
89 |
+
$tabItem.attr('aria-controls', options.tabidentify + '_tab_item-' + (count));
|
90 |
+
$tabItem.attr('role', 'tab');
|
91 |
+
$tabItem.css({
|
92 |
+
'background-color': options.inactive_bg,
|
93 |
+
'border-color': 'none'
|
94 |
+
});
|
95 |
+
|
96 |
+
//Assigning the 'aria-labelledby' attr to tab-content
|
97 |
+
var tabcount = 0;
|
98 |
+
$respTabs.find('.resp-tab-content.' + options.tabidentify).each(function () {
|
99 |
+
$tabContent = $(this);
|
100 |
+
$tabContent.attr('aria-labelledby', options.tabidentify + '_tab_item-' + (tabcount)).css({
|
101 |
+
'border-color': options.active_border_color
|
102 |
+
});
|
103 |
+
tabcount++;
|
104 |
+
});
|
105 |
+
count++;
|
106 |
+
});
|
107 |
+
|
108 |
+
// Show correct content area
|
109 |
+
var tabNum = 0;
|
110 |
+
if (hash != '') {
|
111 |
+
var matches = hash.match(new RegExp(respTabsId + "([0-9]+)"));
|
112 |
+
if (matches !== null && matches.length === 2) {
|
113 |
+
tabNum = parseInt(matches[1], 10) - 1;
|
114 |
+
if (tabNum > count) {
|
115 |
+
tabNum = 0;
|
116 |
+
}
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
//Active correct tab
|
121 |
+
$($respTabs.find('.resp-tab-item.' + options.tabidentify)[tabNum]).addClass('resp-tab-active').css({
|
122 |
+
'background-color': options.activetab_bg,
|
123 |
+
'border-color': options.active_border_color
|
124 |
+
});
|
125 |
+
|
126 |
+
//keep closed if option = 'closed' or option is 'accordion' and the element is in accordion mode
|
127 |
+
if (options.closed !== true && !(options.closed === 'accordion' && !$respTabsList.is(':visible')) && !(options.closed === 'tabs' && $respTabsList.is(':visible'))) {
|
128 |
+
$($respTabs.find('.resp-accordion.' + options.tabidentify)[tabNum]).addClass('resp-tab-active').css({
|
129 |
+
'background-color': options.activetab_bg + ' !important',
|
130 |
+
'border-color': options.active_border_color,
|
131 |
+
'background': 'none'
|
132 |
+
});
|
133 |
+
|
134 |
+
$($respTabs.find('.resp-tab-content.' + options.tabidentify)[tabNum]).addClass('resp-tab-content-active').addClass(options.tabidentify).attr('style', 'display:block');
|
135 |
+
}
|
136 |
+
//assign proper classes for when tabs mode is activated before making a selection in accordion mode
|
137 |
+
else {
|
138 |
+
// $($respTabs.find('.resp-tab-content.' + options.tabidentify)[tabNum]).addClass('resp-accordion-closed'); //removed resp-tab-content-active
|
139 |
+
}
|
140 |
+
|
141 |
+
//Tab Click action function
|
142 |
+
$respTabs.find("[role=tab]").each(function () {
|
143 |
+
|
144 |
+
var $currentTab = $(this);
|
145 |
+
$currentTab.click(function () {
|
146 |
+
|
147 |
+
var $currentTab = $(this);
|
148 |
+
var $tabAria = $currentTab.attr('aria-controls');
|
149 |
+
|
150 |
+
if ($currentTab.hasClass('resp-accordion') && $currentTab.hasClass('resp-tab-active')) {
|
151 |
+
$respTabs.find('.resp-tab-content-active.' + options.tabidentify).slideUp('', function () {
|
152 |
+
$(this).addClass('resp-accordion-closed');
|
153 |
+
});
|
154 |
+
$currentTab.removeClass('resp-tab-active').css({
|
155 |
+
'background-color': options.inactive_bg,
|
156 |
+
'border-color': 'none'
|
157 |
+
});
|
158 |
+
return false;
|
159 |
+
}
|
160 |
+
if (!$currentTab.hasClass('resp-tab-active') && $currentTab.hasClass('resp-accordion')) {
|
161 |
+
$respTabs.find('.resp-tab-active.' + options.tabidentify).removeClass('resp-tab-active').css({
|
162 |
+
'background-color': options.inactive_bg,
|
163 |
+
'border-color': 'none'
|
164 |
+
});
|
165 |
+
$respTabs.find('.resp-tab-content-active.' + options.tabidentify).slideUp().removeClass('resp-tab-content-active resp-accordion-closed');
|
166 |
+
$respTabs.find("[aria-controls=" + $tabAria + "]").addClass('resp-tab-active').css({
|
167 |
+
'background-color': options.activetab_bg,
|
168 |
+
'border-color': options.active_border_color
|
169 |
+
});
|
170 |
+
|
171 |
+
$respTabs.find('.resp-tab-content[aria-labelledby = ' + $tabAria + '].' + options.tabidentify).slideDown().addClass('resp-tab-content-active');
|
172 |
+
} else {
|
173 |
+
$respTabs.find('.resp-tab-active.' + options.tabidentify).removeClass('resp-tab-active').css({
|
174 |
+
'background-color': options.inactive_bg,
|
175 |
+
'border-color': 'none'
|
176 |
+
});
|
177 |
+
|
178 |
+
$respTabs.find('.resp-tab-content-active.' + options.tabidentify).removeAttr('style').removeClass('resp-tab-content-active').removeClass('resp-accordion-closed');
|
179 |
+
|
180 |
+
$respTabs.find("[aria-controls=" + $tabAria + "]").addClass('resp-tab-active').css({
|
181 |
+
'background-color': options.activetab_bg,
|
182 |
+
'border-color': options.active_border_color
|
183 |
+
});
|
184 |
+
|
185 |
+
$respTabs.find('.resp-tab-content[aria-labelledby = ' + $tabAria + '].' + options.tabidentify).addClass('resp-tab-content-active').attr('style', 'display:block');
|
186 |
+
}
|
187 |
+
//Trigger tab activation event
|
188 |
+
$currentTab.trigger('tabactivate', $currentTab);
|
189 |
+
|
190 |
+
//Update Browser History
|
191 |
+
if (historyApi) {
|
192 |
+
var currentHash = window.location.hash;
|
193 |
+
var tabAriaParts = $tabAria.split('tab_item-');
|
194 |
+
// var newHash = respTabsId + (parseInt($tabAria.substring(9), 10) + 1).toString();
|
195 |
+
var newHash = respTabsId + (parseInt(tabAriaParts[1], 10) + 1).toString();
|
196 |
+
if (currentHash != "") {
|
197 |
+
var re = new RegExp(respTabsId + "[0-9]+");
|
198 |
+
if (currentHash.match(re) != null) {
|
199 |
+
newHash = currentHash.replace(re, newHash);
|
200 |
+
}
|
201 |
+
else {
|
202 |
+
newHash = currentHash + "|" + newHash;
|
203 |
+
}
|
204 |
+
}
|
205 |
+
else {
|
206 |
+
newHash = '#' + newHash;
|
207 |
+
}
|
208 |
+
|
209 |
+
history.replaceState(null, null, newHash);
|
210 |
+
}
|
211 |
+
});
|
212 |
+
|
213 |
+
});
|
214 |
+
|
215 |
+
//Window resize function
|
216 |
+
$(window).resize(function () {
|
217 |
+
$respTabs.find('.resp-accordion-closed').removeAttr('style');
|
218 |
+
});
|
219 |
+
});
|
220 |
+
}
|
221 |
+
});
|
222 |
+
})(jQuery);
|
223 |
+
|
{files → assets}/third-party/easy-responsive-tabs/js/easy-responsive-tabs.min.js
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(function(a){a.fn.extend({easyResponsiveTabs:function(k){var c={type:"default",width:"auto",fit:true,closed:false,tabidentify:"",activetab_bg:"white",inactive_bg:"#F9F9F9",active_border_color:"#c1c1c1",active_content_border_color:"#c1c1c1",activate:function(){}};var k=a.extend(c,k);var b=k,g=b.type,j=b.fit,i=b.width,e="vertical",f="accordion";var d=window.location.hash;var h=!!(window.history&&history.replaceState);a(this).bind("tabactivate",function(l,m){if(typeof k.activate==="function"){k.activate.call(m,l)}});this.each(function(){var p=a(this);var t=p.find("ul.resp-tabs-list."+k.tabidentify);var s=p.attr("id");p.find("ul.resp-tabs-list."+k.tabidentify+" li").addClass("resp-tab-item").addClass(k.tabidentify);p.css({display:"block",width:i});p.find(".resp-tabs-container."+k.tabidentify).css("border-color",k.active_content_border_color);p.find(".resp-tabs-container."+k.tabidentify+" > div").addClass("resp-tab-content").addClass(k.tabidentify);r();function r(){if(g==e){p.addClass("resp-vtabs").addClass(k.tabidentify)}if(j==true){p.css({width:"100%",margin:"0px"})}if(g==f){p.addClass("resp-easy-accordion").addClass(k.tabidentify);p.find(".resp-tabs-list").css("display","none")}}var m;p.find(".resp-tab-content."+k.tabidentify).before("<h2 class='resp-accordion "+k.tabidentify+"' role='tab'><span class='resp-arrow'></span></h2>");p.find(".resp-tab-content."+k.tabidentify).prev("h2").css({"background-color":k.inactive_bg,"border-color":k.active_border_color});var l=0;p.find(".resp-accordion").each(function(){m=a(this);var w=p.find(".resp-tab-item:eq("+l+")");var v=p.find(".resp-accordion:eq("+l+")");v.append(w.html());v.data(w.data());m.attr("aria-controls",k.tabidentify+"_tab_item-"+(l));l++});var q=0,u;p.find(".resp-tab-item").each(function(){$tabItem=a(this);$tabItem.attr("aria-controls",k.tabidentify+"_tab_item-"+(q));$tabItem.attr("role","tab");$tabItem.css({"background-color":k.inactive_bg,"border-color":"none"});var v=0;p.find(".resp-tab-content."+k.tabidentify).each(function(){u=a(this);u.attr("aria-labelledby",k.tabidentify+"_tab_item-"+(v)).css({"border-color":k.active_border_color});v++});q++});var n=0;if(d!=""){var o=d.match(new RegExp(s+"([0-9]+)"));if(o!==null&&o.length===2){n=parseInt(o[1],10)-1;if(n>q){n=0}}}a(p.find(".resp-tab-item."+k.tabidentify)[n]).addClass("resp-tab-active").css({"background-color":k.activetab_bg,"border-color":k.active_border_color});if(k.closed!==true&&!(k.closed==="accordion"&&!t.is(":visible"))&&!(k.closed==="tabs"&&t.is(":visible"))){a(p.find(".resp-accordion."+k.tabidentify)[n]).addClass("resp-tab-active").css({"background-color":k.activetab_bg+" !important","border-color":k.active_border_color,background:"none"});a(p.find(".resp-tab-content."+k.tabidentify)[n]).addClass("resp-tab-content-active").addClass(k.tabidentify).attr("style","display:block")}else{}p.find("[role=tab]").each(function(){var v=a(this);v.click(function(){var B=a(this);var w=B.attr("aria-controls");if(B.hasClass("resp-accordion")&&B.hasClass("resp-tab-active")){p.find(".resp-tab-content-active."+k.tabidentify).slideUp("",function(){a(this).addClass("resp-accordion-closed")});B.removeClass("resp-tab-active").css({"background-color":k.inactive_bg,"border-color":"none"});return false}if(!B.hasClass("resp-tab-active")&&B.hasClass("resp-accordion")){p.find(".resp-tab-active."+k.tabidentify).removeClass("resp-tab-active").css({"background-color":k.inactive_bg,"border-color":"none"});p.find(".resp-tab-content-active."+k.tabidentify).slideUp().removeClass("resp-tab-content-active resp-accordion-closed");p.find("[aria-controls="+w+"]").addClass("resp-tab-active").css({"background-color":k.activetab_bg,"border-color":k.active_border_color});p.find(".resp-tab-content[aria-labelledby = "+w+"]."+k.tabidentify).slideDown().addClass("resp-tab-content-active")}else{
|
1 |
+
(function(a){a.fn.extend({easyResponsiveTabs:function(k){var c={type:"default",width:"auto",fit:true,closed:false,tabidentify:"",activetab_bg:"white",inactive_bg:"#F9F9F9",active_border_color:"#c1c1c1",active_content_border_color:"#c1c1c1",activate:function(){}};var k=a.extend(c,k);var b=k,g=b.type,j=b.fit,i=b.width,e="vertical",f="accordion";var d=window.location.hash;var h=!!(window.history&&history.replaceState);a(this).bind("tabactivate",function(l,m){if(typeof k.activate==="function"){k.activate.call(m,l)}});this.each(function(){var p=a(this);var t=p.find("ul.resp-tabs-list."+k.tabidentify);var s=p.attr("id");p.find("ul.resp-tabs-list."+k.tabidentify+" li").addClass("resp-tab-item").addClass(k.tabidentify);p.css({display:"block",width:i});p.find(".resp-tabs-container."+k.tabidentify).css("border-color",k.active_content_border_color);p.find(".resp-tabs-container."+k.tabidentify+" > div").addClass("resp-tab-content").addClass(k.tabidentify);r();function r(){if(g==e){p.addClass("resp-vtabs").addClass(k.tabidentify)}if(j==true){p.css({width:"100%",margin:"0px"})}if(g==f){p.addClass("resp-easy-accordion").addClass(k.tabidentify);p.find(".resp-tabs-list").css("display","none")}}var m;p.find(".resp-tab-content."+k.tabidentify).before("<h2 class='resp-accordion "+k.tabidentify+"' role='tab'><span class='resp-arrow'></span></h2>");p.find(".resp-tab-content."+k.tabidentify).prev("h2").css({"background-color":k.inactive_bg,"border-color":k.active_border_color});var l=0;p.find(".resp-accordion").each(function(){m=a(this);var w=p.find(".resp-tab-item:eq("+l+")");var v=p.find(".resp-accordion:eq("+l+")");v.append(w.html());v.data(w.data());m.attr("aria-controls",k.tabidentify+"_tab_item-"+(l));l++});var q=0,u;p.find(".resp-tab-item").each(function(){$tabItem=a(this);$tabItem.attr("aria-controls",k.tabidentify+"_tab_item-"+(q));$tabItem.attr("role","tab");$tabItem.css({"background-color":k.inactive_bg,"border-color":"none"});var v=0;p.find(".resp-tab-content."+k.tabidentify).each(function(){u=a(this);u.attr("aria-labelledby",k.tabidentify+"_tab_item-"+(v)).css({"border-color":k.active_border_color});v++});q++});var n=0;if(d!=""){var o=d.match(new RegExp(s+"([0-9]+)"));if(o!==null&&o.length===2){n=parseInt(o[1],10)-1;if(n>q){n=0}}}a(p.find(".resp-tab-item."+k.tabidentify)[n]).addClass("resp-tab-active").css({"background-color":k.activetab_bg,"border-color":k.active_border_color});if(k.closed!==true&&!(k.closed==="accordion"&&!t.is(":visible"))&&!(k.closed==="tabs"&&t.is(":visible"))){a(p.find(".resp-accordion."+k.tabidentify)[n]).addClass("resp-tab-active").css({"background-color":k.activetab_bg+" !important","border-color":k.active_border_color,background:"none"});a(p.find(".resp-tab-content."+k.tabidentify)[n]).addClass("resp-tab-content-active").addClass(k.tabidentify).attr("style","display:block")}else{}p.find("[role=tab]").each(function(){var v=a(this);v.click(function(){var B=a(this);var w=B.attr("aria-controls");if(B.hasClass("resp-accordion")&&B.hasClass("resp-tab-active")){p.find(".resp-tab-content-active."+k.tabidentify).slideUp("",function(){a(this).addClass("resp-accordion-closed")});B.removeClass("resp-tab-active").css({"background-color":k.inactive_bg,"border-color":"none"});return false}if(!B.hasClass("resp-tab-active")&&B.hasClass("resp-accordion")){p.find(".resp-tab-active."+k.tabidentify).removeClass("resp-tab-active").css({"background-color":k.inactive_bg,"border-color":"none"});p.find(".resp-tab-content-active."+k.tabidentify).slideUp().removeClass("resp-tab-content-active resp-accordion-closed");p.find("[aria-controls="+w+"]").addClass("resp-tab-active").css({"background-color":k.activetab_bg,"border-color":k.active_border_color});p.find(".resp-tab-content[aria-labelledby = "+w+"]."+k.tabidentify).slideDown().addClass("resp-tab-content-active")}else{p.find(".resp-tab-active."+k.tabidentify).removeClass("resp-tab-active").css({"background-color":k.inactive_bg,"border-color":"none"});p.find(".resp-tab-content-active."+k.tabidentify).removeAttr("style").removeClass("resp-tab-content-active").removeClass("resp-accordion-closed");p.find("[aria-controls="+w+"]").addClass("resp-tab-active").css({"background-color":k.activetab_bg,"border-color":k.active_border_color});p.find(".resp-tab-content[aria-labelledby = "+w+"]."+k.tabidentify).addClass("resp-tab-content-active").attr("style","display:block")}B.trigger("tabactivate",B);if(h){var z=window.location.hash;var A=w.split("tab_item-");var y=s+(parseInt(A[1],10)+1).toString();if(z!=""){var x=new RegExp(s+"[0-9]+");if(z.match(x)!=null){y=z.replace(x,y)}else{y=z+"|"+y}}else{y="#"+y}history.replaceState(null,null,y)}})});a(window).resize(function(){p.find(".resp-accordion-closed").removeAttr("style")})})}})})(jQuery);
|
{files → assets}/third-party/jquery-ui/jquery-ui.min.js
RENAMED
File without changes
|
{files → assets}/third-party/tooltipster/css/tooltipster.min.css
RENAMED
File without changes
|
{files → assets}/third-party/tooltipster/js/html5.min.js
RENAMED
File without changes
|
{files → assets}/third-party/tooltipster/js/jquery.tooltipster.min.js
RENAMED
File without changes
|
class.WpdiscuzCore.php
ADDED
@@ -0,0 +1,794 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* Plugin Name: wpDiscuz - Supercharged native comments
|
5 |
+
* Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
|
6 |
+
* Version: 3.0.0
|
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 |
+
* Text Domain: wpdiscuz
|
11 |
+
* Domain Path: /languages/
|
12 |
+
*/
|
13 |
+
if (!defined('ABSPATH')) {
|
14 |
+
exit();
|
15 |
+
}
|
16 |
+
|
17 |
+
include_once 'utils/interface.WpDiscuzConstants.php';
|
18 |
+
include_once 'options/class.WpdiscuzOptions.php';
|
19 |
+
include_once 'options/class.WpdiscuzOptionsSerialized.php';
|
20 |
+
include_once 'utils/class.WpdiscuzHelper.php';
|
21 |
+
include_once 'utils/class.WpdiscuzEmailHelper.php';
|
22 |
+
include_once 'utils/class.WpdiscuzOptimizationHelper.php';
|
23 |
+
include_once 'manager/class.WpdiscuzDBManager.php';
|
24 |
+
include_once 'includes/class.WpdiscuzCss.php';
|
25 |
+
include_once 'templates/comment/class.WpdiscuzTemplateBuilder.php';
|
26 |
+
|
27 |
+
class WpdiscuzCore implements WpDiscuzConstants {
|
28 |
+
|
29 |
+
public $options;
|
30 |
+
public $optionsSerialized;
|
31 |
+
public $helper;
|
32 |
+
public $emailHelper;
|
33 |
+
public $optimizationHelper;
|
34 |
+
public $dbManager;
|
35 |
+
public $css;
|
36 |
+
public $templateBuilder;
|
37 |
+
public static $PLUGIN_DIRECTORY;
|
38 |
+
|
39 |
+
public function __construct() {
|
40 |
+
$this->dbManager = new WpdiscuzDBManager();
|
41 |
+
register_activation_hook(__FILE__, array($this, 'createTables'));
|
42 |
+
$this->optionsSerialized = new WpdiscuzOptionsSerialized($this->dbManager);
|
43 |
+
$this->options = new WpdiscuzOptions($this->optionsSerialized, $this->dbManager);
|
44 |
+
$this->helper = new WpdiscuzHelper($this->optionsSerialized, $this->dbManager);
|
45 |
+
$this->emailHelper = new WpdiscuzEmailHelper($this->optionsSerialized, $this->dbManager);
|
46 |
+
$this->optimizationHelper = new WpdiscuzOptimizationHelper($this->optionsSerialized, $this->dbManager, $this->emailHelper);
|
47 |
+
$this->css = new WpdiscuzCss($this->optionsSerialized);
|
48 |
+
$this->templateBuilder = new WpdiscuzTemplateBuilder($this->helper, $this->optimizationHelper, $this->dbManager, $this->options, $this->optionsSerialized);
|
49 |
+
add_action('admin_notices', array(&$this->optimizationHelper, 'wpdiscuzRequirements'));
|
50 |
+
add_action('wp_head', array(&$this, 'initCurrentPostType'));
|
51 |
+
add_action('wp_head', array(&$this->css, 'initCustomCss'));
|
52 |
+
add_action('plugins_loaded', array(&$this, 'wpdiscuzTextDomain'));
|
53 |
+
add_action('init', array(&$this, 'initPluginDirName'), 1);
|
54 |
+
add_action('admin_init', array(&$this, 'pluginNewVersion'), 2);
|
55 |
+
add_action('admin_enqueue_scripts', array(&$this, 'adminPageStylesScripts'), 2315);
|
56 |
+
add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
|
57 |
+
add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), -297);
|
58 |
+
if (!$this->optionsSerialized->captchaShowHide) {
|
59 |
+
add_action('init', array(&$this->helper, 'registerSession'), 2);
|
60 |
+
}
|
61 |
+
add_action('admin_post_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
|
62 |
+
add_action('admin_post_nopriv_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
|
63 |
+
add_action('wp_ajax_setCaptchaExpiredd', array(&$this->helper, 'setCaptchaExpired'));
|
64 |
+
add_action('wp_ajax_nopriv_setCaptchaExpired', array(&$this->helper, 'setCaptchaExpired'));
|
65 |
+
add_action('wp_ajax_loadMoreComments', array(&$this, 'loadMoreComments'));
|
66 |
+
add_action('wp_ajax_nopriv_loadMoreComments', array(&$this, 'loadMoreComments'));
|
67 |
+
add_action('wp_ajax_voteOnComment', array(&$this, 'voteOnComment'));
|
68 |
+
add_action('wp_ajax_nopriv_voteOnComment', array(&$this, 'voteOnComment'));
|
69 |
+
add_action('wp_ajax_wpdiscuzSorting', array(&$this, 'wpdiscuzSorting'));
|
70 |
+
add_action('wp_ajax_nopriv_wpdiscuzSorting', array(&$this, 'wpdiscuzSorting'));
|
71 |
+
add_action('wp_ajax_addComment', array(&$this, 'addComment'));
|
72 |
+
add_action('wp_ajax_nopriv_addComment', array(&$this, 'addComment'));
|
73 |
+
add_action('wp_ajax_getSingleComment', array(&$this, 'getSingleComment'));
|
74 |
+
add_action('wp_ajax_nopriv_getSingleComment', array(&$this, 'getSingleComment'));
|
75 |
+
add_action('admin_post_addSubscription', array(&$this->emailHelper, 'addSubscription'));
|
76 |
+
add_action('admin_post_nopriv_addSubscription', array(&$this->emailHelper, 'addSubscription'));
|
77 |
+
add_action('wp_ajax_checkNotificationType', array(&$this->emailHelper, 'checkNotificationType'));
|
78 |
+
add_action('wp_ajax_nopriv_checkNotificationType', array(&$this->emailHelper, 'checkNotificationType'));
|
79 |
+
add_action('wp_ajax_redirect', array(&$this, 'redirect'));
|
80 |
+
add_action('wp_ajax_nopriv_redirect', array(&$this, 'redirect'));
|
81 |
+
add_action('wp_ajax_synchronizeComments', array(&$this->optimizationHelper, 'synchronizeComments'));
|
82 |
+
add_action('wp_insert_comment', array(&$this->optimizationHelper, 'addCommentToTree'), 2689, 2);
|
83 |
+
add_action('transition_comment_status', array(&$this->optimizationHelper, 'statusEventHandler'), 265, 3);
|
84 |
+
add_action('delete_comment', array(&$this->optimizationHelper, 'initSubComments'), 266);
|
85 |
+
add_action('deleted_comment', array(&$this->optimizationHelper, 'deleteCommentFromTree'), 267);
|
86 |
+
$plugin = plugin_basename(__FILE__);
|
87 |
+
add_filter("plugin_action_links_$plugin", array(&$this, 'addPluginSettingsLink'));
|
88 |
+
if ($this->optionsSerialized->commentEditableTime) {
|
89 |
+
add_action('wp_ajax_editComment', array(&$this, 'editComment'));
|
90 |
+
add_action('wp_ajax_nopriv_editComment', array(&$this, 'editComment'));
|
91 |
+
add_action('wp_ajax_saveEditedComment', array(&$this, 'saveEditedComment'));
|
92 |
+
add_action('wp_ajax_nopriv_saveEditedComment', array(&$this, 'saveEditedComment'));
|
93 |
+
}
|
94 |
+
if ($this->optionsSerialized->commentListUpdateType) {
|
95 |
+
add_action('wp_ajax_liveUpdate', array(&$this, 'liveUpdate'));
|
96 |
+
add_action('wp_ajax_nopriv_liveUpdate', array(&$this, 'liveUpdate'));
|
97 |
+
add_action('wp_ajax_updateOnClick', array(&$this, 'updateOnClick'));
|
98 |
+
add_action('wp_ajax_nopriv_updateOnClick', array(&$this, 'updateOnClick'));
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
public function wpdiscuzTextDomain() {
|
103 |
+
load_plugin_textdomain('wpdiscuz', false, dirname(plugin_basename(__FILE__)) . '/languages/');
|
104 |
+
}
|
105 |
+
|
106 |
+
public function liveUpdate() {
|
107 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
108 |
+
if ($commentData) {
|
109 |
+
$this->updateAutomatically($commentData);
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
private function updateAutomatically($commentData) {
|
114 |
+
global $current_user;
|
115 |
+
get_currentuserinfo();
|
116 |
+
$messageArray = array();
|
117 |
+
parse_str($commentData);
|
118 |
+
$postId = intval(trim($postId));
|
119 |
+
$loadLastCommentId = intval(trim($loadLastCommentId));
|
120 |
+
$lastCommentId = $this->dbManager->getLastCommentId($postId);
|
121 |
+
$visibleCommentIds = trim($visibleCommentIds, ',');
|
122 |
+
$email = trim($email);
|
123 |
+
|
124 |
+
if (is_user_logged_in()) {
|
125 |
+
$email = $current_user->user_email;
|
126 |
+
}
|
127 |
+
if ($lastCommentId > $loadLastCommentId) {
|
128 |
+
$messageArray['code'] = 1;
|
129 |
+
$messageArray['loadLastCommentId'] = $lastCommentId;
|
130 |
+
if ($this->optionsSerialized->commentListUpdateType == 1) {
|
131 |
+
$visibleCommentIds = explode(',', $visibleCommentIds);
|
132 |
+
$newCommentIds = $this->dbManager->getNewCommentIds($postId, $loadLastCommentId, $email, $this->optionsSerialized->wordpressCommentOrder);
|
133 |
+
$commentListArgs = $this->getCommentListArgs();
|
134 |
+
$commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
|
135 |
+
foreach ($newCommentIds as $newCommentId) {
|
136 |
+
$comment = get_comment($newCommentId);
|
137 |
+
if (($comment->comment_parent && (in_array($comment->comment_parent, $visibleCommentIds) || in_array($comment->comment_parent, $newCommentIds))) || !$comment->comment_parent) {
|
138 |
+
$comments = get_comments(array('comment__in' => $newCommentId, 'meta_key' => self::META_KEY_VOTES));
|
139 |
+
$commentHtml = wp_list_comments($commentListArgs, $comments);
|
140 |
+
$messageArray['message'][] = array('comment_parent' => $comment->comment_parent, 'comment_html' => $commentHtml);
|
141 |
+
}
|
142 |
+
}
|
143 |
+
} else {
|
144 |
+
$authorReplies = $this->dbManager->getAuthorNewReplies($visibleCommentIds, $loadLastCommentId, $email);
|
145 |
+
$messageArray['message']['author_replies'] = $authorReplies;
|
146 |
+
$messageArray['message']['comments'] = $this->dbManager->getNewCommentIds($postId, $loadLastCommentId, $email, $this->optionsSerialized->wordpressCommentOrder, implode(',', $authorReplies));
|
147 |
+
}
|
148 |
+
$messageArray['wc_all_comments_count_new'] = $this->dbManager->getCommentsCount($postId);
|
149 |
+
} else {
|
150 |
+
$messageArray['code'] = 0;
|
151 |
+
}
|
152 |
+
wp_die(json_encode($messageArray));
|
153 |
+
}
|
154 |
+
|
155 |
+
public function updateOnClick() {
|
156 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
157 |
+
if ($commentData) {
|
158 |
+
$messageArray['code'] = 1;
|
159 |
+
$newCommentIds = explode(',', $commentData);
|
160 |
+
$commentListArgs = $this->getCommentListArgs();
|
161 |
+
$commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
|
162 |
+
foreach ($newCommentIds as $newCommentId) {
|
163 |
+
$comment = get_comment($newCommentId);
|
164 |
+
$comments = get_comments(array('comment__in' => $newCommentId, 'meta_key' => self::META_KEY_VOTES));
|
165 |
+
$commentHtml = wp_list_comments($commentListArgs, $comments);
|
166 |
+
$messageArray['message'][] = array('comment_parent' => $comment->comment_parent, 'comment_html' => $commentHtml);
|
167 |
+
}
|
168 |
+
wp_die(json_encode($messageArray));
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
public function addComment() {
|
173 |
+
$messageArray = array();
|
174 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
175 |
+
$isAnonymous = false;
|
176 |
+
if ($commentData) {
|
177 |
+
parse_str($commentData);
|
178 |
+
if (wp_verify_nonce($wpdiscuz_comment_form_nonce, 'wpdiscuz_comment_form_nonce_action') && isset($wpdiscuz_unique_id) && $wpdiscuz_unique_id && isset($comment_post_ID) && $comment_post_ID) {
|
179 |
+
$wpdiscuz_unique_id = filter_var($wpdiscuz_unique_id);
|
180 |
+
$wc_comment_depth = isset($wc_comment_depth) && intval($wc_comment_depth) ? $wc_comment_depth : 1;
|
181 |
+
$isInSameContainer = '1';
|
182 |
+
if ($wc_comment_depth > $this->optionsSerialized->wordpressThreadCommentsDepth) {
|
183 |
+
$wc_comment_depth = $this->optionsSerialized->wordpressThreadCommentsDepth;
|
184 |
+
$isInSameContainer = '0';
|
185 |
+
} else if (!$this->optionsSerialized->wordpressThreadComments) {
|
186 |
+
$isInSameContainer = '0';
|
187 |
+
}
|
188 |
+
$notification_type = isset($wpdiscuz_notification_type) ? $wpdiscuz_notification_type : '';
|
189 |
+
if (!$this->optionsSerialized->captchaShowHide) {
|
190 |
+
if ((is_user_logged_in() && $this->optionsSerialized->captchaShowHideForMembers) || !is_user_logged_in()) {
|
191 |
+
$sess_captcha = isset($_SESSION['wc_captcha'][$wpdiscuz_unique_id]) ? $_SESSION['wc_captcha'][$wpdiscuz_unique_id] : FALSE;
|
192 |
+
$captcha = isset($wc_captcha) ? $wc_captcha : '';
|
193 |
+
if (md5(strtolower($captcha)) !== $sess_captcha) {
|
194 |
+
$messageArray['code'] = 'wc_invalid_captcha';
|
195 |
+
wp_die(json_encode($messageArray));
|
196 |
+
}
|
197 |
+
}
|
198 |
+
}
|
199 |
+
|
200 |
+
$website_url = '';
|
201 |
+
if (is_user_logged_in()) {
|
202 |
+
$user_id = get_current_user_id();
|
203 |
+
$user = get_userdata($user_id);
|
204 |
+
$name = $user->display_name;
|
205 |
+
$email = $user->user_email;
|
206 |
+
} else {
|
207 |
+
$user_id = 0;
|
208 |
+
$name = isset($wc_name) ? filter_var($wc_name) : '';
|
209 |
+
$email = isset($wc_email) ? trim($wc_email) : '';
|
210 |
+
$website_url = isset($wc_website) ? trim($wc_website) : '';
|
211 |
+
|
212 |
+
if ($website_url != '' && (strpos($website_url, 'http://') !== '' && strpos($website_url, 'http://') !== 0) && (strpos($website_url, 'https://') !== '' && strpos($website_url, 'https://') !== 0)) {
|
213 |
+
$website_url = 'http://' . $website_url;
|
214 |
+
}
|
215 |
+
if (!$this->optionsSerialized->isNameFieldRequired) {
|
216 |
+
$name = !($name) ? __('Anonymous', 'wpdiscuz') : $name;
|
217 |
+
}
|
218 |
+
if (!$this->optionsSerialized->isEmailFieldRequired) {
|
219 |
+
if (!$email) {
|
220 |
+
$email = 'anonymous_' . md5(uniqid() . time()) . '@example.com';
|
221 |
+
$isAnonymous = true;
|
222 |
+
}
|
223 |
+
}
|
224 |
+
}
|
225 |
+
|
226 |
+
if ($website_url != '' && (filter_var($website_url, FILTER_VALIDATE_URL) === false)) {
|
227 |
+
$messageArray['code'] = 'wc_error_url_text';
|
228 |
+
wp_die(json_encode($messageArray));
|
229 |
+
}
|
230 |
+
|
231 |
+
if ($email != '' && filter_var($email, FILTER_VALIDATE_EMAIL) === false) {
|
232 |
+
$messageArray['code'] = 'wc_error_email_text';
|
233 |
+
wp_die(json_encode($messageArray));
|
234 |
+
}
|
235 |
+
|
236 |
+
$comment_content = wp_kses(trim($wc_comment), $this->helper->wc_allowed_tags);
|
237 |
+
$commentMinLength = intval($this->optionsSerialized->commentTextMinLength);
|
238 |
+
$commentMaxLength = intval($this->optionsSerialized->commentTextMaxLength);
|
239 |
+
if ($commentMinLength && $commentMinLength > 0 && mb_strlen($comment_content) < $commentMinLength) {
|
240 |
+
$messageArray['code'] = 'wc_msg_comment_text_min_length';
|
241 |
+
wp_die(json_encode($messageArray));
|
242 |
+
}
|
243 |
+
|
244 |
+
if ($commentMaxLength && $commentMaxLength > 0 && mb_strlen($comment_content) > $commentMaxLength) {
|
245 |
+
$messageArray['code'] = 'wc_msg_comment_text_max_length';
|
246 |
+
wp_die(json_encode($messageArray));
|
247 |
+
}
|
248 |
+
|
249 |
+
if ($name && $email && $comment_content) {
|
250 |
+
$author_ip = $this->helper->getRealIPAddr();
|
251 |
+
$comment_content = addslashes($comment_content);
|
252 |
+
$uid_data = $this->helper->getUIDData($wpdiscuz_unique_id);
|
253 |
+
$comment_parent = $uid_data[0];
|
254 |
+
$wc_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
|
255 |
+
$new_commentdata = array(
|
256 |
+
'user_id' => $user_id,
|
257 |
+
'comment_post_ID' => $comment_post_ID,
|
258 |
+
'comment_parent' => $comment_parent,
|
259 |
+
'comment_author' => $name,
|
260 |
+
'comment_author_email' => $email,
|
261 |
+
'comment_content' => $comment_content,
|
262 |
+
'comment_author_url' => $website_url,
|
263 |
+
'comment_author_IP' => $author_ip,
|
264 |
+
'comment_agent' => $wc_user_agent,
|
265 |
+
'comment_type' => ''
|
266 |
+
);
|
267 |
+
|
268 |
+
$new_comment_id = wp_new_comment($new_commentdata);
|
269 |
+
$newComment = get_comment($new_comment_id);
|
270 |
+
$held_moderate = 1;
|
271 |
+
if ($newComment->comment_approved) {
|
272 |
+
$held_moderate = 0;
|
273 |
+
}
|
274 |
+
if ($notification_type == WpdiscuzCore::SUBSCRIPTION_POST && class_exists('Prompt_Comment_Form_Handling') && $this->optionsSerialized->usePostmaticForCommentNotification) {
|
275 |
+
$_POST[Prompt_Comment_Form_Handling::SUBSCRIBE_CHECKBOX_NAME] = 1;
|
276 |
+
Prompt_Comment_Form_Handling::handle_form($new_comment_id, $newComment->comment_approved);
|
277 |
+
} else if (!$isAnonymous && $notification_type) {
|
278 |
+
if (is_user_logged_in() && $this->optionsSerialized->disableMemberConfirm) {
|
279 |
+
$this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT, 1);
|
280 |
+
} else {
|
281 |
+
$this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT);
|
282 |
+
$this->emailHelper->confirmEmailSender($comment_post_ID, $email);
|
283 |
+
}
|
284 |
+
}
|
285 |
+
$messageArray['code'] = $wpdiscuz_unique_id;
|
286 |
+
$messageArray['redirect'] = $this->optionsSerialized->redirectPage;
|
287 |
+
$messageArray['new_comment_id'] = $new_comment_id;
|
288 |
+
$messageArray['user_name'] = $name;
|
289 |
+
$messageArray['user_email'] = $email;
|
290 |
+
$messageArray['is_main'] = $comment_parent ? 0 : 1;
|
291 |
+
$messageArray['held_moderate'] = $held_moderate;
|
292 |
+
$messageArray['is_in_same_container'] = $isInSameContainer;
|
293 |
+
$messageArray['wc_all_comments_count_new'] = $this->dbManager->getCommentsCount($comment_post_ID);
|
294 |
+
$messageArray['message'] = $this->templateBuilder->getCommentTemplate($newComment, null, $wc_comment_depth);
|
295 |
+
} else {
|
296 |
+
$messageArray['code'] = 'wc_invalid_field';
|
297 |
+
}
|
298 |
+
} else {
|
299 |
+
$messageArray['code'] = 'wc_invalid_field';
|
300 |
+
}
|
301 |
+
} else {
|
302 |
+
$messageArray['code'] = 'wc_msg_required_fields';
|
303 |
+
}
|
304 |
+
wp_die(json_encode($messageArray));
|
305 |
+
}
|
306 |
+
|
307 |
+
/**
|
308 |
+
* get comment text from db
|
309 |
+
*/
|
310 |
+
public function editComment() {
|
311 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
312 |
+
$message_array = array();
|
313 |
+
if ($commentData) {
|
314 |
+
parse_str($commentData);
|
315 |
+
$current_user = wp_get_current_user();
|
316 |
+
$commentId = intval($commentId);
|
317 |
+
if ($commentId) {
|
318 |
+
$comment = get_comment($commentId);
|
319 |
+
$isEditable = $this->optionsSerialized->commentEditableTime == 'unlimit' ? true : $this->helper->isCommentEditable($comment);
|
320 |
+
if (isset($current_user) && $comment->user_id == $current_user->ID && $isEditable) {
|
321 |
+
$message_array['code'] = 1;
|
322 |
+
$message_array['message'] = $comment->comment_content;
|
323 |
+
} else {
|
324 |
+
$message_array['code'] = 'wc_comment_edit_not_possible';
|
325 |
+
}
|
326 |
+
} else {
|
327 |
+
$message_array['code'] = 'wc_comment_edit_not_possible';
|
328 |
+
}
|
329 |
+
} else {
|
330 |
+
$message_array['code'] = 'wc_comment_edit_not_possible';
|
331 |
+
}
|
332 |
+
wp_die(json_encode($message_array));
|
333 |
+
}
|
334 |
+
|
335 |
+
/**
|
336 |
+
* save edited comment via ajax
|
337 |
+
*/
|
338 |
+
public function saveEditedComment() {
|
339 |
+
$message_array = array();
|
340 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
341 |
+
if ($commentData) {
|
342 |
+
parse_str($commentData);
|
343 |
+
$commentId = intval($commentId);
|
344 |
+
$comment = get_comment($commentId);
|
345 |
+
$current_user = wp_get_current_user();
|
346 |
+
$trimmed_comment_content = trim($commentContent);
|
347 |
+
if ($trimmed_comment_content && isset($current_user) && $comment->user_id == $current_user->ID) {
|
348 |
+
if ($trimmed_comment_content != $comment->comment_content) {
|
349 |
+
$commentContent = wp_kses($commentContent, $this->helper->wc_allowed_tags);
|
350 |
+
$author_ip = $this->helper->getRealIPAddr();
|
351 |
+
$userAgent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
|
352 |
+
$commentContent = addslashes($commentContent);
|
353 |
+
$commentarr = array(
|
354 |
+
'comment_ID' => $commentId,
|
355 |
+
'comment_content' => apply_filters('pre_comment_content', $commentContent),
|
356 |
+
'comment_author_IP' => apply_filters('pre_comment_user_ip', $author_ip),
|
357 |
+
'comment_agent' => apply_filters('pre_comment_user_agent', $userAgent),
|
358 |
+
'comment_approved' => $comment->comment_approved
|
359 |
+
);
|
360 |
+
if (wp_update_comment($commentarr)) {
|
361 |
+
$message_array['code'] = 1;
|
362 |
+
$message_array['message'] = $this->helper->makeClickable($commentContent);
|
363 |
+
} else {
|
364 |
+
$message_array['code'] = 'wc_comment_not_updated';
|
365 |
+
}
|
366 |
+
} else {
|
367 |
+
$message_array['code'] = 'wc_comment_not_edited';
|
368 |
+
}
|
369 |
+
} else {
|
370 |
+
$message_array['code'] = 'wc_comment_edit_not_possible';
|
371 |
+
}
|
372 |
+
} else {
|
373 |
+
$message_array['code'] = 'wc_comment_edit_not_possible';
|
374 |
+
}
|
375 |
+
wp_die(json_encode($message_array));
|
376 |
+
}
|
377 |
+
|
378 |
+
public function getSingleComment() {
|
379 |
+
$messageArray = array();
|
380 |
+
$commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
|
381 |
+
if ($commentData) {
|
382 |
+
parse_str($commentData);
|
383 |
+
$commentId = intval(trim($commentId));
|
384 |
+
if ($commentId) {
|
385 |
+
$comments = get_comments(array('comment__in' => $commentId, 'meta_key' => self::META_KEY_VOTES));
|
386 |
+
$commentListArgs = $this->getCommentListArgs();
|
387 |
+
$commentListArgs['isSingle'] = true;
|
388 |
+
$commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
|
389 |
+
$messageArray['message'] = wp_list_comments($commentListArgs, $comments);
|
390 |
+
}
|
391 |
+
wp_die(json_encode($messageArray));
|
392 |
+
}
|
393 |
+
}
|
394 |
+
|
395 |
+
/**
|
396 |
+
* redirect first commenter to the selected page from options
|
397 |
+
*/
|
398 |
+
public function redirect() {
|
399 |
+
$messageArray = array();
|
400 |
+
if (isset($_POST['wpdiscuzAjaxData'])) {
|
401 |
+
parse_str($_POST['wpdiscuzAjaxData']);
|
402 |
+
$commentId = intval(trim($commentId));
|
403 |
+
if ($this->optionsSerialized->redirectPage && $commentId) {
|
404 |
+
$comment = get_comment($commentId);
|
405 |
+
if ($comment->comment_ID) {
|
406 |
+
$userCommentCount = get_comments(array('author_email' => $comment->comment_author_email, 'count' => true));
|
407 |
+
if ($userCommentCount == 1) {
|
408 |
+
$messageArray['code'] = 1;
|
409 |
+
$messageArray['redirect_to'] = get_permalink($this->optionsSerialized->redirectPage);
|
410 |
+
}
|
411 |
+
}
|
412 |
+
}
|
413 |
+
}
|
414 |
+
wp_die(json_encode($messageArray));
|
415 |
+
}
|
416 |
+
|
417 |
+
public function loadMoreComments() {
|
418 |
+
if (isset($_POST['wpdiscuzAjaxData'])) {
|
419 |
+
parse_str($_POST['wpdiscuzAjaxData']);
|
420 |
+
$postId = intval(trim($postId));
|
421 |
+
$limit = intval(trim($loadAllCommnts)) ? 0 : $this->optionsSerialized->wordpressCommentPerPage;
|
422 |
+
$args = array('limit' => $limit);
|
423 |
+
$orderBy = trim($orderBy);
|
424 |
+
if ($orderBy == 'vote') {
|
425 |
+
$args['orderby'] = 'meta_value_num';
|
426 |
+
$args['offset'] = intval($offset) * $limit;
|
427 |
+
} else {
|
428 |
+
$args['order'] = trim($order) ? trim($order) : $this->optionsSerialized->wordpressCommentOrder;
|
429 |
+
$args['last_parent_id'] = intval($lastParentId);
|
430 |
+
}
|
431 |
+
$args['post_id'] = $postId;
|
432 |
+
|
433 |
+
$data = $this->getWPComments($args);
|
434 |
+
wp_die(json_encode($data));
|
435 |
+
}
|
436 |
+
}
|
437 |
+
|
438 |
+
public function voteOnComment() {
|
439 |
+
if ($this->optionsSerialized->votingButtonsShowHide) {
|
440 |
+
wp_die();
|
441 |
+
}
|
442 |
+
$messageArray = array();
|
443 |
+
$commentId = '';
|
444 |
+
if (!$this->optionsSerialized->isGuestCanVote && !is_user_logged_in()) {
|
445 |
+
$messageArray['code'] = 'wc_login_to_vote';
|
446 |
+
wp_die(json_encode($messageArray));
|
447 |
+
}
|
448 |
+
if (isset($_POST['wpdiscuzAjaxData'])) {
|
449 |
+
parse_str($_POST['wpdiscuzAjaxData']);
|
450 |
+
$commentId = intval($commentId);
|
451 |
+
$voteType = intval($voteType);
|
452 |
+
if ($commentId && $voteType) {
|
453 |
+
$userIdOrIp = is_user_logged_in() ? get_current_user_id() : $this->helper->getRealIPAddr();
|
454 |
+
$isUserVoted = $this->dbManager->isUserVoted($userIdOrIp, $commentId);
|
455 |
+
$comment = get_comment($commentId);
|
456 |
+
if (!is_user_logged_in() && $comment->comment_author_IP == $userIdOrIp) {
|
457 |
+
$messageArray['code'] = 'wc_deny_voting_from_same_ip';
|
458 |
+
wp_die(json_encode($messageArray));
|
459 |
+
}
|
460 |
+
if ($comment->user_id == $userIdOrIp) {
|
461 |
+
$messageArray['code'] = 'wc_self_vote';
|
462 |
+
wp_die(json_encode($messageArray));
|
463 |
+
}
|
464 |
+
|
465 |
+
if ($isUserVoted != '') {
|
466 |
+
$vote = intval($isUserVoted) + $voteType;
|
467 |
+
if ($vote >= -1 && $vote <= 1) {
|
468 |
+
$this->dbManager->updateVoteType($userIdOrIp, $commentId, $vote);
|
469 |
+
$voteCount = intval(get_comment_meta($commentId, self::META_KEY_VOTES, true)) + $voteType;
|
470 |
+
update_comment_meta($commentId, self::META_KEY_VOTES, '' . $voteCount);
|
471 |
+
$messageArray['code'] = 1;
|
472 |
+
} else {
|
473 |
+
$messageArray['code'] = 'wc_vote_only_one_time';
|
474 |
+
}
|
475 |
+
} else {
|
476 |
+
$this->dbManager->addVoteType($userIdOrIp, $commentId, $voteType, intval(is_user_logged_in()));
|
477 |
+
$voteCount = intval(get_comment_meta($commentId, self::META_KEY_VOTES, true)) + $voteType;
|
478 |
+
update_comment_meta($commentId, self::META_KEY_VOTES, '' . $voteCount);
|
479 |
+
$messageArray['code'] = 1;
|
480 |
+
}
|
481 |
+
} else {
|
482 |
+
$messageArray['code'] = 'wc_voting_error';
|
483 |
+
}
|
484 |
+
} else {
|
485 |
+
$messageArray['code'] = 'wc_voting_error';
|
486 |
+
}
|
487 |
+
wp_die(json_encode($messageArray));
|
488 |
+
}
|
489 |
+
|
490 |
+
public function wpdiscuzSorting() {
|
491 |
+
$messageArray = array();
|
492 |
+
if (isset($_POST['wpdiscuzAjaxData'])) {
|
493 |
+
parse_str($_POST['wpdiscuzAjaxData']);
|
494 |
+
$postId = intval(trim($postId));
|
495 |
+
$orderBy = trim($orderBy);
|
496 |
+
$order = trim($order);
|
497 |
+
if ($postId && $orderBy && $order) {
|
498 |
+
$args = array('order' => $order, 'post_id' => $postId);
|
499 |
+
if ($orderBy == 'vote') {
|
500 |
+
$args['orderby'] = 'meta_value_num';
|
501 |
+
} else {
|
502 |
+
$args['orderby'] = 'comment_date_gmt';
|
503 |
+
}
|
504 |
+
$data = $this->getWPComments($args);
|
505 |
+
$messageArray['code'] = 1;
|
506 |
+
$messageArray['loadCount'] = 1;
|
507 |
+
$messageArray['last_parent_id'] = $data['last_parent_id'];
|
508 |
+
$messageArray['is_show_load_more'] = $data['is_show_load_more'];
|
509 |
+
$messageArray['message'] = $data['comment_list'];
|
510 |
+
wp_die(json_encode($messageArray));
|
511 |
+
}
|
512 |
+
}
|
513 |
+
wp_die();
|
514 |
+
}
|
515 |
+
|
516 |
+
public function commentCallback($comment, $args, $depth) {
|
517 |
+
$GLOBALS['comment'] = $comment;
|
518 |
+
echo $this->templateBuilder->getCommentTemplate($comment, $args, $depth);
|
519 |
+
}
|
520 |
+
|
521 |
+
/**
|
522 |
+
* get comments by comment type
|
523 |
+
*/
|
524 |
+
public function getWPComments($args = array()) {
|
525 |
+
global $post;
|
526 |
+
$this->optionsSerialized->initPhrasesOnLoad();
|
527 |
+
$defaults = array(
|
528 |
+
'last_parent_id' => 0,
|
529 |
+
'post_id' => isset($post->ID) ? $post->ID : '',
|
530 |
+
'offset' => 0,
|
531 |
+
'orderby' => 'comment_date_gmt',
|
532 |
+
'order' => $this->optionsSerialized->wordpressCommentOrder,
|
533 |
+
'date_order' => $this->optionsSerialized->wordpressCommentOrder,
|
534 |
+
'limit' => $this->optionsSerialized->wordpressCommentPerPage,
|
535 |
+
'meta_key' => self::META_KEY_VOTES,
|
536 |
+
'is_threaded' => 1,
|
537 |
+
'status' => 'approve'
|
538 |
+
);
|
539 |
+
$parsedArgs = wp_parse_args($args, $defaults);
|
540 |
+
$commentData = array();
|
541 |
+
$commentListArgs = $this->getCommentListArgs();
|
542 |
+
|
543 |
+
$commentList = $this->_getWPComments($parsedArgs, $commentListArgs, $commentData);
|
544 |
+
$wcWpComments = wp_list_comments($commentListArgs, $commentList);
|
545 |
+
$commentData['comment_list'] = $wcWpComments;
|
546 |
+
return $commentData;
|
547 |
+
}
|
548 |
+
|
549 |
+
/**
|
550 |
+
* add new orderby clause when sort type is vote and wordpress commnts order is older (ASC)
|
551 |
+
*/
|
552 |
+
public function filterVoteSortingOrderBY($args) {
|
553 |
+
global $wpdb;
|
554 |
+
$orderbyArray = explode(',', $args['orderby']);
|
555 |
+
if (count($orderbyArray) > 1) {
|
556 |
+
$args['orderby'] = $orderbyArray[0] . ',' . $wpdb->prefix . 'comments.comment_date_gmt ' . $this->optionsSerialized->wordpressCommentOrder;
|
557 |
+
}
|
558 |
+
return $args;
|
559 |
+
}
|
560 |
+
|
561 |
+
private function _getWPComments($args, &$commentListArgs, &$commentData) {
|
562 |
+
if (!$this->optionsSerialized->wordpressIsPaginate) {
|
563 |
+
$parentIds = array();
|
564 |
+
$rootComments = array();
|
565 |
+
|
566 |
+
$args['is_threaded'] = $this->optionsSerialized->wordpressThreadComments;
|
567 |
+
if ($args['limit'] == 0) {
|
568 |
+
$args['viewed_comment_count'] = $this->optionsSerialized->wordpressCommentPerPage;
|
569 |
+
}
|
570 |
+
$this->dbManager->getCommentList($args);
|
571 |
+
|
572 |
+
if ($args['comment__in']) {
|
573 |
+
$parentIds = $args['comment__in'];
|
574 |
+
if ($args['orderby'] == 'meta_value_num' && $this->optionsSerialized->wordpressCommentOrder == 'asc') {
|
575 |
+
add_filter('comments_clauses', array(&$this, 'filterVoteSortingOrderBY'));
|
576 |
+
}
|
577 |
+
$rootComments = get_comments($args);
|
578 |
+
}
|
579 |
+
if ($args['is_threaded']) {
|
580 |
+
$commentmetaIds = $this->optimizationHelper->getCommentListByParentIds($parentIds);
|
581 |
+
if ($commentmetaIds) {
|
582 |
+
$args['comment__in'] = $commentmetaIds;
|
583 |
+
$commentList = get_comments($args);
|
584 |
+
$commentList = array_merge($rootComments, $commentList);
|
585 |
+
} else {
|
586 |
+
$commentList = $rootComments;
|
587 |
+
}
|
588 |
+
} else {
|
589 |
+
$commentList = $rootComments;
|
590 |
+
}
|
591 |
+
$commentListArgs['page'] = 1;
|
592 |
+
$commentListArgs['reverse_top_level'] = false;
|
593 |
+
$commentData['last_parent_id'] = $parentIds ? $parentIds[count($parentIds) - 1] : 0;
|
594 |
+
$commentListArgs['last_parent_id'] = $commentData['last_parent_id'];
|
595 |
+
$commentData['is_show_load_more'] = $this->helper->isShowLoadMore($commentData['last_parent_id'], $args);
|
596 |
+
} else {
|
597 |
+
if ($this->optionsSerialized->wordpressCommentOrder == 'desc') {
|
598 |
+
$commentListArgs['reverse_top_level'] = false;
|
599 |
+
}
|
600 |
+
$commentList = get_comments(array('post_id' => $args['post_id'], 'status' => 'approve', 'order' => $this->optionsSerialized->wordpressCommentOrder, 'meta_key' => self::META_KEY_VOTES));
|
601 |
+
}
|
602 |
+
return $commentList;
|
603 |
+
}
|
604 |
+
|
605 |
+
/**
|
606 |
+
* register options page for plugin
|
607 |
+
*/
|
608 |
+
public function addPluginOptionsPage() {
|
609 |
+
add_submenu_page('edit-comments.php', 'WpDiscuz Settings', 'WpDiscuz Settings', 'manage_options', 'wpdiscuz_options_page', array(&$this->options, 'mainOptionsForm'));
|
610 |
+
if (!$this->optionsSerialized->isUsePoMo) {
|
611 |
+
add_submenu_page('edit-comments.php', 'WpDiscuz Phrases', 'WpDiscuz Phrases', 'manage_options', 'wpdiscuz_phrases_page', array(&$this->options, 'phrasesOptionsForm'));
|
612 |
+
}
|
613 |
+
}
|
614 |
+
|
615 |
+
/**
|
616 |
+
* Scripts and styles registration on administration pages
|
617 |
+
*/
|
618 |
+
public function adminPageStylesScripts() {
|
619 |
+
wp_register_style('wpdiscuz-cp-index-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/colorpicker/css/index.css'));
|
620 |
+
wp_enqueue_style('wpdiscuz-cp-index-css');
|
621 |
+
wp_register_style('wpdiscuz-cp-compatibility-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/colorpicker/css/compatibility.css'));
|
622 |
+
wp_enqueue_style('wpdiscuz-cp-compatibility-css');
|
623 |
+
wp_register_script('wpdiscuz-cp-colors-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/colorpicker/js/colors.js'), array('jquery'), '1.0.0', false);
|
624 |
+
wp_enqueue_script('wpdiscuz-cp-colors-js');
|
625 |
+
wp_register_script('wpdiscuz-cp-colorpicker-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/colorpicker/js/jqColorPicker.min.js'), array('jquery'), '1.0.0', false);
|
626 |
+
wp_enqueue_script('wpdiscuz-cp-colorpicker-js');
|
627 |
+
wp_register_script('wpdiscuz-cp-index-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/colorpicker/js/index.js'), array('jquery'), '1.0.0', false);
|
628 |
+
wp_enqueue_script('wpdiscuz-cp-index-js');
|
629 |
+
wp_register_style('wpdiscuz-easy-responsive-tabs-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css'), true);
|
630 |
+
wp_enqueue_style('wpdiscuz-easy-responsive-tabs-css');
|
631 |
+
wp_register_script('wpdiscuz-easy-responsive-tabs-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/easy-responsive-tabs/js/easy-responsive-tabs.js'), array('jquery'), '1.0.0', true);
|
632 |
+
wp_enqueue_script('wpdiscuz-easy-responsive-tabs-js');
|
633 |
+
wp_register_style('wpdiscuz-options-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/options-css.min.css'));
|
634 |
+
wp_enqueue_style('wpdiscuz-options-css');
|
635 |
+
$realLastCommentId = $this->dbManager->getLastCommentId();
|
636 |
+
wp_register_script('wpdiscuz-options-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/wpdiscuz-options.min.js'), array('jquery'));
|
637 |
+
wp_localize_script('wpdiscuz-options-js', 'admin_options_obj', array('lastCommentId' => $realLastCommentId));
|
638 |
+
wp_enqueue_script('wpdiscuz-options-js');
|
639 |
+
wp_enqueue_script('thickbox');
|
640 |
+
wp_register_script('wpdiscuz-synchronize-comments', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/wpdiscuz-synch-comments.min.js'), array('jquery'));
|
641 |
+
wp_enqueue_script('wpdiscuz-synchronize-comments');
|
642 |
+
wp_register_script('wpdiscuz-jquery-cookie', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/jquery.cookie.min.js'), array('jquery'), '1.0.0', true);
|
643 |
+
wp_enqueue_script('wpdiscuz-jquery-cookie');
|
644 |
+
}
|
645 |
+
|
646 |
+
/**
|
647 |
+
* Styles and scripts registration to use on front page
|
648 |
+
*/
|
649 |
+
public function frontEndStylesScripts() {
|
650 |
+
global $post;
|
651 |
+
if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
|
652 |
+
$u_agent = $_SERVER['HTTP_USER_AGENT'];
|
653 |
+
wp_register_style('wpdiscuz-frontend-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/wpdiscuz.min.css'));
|
654 |
+
wp_enqueue_style('wpdiscuz-frontend-css');
|
655 |
+
|
656 |
+
if (is_rtl()) {
|
657 |
+
wp_register_style('wpdiscuz-frontend-rtl-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/wpdiscuz-rtl.min.css'));
|
658 |
+
wp_enqueue_style('wpdiscuz-frontend-rtl-css');
|
659 |
+
}
|
660 |
+
|
661 |
+
if ($this->optionsSerialized->commentListUpdateType != 0) {
|
662 |
+
wp_register_script('wpdiscuz-jquery-ui', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/jquery-ui/jquery-ui.min.js'), array('jquery'), '1.11.2', false);
|
663 |
+
wp_enqueue_script('wpdiscuz-jquery-ui');
|
664 |
+
}
|
665 |
+
|
666 |
+
if (preg_match('/MSIE/i', $u_agent)) {
|
667 |
+
wp_register_script('wpdiscuz-html5-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/tooltipster/js/html5.min.js'), array('jquery'), '1.2', false);
|
668 |
+
wp_enqueue_script('wpdiscuz-html5-js');
|
669 |
+
}
|
670 |
+
|
671 |
+
wp_register_script('wpdiscuz-validator-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/validator.min.js'), array('jquery'), '1.0.0', false);
|
672 |
+
wp_enqueue_script('wpdiscuz-validator-js');
|
673 |
+
wp_register_style('wpdiscuz-validator-style', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/fv.min.css'));
|
674 |
+
wp_enqueue_style('wpdiscuz-validator-style');
|
675 |
+
wp_register_script('wpdiscuz-cookie-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/jquery.cookie.min.js'), array('jquery'), '1.4.1', false);
|
676 |
+
wp_enqueue_script('wpdiscuz-cookie-js');
|
677 |
+
wp_register_style('wpdiscuz-tooltipster-style', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/tooltipster/css/tooltipster.min.css'));
|
678 |
+
wp_enqueue_style('wpdiscuz-tooltipster-style');
|
679 |
+
wp_register_script('wpdiscuz-tooltipster-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/third-party/tooltipster/js/jquery.tooltipster.min.js'), array('jquery'), '1.2', false);
|
680 |
+
wp_enqueue_script('wpdiscuz-tooltipster-js');
|
681 |
+
wp_register_script('autogrowtextarea-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/jquery.autogrowtextarea.min.js'), array('jquery'), '3.0', false);
|
682 |
+
wp_enqueue_script('autogrowtextarea-js');
|
683 |
+
$wpdiscuz_js_options = $this->optionsSerialized->getOptionsForJs();
|
684 |
+
$wpdiscuz_js_options['wc_post_id'] = $post->ID;
|
685 |
+
$wpdiscuz_js_options['loadLastCommentId'] = $this->dbManager->getLastCommentId($post->ID);
|
686 |
+
wp_register_script('wpdiscuz-ajax-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/wpdiscuz.min.js'), array('jquery'), get_option(WpdiscuzCore::OPTION_SLUG_VERSION), false);
|
687 |
+
wp_enqueue_script('wpdiscuz-ajax-js');
|
688 |
+
wp_localize_script('wpdiscuz-ajax-js', 'wpdiscuz_ajax_obj', array('url' => admin_url('admin-ajax.php'), 'wpdiscuz_options' => $wpdiscuz_js_options));
|
689 |
+
}
|
690 |
+
}
|
691 |
+
|
692 |
+
public function pluginNewVersion() {
|
693 |
+
$this->dbManager->createEmailNotificationTable();
|
694 |
+
$wc_version = (!get_option(self::OPTION_SLUG_VERSION) ) ? '1.0.0' : get_option(self::OPTION_SLUG_VERSION);
|
695 |
+
$wc_plugin_data = get_plugin_data(__FILE__);
|
696 |
+
if (version_compare($wc_plugin_data['Version'], $wc_version, '>')) {
|
697 |
+
$oldOptions = maybe_unserialize(get_option(WpdiscuzCore::OPTION_SLUG_OPTIONS));
|
698 |
+
if (isset($oldOptions['wc_comment_list_order'])) {
|
699 |
+
update_option('comment_order', $oldOptions['wc_comment_list_order']);
|
700 |
+
}
|
701 |
+
if (isset($oldOptions['wc_comment_count'])) {
|
702 |
+
update_option('comments_per_page', $oldOptions['wc_comment_count']);
|
703 |
+
}
|
704 |
+
$this->addNewOptions();
|
705 |
+
$this->addNewPhrases();
|
706 |
+
if ($wc_version === '1.0.0') {
|
707 |
+
add_option(self::OPTION_SLUG_VERSION, $wc_plugin_data['Version']);
|
708 |
+
} else {
|
709 |
+
update_option(self::OPTION_SLUG_VERSION, $wc_plugin_data['Version']);
|
710 |
+
}
|
711 |
+
if (version_compare($wc_version, '2.1.2', '<=') && version_compare($wc_version, '1.0.0', '!=')) {
|
712 |
+
$this->dbManager->alterPhrasesTable();
|
713 |
+
}
|
714 |
+
|
715 |
+
if (version_compare($wc_version, '2.1.7', '<=') && version_compare($wc_version, '1.0.0', '!=')) {
|
716 |
+
$this->dbManager->alterVotingTable();
|
717 |
+
}
|
718 |
+
|
719 |
+
if (version_compare($wc_version, '3.0.0', '<=') && version_compare($wc_version, '1.0.0', '!=')) {
|
720 |
+
$this->dbManager->alterNotificationTable();
|
721 |
+
}
|
722 |
+
}
|
723 |
+
}
|
724 |
+
|
725 |
+
/**
|
726 |
+
* merge old and new options
|
727 |
+
*/
|
728 |
+
private function addNewOptions() {
|
729 |
+
$this->optionsSerialized->initOptions(get_option(self::OPTION_SLUG_OPTIONS));
|
730 |
+
$wc_new_options = $this->optionsSerialized->toArray();
|
731 |
+
update_option(self::OPTION_SLUG_OPTIONS, serialize($wc_new_options));
|
732 |
+
}
|
733 |
+
|
734 |
+
/**
|
735 |
+
* merge old and new phrases
|
736 |
+
*/
|
737 |
+
private function addNewPhrases() {
|
738 |
+
if ($this->dbManager->isPhraseExists('wc_leave_a_reply_text')) {
|
739 |
+
$wc_saved_phrases = $this->dbManager->getPhrases();
|
740 |
+
$this->optionsSerialized->initPhrases();
|
741 |
+
$wc_phrases = $this->optionsSerialized->phrases;
|
742 |
+
$wc_new_phrases = array_merge($wc_phrases, $wc_saved_phrases);
|
743 |
+
$this->dbManager->updatePhrases($wc_new_phrases);
|
744 |
+
}
|
745 |
+
}
|
746 |
+
|
747 |
+
/**
|
748 |
+
* create table
|
749 |
+
*/
|
750 |
+
public function createTables() {
|
751 |
+
$this->dbManager->dbCreateTables();
|
752 |
+
}
|
753 |
+
|
754 |
+
public function initPluginDirName() {
|
755 |
+
$pluginDirPath = plugin_dir_path(__FILE__);
|
756 |
+
$pathArray = array_values(array_filter(explode(DIRECTORY_SEPARATOR, $pluginDirPath)));
|
757 |
+
$pathLastPart = $pathArray[count($pathArray) - 1];
|
758 |
+
self::$PLUGIN_DIRECTORY = untrailingslashit($pathLastPart);
|
759 |
+
}
|
760 |
+
|
761 |
+
// Add settings link on plugin page
|
762 |
+
public function addPluginSettingsLink($links) {
|
763 |
+
$settingsLink = '<a href="' . admin_url() . 'edit-comments.php?page=wpdiscuz_options_page">' . __('Settings', 'wpdiscuz') . '</a>';
|
764 |
+
if (!$this->optionsSerialized->isUsePoMo) {
|
765 |
+
$settingsLink .= ' | <a href="' . admin_url() . 'edit-comments.php?page=wpdiscuz_phrases_page">' . __('Phrases', 'wpdiscuz') . '</a>';
|
766 |
+
}
|
767 |
+
array_unshift($links, $settingsLink);
|
768 |
+
return $links;
|
769 |
+
}
|
770 |
+
|
771 |
+
public function initCurrentPostType() {
|
772 |
+
global $post;
|
773 |
+
if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
|
774 |
+
add_filter('comments_template', array(&$this, 'addCommentForm'), 10);
|
775 |
+
}
|
776 |
+
}
|
777 |
+
|
778 |
+
public function addCommentForm($file) {
|
779 |
+
$file = dirname(__FILE__) . '/templates/comment/comment-form.php';
|
780 |
+
return $file;
|
781 |
+
}
|
782 |
+
|
783 |
+
private function getCommentListArgs() {
|
784 |
+
return array(
|
785 |
+
'callback' => array(&$this, 'commentCallback'),
|
786 |
+
'style' => 'div',
|
787 |
+
'echo' => false,
|
788 |
+
'isSingle' => false
|
789 |
+
);
|
790 |
+
}
|
791 |
+
|
792 |
+
}
|
793 |
+
|
794 |
+
$wpdiscuz = new WpdiscuzCore();
|
comment-form/form.php
DELETED
@@ -1,299 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
global $post, $wc_core, $current_user;
|
3 |
-
get_currentuserinfo();
|
4 |
-
|
5 |
-
error_reporting(0);
|
6 |
-
|
7 |
-
if ($wc_core->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
|
8 |
-
$wc_core->wc_options_serialized->wc_phrases = $wc_core->wc_db_helper->get_phrases();
|
9 |
-
}
|
10 |
-
|
11 |
-
$wc_comment_list_update_type = $wc_core->wc_options_serialized->wc_comment_list_update_type;
|
12 |
-
?>
|
13 |
-
<script type="text/javascript">
|
14 |
-
// initialize the wpdiscuzValidator function
|
15 |
-
wpdiscuzValidator.message['invalid'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>';
|
16 |
-
wpdiscuzValidator.message['empty'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>';
|
17 |
-
wpdiscuzValidator.message['email'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>';
|
18 |
-
wpdiscuzValidator.message['url'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_url_text']; ?>';
|
19 |
-
|
20 |
-
jQuery(document).ready(function ($) {
|
21 |
-
$(document).delegate('.wc-toggle', 'click', function () {
|
22 |
-
var toggleID = $(this).attr('id');
|
23 |
-
var uniqueID = toggleID.substring(toggleID.lastIndexOf('-') + 1);
|
24 |
-
$('#wc-comm-' + uniqueID + ' .wc-reply').slideToggle(500, function () {
|
25 |
-
if ($(this).is(':hidden')) {
|
26 |
-
$('#' + toggleID).html('<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_show_replies_text']; ?> ∨');
|
27 |
-
} else {
|
28 |
-
$('#' + toggleID).html('<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_hide_replies_text']; ?> ∧');
|
29 |
-
}
|
30 |
-
});
|
31 |
-
});
|
32 |
-
|
33 |
-
if ($.cookie('wc_author_name') !== '' && $.cookie('wc_author_email')) {
|
34 |
-
$('#wpcomm .wc_name').val($.cookie('wc_author_name'));
|
35 |
-
$('#wpcomm .wc_email').val($.cookie('wc_author_email'));
|
36 |
-
}
|
37 |
-
|
38 |
-
$('#wc_unsubscribe_message').delay(7000).fadeOut(1500, function () {
|
39 |
-
$(this).remove();
|
40 |
-
});
|
41 |
-
|
42 |
-
});
|
43 |
-
</script>
|
44 |
-
<?php
|
45 |
-
$textarea_placeholder = '';
|
46 |
-
if ($post->comment_count) {
|
47 |
-
$textarea_placeholder = $wc_core->wc_options_serialized->wc_phrases['wc_comment_join_text'];
|
48 |
-
} else {
|
49 |
-
$textarea_placeholder = $wc_core->wc_options_serialized->wc_phrases['wc_comment_start_text'];
|
50 |
-
}
|
51 |
-
$unique_id = $post->ID . '_' . 0;
|
52 |
-
$header_text = '<span class="wc_header_text_count">' . $post->comment_count . '</span> ';
|
53 |
-
$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'];
|
54 |
-
$header_text .= ' ' . $wc_core->wc_options_serialized->wc_phrases['wc_header_on_text'];
|
55 |
-
$header_text .= ' "' . get_the_title($post) . '"';
|
56 |
-
|
57 |
-
$wc_is_name_field_required = ($wc_core->wc_options_serialized->wc_is_name_field_required) ? 'required="required"' : '';
|
58 |
-
$wc_is_email_field_required = ($wc_core->wc_options_serialized->wc_is_email_field_required) ? 'required="required"' : '';
|
59 |
-
|
60 |
-
|
61 |
-
ob_start(); do_action('comment_form_top'); $wc_comment_form_top_content = ob_get_contents(); ob_clean();
|
62 |
-
if( strpos('champ_login') !== FALSE ){ if( preg_match_all('|<li[^><]*>.+?</li>|is', $wc_comment_form_top_content, $wc_social_buttons, PREG_SET_ORDER ) ){ foreach( $wc_social_buttons as $wc_social_button ){ $wc_social_buttons_array[] = $wc_social_button[0]; } $wc_comment_form_top_content = '<div class="wp-social-login-widget"><div class="wp-social-login-connect-with_by_the_champ">'.__('Connect with').':</div><div class="wp-social-login-provider-list"><ul class="wc_social_login_by_the_champ">'.implode('', $wc_social_buttons_array).'</ul><div style="clear:both"></div></div></div>'; } }
|
63 |
-
?>
|
64 |
-
<div style="clear:both"></div>
|
65 |
-
|
66 |
-
<?php if (comments_open($post->ID)): ?>
|
67 |
-
<div id="comments" class="comments-area">
|
68 |
-
<?php
|
69 |
-
if (isset($_GET['wpdiscuzSubscribeID']) && isset($_GET['key'])) {
|
70 |
-
$wc_core->wc_unsubscribe($_GET['wpdiscuzSubscribeID'], $_GET['key']);
|
71 |
-
?>
|
72 |
-
<div id="wc_unsubscribe_message">
|
73 |
-
<span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_unsubscribe_message']; ?></span>
|
74 |
-
</div>
|
75 |
-
<?php
|
76 |
-
}
|
77 |
-
?>
|
78 |
-
|
79 |
-
<?php
|
80 |
-
if (isset($_GET['wpdiscuzConfirmID']) && isset($_GET['wpdiscuzConfirmKey']) && isset($_GET['wpDiscuzComfirm'])) {
|
81 |
-
$wc_core->wc_db_helper->wc_notification_confirm($_GET['wpdiscuzConfirmID'], $_GET['wpdiscuzConfirmKey']);
|
82 |
-
?>
|
83 |
-
<div id="wc_unsubscribe_message">
|
84 |
-
<span class="wc_unsubscribe_message"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_comfirm_success_message']; ?></span>
|
85 |
-
</div>
|
86 |
-
<?php
|
87 |
-
}
|
88 |
-
?>
|
89 |
-
|
90 |
-
<?php if (comments_open($post->ID)) { ?>
|
91 |
-
<h3 id="wc-comment-header"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_leave_a_reply_text']; ?></h3>
|
92 |
-
<?php } ?>
|
93 |
-
<?php do_action('comment_form_before'); ?>
|
94 |
-
<?php
|
95 |
-
if ($wc_core->wc_options_serialized->wc_show_hide_loggedin_username) {
|
96 |
-
if (is_user_logged_in()) {
|
97 |
-
global $current_user;
|
98 |
-
get_currentuserinfo();
|
99 |
-
$user_url = get_author_posts_url($current_user->ID);
|
100 |
-
?>
|
101 |
-
<div id="wc_show_hide_loggedin_username">
|
102 |
-
<span class="wc_show_hide_loggedin_username">
|
103 |
-
<?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>'; ?>
|
104 |
-
</span>
|
105 |
-
</div>
|
106 |
-
<?php
|
107 |
-
}
|
108 |
-
}
|
109 |
-
?>
|
110 |
-
<div id="wpcomm">
|
111 |
-
<div class="wc-comment-bar">
|
112 |
-
<p class="wc-comment-title">
|
113 |
-
<?php echo ($post->comment_count) ? $header_text : $wc_core->wc_options_serialized->wc_phrases['wc_be_the_first_text']; ?>
|
114 |
-
</p>
|
115 |
-
<div style="clear:both"></div>
|
116 |
-
</div>
|
117 |
-
<div class="wc_social_plugin_wrapper">
|
118 |
-
<?php echo $wc_comment_form_top_content; ?>
|
119 |
-
</div>
|
120 |
-
<div class="wc-form-wrapper">
|
121 |
-
<?php
|
122 |
-
if ($wc_core->is_guest_can_comment()) {
|
123 |
-
?>
|
124 |
-
|
125 |
-
<form action="" method="post" id="wc_comm_form-<?php echo $unique_id; ?>" class="wc_comm_form wc_main_comm_form">
|
126 |
-
<div class="wc-field-comment">
|
127 |
-
<div class="wc-field-avatararea">
|
128 |
-
<?php echo $wc_core->wc_helper->get_comment_author_avatar(); ?>
|
129 |
-
</div>
|
130 |
-
<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>
|
131 |
-
<div style="clear:both"></div>
|
132 |
-
</div>
|
133 |
-
<div id="wc-form-footer-<?php echo $unique_id; ?>" class="wc-form-footer">
|
134 |
-
<?php if (!is_user_logged_in()) { ?>
|
135 |
-
<div class="wc-author-data">
|
136 |
-
<div class="wc-field-name wpdiscuz-item"><input id="wc_name-<?php echo $unique_id; ?>" class="wc_name wc_field_input" name="wc_name" <?php echo $wc_is_name_field_required; ?> value="" type="text" placeholder="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_name_text'] ?>"/></div>
|
137 |
-
<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" <?php echo $wc_is_email_field_required; ?> value="" type="email" placeholder="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_email_text']; ?>"/></div>
|
138 |
-
<div style="clear:both"></div>
|
139 |
-
</div>
|
140 |
-
<?php } ?>
|
141 |
-
<div class="wc-form-submit">
|
142 |
-
<?php if (!$wc_core->wc_options_serialized->wc_captcha_show_hide) { ?>
|
143 |
-
<?php if (!is_user_logged_in()) { ?>
|
144 |
-
<div class="wc-field-captcha wpdiscuz-item">
|
145 |
-
<input id="wc_captcha-<?php echo $unique_id; ?>" class="wc_field_input wc_field_captcha" name="wc_captcha" required="required" value="" type="text" />
|
146 |
-
<span class="wc-label wc-captcha-label">
|
147 |
-
<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"/>
|
148 |
-
<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"/>
|
149 |
-
</span>
|
150 |
-
<span class="captcha_msg"><?php echo $wc_core->wc_options_serialized->wc_phrases['wc_captcha_text']; ?></span>
|
151 |
-
</div>
|
152 |
-
<?php } ?>
|
153 |
-
<?php } ?>
|
154 |
-
<div class="wc-field-submit">
|
155 |
-
<?php if (!is_user_logged_in() && !$wc_core->wc_options_serialized->wc_weburl_show_hide) { ?>
|
156 |
-
<div class="wc-field-website wpdiscuz-item"><input id="wc_website-<?php echo $unique_id; ?>" class="wc_website wc_field_input" name="wc_website" value="" type="url" placeholder="<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_website_text'] ?>"/></div>
|
157 |
-
<?php } ?>
|
158 |
-
<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"/>
|
159 |
-
</div>
|
160 |
-
<div style="clear:both"></div>
|
161 |
-
</div>
|
162 |
-
<?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) { ?>
|
163 |
-
<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']; ?> ∨</span>
|
164 |
-
<?php } ?>
|
165 |
-
<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"' ?>>
|
166 |
-
<?php
|
167 |
-
$wc_is_user_subscription_confirmed = $wc_core->wc_db_helper->wc_is_user_subscription_confirmed($post->ID, $current_user->user_email);
|
168 |
-
$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'];
|
169 |
-
|
170 |
-
if ($wc_core->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
|
171 |
-
$none_status = '';
|
172 |
-
$post_sub_status = 'checked="checked"';
|
173 |
-
} else {
|
174 |
-
$none_status = 'checked="checked"';
|
175 |
-
$post_sub_status = '';
|
176 |
-
}
|
177 |
-
|
178 |
-
if (class_exists('Prompt_Comment_Form_Handling') && $wc_core->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
|
179 |
-
?>
|
180 |
-
<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>
|
181 |
-
<?php
|
182 |
-
} else {
|
183 |
-
if ($current_user->ID && $wc_core->wc_db_helper->wc_has_post_notification($post->ID, $current_user->user_email)) {
|
184 |
-
$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'];
|
185 |
-
?>
|
186 |
-
<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>
|
187 |
-
<?php
|
188 |
-
} else {
|
189 |
-
if ($current_user->ID && $wc_core->wc_db_helper->wc_has_all_comments_notification($post->ID, $current_user->user_email)) {
|
190 |
-
$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'];
|
191 |
-
?>
|
192 |
-
<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/>
|
193 |
-
<?php
|
194 |
-
} else {
|
195 |
-
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) {
|
196 |
-
?>
|
197 |
-
<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 />
|
198 |
-
<?php
|
199 |
-
}
|
200 |
-
if ($wc_core->wc_options_serialized->wc_show_hide_reply_checkbox) {
|
201 |
-
?>
|
202 |
-
<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 />
|
203 |
-
<?php
|
204 |
-
}
|
205 |
-
|
206 |
-
if ($wc_core->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
|
207 |
-
?>
|
208 |
-
<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 />
|
209 |
-
<?php
|
210 |
-
}
|
211 |
-
|
212 |
-
if ($wc_core->wc_options_serialized->wc_show_hide_comment_checkbox) {
|
213 |
-
?>
|
214 |
-
<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 />
|
215 |
-
<?php
|
216 |
-
}
|
217 |
-
}
|
218 |
-
}
|
219 |
-
}
|
220 |
-
?>
|
221 |
-
|
222 |
-
</div>
|
223 |
-
|
224 |
-
</div>
|
225 |
-
<input type="hidden" name="wc_comment_post_ID" value="<?php echo $post->ID; ?>" id="wc_comment_post_ID-<?php echo $unique_id; ?>" />
|
226 |
-
<input type="hidden" name="wc_comment_parent" value="0" id="wc_comment_parent-<?php echo $unique_id; ?>" />
|
227 |
-
</form>
|
228 |
-
<?php } else { ?>
|
229 |
-
<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>
|
230 |
-
<?php
|
231 |
-
}
|
232 |
-
?>
|
233 |
-
</div>
|
234 |
-
<hr/>
|
235 |
-
<?php if ($wc_comment_list_update_type == 2) { ?>
|
236 |
-
<div class="wc_new_comment_and_replies">
|
237 |
-
<div class="wc_new_comment"><span class="wc_new_comment_button_text"></span></div>
|
238 |
-
<div class="wc_new_reply"><span class="wc_new_reply_button_text"></span></div>
|
239 |
-
<div style="clear:both"></div>
|
240 |
-
</div>
|
241 |
-
<div style="clear:both"></div>
|
242 |
-
<?php } ?>
|
243 |
-
<?php else: ?>
|
244 |
-
<?php if ($post->comment_count > 0): ?>
|
245 |
-
<div class="comments-area" style="border:none;">
|
246 |
-
<?php else: ?>
|
247 |
-
<div class="comments-area" style="display:none">
|
248 |
-
<?php endif; ?>
|
249 |
-
<div id="wpcomm" style="border:none;">
|
250 |
-
<?php endif; ?>
|
251 |
-
<div class="wc-thread-wrapper">
|
252 |
-
<?php
|
253 |
-
$wc_wp_comments = $wc_core->get_wp_comments(1);
|
254 |
-
$wc_parent_comments_count = $wc_wp_comments['wc_parent_comments_count'];
|
255 |
-
echo $wc_wp_comments['wc_list'];
|
256 |
-
?>
|
257 |
-
</div>
|
258 |
-
<span style="display: none;">
|
259 |
-
<input type="hidden" name="wc_home_url" value="<?php echo plugins_url(); ?>" id="wc_home_url" />
|
260 |
-
<input type="hidden" name="wc_plugin_dir_url" value="<?php echo WC_Core::$PLUGIN_DIRECTORY; ?>" id="wc_plugin_dir_url" />
|
261 |
-
<input type="hidden" name="wc_comments_offset" id="wc_comments_offset" value="1" />
|
262 |
-
<input type="hidden" name="wc_parent_per_page" id="wc_parent_per_page" value="<?php echo $wc_core->wc_options_serialized->wc_comment_count; ?>" />
|
263 |
-
<input type="hidden" name="wc_parent_comments_count" id="wc_parent_comments_count" value="<?php echo $wc_parent_comments_count; ?>" />
|
264 |
-
<input type="hidden" name="wc_curr_user_comment_count" id="wc_curr_user_comment_count" class="wc_curr_user_comment_count" value="0" />
|
265 |
-
<?php
|
266 |
-
$wc_all_comments_count_old = $post->comment_count;
|
267 |
-
$wc_last_comment_id = $wc_core->wc_db_helper->get_last_comment_id_by_post_id($post->ID);
|
268 |
-
?>
|
269 |
-
<input type="hidden" name="wc_last_comment_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_comment_id" />
|
270 |
-
<input type="hidden" name="wc_last_comment_id_before_update" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_comment_id_before_update" />
|
271 |
-
<input type="hidden" name="wc_all_comments_count_old" value="<?php echo $wc_all_comments_count_old; ?>" id="wc_all_comments_count_old" />
|
272 |
-
<input type="hidden" name="wc_comment_list_update_type" value="<?php echo $wc_comment_list_update_type; ?>" id="wc_comment_list_update_type" />
|
273 |
-
<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" />
|
274 |
-
|
275 |
-
<input type="hidden" name="wc_last_new_comment_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_comment_id" />
|
276 |
-
<input type="hidden" name="wc_last_new_reply_id" value="<?php echo $wc_last_comment_id; ?>" id="wc_last_new_reply_id" />
|
277 |
-
<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" />
|
278 |
-
<input type="hidden" value="<?php echo $post->ID; ?>" id="wpdiscuz_current_post_id"/>
|
279 |
-
</span>
|
280 |
-
<div style="clear:both"></div>
|
281 |
-
<?php if (comments_open($post->ID)) { ?>
|
282 |
-
<?php if ($wc_core->wc_options_serialized->wc_show_plugin_powerid_by) { ?>
|
283 |
-
<div class="by-wpdiscuz"><span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
|
284 |
-
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> <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>
|
285 |
-
<?php } ?>
|
286 |
-
<?php } ?>
|
287 |
-
<div id="wc_openModalFormAction" class="modalDialog">
|
288 |
-
<div id="wc_response_info" class="wc_modal">
|
289 |
-
<div id="wc_response_info_box">
|
290 |
-
<a href="#close" title="Close" class="close"> </a>
|
291 |
-
<img width="64" height="64" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/loader/ajax-loader-200x200.gif'); ?>" />
|
292 |
-
</div>
|
293 |
-
</div>
|
294 |
-
</div>
|
295 |
-
</div><!-- wpcomm -->
|
296 |
-
</div><!-- comments-area -->
|
297 |
-
<?php if (comments_open($post->ID)) { ?>
|
298 |
-
<?php do_action('comment_form_after'); ?>
|
299 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
comment-form/tpl-comment.php
DELETED
@@ -1,435 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WC_Comment_Template_Builder {
|
4 |
-
|
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 |
-
|
18 |
-
/**
|
19 |
-
* @param type $comment the current comment object
|
20 |
-
* @param type $args
|
21 |
-
* @return single comment template
|
22 |
-
*/
|
23 |
-
public function get_comment_template($comment, $args, $depth) {
|
24 |
-
global $current_user;
|
25 |
-
get_currentuserinfo();
|
26 |
-
|
27 |
-
|
28 |
-
$comment_content = wp_kses($comment->comment_content, array(
|
29 |
-
'br' => array(),
|
30 |
-
'a' => array('href' => array(), 'title' => array(), 'target' => array(), 'rel' => array(), 'download' => array(), 'hreflang' => array(), 'media' => array(), 'type' => array()),
|
31 |
-
'i' => array(),
|
32 |
-
'b' => array(),
|
33 |
-
'u' => array(),
|
34 |
-
'strong' => array(),
|
35 |
-
'p' => array(),
|
36 |
-
'img' => array('src' => array(), 'width' => array(), 'height' => array(), 'alt' => array())
|
37 |
-
));
|
38 |
-
|
39 |
-
$comment_content = $this->wc_helper->make_clickable($comment_content);
|
40 |
-
$comment_content = apply_filters('comment_text', $comment_content, $comment, $args);
|
41 |
-
|
42 |
-
$vote_cls = '';
|
43 |
-
$vote_title_text = '';
|
44 |
-
$user = get_user_by('id', $comment->user_id);
|
45 |
-
$wc_author_title_class = '';
|
46 |
-
$wc_comment_author_url = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url;
|
47 |
-
$wc_comment_author_url = esc_url($wc_comment_author_url, array('http', 'https'));
|
48 |
-
$wc_comment_author_url = apply_filters('get_comment_author_url', $wc_comment_author_url, $comment->comment_ID, $comment);
|
49 |
-
if ($user) {
|
50 |
-
$wc_comment_author_url = $wc_comment_author_url ? $wc_comment_author_url : $user->user_url;
|
51 |
-
$post = get_post($comment->comment_post_ID);
|
52 |
-
if ($user->ID == $post->post_author) {
|
53 |
-
$wc_author_title_class = 'wc-post-author';
|
54 |
-
$author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_author_text'];
|
55 |
-
} else if (in_array('administrator', $user->roles)) {
|
56 |
-
$wc_author_title_class = 'wc-blog-admin';
|
57 |
-
$author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_admin_text'];
|
58 |
-
} else {
|
59 |
-
$wc_author_title_class = 'wc-blog-member';
|
60 |
-
$author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_member_text'];
|
61 |
-
}
|
62 |
-
} else {
|
63 |
-
$wc_author_title_class = 'wc-blog-guest';
|
64 |
-
$author_title = $this->wc_options_serialized->wc_phrases['wc_user_title_guest_text'];
|
65 |
-
}
|
66 |
-
|
67 |
-
if ($this->wc_options_serialized->wc_simple_comment_date) {
|
68 |
-
$date_format = get_option('date_format');
|
69 |
-
$time_format = get_option('time_format');
|
70 |
-
if (WC_Helper::is_posted_today($comment)) {
|
71 |
-
$posted_date = $this->wc_options_serialized->wc_phrases['wc_posted_today_text'] . ' ' . mysql2date($time_format, $comment->comment_date);
|
72 |
-
} else {
|
73 |
-
$posted_date = get_comment_date($date_format, $comment->comment_ID);
|
74 |
-
}
|
75 |
-
} else {
|
76 |
-
$posted_date = $this->wc_helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 2);
|
77 |
-
}
|
78 |
-
|
79 |
-
$reply_text = $this->wc_options_serialized->wc_phrases['wc_reply_text'];
|
80 |
-
$share_text = $this->wc_options_serialized->wc_phrases['wc_share_text'];
|
81 |
-
$comment_wrapper_class = ($comment->comment_parent) ? 'wc-comment wc-reply' : 'wc-comment';
|
82 |
-
$textarea_placeholder = $this->get_textarea_placeholder($comment);
|
83 |
-
|
84 |
-
$vote_count = ($comment->votes) ? $comment->votes : 0;
|
85 |
-
$unique_id = $this->get_unique_id($comment);
|
86 |
-
|
87 |
-
$wc_author_name = $comment->comment_author ? $comment->comment_author : __('Anonymous', WC_Core::$TEXT_DOMAIN);
|
88 |
-
$wc_comm_author_avatar = $this->wc_helper->get_comment_author_avatar($comment);
|
89 |
-
$wc_profile_url = $this->get_profile_url($user);
|
90 |
-
|
91 |
-
if ($wc_profile_url) {
|
92 |
-
$wc_comm_author_avatar = "<a href='$wc_profile_url'>" . $this->wc_helper->get_comment_author_avatar($comment) . "</a>";
|
93 |
-
} else {
|
94 |
-
$wc_comm_author_avatar = $this->wc_helper->get_comment_author_avatar($comment);
|
95 |
-
}
|
96 |
-
|
97 |
-
if ($wc_comment_author_url) {
|
98 |
-
$wc_author_name = "<a href='$wc_comment_author_url'>" . $wc_author_name . "</a>";
|
99 |
-
} else {
|
100 |
-
if ($wc_profile_url) {
|
101 |
-
$wc_author_name = "<a href='$wc_profile_url'>" . $wc_author_name . "</a>";
|
102 |
-
}
|
103 |
-
}
|
104 |
-
|
105 |
-
$child_comments = get_comments(array(
|
106 |
-
'parent' => $comment->comment_ID,
|
107 |
-
'status' => 'approve'
|
108 |
-
));
|
109 |
-
|
110 |
-
if (!$this->wc_options_serialized->wc_is_guest_can_vote && !is_user_logged_in()) {
|
111 |
-
$vote_cls = ' wc_tooltipster';
|
112 |
-
$vote_title_text = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
|
113 |
-
$vote_up = $vote_title_text;
|
114 |
-
$vote_down = $vote_title_text;
|
115 |
-
} else {
|
116 |
-
$vote_cls = ' wc_vote wc_tooltipster';
|
117 |
-
$vote_up = $this->wc_options_serialized->wc_phrases['wc_vote_up'];
|
118 |
-
$vote_down = $this->wc_options_serialized->wc_phrases['wc_vote_down'];
|
119 |
-
}
|
120 |
-
|
121 |
-
$parent_comment = (!$comment->comment_parent && count($child_comments)) ? ' parnet_comment' : '';
|
122 |
-
|
123 |
-
$wc_visible_parent_comment_ids = isset($args['wc_visible_parent_comment_ids']) ? $args['wc_visible_parent_comment_ids'] : null;
|
124 |
-
$comment_content_class = ($wc_visible_parent_comment_ids != null && !in_array($comment->comment_ID, $wc_visible_parent_comment_ids)) ? ' wc_new_loaded_comment' : '';
|
125 |
-
|
126 |
-
$output = '<div id="wc-comm-' . $unique_id . '" class="' . $comment_wrapper_class . ' ' . $parent_comment . ' wc_comment_level-' . $depth . '">';
|
127 |
-
$output .= '<div class="wc-comment-left" id="comment-' . $comment->comment_ID . '">' . $wc_comm_author_avatar;
|
128 |
-
if (!$this->wc_options_serialized->wc_author_titles_show_hide) {
|
129 |
-
$output .= '<div class="' . $wc_author_title_class . ' wc-comment-label">' . $author_title . '</div>';
|
130 |
-
}
|
131 |
-
if (class_exists('userpro_api') && $comment->user_id) {
|
132 |
-
$output .= userpro_show_badges($comment->user_id, $inline = true);
|
133 |
-
}
|
134 |
-
$output .= '</div>';
|
135 |
-
$output .= '<div class="wc-comment-right ' . $comment_content_class . '">';
|
136 |
-
$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>';
|
137 |
-
$output .= '<div class="wc-comment-text">' . $comment_content . '</div>';
|
138 |
-
$output .= '<div class="wc-comment-footer">';
|
139 |
-
if (!$this->wc_options_serialized->wc_voting_buttons_show_hide) {
|
140 |
-
$output .= '<div id="vote-count-' . $unique_id . '" class="wc-vote-result">' . $vote_count . '</div>';
|
141 |
-
$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> | <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> ';
|
142 |
-
}
|
143 |
-
|
144 |
-
if (comments_open($comment->comment_post_ID)) {
|
145 |
-
if ($this->wc_options_serialized->wc_user_must_be_registered) {
|
146 |
-
if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
|
147 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
148 |
-
} else if ($this->is_user_can_reply_by_role('administrator')) {
|
149 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
150 |
-
}
|
151 |
-
} else {
|
152 |
-
if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options_serialized->wc_reply_button_guests_show_hide) {
|
153 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
154 |
-
} else if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
|
155 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
156 |
-
} else if (!$this->wc_options_serialized->wc_reply_button_guests_show_hide && !is_user_logged_in()) {
|
157 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
158 |
-
} else if ($this->is_user_can_reply_by_role('administrator')) {
|
159 |
-
$output .= ' <span id="wc-comm-reply-' . $unique_id . '" class="wc-reply-link" title="' . $reply_text . '">' . $reply_text . '</span> ';
|
160 |
-
}
|
161 |
-
}
|
162 |
-
}
|
163 |
-
|
164 |
-
if (!$this->wc_options_serialized->wc_share_buttons_show_hide) {
|
165 |
-
$output .= '- <span id="wc-comm-share-' . $unique_id . '" class="wc-share-link" title="' . $share_text . '">' . $share_text . '</span> ';
|
166 |
-
|
167 |
-
$twitt_content = strip_tags($comment_content) . ' ' . get_comment_link($comment);
|
168 |
-
|
169 |
-
$output .= '<span id="share_buttons_box-' . $unique_id . '" class="share_buttons_box">';
|
170 |
-
$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') . '" onmouseover="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/fb-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/fb-18x18.png') . '\'"/></a> ';
|
171 |
-
$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') . '" onmouseover="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/twitter-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/twitter-18x18.png') . '\'"/></a> ';
|
172 |
-
$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') . '" onmouseover="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/google-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/google-18x18.png') . '\'"/></a> ';
|
173 |
-
$output .= '<a target="_blank" href="http://vk.com/share.php?url=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->wc_options_serialized->wc_phrases['wc_share_vk'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/vk-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/vk-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/vk-18x18.png') . '\'"/></a> ';
|
174 |
-
$output .= '<a target="_blank" href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->wc_options_serialized->wc_phrases['wc_share_ok'] . '"><img src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/ok-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/ok-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/social-icons/ok-18x18.png') . '\'"/></a> ';
|
175 |
-
$output .= '</span>';
|
176 |
-
}
|
177 |
-
|
178 |
-
if (current_user_can('edit_comment', $comment->comment_ID)) {
|
179 |
-
$output .= '- <a href="' . get_edit_comment_link($comment->comment_ID) . '">' . __('Edit', 'default') . '</a>';
|
180 |
-
} else {
|
181 |
-
if ($this->wc_helper->is_comment_editable($comment) && $current_user->ID && $current_user->ID == $comment->user_id) {
|
182 |
-
$output .= '<span id="wc_editable_comment-' . $unique_id . '" class="wc_editable_comment">- ' . $this->wc_options_serialized->wc_phrases['wc_edit_text'] . '</span>';
|
183 |
-
$output .= '<span id="wc_cancel_edit-' . $unique_id . '" class="wc_cancel_edit">- ' . $this->wc_options_serialized->wc_phrases['wc_comment_edit_cancel_button'] . '</span>';
|
184 |
-
$output .= '<span id="wc_save_edited_comment-' . $unique_id . '" class="wc_save_edited_comment" style="display:none;"> - ' . $this->wc_options_serialized->wc_phrases['wc_comment_edit_save_button'] . '</span>';
|
185 |
-
}
|
186 |
-
}
|
187 |
-
|
188 |
-
$visibility = 'none';
|
189 |
-
if (!$comment->comment_parent && count($child_comments)) {
|
190 |
-
$visibility = 'block';
|
191 |
-
$output .= '<span id="wc-toggle-' . $unique_id . '" class="wc-toggle" style="display:' . $visibility . ';">' . $this->wc_options_serialized->wc_phrases['wc_hide_replies_text'] . ' ∧</span>';
|
192 |
-
}
|
193 |
-
|
194 |
-
$output .= '</div>';
|
195 |
-
$output .= '</div>';
|
196 |
-
$output .= '<div style="clear:both"></div>';
|
197 |
-
|
198 |
-
$output_form = '';
|
199 |
-
|
200 |
-
if (comments_open($comment->comment_post_ID)) {
|
201 |
-
|
202 |
-
$output_form = '<div class="wc-form-wrapper wc-secondary-forms-wrapper" id="wc-secondary-forms-wrapper-' . $unique_id . '">';
|
203 |
-
$output_form .= '<div class="wc-secondary-forms-social-content" id="wc-secondary-forms-social-content-' . $unique_id . '"></div>';
|
204 |
-
$output_form .= '<form action="" method="post" id="wc_comm_form-' . $unique_id . '" class="wc_comm_form wc_secondary_form">';
|
205 |
-
$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>';
|
206 |
-
|
207 |
-
$output_form .= '<div id="wc-form-footer-' . $unique_id . '" class="wc-form-footer">';
|
208 |
-
|
209 |
-
if (!is_user_logged_in()) {
|
210 |
-
$wc_is_name_field_required = ($this->wc_options_serialized->wc_is_name_field_required) ? 'required="required"' : '';
|
211 |
-
$wc_is_email_field_required = ($this->wc_options_serialized->wc_is_email_field_required) ? 'required="required"' : '';
|
212 |
-
|
213 |
-
$output_form .= '<div class="wc-author-data">';
|
214 |
-
$output_form .= '<div class="wc-field-name wpdiscuz-item">';
|
215 |
-
$output_form .= '<input id="wc_name-' . $unique_id . '" name="wc_name" class="wc_name wc_field_input" ' . $wc_is_name_field_required . ' value="" type="text" placeholder="' . $this->wc_options_serialized->wc_phrases['wc_name_text'] . '"/>';
|
216 |
-
$output_form .= '</div>';
|
217 |
-
$output_form .= '<div class="wc-field-email wpdiscuz-item">';
|
218 |
-
$output_form .= '<input id="wc_email-' . $unique_id . '" class="wc_email wc_field_input email" name="wc_email" ' . $wc_is_email_field_required . ' value="" type="email" placeholder="' . $this->wc_options_serialized->wc_phrases['wc_email_text'] . '"/>';
|
219 |
-
$output_form .= '</div>';
|
220 |
-
$output_form .= '<div style="clear:both"></div>';
|
221 |
-
$output_form .= '</div>';
|
222 |
-
}
|
223 |
-
|
224 |
-
$output_form .= '<div class="wc-form-submit">';
|
225 |
-
|
226 |
-
if (!$this->wc_options_serialized->wc_captcha_show_hide) {
|
227 |
-
if (!is_user_logged_in()) {
|
228 |
-
$output_form .= '<div class="wc-field-captcha wpdiscuz-item">';
|
229 |
-
$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">';
|
230 |
-
$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 . '" />';
|
231 |
-
$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" />';
|
232 |
-
$output_form .= '</span><span class="captcha_msg">' . $this->wc_options_serialized->wc_phrases['wc_captcha_text'] . '</span></div>';
|
233 |
-
}
|
234 |
-
}
|
235 |
-
|
236 |
-
$output_form .= '<div class="wc-field-submit">';
|
237 |
-
if (!is_user_logged_in() && !$this->wc_options_serialized->wc_weburl_show_hide) {
|
238 |
-
$output_form .= '<div class="wc-field-website wpdiscuz-item">';
|
239 |
-
$output_form .= '<input id="wc_website-' . $unique_id . '" class="wc_website wc_field_input" name="wc_website" value="" type="url" placeholder="' . $this->wc_options_serialized->wc_phrases['wc_website_text'] . '"/>';
|
240 |
-
$output_form .= '</div>';
|
241 |
-
}
|
242 |
-
$output_form .= '<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"/>';
|
243 |
-
$output_form .= '</div>';
|
244 |
-
$output_form .= '<div style="clear:both"></div>';
|
245 |
-
|
246 |
-
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) {
|
247 |
-
$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'] . ' ∨</span>';
|
248 |
-
}
|
249 |
-
|
250 |
-
$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"' : '') . '>';
|
251 |
-
|
252 |
-
|
253 |
-
$wc_is_user_subscription_confirmed = $this->wc_db_helper->wc_is_user_subscription_confirmed($comment->comment_post_ID, $current_user->user_email);
|
254 |
-
$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'];
|
255 |
-
|
256 |
-
if ($this->wc_options_serialized->wc_comment_reply_checkboxes_default_checked == 1) {
|
257 |
-
$none_status = '';
|
258 |
-
$post_sub_status = 'checked="checked"';
|
259 |
-
} else {
|
260 |
-
$none_status = 'checked="checked"';
|
261 |
-
$post_sub_status = '';
|
262 |
-
}
|
263 |
-
|
264 |
-
if (class_exists('Prompt_Comment_Form_Handling') && $this->wc_options_serialized->wc_use_postmatic_for_comment_notification) {
|
265 |
-
$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>';
|
266 |
-
} else {
|
267 |
-
if ($current_user->ID && $this->wc_db_helper->wc_has_post_notification($comment->comment_post_ID, $current_user->user_email)) {
|
268 |
-
$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'];
|
269 |
-
$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>';
|
270 |
-
} else {
|
271 |
-
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) {
|
272 |
-
$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'];
|
273 |
-
$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/>';
|
274 |
-
} else {
|
275 |
-
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) {
|
276 |
-
$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'];
|
277 |
-
$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/>';
|
278 |
-
} else {
|
279 |
-
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) {
|
280 |
-
$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 />';
|
281 |
-
}
|
282 |
-
if ($this->wc_options_serialized->wc_show_hide_reply_checkbox) {
|
283 |
-
$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 />';
|
284 |
-
}
|
285 |
-
if ($this->wc_options_serialized->wc_show_hide_all_reply_checkbox) {
|
286 |
-
$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 />';
|
287 |
-
}
|
288 |
-
|
289 |
-
if ($this->wc_options_serialized->wc_show_hide_comment_checkbox) {
|
290 |
-
$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>';
|
291 |
-
}
|
292 |
-
}
|
293 |
-
}
|
294 |
-
}
|
295 |
-
}
|
296 |
-
|
297 |
-
$output_form .= '</div>';
|
298 |
-
$output_form .= '</div>';
|
299 |
-
$output_form .= '</div>';
|
300 |
-
|
301 |
-
$output_form .= '<input type="hidden" name="wc_home_url" value="' . plugins_url() . '" id="wc_home_url-' . $unique_id . '" />';
|
302 |
-
$output_form .= '<input type="hidden" name="wc_comment_post_ID" value="' . $comment->comment_post_ID . '" id="wc_comment_post_ID-' . $unique_id . '" />';
|
303 |
-
$output_form .= '<input type="hidden" name="wc_comment_parent" value="' . $comment->comment_ID . '" id="wc_comment_parent-' . $unique_id . '" />';
|
304 |
-
|
305 |
-
$output_form .= '</form>';
|
306 |
-
$output_form .= '</div>';
|
307 |
-
}
|
308 |
-
|
309 |
-
if ($this->wc_options_serialized->wc_user_must_be_registered) {
|
310 |
-
if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
|
311 |
-
$output .= $output_form;
|
312 |
-
} else if ($this->is_user_can_reply_by_role('administrator')) {
|
313 |
-
$output .= $output_form;
|
314 |
-
}
|
315 |
-
} else {
|
316 |
-
if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && !$this->wc_options_serialized->wc_reply_button_guests_show_hide) {
|
317 |
-
$output .= $output_form;
|
318 |
-
} else if (!$this->wc_options_serialized->wc_reply_button_members_show_hide && is_user_logged_in()) {
|
319 |
-
$output .= $output_form;
|
320 |
-
} else if (!$this->wc_options_serialized->c_reply_button_guests_show_hide && !is_user_logged_in()) {
|
321 |
-
$output .=
|
322 |
-
|
323 |
-
$output_form;
|
324 |
-
} else if ($this->is_user_can_reply_by_role('administrator')) {
|
325 |
-
$output .= $output_form;
|
326 |
-
}
|
327 |
-
}
|
328 |
-
|
329 |
-
return $output;
|
330 |
-
}
|
331 |
-
|
332 |
-
/**
|
333 |
-
* User can comment in product by role
|
334 |
-
*/
|
335 |
-
private function is_user_can_reply_by_role($role) {
|
336 |
-
$user_can_comment = FALSE;
|
337 |
-
if (is_user_logged_in()) {
|
338 |
-
|
339 |
-
$current_user = wp_get_current_user();
|
340 |
-
$roles = $current_user->roles;
|
341 |
-
if (in_array($role, $roles)) {
|
342 |
-
$user_can_comment = TRUE;
|
343 |
-
}
|
344 |
-
}
|
345 |
-
return $user_can_comment;
|
346 |
-
}
|
347 |
-
|
348 |
-
public function init_phrases_on_load() {
|
349 |
-
|
350 |
-
if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
|
351 |
-
$this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
|
352 |
-
}
|
353 |
-
}
|
354 |
-
|
355 |
-
/**
|
356 |
-
*
|
357 |
-
* get profile url
|
358 |
-
*/
|
359 |
-
private function get_profile_url($user) {
|
360 |
-
$wc_profile_url = '';
|
361 |
-
$wc_profile_url_filter = '';
|
362 |
-
if ($user) {
|
363 |
-
if (class_exists('BuddyPress')) {
|
364 |
-
$wc_profile_url = bp_core_get_user_domain($user->ID);
|
365 |
-
} else if (class_exists('XooUserUltra')) {
|
366 |
-
global $xoouserultra;
|
367 |
-
$wc_profile_url = $xoouserultra->userpanel->get_user_profile_permalink($user->ID);
|
368 |
-
} else if (class_exists('userpro_api')) {
|
369 |
-
global $userpro;
|
370 |
-
$wc_profile_url = $userpro->permalink($user->ID);
|
371 |
-
} else if (class_exists('UM_API')) {
|
372 |
-
um_fetch_user($user->ID);
|
373 |
-
$wc_profile_url = um_user_profile_url();
|
374 |
-
} else {
|
375 |
-
if (count_user_posts($user->ID)) {
|
376 |
-
$wc_profile_url = get_author_posts_url($user->ID);
|
377 |
-
}
|
378 |
-
}
|
379 |
-
$user_id = $user->ID;
|
380 |
-
$wc_profile_url_data = apply_filters('wpdiscuz_profile_url', array('user_id' => $user_id, 'permalink' => ''));
|
381 |
-
|
382 |
-
$wc_profile_url_filter = $wc_profile_url_data['permalink'];
|
383 |
-
}
|
384 |
-
|
385 |
-
return $wc_profile_url_filter ? $wc_profile_url_filter : $wc_profile_url;
|
386 |
-
}
|
387 |
-
|
388 |
-
/**
|
389 |
-
* returns placeholder for textarea from options page phrases
|
390 |
-
*/
|
391 |
-
public function get_textarea_placeholder($comment) {
|
392 |
-
$post = get_post($comment->comment_post_ID);
|
393 |
-
if ($post->comment_count) {
|
394 |
-
$textarea_placeholder = $this->wc_options_serialized->wc_phrases['wc_comment_join_text'];
|
395 |
-
} else {
|
396 |
-
|
397 |
-
$textarea_placeholder = $this->wc_options_serialized->wc_phrases['wc_comment_start_text'];
|
398 |
-
}
|
399 |
-
return $textarea_placeholder;
|
400 |
-
}
|
401 |
-
|
402 |
-
/**
|
403 |
-
* returns unique id based on comment and post ids
|
404 |
-
*/
|
405 |
-
public function get_unique_id($comment) {
|
406 |
-
$unique_id = $comment->
|
407 |
-
comment_post_ID . '_' . $comment->comment_ID;
|
408 |
-
return $unique_id;
|
409 |
-
}
|
410 |
-
|
411 |
-
/**
|
412 |
-
* set wpc helper
|
413 |
-
*/
|
414 |
-
public function set_wc_helper(
|
415 |
-
$wc_helper) {
|
416 |
-
$this->wc_helper = $wc_helper;
|
417 |
-
}
|
418 |
-
|
419 |
-
/**
|
420 |
-
* set db helper
|
421 |
-
*/
|
422 |
-
public function set_wc_db_helper($wc_db_helper) {
|
423 |
-
$this->wc_db_helper = $wc_db_helper;
|
424 |
-
}
|
425 |
-
|
426 |
-
/**
|
427 |
-
* set wpc options
|
428 |
-
*/
|
429 |
-
public function set_wc_options($wc_options) {
|
430 |
-
$this->wc_options = $wc_options;
|
431 |
-
}
|
432 |
-
|
433 |
-
}
|
434 |
-
|
435 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dto/wc-comment.php
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WC_Comment {
|
4 |
-
|
5 |
-
public $comment_ID;
|
6 |
-
public $comment_post_ID;
|
7 |
-
public $comment_author;
|
8 |
-
public $comment_author_email;
|
9 |
-
public $comment_author_url;
|
10 |
-
public $comment_author_IP;
|
11 |
-
public $comment_date;
|
12 |
-
public $comment_date_gmt;
|
13 |
-
public $comment_content;
|
14 |
-
public $comment_karma;
|
15 |
-
public $comment_approved;
|
16 |
-
public $comment_agent;
|
17 |
-
public $comment_type;
|
18 |
-
public $comment_parent;
|
19 |
-
public $user_id;
|
20 |
-
public $votes;
|
21 |
-
|
22 |
-
public function __construct($comment) {
|
23 |
-
$this->comment_ID = $comment->comment_ID;
|
24 |
-
$this->comment_post_ID = $comment->comment_post_ID;
|
25 |
-
$this->comment_author = $comment->comment_author;
|
26 |
-
$this->comment_author_email = $comment->comment_author_email;
|
27 |
-
$this->comment_author_url = $comment->comment_author_url;
|
28 |
-
$this->comment_author_IP = $comment->comment_author_IP;
|
29 |
-
$this->comment_date = $comment->comment_date;
|
30 |
-
$this->comment_date_gmt = $comment->comment_date_gmt;
|
31 |
-
$this->comment_content = $comment->comment_content;
|
32 |
-
$this->comment_karma = $comment->comment_karma;
|
33 |
-
$this->comment_approved = $comment->comment_approved;
|
34 |
-
$this->comment_agent = $comment->comment_agent;
|
35 |
-
$this->comment_type = $comment->comment_type;
|
36 |
-
$this->comment_parent = $comment->comment_parent;
|
37 |
-
$this->user_id = $comment->user_id;
|
38 |
-
$this->votes = $this->get_vote_count($comment->comment_ID);
|
39 |
-
}
|
40 |
-
|
41 |
-
public function get_vote_count($comment_id) {
|
42 |
-
return get_comment_meta($comment_id, 'wpdiscuz_votes', true);
|
43 |
-
}
|
44 |
-
|
45 |
-
public function get_votes() {
|
46 |
-
return $this->votes;
|
47 |
-
}
|
48 |
-
|
49 |
-
public function set_votes($votes) {
|
50 |
-
$this->votes = $votes;
|
51 |
-
}
|
52 |
-
|
53 |
-
}
|
54 |
-
|
55 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
files/css/options-css.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.wc-form tr:nth-child(even){background:#fff}.wc-form tr:nth-child(odd){background:#fbfbfb}.form-table.wc-form-table tr{background:transparent}.wpdiscuz_options_page .wc-phrases-settings-form input[type="text"],.wpdiscuz_options_page .wc-phrases-settings-form textarea{width:300px}
|
|
files/css/wpdiscuz-rtl.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
#wpcomm .wc-field-comment .wc-field-textarea{margin-left:2px;margin-right:65px}#wpcomm .wc-form-wrapper .avatar{margin-top:0}#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:0;margin-right:70px}#wpcomm .wc-comment-author{float:right}#wpcomm .wc-comment-date{float:left}#wpcomm .wc-comment-footer .wc-vote-result{margin-right:0;margin-left:5px}#wpcomm .wc-toggle{float:left}
|
|
files/css/wpdiscuz.min.css
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
#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:0;height:auto;width:auto}#wpcomm{margin:15px 5px;padding:1px 0 10px 0;border-top:#ddd solid 1px}#wpcomm form{margin:0;padding:0;background:0;border:0;width:auto!important}#wpcomm form div{margin:0}#wc_show_hide_loggedin_username{padding:10px 5px 5px 5px;font-size:13px}#wpcomm .wc_new_comment_and_replies{margin:0;padding:0;width:100%;height:auto;background:transparent}#wpcomm .wc_new_comment_and_replies .wc_new_comment{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 3px;cursor:pointer;color:#fff;line-height:15px}#wpcomm .wc_new_comment_and_replies .wc_new_reply{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 1px;cursor:pointer;color:#fff;line-height:15px}#wpcomm .wc-comment-bar{width:100%;padding:0;display:block}#wpcomm .wc-comment-title{margin:0;line-height:18px;font-weight:bold;padding:10px;margin-bottom:10px;font-size:13px;text-align:right;border-bottom:#ccc dotted 1px;padding-bottom:10px}#wpcomm .wc-form-wrapper{padding:10px;margin-top:20px;border:1px solid #f1f1f1}#wpcomm .wc-author-data{margin-bottom:3px}#wpcomm .wc-field-submit{padding:5px 0 13px 0}#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:49%;float:left;margin:0;height:auto!important}#wpcomm .wc-field-submit{width:49%;float:right;text-align:right;margin:0}#wpcomm .wc-field-website{width:100%;padding:0 0 10px 0;margin:0;display:block}#wpcomm .wc-field-name input[type="text"]{width:99%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-website input[type="url"],#wpcomm .wc-field-website input[type="text"]{width:100%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-email input[type="email"]{width:100%;max-width:100%;padding:3px 5px;font-size:14px;margin:0;height:29px}#wpcomm .wc-field-captcha input[type="text"]{max-width:55%;min-width:110px;padding:3px 5px;font-size:14px;margin:0 5px 2px 0;height:27px}@media screen and (max-width:1000px){#wpcomm .wc-field-captcha input[type="text"]{max-width:45%;min-width:90px}}@media screen and (max-width:850px){#wpcomm .wc-field-captcha input[type="text"]{max-width:35%;min-width:90px}}@media screen and (max-width:790px){#wpcomm .wc-field-captcha input[type="text"]{max-width:30%;min-width:80px}}@media screen and (max-width:690px){#wpcomm .wc-field-captcha input[type="text"]{max-width:30%;min-width:80px}}#wpcomm .wc-field-submit input[type="submit"]{margin:1px}#wpcomm .wc-field-submit input[type="button"]{margin:1px;border:#ddd 1px solid;font-size:13px;line-height:16px;padding:6px 15px;clear:both;float:none}#wpcomm .captcha_msg{color:#999;font-family:Lato,sans-serif;font-size:13px;line-height:18px;display:block;clear:both;padding:5px 0 0 0}#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:0}#wpcomm .wc-label{display:block;font-size:14px;padding:5px}#wpcomm .wc_manage_subscribtions{cursor:pointer;padding:0 0 5px 0;display:block;font-size:13px;line-height:16px;font-family:Lato,sans-serif}#wpcomm .wc_notification_checkboxes{padding:7px 0 7px 0;text-align:left;display:none;border-top:1px dotted #ddd;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:0;padding:0;display:inline;clear:both;float:none;max-height:20px;margin:0 3px}#wpcomm .wc_notification_checkboxes label{clear:both;float:none;font-weight:normal}#wpcomm .wc-label-comment-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}#wpcomm .wc-label-reply-notify,#wpcomm .wc-notification-none{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}#wpcomm .wc-label-all-reply-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;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 input[type="url"],#wpcomm textarea{font-size:14px;color:#777;font-family:Lato,sans-serif;box-sizing:border-box;margin:0;clear:both;float:none;display:inline}#wpcomm .wc-copyright{margin:0 0 0 auto;text-align:right;display:block;padding-top:2px}#wpcomm .wc-copyright a{font-size:9px;color:#aaa;cursor:help;text-decoration:none;margin:0;padding:0;border:0}#wpcomm .wc-thread-wrapper{padding:10px 0;margin-bottom:10px}#wpcomm .wc-comment{margin-bottom:13px}#wpcomm .wc-comment .wc-field-submit{padding:5px 0 5px 0}#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}#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:0;margin-left:40px}#wpcomm .wc-must-login{margin:0;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 0}#wpcomm .avatar{border:1px solid rgba(0,0,0,0.1);padding:2px;margin:0 auto;float:none;display:inline;width:48px;height:auto}#wpcomm .wc-form-wrapper .avatar{margin-top:3px}#wpcomm .wc-comment-text{text-align:left;padding-bottom:5px;line-height:20px;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{font-size:16px;width:40%;float:left;white-space:nowrap}#wpcomm .wc-comment-author a{font-size:16px;white-space:nowrap;text-decoration:none}#wpcomm .wc-comment-label{color:#fff;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:#999;float:right;text-align:right;white-space:nowrap;line-height:27px}#wpcomm .wc-comment-footer{font-size:12px;font-weight:normal;color:#999;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;cursor:pointer}#wpcomm .wc-comment-footer .share_buttons_box img{vertical-align:middle}#wpcomm .wc-comment-footer .wc-voted{color:#666;cursor:default}#wpcomm .wc-comment-footer .wc-vote-img-up{padding:0;margin:0 0 -2px 0;vertical-align:baseline;display:inline;float:none;clear:both;border:0;background:transparent;width:16px;height:16px;border-radius:0;box-shadow:none;box-sizing:border-box}#wpcomm .wc-comment-footer .wc-vote-img-down{padding:0;margin:0 0 -6px 0;vertical-align:baseline;display:inline;float:none;clear:both;border:0;background:transparent;width:16px;height:16px;border-radius:0;box-shadow:none;box-sizing:border-box}#wpcomm .wc-comment-footer .wc-vote-result{padding:2px 6px 2px 5px;color:#fff;font-size:12px;font-weight:bold;display:inline;margin-right:5px}#wpcomm .wc-toggle{float:right;text-align:right;padding-right:0;margin-right:0;color:#999;cursor:pointer;font-size:12px;white-space:nowrap}#wpcomm .wpdiscuz-item{background:0;border-radius:0;box-shadow:none}#wc_response_info img{margin:0 auto 0 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:0;padding:0 0 0 2px;margin:0;vertical-align:middle}#wpcomm .wc-reply-link,#wpcomm .wc-vote-link,#wpcomm .wc-share-link{cursor:pointer;font-size:13px;font-weight:bold}#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-comment.wc-no-left-margin{margin-left:0!important}div.wc_modal{background:none repeat scroll 0 0 #ededed;color:#444;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-radius:3px;color:#555;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:#444;font-size:18px;font-weight:normal;padding:45px 10px 50px 10px!important;text-align:center;line-height:25px}#wc_openModalFormAction>div#wc_response_info a.close{background-position-x:right;background-position-y:top}#wpcomm #bywpdiscuz{display:none}#wpcomm .by-wpdiscuz{text-align:right;border-top:#ddd solid 1px;padding:1px 1px 1px 1px}#wpcomm .by-wpdiscuz a{font-size:11px;font-weight:bold;text-align:right;color:#ccc;padding:1px;margin:0;line-height:12px;border:0;text-decoration:none}#wpcomm .wpdimg{border:0;padding:0;margin:0;height:12px;cursor:pointer;display:inline;clear:both}#wc_unsubscribe_message{margin:10px auto 1px auto;padding:10px;text-align:center;border:#0d0 1px dotted;background:#cfc}.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}#wpcomm .wc_social_plugin_wrapper{width:auto}#wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:left;font-size:13px;padding:2px 7px 0 0;text-transform:uppercase}#wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{padding:1px;text-align:left;margin-bottom:-10px}#wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{padding:1px;text-align:right}#wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img{width:20px;height:20px;float:none;display:inline;border:0}#wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc-form-wrapper{clear:both}#wpcomm .wc_comm_form .wc_secondary_form{clear:both}#wpcomm .wc_comm_form .wc-field-comment{clear:both}#wpcomm .wc_social_plugin_wrapper .social_connect_ui{padding:0;clear:both;margin:0;margin-top:-20px;margin-bottom:-10px}#wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}#wpcomm .wc_social_plugin_wrapper .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc_social_plugin_wrapper .social_connect_form{float:left;line-height:35px;text-align:left;vertical-align:middle}#wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}#social_connect_facebook_auth,#social_connect_twitter_auth,#social_connect_google_auth,#social_connect_google_plus_auth,#social_connect_yahoo_auth,#social_connect_wordpress_auth{clear:both;padding:0;margin:0}#wpcomm .wc-secondary-forms-social-content .social_connect_ui{padding:0;clear:both;margin:0;text-align:right}#wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}#wpcomm .wc-secondary-forms-social-content .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}#wpcomm .wc-secondary-forms-social-content .social_connect_form{float:left;width:100%;text-align:right;padding:0 0 5px 0;line-height:20px;vertical-align:middle}#wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}#wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with_by_the_champ{float:left;font-size:13px;padding:2px 7px 0 0;text-transform:uppercase}#wpcomm .wc_social_plugin_wrapper ul.wc_social_login_by_the_champ{list-style:none outside none!important;margin:0!important;padding-left:0!important}#wpcomm .wc_social_plugin_wrapper ul.wc_social_login_by_the_champ .theChampLoginButton{width:24px!important;height:24px!important}#wpcomm .wc-secondary-forms-social-content ul.wc_social_login_by_the_champ{list-style:none outside none!important;margin:0!important;padding-left:0!important}#wpcomm .wc-secondary-forms-social-content ul.wc_social_login_by_the_champ .theChampLoginButton{width:24px!important;height:24px!important}#wpcomm .wc-secondary-forms-social-content ul.wc_social_login_by_the_champ li{float:right!important}#wpcomm .theChampTwitterButton{background-position:-4px -68px!important}#wpcomm .theChampGoogleButton{background-position:-36px -2px!important}#wpcomm .theChampVkontakteButton{background-position:-35px -67px!important}#wpcomm .theChampLinkedinButton{background-position:-34px -34px!important}#wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="password"]{
|
2 |
-
line-height: inherit!important;}#wpcomm .wc-form-wrapper{ clear: both; }
|
|
|
|
files/img/avatar_default.png
DELETED
Binary file
|
files/img/facebook.png
DELETED
Binary file
|
files/img/gplus.png
DELETED
Binary file
|
files/img/loader/ajax-loader-200x200.gif
DELETED
Binary file
|
files/img/loader/warning.png
DELETED
Binary file
|
files/img/plugin-icon/logo.png
DELETED
Binary file
|
files/img/plugin-icon/plugin-icon-20.png
DELETED
Binary file
|
files/img/plugin-icon/plugin-icon-48-2.png
DELETED
Binary file
|
files/img/refresh-16x16.png
DELETED
Binary file
|
files/img/refresh-32x32.png
DELETED
Binary file
|
files/img/social-icons/fb-24x24.png
DELETED
Binary file
|
files/img/social-icons/google-24x24.png
DELETED
Binary file
|
files/img/social-icons/ok-24x24.png
DELETED
Binary file
|
files/img/social-icons/twitter-24x24.png
DELETED
Binary file
|
files/img/social-icons/vk-24x24.png
DELETED
Binary file
|
files/img/twitter.png
DELETED
Binary file
|
files/img/x.png
DELETED
Binary file
|
files/js/options-js.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){a("#wc_voting_buttons_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_share_buttons_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_captcha_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_reply_button_guests_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_reply_button_members_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_author_titles_show_hide").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_jquery_ajax_features_on_off").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_held_comment_to_moderate").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_simple_comment_date").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_show_hide_comment_checkbox").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}});a("#wc_show_hide_reply_checkbox").change(function(){if(a(this).is(":checked")){a(this).val("1")}else{a(this).val("0")}})});
|
|
files/js/validator.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,3}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
|
|
files/js/wc-ajax.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(f){var D=f("#wc_home_url").val();var t=f("#wc_plugin_dir_url").val();var v;var l;var k;var r;var C;var j;var g;var y;var h;var m;var z;var d;var o=parseInt(f("#wc_comment_list_update_type").val());var e=parseInt(f("#wc_comment_list_update_timer").val());var i;var H;f(".wc_comment").autoGrow();f(document).delegate("#wc_openModalFormAction","click",function(){f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none")});f(document).delegate("#wc_openModalFormAction .close","click",function(){f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none")});d="<img width='64' height='64' src='"+D+"/"+t+"/files/img/loader/ajax-loader-200x200.gif' />";m=f("#wc_comments_offset");m.val("1");f(document).delegate(".wc_comment","focus",function(){var I=a(f(this));f("#wc-form-footer-"+I).slideDown(700)});f(document).delegate(".wc-reply-link","click",function(){var I=a(f(this));if(f(".wc_social_plugin_wrapper .wp-social-login-provider-list").length&&!(f("#wc-secondary-forms-social-content-"+I+" .wp-social-login-provider-list").length)){f(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wc-secondary-forms-social-content-"+I)}else{if(f(".wc_social_plugin_wrapper .the_champ_login_container").length&&!(f("#wc-secondary-forms-social-content-"+I+" .the_champ_login_container").length)){f(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wc-secondary-forms-social-content-"+I)}else{if(f(".wc_social_plugin_wrapper .social_connect_form").length&&!(f("#wc-secondary-forms-social-content-"+I+" .social_connect_form").length)){f(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wc-secondary-forms-social-content-"+I)}}}f("#wc-secondary-forms-wrapper-"+I).slideToggle(700)});f(document).delegate(".wc-share-link","click",function(){var I=a(f(this));f("#share_buttons_box-"+I).slideToggle(1000)});f(document).delegate(".wc_captcha_refresh_img","click",function(){var K=a(f(this));var I=f("#wc_comment_post_ID-"+K).val();var J=f("#wc_comment_parent-"+K).val();f("#wc_captcha_img-"+K).attr("src",D+"/"+t+"/captcha/captcha.php?comm_id="+I+"-"+J+"&r="+Math.random())});f(document).delegate(".wc_comm_submit","click",function(){h=f(this).attr("id");var L=h.substring(h.lastIndexOf("-")+1);v=f("#wc_name-"+L).val();l=f("#wc_email-"+L).val();r=(f("#wc_website-"+L).length)?f("#wc_website-"+L).val():"";k=f("textarea#wc_comment-"+L).val();C=f("#wc_captcha-"+L).val();j=f("#wc_comment_post_ID-"+L).val();g=f("#wc_comment_parent-"+L).val();y=f("#wc_comm_form-"+L);var M=f("input[name='wc_comment_reply_notification-"+L+"']:checked").length?f("input[name='wc_comment_reply_notification-"+L+"']:checked").val():"";var K="";if(c(h,j)){K=1}else{K=x(f(this).parents(".wc-comment"))}var I="";if(M.length&&M!="wc_notification_none"){if(M=="wc_notification_new_reply"){I="reply"}if(M=="wc_notification_all_new_reply"){I="all_comment"}if(M=="wc_notification_new_comment"){I="post"}}var J=true;if(!wpdiscuzValidator.checkAll(y)){J=false;f("#wc_captcha-"+L).val("");f("#wc_captcha_img-"+L).attr("src",D+"/"+t+"/captcha/captcha.php?comm_id="+j+"-"+g+"&r="+Math.random())}else{f("#wc_openModalFormAction .close").css("display","none");f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction > #wc_response_info").html(d)}if(J){f.ajax({type:"POST",url:wc_ajax_obj.url,data:{name:v,email:l,website:r,comment:k,captcha:C,comment_post_ID:j,comment_parent:g,comment_depth:K,notification_type:I,action:"wc_comms_via_ajax"}}).done(function(N){f("#wc_captcha_img-"+L).attr("src",D+"/"+t+"/captcha/captcha.php?comm_id="+j+"-"+g+"&r="+Math.random());try{var Q=f.parseJSON(N);z=parseInt(Q.wc_new_comment_id);if(Q.code===-1){var O="<a href='#close' title='Close' class='close'> </a>";f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction .close").css("display","block");f("#wc_openModalFormAction > #wc_response_info").html(O+Q.message)}else{if(Q.code===-2){var O="<a href='#close' title='Close' class='close'> </a>";f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction .close").css("display","block");f("#wc_openModalFormAction > #wc_response_info").html(O+Q.message);f("#wc_comment-"+L).val("");f(".wc_comm_form textarea").css("height","46px");if(h==="wc_comm-"+j+"_0"){f("#wc-form-footer-"+L).slideToggle(700)}else{f("#wc-secondary-forms-wrapper-"+L).slideToggle(700)}f.cookie("wc_author_name",v);f.cookie("wc_author_email",l);f.cookie("wc_author_website",r)}else{i=Q.wc_all_comments_count_new;f("#wc_comment-"+L).val("");f(".wc_comm_form textarea").css("height","46px");if(h==="wc_comm-"+j+"_0"){f(".wc-thread-wrapper").prepend(Q.message);f("#wc-form-footer-"+L).slideToggle(700);f("#wc_curr_user_comment_count").val(parseInt(f("#wc_curr_user_comment_count").val())+1)}else{f("#wc-secondary-forms-wrapper-"+L).slideToggle(700);if(Q.is_in_same_container==1){f("#wc-secondary-forms-wrapper-"+L).after(Q.message)}else{f("#wc-secondary-forms-wrapper-"+L).after(Q.message.replace("wc-reply","wc-reply wc-no-left-margin"))}}f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none");f.cookie("wc_author_name",v);f.cookie("wc_author_email",l);f.cookie("wc_author_website",r);f("#wpcomm .wc_name").val(v);f("#wpcomm .wc_email").val(l);f("#wpcomm .wc_website").val(r);if(f(".wc_header_text_count").length){f(".wc_header_text_count").val(parseInt(f(".wc_header_text_count").val())+1)}f.cookie("wc_all_comments_count_new",i)}}f("#wc_captcha-"+L).val("");f(".wc_tooltipster").tooltipster({offsetY:2});f(".wc_comm_form input").css("box-shadow","0 0 4px -2px #d4d0ba");f(".wc_comm_form textarea").css("box-shadow","0 0 4px -2px #d4d0ba");b(j,z,l,I);if(Q.code==1||Q.code==-2){f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_new_comment_id:z,action:"wpdiscuz_comment_redirect"}}).done(function(S){try{var R=f.parseJSON(S);if(R.code==1){setTimeout(function(){window.location.href=R.redirect_to},5000)}}catch(T){}})}}catch(P){f("#wc_captcha-"+L).val("");f(".wc_tooltipster").tooltipster({offsetY:2});f(".wc_comm_form input").css("box-shadow","0 0 4px -2px #d4d0ba");f(".wc_comm_form textarea").css("box-shadow","0 0 4px -2px #d4d0ba");var O="<a href='#close' title='Close' class='close'> </a>";f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction .close").css("display","block");if(N.contains("<")&&N.contains(">")){f("#wc_openModalFormAction > #wc_response_info").html(O+P)}else{f("#wc_openModalFormAction > #wc_response_info").html(O+N)}}})}else{return false}});f(document).delegate(".wc_vote","click",function(){var K=a(f(this));var I=F(K);var J;f("#wc_openModalFormAction > #wc_response_info").html(d);f("#wc_openModalFormAction .close").css("display","block");f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");if(f(this).hasClass("wc-up")){J=1}else{J=-1}f.ajax({dateType:"json",type:"POST",url:wc_ajax_obj.url,data:{comment_ID:I,vote_type:J,action:"wc_vote_via_ajax"}}).done(function(L){var N=f.parseJSON(L);if(N.code!==-1){f("#vote-count-"+K).text(parseInt(f("#vote-count-"+K).text())+J);f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none")}else{var M="<a href='#close' title='Close' class='close'> </a>";f("#wc_response_info").html(M+N.message);f("#wc_openModalFormAction .close").css("display","block")}})});f(document).delegate(".wc-load-more-submit","click",function(){f("#wc_openModalFormAction > #wc_response_info").html(d);f("#wc_openModalFormAction .close").css("display","none");f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");var L=m.val();var M=E(f(this).attr("id"));var N=parseInt(f("#wc_parent_comments_count").val());var J=parseInt(f("#wc_parent_per_page").val());var K=(f("#wc_last_comment_id_before_update").val())?f("#wc_last_comment_id_before_update").val():0;var I=f("#wc_curr_user_comment_count").val();L=parseInt(L);L++;f.ajax({type:"POST",url:wc_ajax_obj.url,data:{comments_offset:L,wc_curr_user_comment_count:I,wc_post_id:M,wc_last_comment_id:K,action:"wc_load_more_comments"}}).done(function(O){var P=f.parseJSON(O);m.val(L);if(N<=(L*J)){f(".wc-load-more-submit-wrap").remove()}f(".wc-thread-wrapper").html(P.message);f("#wc_last_comment_id").val(P.wc_last_comment_id);f("#hidden_new_comment_count").val(P.hidden_new_comment_count);f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none");f(".wc_tooltipster").tooltipster({offsetY:2});s()})});f(document).delegate(".wc_new_comment","click",function(){h=f(".wc_main_comm_form input.wc_comm_submit").attr("id");var M=h.substring(h.lastIndexOf("-")+1);j=E(M);var K=f("#wc_last_new_comment_id").val();l=f.cookie("wc_author_email");var J=f("#wc_curr_user_comment_count").val();var L=m.val();var I="";f(".wc-thread-wrapper .wc-comment").each(function(){var N=f(this).attr("id");var O=N.substring(N.lastIndexOf("-")+1);I+=F(O)+","});f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_requested_comments_type:1,wc_last_comment_id:K,wc_post_id:j,wc_author_email:l,wc_comments_offset:L,wc_curr_user_comment_count:J,wc_visible_comments_ids:I,action:"wc_list_new_comments"}}).done(function(N){try{var P=f.parseJSON(N);if(P.code!=0){f(".wc-thread-wrapper").html(P.message);f("#wc_last_new_comment_id").val(P.wc_last_comment_id);f(".wc_new_comment").hide();f(document).delegate(".wc_new_loaded_comment","mouseenter",function(){if(f(this).parent(".wc-comment").hasClass("wc-reply")){f(this,".wc-comment-right").animate({backgroundColor:"#f8f8f8"},1500)}else{f(this,".wc-comment-right").animate({backgroundColor:"#fefefe"},1500)}f(this,".wc-comment-right").removeClass("wc_new_loaded_comment")})}}catch(O){console.log(O)}})});f(document).delegate(".wc_new_reply","click",function(){h=f(".wc_main_comm_form input.wc_comm_submit").attr("id");var M=h.substring(h.lastIndexOf("-")+1);j=E(M);var K=f("#wc_last_new_reply_id").val();l=f.cookie("wc_author_email");var J=f("#wc_curr_user_comment_count").val();var L=m.val();var I="";f(".wc-thread-wrapper .wc-comment").each(function(){var N=f(this).attr("id");var O=N.substring(N.lastIndexOf("-")+1);I+=F(O)+","});f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_requested_comments_type:2,wc_last_comment_id:K,wc_comments_offset:L,wc_curr_user_comment_count:J,wc_post_id:j,wc_author_email:l,wc_visible_comments_ids:I,action:"wc_list_new_comments"}}).done(function(N){try{var P=f.parseJSON(N);if(P.code!=0){f(".wc-thread-wrapper").html(P.message);f("#wc_last_new_reply_id").val(P.wc_last_comment_id);f(".wc_new_reply").hide()}}catch(O){console.log(O)}})});function a(J){var I=J.attr("id");var K=I.substring(I.lastIndexOf("-")+1);return K}function E(J){var I=J.substring(J.lastIndexOf("-")+1);I=I.substring(0,I.lastIndexOf("_"));return I}function F(J){var I=J.substring(J.indexOf("_")+1);return I}function x(K){var J=K.attr("class");var I=J.split(" ");var L="";f.each(I,function(M,N){if("wc_comment_level"===G(N,false)){L=G(N,true)}});return parseInt(L)+1}function G(I,J){var K="";if(J){K=I.substring(I.indexOf("-")+1)}else{K=I.substring(0,I.indexOf("-"))}return K}function c(J,I){return J==="wc_comm-"+I+"_0"}function q(){var I=f.cookie("wc_all_comments_count_new")?false:true;if(o==1){if(!u(I)){p()}}else{if(o==2){if(!u(I)){B()}}}}function p(){j=f("#wpdiscuz_current_post_id").val();var O=f("#wc_last_comment_id_before_update").val();var K=f("#wc_last_new_comment_id").val();var L=f("#wc_last_new_reply_id").val();var M=f("#wc_comments_offset").length?f("#wc_comments_offset").val():1;var N=f.cookie("wc_all_comments_count_old");var I=f("#wc_curr_user_comment_count").val();var J=f.cookie("wc_author_email");f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_author_email:J,wc_curr_user_comment_count:I,wc_last_comment_id:O,wc_last_new_comment_id:K,wc_last_new_reply_id:L,wc_all_comments_count_old:N,wc_comments_offset:M,wc_comment_list_update_type:o,wc_post_id:j,action:"wc_live_update"}}).done(function(P){n(P)})}function B(){h=f(".wc_main_comm_form input.wc_comm_submit").attr("id");var N=h.substring(h.lastIndexOf("-")+1);j=E(N);g=F(N);var L=f("#wc_comments_offset").length?f("#wc_comments_offset").val():1;var I=f("#wc_curr_user_comment_count").val();var M=f("#wc_last_comment_id").val();var J=f("#wc_last_new_comment_id").val();var K=f("#wc_last_new_reply_id").val();l=f.cookie("wc_author_email");f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_last_comment_id:M,wc_last_new_comment_id:J,wc_last_new_reply_id:K,wc_comment_list_update_type:o,wc_comments_offset:L,wc_curr_user_comment_count:I,wc_post_id:j,wc_author_email:l,action:"wc_live_update"}}).done(function(O){n(O)})}function n(I){try{var K=f.parseJSON(I);if(K.code==1){f(".wc-thread-wrapper").html(K.message);if(f(".wc_header_text_count").length){f(".wc_header_text_count").html(K.wc_all_comments_count_new)}f("#wc_last_comment_id").val(K.wc_last_comment_id)}else{if(K.code==2){if(K.wc_new_comment_count){f(".wc_new_comment_button_text").html(K.wc_new_comment_count+" "+K.wc_new_comment_button_text);f(".wc_new_comment").css("display","inline-block")}else{f(".wc_new_comment").css("display","none")}if(K.wc_new_reply_count){f(".wc_new_reply_button_text").html(K.wc_new_reply_count+" "+K.wc_new_reply_button_text);f(".wc_new_reply").css("display","inline-block")}else{f(".wc_new_reply").css("display","none")}}}s()}catch(J){console.log(J)}}function u(K){var J=f(".wc_secondary_form input.wc_field_input").is(":focus");var I=f(".wc_secondary_form textarea.wc_field_input").is(":focus");var M=false;var L=false;if(K){f(".wc_secondary_form input.wc_field_input").each(function(){if(f(this).val()!=""){M=true}})}else{f(".wc_secondary_form input.wc_field_captcha").each(function(){if(f(this).val()!=""){M=true}})}f(".wc_secondary_form textarea.wc_field_input").each(function(){if(f(this).val()!=""){L=true}});return J||I||M||L}if(o!=0){setInterval(q,e*1000)}function s(){if(f.cookie("wc_author_name")&&f.cookie("wc_author_email")){f(".wc_name").val(f.cookie("wc_author_name"));f(".wc_email").val(f.cookie("wc_author_email"))}}function b(J,L,I,K){f.ajax({type:"POST",url:wc_ajax_obj.url,data:{wc_post_id:J,wc_comment_id:L,wc_notifcattion_type:K,wc_email:I,action:"wc_check_notification_type"}})}f(document).delegate(".wc_editable_comment","click",function(){var J=a(f(this));var I=F(J);f.ajax({type:"POST",url:wc_ajax_obj.url,data:{comment_id:I,action:"wc_get_editable_comment_content"}}).done(function(L){try{var O=f.parseJSON(L);if(O.code==1){H=O.message;var K='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+J+'" style="min-height: 2em;">'+O.message+"</textarea>";f("#wc-comm-"+J+" > .wc-comment-right .wc-comment-text").replaceWith(K);document.getElementById("wc_edit_comment-"+J).focus();f("#wc_save_edited_comment-"+J).show();K="";f("#wc_editable_comment-"+J).hide();f("#wc_cancel_edit-"+J).show()}else{var M="<a href='#close' title='Close' class='close'> </a>";f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction .close").css("display","block");f("#wc_openModalFormAction > #wc_response_info").html(M+O.phrase_message)}}catch(N){console.log(N)}})});f(document).delegate(".wc_save_edited_comment","click",function(){var N=a(f(this));var J=F(N);var I=f("#wc-comm-"+N+" textarea#wc_edit_comment-"+N);var K=I.val();var L=true;var M=x(f(this).parents(".wc-comment"))-1;if(f.trim(K).length<=0){L=false}if(L){f("#wc_openModalFormAction .close").css("display","none");f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction > #wc_response_info").html(d);f.ajax({type:"POST",url:wc_ajax_obj.url,data:{comment_id:J,comment_content:K,comment_depth:M,action:"wc_save_edited_comment"}}).done(function(O){try{var R=f.parseJSON(O);if(R.code==1){f("#wc_openModalFormAction").css("opacity","0");f("#wc_openModalFormAction").css("pointer-events","none");A(N,R.message)}else{var P="<a href='#close' title='Close' class='close'> </a>";f("#wc_openModalFormAction").css("opacity","1");f("#wc_openModalFormAction").css("pointer-events","auto");f("#wc_openModalFormAction .close").css("display","block");f("#wc_openModalFormAction > #wc_response_info").html(P+R.phrase_message)}I="";K=""}catch(Q){console.log(Q)}})}});f(document).delegate(".wc_cancel_edit","click",function(){var I=a(f(this));A(I,H)});function A(K,J){f("#wc_editable_comment-"+K).show();f("#wc_cancel_edit-"+K).hide();f("#wc_save_edited_comment-"+K).hide();var I='<div class="wc-comment-text">'+w(J)+"</div>";f("#wc-comm-"+K+" #wc_edit_comment-"+K).replaceWith(I)}function w(L,K){var J=(K||typeof K==="undefined")?"<br/>":"<br>";var I=(L+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+J+"$2");return I.replace("<br><br>","<br/>")}f(".wc_tooltipster").tooltipster({offsetY:2})});
|
|
files/js/wc-frontend.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){a(document).delegate(".wc_manage_subscribtions","click",function(){a(this).next(".wc_notification_checkboxes").slideToggle(700)})});
|
|
files/js/wc-scripts.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(c){var d=c(".wc_colorpicker_img1");var b=c("div#wc_box1");var a=d.position();c("#wc_colorpickerHolder1").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_comment_bg_color").val("#"+g)}});c("#wc_colorpickerHolder2").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_reply_bg_color").val("#"+g)}});c("#wc_colorpickerHolder3").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_comment_text_color").val("#"+g)}});c("#wc_colorpickerHolder4").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_author_title_color").val("#"+g)}});c("#wc_colorpickerHolder5").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_vote_reply_color").val("#"+g)}});c("#wc_colorpickerHolder6").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_form_bg_color").val("#"+g)}});c("#wc_colorpickerHolder7").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_new_loaded_comment_bg_color").val("rgb("+f.r+","+f.g+","+f.b+")")}});c("#wc_colorpickerHolder8").ColorPicker({flat:true,onChange:function(e,g,f){c("#wc_input_border_color").val("#"+g)}})});
|
|
files/third-party/colorpicker/css/colorpicker.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.colorpicker{width:356px;height:176px;overflow:hidden;position:absolute;background:url(../img/colorpicker_background.png);font-family:Arial,Helvetica,sans-serif;display:none}.colorpicker_color{width:150px;height:150px;left:14px;top:13px;position:absolute;background:#f00;overflow:hidden;cursor:crosshair}.colorpicker_color div{position:absolute;top:0;left:0;width:150px;height:150px;background:url(../img/colorpicker_overlay.png)}.colorpicker_color div div{position:absolute;top:0;left:0;width:11px;height:11px;overflow:hidden;background:url(../img/colorpicker_select.gif);margin:-5px 0 0 -5px}.colorpicker_hue{position:absolute;top:13px;left:171px;width:35px;height:150px;cursor:n-resize}.colorpicker_hue div{position:absolute;width:35px;height:9px;overflow:hidden;background:url(../img/colorpicker_indic.gif) left top;margin:-4px 0 0 0;left:0}.colorpicker_new_color{position:absolute;width:60px;height:30px;left:213px;top:13px;background:#f00}.colorpicker_current_color{position:absolute;width:60px;height:30px;left:283px;top:13px;background:#f00}.colorpicker input{background-color:transparent;border:1px solid transparent;position:absolute;font-size:10px;font-family:Arial,Helvetica,sans-serif;color:#898989;top:4px;right:11px;text-align:right;margin:0;padding:0;height:11px}.colorpicker_hex{position:absolute;width:72px;height:22px;background:url(../img/colorpicker_hex.png) top;left:212px;top:142px}.colorpicker_hex input{right:6px}.colorpicker_field{height:22px;width:62px;background-position:top;position:absolute}.colorpicker_field span{position:absolute;width:12px;height:22px;overflow:hidden;top:0;right:0;cursor:n-resize}.colorpicker_rgb_r{background-image:url(../img/colorpicker_rgb_r.png);top:52px;left:212px}.colorpicker_rgb_g{background-image:url(../img/colorpicker_rgb_g.png);top:82px;left:212px}.colorpicker_rgb_b{background-image:url(../img/colorpicker_rgb_b.png);top:112px;left:212px}.colorpicker_hsb_h{background-image:url(../img/colorpicker_hsb_h.png);top:52px;left:282px}.colorpicker_hsb_s{background-image:url(../img/colorpicker_hsb_s.png);top:82px;left:282px}.colorpicker_hsb_b{background-image:url(../img/colorpicker_hsb_b.png);top:112px;left:282px}.colorpicker_submit{position:absolute;width:22px;height:22px;background:url(../img/colorpicker_submit.png) top;left:322px;top:142px;overflow:hidden}.colorpicker_focus{background-position:center}.colorpicker_hex.colorpicker_focus{background-position:bottom}.colorpicker_submit.colorpicker_focus{background-position:bottom}.colorpicker_slider{background-position:bottom}
|
|
files/third-party/colorpicker/img/blank.gif
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_background.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_hex.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_hsb_b.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_hsb_h.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_hsb_s.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_icon.jpg
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_icon_22.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_icon_256.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_icon_30.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_indic.gif
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_overlay.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_rgb_b.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_rgb_g.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_rgb_r.png
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_select.gif
DELETED
Binary file
|
files/third-party/colorpicker/img/colorpicker_submit.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_background.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_hex.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_hsb_b.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_hsb_h.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_hsb_s.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_indic.gif
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_rgb_b.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_rgb_g.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_rgb_r.png
DELETED
Binary file
|
files/third-party/colorpicker/img/custom_submit.png
DELETED
Binary file
|
files/third-party/colorpicker/js/colorpicker.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(function(b){var a=function(){var S={},c,N=65,t,P='<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div></div><div class="colorpicker_hue"><div></div></div><div class="colorpicker_new_color"></div><div class="colorpicker_current_color"></div><div class="colorpicker_hex"><input type="text" maxlength="6" size="6" /></div><div class="colorpicker_rgb_r colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_g colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_h colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_s colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_submit"></div></div>',B={eventName:"click",onShow:function(){},onBeforeShow:function(){},onHide:function(){},onChange:function(){},onSubmit:function(){},color:"ff0000",livePreview:true,flat:false},J=function(T,V){var U=j(T);b(V).data("colorpicker").fields.eq(1).val(U.r).end().eq(2).val(U.g).end().eq(3).val(U.b).end()},u=function(T,U){b(U).data("colorpicker").fields.eq(4).val(T.h).end().eq(5).val(T.s).end().eq(6).val(T.b).end()},g=function(T,U){b(U).data("colorpicker").fields.eq(0).val(R(T)).end()},l=function(T,U){b(U).data("colorpicker").selector.css("backgroundColor","#"+R({h:T.h,s:100,b:100}));b(U).data("colorpicker").selectorIndic.css({left:parseInt(150*T.s/100,10),top:parseInt(150*(100-T.b)/100,10)})},G=function(T,U){b(U).data("colorpicker").hue.css("top",parseInt(150-150*T.h/360,10))},h=function(T,U){b(U).data("colorpicker").currentColor.css("backgroundColor","#"+R(T))},E=function(T,U){b(U).data("colorpicker").newColor.css("backgroundColor","#"+R(T))},n=function(T){var V=T.charCode||T.keyCode||-1;if((V>N&&V<=90)||V==32){return false}var U=b(this).parent().parent();if(U.data("colorpicker").livePreview===true){e.apply(this)}},e=function(U){var V=b(this).parent().parent(),T;if(this.parentNode.className.indexOf("_hex")>0){V.data("colorpicker").color=T=m(y(this.value))}else{if(this.parentNode.className.indexOf("_hsb")>0){V.data("colorpicker").color=T=f({h:parseInt(V.data("colorpicker").fields.eq(4).val(),10),s:parseInt(V.data("colorpicker").fields.eq(5).val(),10),b:parseInt(V.data("colorpicker").fields.eq(6).val(),10)})}else{V.data("colorpicker").color=T=i(M({r:parseInt(V.data("colorpicker").fields.eq(1).val(),10),g:parseInt(V.data("colorpicker").fields.eq(2).val(),10),b:parseInt(V.data("colorpicker").fields.eq(3).val(),10)}))}}if(U){J(T,V.get(0));g(T,V.get(0));u(T,V.get(0))}l(T,V.get(0));G(T,V.get(0));E(T,V.get(0));V.data("colorpicker").onChange.apply(V,[T,R(T),j(T)])},o=function(T){var U=b(this).parent().parent();U.data("colorpicker").fields.parent().removeClass("colorpicker_focus")},K=function(){N=this.parentNode.className.indexOf("_hex")>0?70:65;b(this).parent().parent().data("colorpicker").fields.parent().removeClass("colorpicker_focus");b(this).parent().addClass("colorpicker_focus")},I=function(T){var V=b(this).parent().find("input").focus();var U={el:b(this).parent().addClass("colorpicker_slider"),max:this.parentNode.className.indexOf("_hsb_h")>0?360:(this.parentNode.className.indexOf("_hsb")>0?100:255),y:T.pageY,field:V,val:parseInt(V.val(),10),preview:b(this).parent().parent().data("colorpicker").livePreview};b(document).bind("mouseup",U,s);b(document).bind("mousemove",U,L)},L=function(T){T.data.field.val(Math.max(0,Math.min(T.data.max,parseInt(T.data.val+T.pageY-T.data.y,10))));if(T.data.preview){e.apply(T.data.field.get(0),[true])}return false},s=function(T){e.apply(T.data.field.get(0),[true]);T.data.el.removeClass("colorpicker_slider").find("input").focus();b(document).unbind("mouseup",s);b(document).unbind("mousemove",L);return false},w=function(T){var U={cal:b(this).parent(),y:b(this).offset().top};U.preview=U.cal.data("colorpicker").livePreview;b(document).bind("mouseup",U,r);b(document).bind("mousemove",U,k)},k=function(T){e.apply(T.data.cal.data("colorpicker").fields.eq(4).val(parseInt(360*(150-Math.max(0,Math.min(150,(T.pageY-T.data.y))))/150,10)).get(0),[T.data.preview]);return false},r=function(T){J(T.data.cal.data("colorpicker").color,T.data.cal.get(0));g(T.data.cal.data("colorpicker").color,T.data.cal.get(0));b(document).unbind("mouseup",r);b(document).unbind("mousemove",k);return false},x=function(T){var U={cal:b(this).parent(),pos:b(this).offset()};U.preview=U.cal.data("colorpicker").livePreview;b(document).bind("mouseup",U,A);b(document).bind("mousemove",U,q)},q=function(T){e.apply(T.data.cal.data("colorpicker").fields.eq(6).val(parseInt(100*(150-Math.max(0,Math.min(150,(T.pageY-T.data.pos.top))))/150,10)).end().eq(5).val(parseInt(100*(Math.max(0,Math.min(150,(T.pageX-T.data.pos.left))))/150,10)).get(0),[T.data.preview]);return false},A=function(T){J(T.data.cal.data("colorpicker").color,T.data.cal.get(0));g(T.data.cal.data("colorpicker").color,T.data.cal.get(0));b(document).unbind("mouseup",A);b(document).unbind("mousemove",q);return false},v=function(T){b(this).addClass("colorpicker_focus")},Q=function(T){b(this).removeClass("colorpicker_focus")},p=function(U){var V=b(this).parent();var T=V.data("colorpicker").color;V.data("colorpicker").origColor=T;h(T,V.get(0));V.data("colorpicker").onSubmit(T,R(T),j(T),V.data("colorpicker").el)},D=function(T){var X=b("#"+b(this).data("colorpickerId"));X.data("colorpicker").onBeforeShow.apply(this,[X.get(0)]);var Y=b(this).offset();var W=z();var V=Y.top+this.offsetHeight;var U=Y.left;if(V+176>W.t+W.h){V-=this.offsetHeight+176}if(U+356>W.l+W.w){U-=356}X.css({left:U+"px",top:V+"px"});if(X.data("colorpicker").onShow.apply(this,[X.get(0)])!=false){X.show()}b(document).bind("mousedown",{cal:X},O);return false},O=function(T){if(!H(T.data.cal.get(0),T.target,T.data.cal.get(0))){if(T.data.cal.data("colorpicker").onHide.apply(this,[T.data.cal.get(0)])!=false){T.data.cal.hide()}b(document).unbind("mousedown",O)}},H=function(V,U,T){if(V==U){return true}if(V.contains){return V.contains(U)}if(V.compareDocumentPosition){return !!(V.compareDocumentPosition(U)&16)}var W=U.parentNode;while(W&&W!=T){if(W==V){return true}W=W.parentNode}return false},z=function(){var T=document.compatMode=="CSS1Compat";return{l:window.pageXOffset||(T?document.documentElement.scrollLeft:document.body.scrollLeft),t:window.pageYOffset||(T?document.documentElement.scrollTop:document.body.scrollTop),w:window.innerWidth||(T?document.documentElement.clientWidth:document.body.clientWidth),h:window.innerHeight||(T?document.documentElement.clientHeight:document.body.clientHeight)}},f=function(T){return{h:Math.min(360,Math.max(0,T.h)),s:Math.min(100,Math.max(0,T.s)),b:Math.min(100,Math.max(0,T.b))}},M=function(T){return{r:Math.min(255,Math.max(0,T.r)),g:Math.min(255,Math.max(0,T.g)),b:Math.min(255,Math.max(0,T.b))}},y=function(V){var T=6-V.length;if(T>0){var W=[];for(var U=0;U<T;U++){W.push("0")}W.push(V);V=W.join("")}return V},d=function(T){var T=parseInt(((T.indexOf("#")>-1)?T.substring(1):T),16);return{r:T>>16,g:(T&65280)>>8,b:(T&255)}},m=function(T){return i(d(T))},i=function(V){var U={h:0,s:0,b:0};var W=Math.min(V.r,V.g,V.b);var T=Math.max(V.r,V.g,V.b);var X=T-W;U.b=T;if(T!=0){}U.s=T!=0?255*X/T:0;if(U.s!=0){if(V.r==T){U.h=(V.g-V.b)/X}else{if(V.g==T){U.h=2+(V.b-V.r)/X}else{U.h=4+(V.r-V.g)/X}}}else{U.h=-1}U.h*=60;if(U.h<0){U.h+=360}U.s*=100/255;U.b*=100/255;return U},j=function(T){var V={};var Z=Math.round(T.h);var Y=Math.round(T.s*255/100);var U=Math.round(T.b*255/100);if(Y==0){V.r=V.g=V.b=U}else{var aa=U;var X=(255-Y)*U/255;var W=(aa-X)*(Z%60)/60;if(Z==360){Z=0}if(Z<60){V.r=aa;V.b=X;V.g=X+W}else{if(Z<120){V.g=aa;V.b=X;V.r=aa-W}else{if(Z<180){V.g=aa;V.r=X;V.b=X+W}else{if(Z<240){V.b=aa;V.r=X;V.g=aa-W}else{if(Z<300){V.b=aa;V.g=X;V.r=X+W}else{if(Z<360){V.r=aa;V.g=X;V.b=aa-W}else{V.r=0;V.g=0;V.b=0}}}}}}}return{r:Math.round(V.r),g:Math.round(V.g),b:Math.round(V.b)}},C=function(T){var U=[T.r.toString(16),T.g.toString(16),T.b.toString(16)];b.each(U,function(V,W){if(W.length==1){U[V]="0"+W}});return U.join("")},R=function(T){return C(j(T))},F=function(){var U=b(this).parent();var T=U.data("colorpicker").origColor;U.data("colorpicker").color=T;J(T,U.get(0));g(T,U.get(0));u(T,U.get(0));l(T,U.get(0));G(T,U.get(0));E(T,U.get(0))};return{init:function(T){T=b.extend({},B,T||{});if(typeof T.color=="string"){T.color=m(T.color)}else{if(T.color.r!=undefined&&T.color.g!=undefined&&T.color.b!=undefined){T.color=i(T.color)}else{if(T.color.h!=undefined&&T.color.s!=undefined&&T.color.b!=undefined){T.color=f(T.color)}else{return this}}}return this.each(function(){if(!b(this).data("colorpickerId")){var U=b.extend({},T);U.origColor=T.color;var W="collorpicker_"+parseInt(Math.random()*1000);b(this).data("colorpickerId",W);var V=b(P).attr("id",W);if(U.flat){V.appendTo(this).show()}else{V.appendTo(document.body)}U.fields=V.find("input").bind("keyup",n).bind("change",e).bind("blur",o).bind("focus",K);V.find("span").bind("mousedown",I).end().find(">div.colorpicker_current_color").bind("click",F);U.selector=V.find("div.colorpicker_color").bind("mousedown",x);U.selectorIndic=U.selector.find("div div");U.el=this;U.hue=V.find("div.colorpicker_hue div");V.find("div.colorpicker_hue").bind("mousedown",w);U.newColor=V.find("div.colorpicker_new_color");U.currentColor=V.find("div.colorpicker_current_color");V.data("colorpicker",U);V.find("div.colorpicker_submit").bind("mouseenter",v).bind("mouseleave",Q).bind("click",p);J(U.color,V.get(0));u(U.color,V.get(0));g(U.color,V.get(0));G(U.color,V.get(0));l(U.color,V.get(0));h(U.color,V.get(0));E(U.color,V.get(0));if(U.flat){V.css({position:"relative",display:"block"})}else{b(this).bind(U.eventName,D)}}})},showPicker:function(){return this.each(function(){if(b(this).data("colorpickerId")){D.apply(this)}})},hidePicker:function(){return this.each(function(){if(b(this).data("colorpickerId")){b("#"+b(this).data("colorpickerId")).hide()}})},setColor:function(T){if(typeof T=="string"){T=m(T)}else{if(T.r!=undefined&&T.g!=undefined&&T.b!=undefined){T=i(T)}else{if(T.h!=undefined&&T.s!=undefined&&T.b!=undefined){T=f(T)}else{return this}}}return this.each(function(){if(b(this).data("colorpickerId")){var U=b("#"+b(this).data("colorpickerId"));U.data("colorpicker").color=T;U.data("colorpicker").origColor=T;J(T,U.get(0));u(T,U.get(0));g(T,U.get(0));G(T,U.get(0));l(T,U.get(0));h(T,U.get(0));E(T,U.get(0))}})}}}();b.fn.extend({ColorPicker:a.init,ColorPickerHide:a.hidePicker,ColorPickerShow:a.showPicker,ColorPickerSetColor:a.setColor})})(jQuery);
|
|
files/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.resp-tabs-list li{font-weight:600;font-size:13px;display:inline-block;padding:13px 15px;margin:0 4px 0 0;list-style:none;cursor:pointer;float:left;line-height:1}.resp-tabs-container{padding:0;background-color:#fff;clear:left}h2.resp-accordion{cursor:pointer;padding:5px;display:none}.resp-tab-content{display:none;padding:15px}.resp-tab-active{border:1px solid #5ab1d0!important;border-bottom:0;margin-bottom:-1px!important;padding:12px 14px 14px 14px!important;border-top:4px solid #5ab1d0!important;border-bottom:0 #fff solid!important}.resp-tab-active{border-bottom:0;background-color:#fff}.resp-content-active,.resp-accordion-active{display:block}.resp-tab-content{border:1px solid #c1c1c1;border-top-color:#5ab1d0}h2.resp-accordion{font-size:13px;border:1px solid #c1c1c1;border-top:0 solid #c1c1c1;margin:0;padding:10px 15px}h2.resp-tab-active{border-bottom:0 solid #c1c1c1!important;margin-bottom:0!important;padding:10px 15px!important}h2.resp-tab-title:last-child{border-bottom:12px solid #c1c1c1!important;background:blue}
|
|
files/third-party/modal-box/modal-box-ie.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.modalDialog{display:none}.modalDialog:target{display:block}
|
|
files/third-party/modal-box/modal-box.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.modalDialog{position:fixed;font-family:Arial,Helvetica,sans-serif;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,0.4);z-index:99999;opacity:0;-webkit-transition:opacity 400ms ease-in;-moz-transition:opacity 400ms ease-in;transition:opacity 400ms ease-in;pointer-events:none}.modalDialog:target{opacity:1;pointer-events:auto}.modalDialog>div{width:400px;position:relative;margin:10% auto;padding:5px 20px 13px 20px;-webkit-border-top-left-radius:10px;-webkit-border-top-right-radius:10px;-webkit-border-bottom-right-radius:10px;-webkit-border-bottom-left-radius:10px;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;-moz-border-radius-bottomright:10px;-moz-border-radius-bottomleft:10px;border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;background:#fff;background:-moz-linear-gradient(#fff,#999);background:-webkit-linear-gradient(#fff,#999);background:-o-linear-gradient(#fff,#999);background:-ms-linear-gradient(#fff,#999);background:linear-gradient(#fff,#999);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#999999')}.modalDialog input{font-size:10px!important}.close{background:#606061;color:#fff;line-height:25px;position:absolute;right:-12px;text-align:center;top:-10px;width:24px;text-decoration:none;font-weight:bold;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;-moz-box-shadow:1px 1px 3px #000;-webkit-box-shadow:1px 1px 3px #000;box-shadow:1px 1px 3px #000;opacity:1!important}.close:hover{background:#00d9ff}
|
|
helper/wc-helper.php
DELETED
@@ -1,308 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WC_Helper {
|
4 |
-
|
5 |
-
public static $datetime = 'datetime';
|
6 |
-
public static $year = 'wc_year_text';
|
7 |
-
public static $years = 'wc_year_text_plural';
|
8 |
-
public static $month = 'wc_month_text';
|
9 |
-
public static $months = 'wc_month_text_plural';
|
10 |
-
public static $day = 'wc_day_text';
|
11 |
-
public static $days = 'wc_day_text_plural';
|
12 |
-
public static $hour = 'wc_hour_text';
|
13 |
-
public static $hours = 'wc_hour_text_plural';
|
14 |
-
public static $minute = 'wc_minute_text';
|
15 |
-
public static $minutes = 'wc_minute_text_plural';
|
16 |
-
public static $second = 'wc_second_text';
|
17 |
-
public static $seconds = 'wc_second_text_plural';
|
18 |
-
private $wc_options_serialized;
|
19 |
-
|
20 |
-
function __construct($wc_options_serialize) {
|
21 |
-
$this->wc_options_serialized = $wc_options_serialize;
|
22 |
-
}
|
23 |
-
|
24 |
-
// Set timezone
|
25 |
-
// Time format is UNIX timestamp or
|
26 |
-
// PHP strtotime compatible strings
|
27 |
-
public function dateDiff($time1, $time2, $precision = 2) {
|
28 |
-
// If not numeric then convert texts to unix timestamps
|
29 |
-
if (!is_int($time1)) {
|
30 |
-
$time1 = strtotime($time1);
|
31 |
-
}
|
32 |
-
if (!is_int($time2)) {
|
33 |
-
$time2 = strtotime($time2);
|
34 |
-
}
|
35 |
-
|
36 |
-
// If time1 is bigger than time2
|
37 |
-
// Then swap time1 and time2
|
38 |
-
if ($time1 > $time2) {
|
39 |
-
$ttime = $time1;
|
40 |
-
$time1 = $time2;
|
41 |
-
$time2 = $ttime;
|
42 |
-
}
|
43 |
-
|
44 |
-
// Set up intervals and diffs arrays
|
45 |
-
$intervals = array(
|
46 |
-
$this->wc_options_serialized->wc_phrases['wc_year_text']['datetime'][1],
|
47 |
-
$this->wc_options_serialized->wc_phrases['wc_month_text']['datetime'][1],
|
48 |
-
$this->wc_options_serialized->wc_phrases['wc_day_text']['datetime'][1],
|
49 |
-
$this->wc_options_serialized->wc_phrases['wc_hour_text']['datetime'][1],
|
50 |
-
$this->wc_options_serialized->wc_phrases['wc_minute_text']['datetime'][1],
|
51 |
-
$this->wc_options_serialized->wc_phrases['wc_second_text']['datetime'][1]
|
52 |
-
);
|
53 |
-
$diffs = array();
|
54 |
-
|
55 |
-
// Loop thru all intervals
|
56 |
-
foreach ($intervals as $interval) {
|
57 |
-
// Create temp time from time1 and interval
|
58 |
-
$interval = $this->date_comparision_by_index($interval);
|
59 |
-
$ttime = strtotime('+1 ' . $interval, $time1);
|
60 |
-
// Set initial values
|
61 |
-
$add = 1;
|
62 |
-
$looped = 0;
|
63 |
-
// Loop until temp time is smaller than time2
|
64 |
-
while ($time2 >= $ttime) {
|
65 |
-
// Create new temp time from time1 and interval
|
66 |
-
$add++;
|
67 |
-
$ttime = strtotime("+" . $add . " " . $interval, $time1);
|
68 |
-
$looped++;
|
69 |
-
}
|
70 |
-
|
71 |
-
$time1 = strtotime("+" . $looped . " " . $interval, $time1);
|
72 |
-
$diffs[$interval] = $looped;
|
73 |
-
}
|
74 |
-
|
75 |
-
$count = 0;
|
76 |
-
$times = array();
|
77 |
-
// Loop thru all diffs
|
78 |
-
foreach ($diffs as $interval => $value) {
|
79 |
-
$interval = $this->date_text_by_index($interval, $value);
|
80 |
-
// Break if we have needed precission
|
81 |
-
if ($count >= $precision) {
|
82 |
-
break;
|
83 |
-
}
|
84 |
-
// Add value and interval
|
85 |
-
// if value is bigger than 0
|
86 |
-
if ($value > 0) {
|
87 |
-
// Add value and interval to times array
|
88 |
-
$times[] = $value . " " . $interval;
|
89 |
-
$count++;
|
90 |
-
}
|
91 |
-
}
|
92 |
-
|
93 |
-
// Return string with times
|
94 |
-
$ago = ($times) ? $this->wc_options_serialized->wc_phrases['wc_ago_text'] : $this->wc_options_serialized->wc_phrases['wc_right_now_text'];
|
95 |
-
return implode(" ", $times) . ' ' . $ago;
|
96 |
-
}
|
97 |
-
|
98 |
-
/**
|
99 |
-
* get comment author avatar if exists otherwise default avatar
|
100 |
-
*/
|
101 |
-
public function get_comment_author_avatar($comment = null) {
|
102 |
-
global $current_user;
|
103 |
-
get_currentuserinfo();
|
104 |
-
|
105 |
-
$comm_auth_user_email = $current_user->user_email;
|
106 |
-
if ($comment) {
|
107 |
-
$comm_auth_avatar = get_avatar($comment->comment_author_email, 48);
|
108 |
-
} else {
|
109 |
-
if ($comm_auth_user_email) {
|
110 |
-
$comm_auth_avatar = get_avatar($comm_auth_user_email, 48);
|
111 |
-
} else {
|
112 |
-
$comm_auth_avatar = '<img width="48" height="48" class="avatar avatar-48 photo avatar-default" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/avatar_default.png') . '" alt=""/>';
|
113 |
-
}
|
114 |
-
}
|
115 |
-
return $comm_auth_avatar;
|
116 |
-
}
|
117 |
-
|
118 |
-
public static function init_phrase_key_value($phrase) {
|
119 |
-
$phrase_value = stripslashes($phrase['phrase_value']);
|
120 |
-
switch ($phrase['phrase_key']) {
|
121 |
-
case WC_Helper::$year:
|
122 |
-
return array(WC_Helper::$datetime => array($phrase_value, 1));
|
123 |
-
case WC_Helper::$years:
|
124 |
-
return array(WC_Helper::$datetime => array($phrase_value, 1));
|
125 |
-
case WC_Helper::$month:
|
126 |
-
return array(WC_Helper::$datetime => array($phrase_value, 2));
|
127 |
-
case WC_Helper::$months:
|
128 |
-
return array(WC_Helper::$datetime => array($phrase_value, 2));
|
129 |
-
case WC_Helper::$day:
|
130 |
-
return array(WC_Helper::$datetime => array($phrase_value, 3));
|
131 |
-
case WC_Helper::$days:
|
132 |
-
return array(WC_Helper::$datetime => array($phrase_value, 3));
|
133 |
-
case WC_Helper::$hour:
|
134 |
-
return array(WC_Helper::$datetime => array($phrase_value, 4));
|
135 |
-
case WC_Helper::$hours:
|
136 |
-
return array(WC_Helper::$datetime => array($phrase_value, 4));
|
137 |
-
case WC_Helper::$minute:
|
138 |
-
return array(WC_Helper::$datetime => array($phrase_value, 5));
|
139 |
-
case WC_Helper::$minutes:
|
140 |
-
return array(WC_Helper::$datetime => array($phrase_value, 5));
|
141 |
-
case WC_Helper::$second:
|
142 |
-
return array(WC_Helper::$datetime => array($phrase_value, 6));
|
143 |
-
case WC_Helper::$seconds:
|
144 |
-
return array(WC_Helper::$datetime => array($phrase_value, 6));
|
145 |
-
default :
|
146 |
-
return $phrase_value;
|
147 |
-
}
|
148 |
-
}
|
149 |
-
|
150 |
-
private function date_comparision_by_index($index) {
|
151 |
-
switch ($index) {
|
152 |
-
case 1:
|
153 |
-
return 'year';
|
154 |
-
case 2:
|
155 |
-
return 'month';
|
156 |
-
case 3:
|
157 |
-
return 'day';
|
158 |
-
case 4:
|
159 |
-
return 'hour';
|
160 |
-
case 5:
|
161 |
-
return 'minute';
|
162 |
-
case 6:
|
163 |
-
return 'second';
|
164 |
-
}
|
165 |
-
}
|
166 |
-
|
167 |
-
private function date_text_by_index($index, $value) {
|
168 |
-
switch ($index) {
|
169 |
-
case 'year':
|
170 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_year_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_year_text']['datetime'][0];
|
171 |
-
case 'month':
|
172 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_month_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_month_text']['datetime'][0];
|
173 |
-
case 'day':
|
174 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_day_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_day_text']['datetime'][0];
|
175 |
-
case 'hour':
|
176 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_hour_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_hour_text']['datetime'][0];
|
177 |
-
case 'minute':
|
178 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_minute_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_minute_text']['datetime'][0];
|
179 |
-
case 'second':
|
180 |
-
return ($value > 1) ? $this->wc_options_serialized->wc_phrases['wc_second_text_plural']['datetime'][0] : $this->wc_options_serialized->wc_phrases['wc_second_text']['datetime'][0];
|
181 |
-
}
|
182 |
-
}
|
183 |
-
|
184 |
-
public static function get_comment_root_id($comment_id) {
|
185 |
-
$comment = get_comment($comment_id);
|
186 |
-
|
187 |
-
if (!$comment) {
|
188 |
-
return -1;
|
189 |
-
}
|
190 |
-
|
191 |
-
if ($comment->comment_parent) {
|
192 |
-
return WC_Helper::get_comment_root_id($comment->comment_parent);
|
193 |
-
} else {
|
194 |
-
return $comment;
|
195 |
-
}
|
196 |
-
}
|
197 |
-
|
198 |
-
public static function wc_get_array($array) {
|
199 |
-
$new_array = array();
|
200 |
-
foreach ($array as $value) {
|
201 |
-
$new_array[] = $value[0];
|
202 |
-
}
|
203 |
-
return $new_array;
|
204 |
-
}
|
205 |
-
|
206 |
-
public function make_url_clickable($matches) {
|
207 |
-
$ret = '';
|
208 |
-
$url = $matches[2];
|
209 |
-
|
210 |
-
if (empty($url))
|
211 |
-
return $matches[0];
|
212 |
-
// removed trailing [.,;:] from URL
|
213 |
-
if (in_array(substr($url, -1), array('.', ',', ';', ':')) === true) {
|
214 |
-
$ret = substr($url, -1);
|
215 |
-
$url = substr($url, 0, strlen($url) - 1);
|
216 |
-
}
|
217 |
-
return $matches[1] . "<a href=\"$url\" rel=\"nofollow\">$url</a>" . $ret;
|
218 |
-
}
|
219 |
-
|
220 |
-
public function make_web_ftp_clickable($matches) {
|
221 |
-
$ret = '';
|
222 |
-
$dest = $matches[2];
|
223 |
-
$dest = 'http://' . $dest;
|
224 |
-
|
225 |
-
if (empty($dest))
|
226 |
-
return $matches[0];
|
227 |
-
// removed trailing [,;:] from URL
|
228 |
-
if (in_array(substr($dest, -1), array('.', ',', ';', ':')) === true) {
|
229 |
-
$ret = substr($dest, -1);
|
230 |
-
$dest = substr($dest, 0, strlen($dest) - 1);
|
231 |
-
}
|
232 |
-
return $matches[1] . "<a href=\"$dest\" rel=\"nofollow\">$dest</a>" . $ret;
|
233 |
-
}
|
234 |
-
|
235 |
-
public function make_email_clickable($matches) {
|
236 |
-
$email = $matches[2] . '@' . $matches[3];
|
237 |
-
return $matches[1] . "<a href=\"mailto:$email\">$email</a>";
|
238 |
-
}
|
239 |
-
|
240 |
-
public function make_clickable($ret) {
|
241 |
-
$ret = ' ' . $ret;
|
242 |
-
$ret = preg_replace('#[^\"|\'](https?:\/\/[^\s]+(\.jpe?g|\.png|\.gif|\.bmp))#i', '<a href="$1"><img src="$1" /></a>', $ret);
|
243 |
-
// in testing, using arrays here was found to be faster
|
244 |
-
$ret = preg_replace_callback('#([\s>])([\w]+?://[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'make_url_clickable'), $ret);
|
245 |
-
$ret = preg_replace_callback('#([\s>])((www|ftp)\.[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'make_web_ftp_clickable'), $ret);
|
246 |
-
$ret = preg_replace_callback('#([\s>])([.0-9a-z_+-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,})#i', array(&$this, 'make_email_clickable'), $ret);
|
247 |
-
|
248 |
-
// this one is not in an array because we need it to run last, for cleanup of accidental links within links
|
249 |
-
$ret = preg_replace("#(<a( [^>]+?>|>))<a [^>]+?>([^>]+?)</a></a>#i", "$1$3</a>", $ret);
|
250 |
-
|
251 |
-
$ret = trim($ret);
|
252 |
-
return $ret;
|
253 |
-
}
|
254 |
-
|
255 |
-
/**
|
256 |
-
* check if comment has been posted today or not
|
257 |
-
* return boolean
|
258 |
-
*/
|
259 |
-
public static function is_posted_today($comment) {
|
260 |
-
return date('Ymd', strtotime(current_time('Ymd'))) <= date('Ymd', strtotime($comment->comment_date));
|
261 |
-
}
|
262 |
-
|
263 |
-
/**
|
264 |
-
* check if comment is still editable or not
|
265 |
-
* return boolean
|
266 |
-
*/
|
267 |
-
public function is_comment_editable($comment) {
|
268 |
-
if ($comment->comment_ID) {
|
269 |
-
$wc_editable_comment_time = isset($this->wc_options_serialized->wc_comment_editable_time) ? $this->wc_options_serialized->wc_comment_editable_time : 0;
|
270 |
-
return $wc_editable_comment_time && ((time() - strtotime($comment->comment_date_gmt)) < intval($wc_editable_comment_time));
|
271 |
-
} else {
|
272 |
-
return false;
|
273 |
-
}
|
274 |
-
}
|
275 |
-
|
276 |
-
public function wc_sort_parent_comments($wc_parent_comments) {
|
277 |
-
for ($i = 0; $i < count($wc_parent_comments); $i++) {
|
278 |
-
for ($j = $i + 1; $j < count($wc_parent_comments); $j++) {
|
279 |
-
if (intval($wc_parent_comments[$i]->comment_ID) > intval($wc_parent_comments[$j]->comment_ID)) {
|
280 |
-
$wc_parent_comments = $this->wc_swap_comments($i, $j, $wc_parent_comments);
|
281 |
-
}
|
282 |
-
}
|
283 |
-
}
|
284 |
-
return $wc_parent_comments;
|
285 |
-
}
|
286 |
-
|
287 |
-
private function wc_swap_comments($i, $j, $wc_parent_comments) {
|
288 |
-
$tmp = $wc_parent_comments[$i];
|
289 |
-
$wc_parent_comments[$i] = $wc_parent_comments[$j];
|
290 |
-
$wc_parent_comments[$j] = $tmp;
|
291 |
-
return $wc_parent_comments;
|
292 |
-
}
|
293 |
-
|
294 |
-
/**
|
295 |
-
* return client real ip
|
296 |
-
*/
|
297 |
-
public static function get_real_ip_addr() {
|
298 |
-
if (!empty($_SERVER['HTTP_CLIENT_IP'])) { //check ip from share internet
|
299 |
-
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
300 |
-
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { //to check ip is pass from proxy
|
301 |
-
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
302 |
-
} else {
|
303 |
-
$ip = $_SERVER['REMOTE_ADDR'];
|
304 |
-
}
|
305 |
-
return $ip;
|
306 |
-
}
|
307 |
-
|
308 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class.WpdiscuzCss.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WpdiscuzCss {
|
4 |
+
|
5 |
+
private $optionsSerialized;
|
6 |
+
|
7 |
+
function __construct($optionsSerialized) {
|
8 |
+
$this->optionsSerialized = $optionsSerialized;
|
9 |
+
}
|
10 |
+
|
11 |
+
/**
|
12 |
+
* init wpdiscuz styles
|
13 |
+
*/
|
14 |
+
public function initCustomCss() {
|
15 |
+
global $post;
|
16 |
+
if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
|
17 |
+
?>
|
18 |
+
<style type="text/css">#wpcomm .wc_new_comment{ background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc_new_reply{background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc-form-wrapper{background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>;} #wpcomm select, #wpcomm textarea, #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="url"]{ border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;} #wpcomm .wc-comment .wc-comment-right{ background:<?php echo $this->optionsSerialized->commentBGColor; ?>;} #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->optionsSerialized->replyBGColor; ?>; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>;color:<?php echo $this->optionsSerialized->commentTextColor; ?>;} <?php $blogRoles = $this->optionsSerialized->blogRoles; foreach ($blogRoles as $role => $color) { echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author, #wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author a{ color:' . $color . ';} '; echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-left .wc-comment-label{background:' . $color . ';}'; } ?> #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 { color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; } #wpcomm .wc-comment-footer .wc-vote-result{ background:<?php echo $this->optionsSerialized->voteReplyColor; ?>;} #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {color: <?php echo $this->optionsSerialized->voteReplyColor; ?>; }.wc-load-more-submit {border: 1px solid <?php echo $this->optionsSerialized->inputBorderColor; ?>;} #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/x.png'); ?>") no-repeat;}#wpcomm .wc-new-loaded-comment > .wc-comment-right {background: <?php echo $this->optionsSerialized->newLoadedCommentBGColor; ?>;} <?php echo stripslashes($this->optionsSerialized->customCss); ?> .wpdiscuz-front-actions{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-subscribe-bar{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-sort-buttons{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; } .wpdiscuz-sort-button{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; cursor:pointer; } .wpdiscuz-sort-button:hover{ color: <?php echo $this->optionsSerialized->primaryColor; ?>; cursor:pointer; } .wpdiscuz-sort-button-active{ color: <?php echo $this->optionsSerialized->primaryColor; ?>!important; cursor:default!important; }#wpcomm .page-numbers{ color:<?php echo $this->optionsSerialized->commentTextColor; ?>; border:<?php echo $this->optionsSerialized->commentTextColor; ?> 1px solid; } #wpcomm span.current{ background:<?php echo $this->optionsSerialized->commentTextColor; ?>; }</style>
|
19 |
+
<?php
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
}
|
24 |
+
?>
|
includes/wc-db-helper.php
DELETED
@@ -1,357 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WC_DB_Helper {
|
4 |
-
|
5 |
-
private $db;
|
6 |
-
private $dbprefix;
|
7 |
-
private $users_voted;
|
8 |
-
private $phrases;
|
9 |
-
private $email_notification;
|
10 |
-
|
11 |
-
function __construct() {
|
12 |
-
global $wpdb;
|
13 |
-
$this->db = $wpdb;
|
14 |
-
$this->dbprefix = $wpdb->prefix;
|
15 |
-
$this->users_voted = $this->dbprefix . 'wc_users_voted';
|
16 |
-
$this->phrases = $this->dbprefix . 'wc_phrases';
|
17 |
-
$this->email_notification = $this->dbprefix . 'wc_comments_subscription';
|
18 |
-
}
|
19 |
-
|
20 |
-
/**
|
21 |
-
* create table in db on activation if not exists
|
22 |
-
*/
|
23 |
-
public function create_tables() {
|
24 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
25 |
-
if (!$this->wc_is_table_exists($this->users_voted)) {
|
26 |
-
$sql = "CREATE TABLE `" . $this->users_voted . "`(`id` INT(11) NOT NULL AUTO_INCREMENT,`user_id` VARCHAR(255) NOT NULL, `comment_id` INT(11) NOT NULL, `vote_type` INT(11) DEFAULT NULL, `is_guest` TINYINT(1) DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `comment_id` (`comment_id`), KEY `vote_type` (`vote_type`), KEY `is_guest` (`is_guest`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
27 |
-
dbDelta($sql);
|
28 |
-
}
|
29 |
-
if (!$this->wc_is_table_exists($this->phrases)) {
|
30 |
-
$sql = "CREATE TABLE `" . $this->phrases . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `phrase_key` VARCHAR(255) NOT NULL, `phrase_value` TEXT NOT NULL, PRIMARY KEY (`id`), KEY `phrase_key` (`phrase_key`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
31 |
-
dbDelta($sql);
|
32 |
-
}
|
33 |
-
$this->wc_create_email_notification_table();
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* check if table exists in database
|
38 |
-
* return true if exists false otherwise
|
39 |
-
*/
|
40 |
-
public function wc_is_table_exists($wc_table_name) {
|
41 |
-
return $this->db->get_var("SHOW TABLES LIKE '$wc_table_name'") == $wc_table_name;
|
42 |
-
}
|
43 |
-
|
44 |
-
public function wc_create_email_notification_table() {
|
45 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
46 |
-
$wc_old_notification_table_name_v200 = $this->dbprefix . 'wc_email_notfication';
|
47 |
-
$wc_old_notification_table_name_v214 = $this->dbprefix . 'wc_email_notify';
|
48 |
-
if (!$this->wc_is_table_exists($this->email_notification)) {
|
49 |
-
$sql = "CREATE TABLE `" . $this->email_notification . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `email` VARCHAR(255) NOT NULL, `subscribtion_id` INT(11) NOT NULL, `post_id` INT(11) NOT NULL, `subscribtion_type` VARCHAR(255) NOT NULL, `activation_key` VARCHAR(255) NOT NULL, `confirm` TINYINT DEFAULT 0, `subscription_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `subscribtion_id` (`subscribtion_id`), KEY `post_id` (`post_id`), KEY `confirm`(`confirm`)) ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
50 |
-
dbDelta($sql);
|
51 |
-
}
|
52 |
-
|
53 |
-
if ($this->wc_is_table_exists($wc_old_notification_table_name_v200)) {
|
54 |
-
$this->wc_save_notification_data_v200($wc_old_notification_table_name_v200);
|
55 |
-
}
|
56 |
-
|
57 |
-
if ($this->wc_is_table_exists($wc_old_notification_table_name_v214)) {
|
58 |
-
$this->wc_save_notification_data_v214($wc_old_notification_table_name_v214);
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* save old notification data from notification table v200 into new created table and drop old table
|
64 |
-
*/
|
65 |
-
public function wc_save_notification_data_v200($wc_old_notification_table_name) {
|
66 |
-
$sql_post_notification_data = "SELECT * FROM `" . $wc_old_notification_table_name . "` WHERE `post_id` > 0;";
|
67 |
-
$sql_comment_notification_data = "SELECT * FROM `" . $wc_old_notification_table_name . "` WHERE `comment_id` > 0;";
|
68 |
-
$post_notifications_data = $this->db->get_results($sql_post_notification_data, ARRAY_A);
|
69 |
-
$comment_notifications_data = $this->db->get_results($sql_comment_notification_data, ARRAY_A);
|
70 |
-
$inserted_post_ids = array();
|
71 |
-
foreach ($post_notifications_data as $p_notification_data) {
|
72 |
-
$email = $p_notification_data['email'];
|
73 |
-
$post_id = $p_notification_data['post_id'];
|
74 |
-
$inserted_post_ids[] = $post_id;
|
75 |
-
$subscribtion_type = "post";
|
76 |
-
$activation_key = md5($email . uniqid() . time());
|
77 |
-
$sql_add_old_post_notification = "INSERT INTO `" . $this->email_notification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $post_id, $post_id, '$subscribtion_type', '$activation_key', '1');";
|
78 |
-
$this->db->query($sql_add_old_post_notification);
|
79 |
-
}
|
80 |
-
|
81 |
-
foreach ($comment_notifications_data as $c_notification_data) {
|
82 |
-
$email = $c_notification_data['email'];
|
83 |
-
$comment_id = $c_notification_data['comment_id'];
|
84 |
-
$comment = get_comment($comment_id);
|
85 |
-
if (!$this->wc_has_comment_notification($comment->comment_post_ID, $comment_id, $email)) {
|
86 |
-
$subscribtion_type = "comment";
|
87 |
-
$activation_key = md5($email . uniqid() . time());
|
88 |
-
$sql_add_old_post_notification = "INSERT INTO `" . $this->email_notification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $comment_id, $comment->comment_post_ID, '$subscribtion_type', '$activation_key', '1');";
|
89 |
-
$this->db->query($sql_add_old_post_notification);
|
90 |
-
}
|
91 |
-
}
|
92 |
-
|
93 |
-
$sql_drop_old_notification_table = "DROP TABLE `" . $wc_old_notification_table_name . "`;";
|
94 |
-
$this->db->query($sql_drop_old_notification_table);
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* save old notification data from notification table v214 into new created table and drop old table
|
99 |
-
*/
|
100 |
-
public function wc_save_notification_data_v214($wc_old_notification_table_name_v214) {
|
101 |
-
$sql_post_notification_data = "INSERT INTO `" . $this->email_notification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) SELECT `email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, '1' FROM " . $wc_old_notification_table_name_v214 . ";";
|
102 |
-
$this->db->query($sql_post_notification_data);
|
103 |
-
$sql_drop_old_notification_table = "DROP TABLE `" . $wc_old_notification_table_name_v214 . "`;";
|
104 |
-
$this->db->query($sql_drop_old_notification_table);
|
105 |
-
}
|
106 |
-
|
107 |
-
/**
|
108 |
-
* add vote type
|
109 |
-
*/
|
110 |
-
public function add_vote_type($user_id, $comment_id, $vote_type) {
|
111 |
-
$is_guest = is_user_logged_in() ? 0 : 1;
|
112 |
-
$sql = $this->db->prepare("INSERT INTO `" . $this->users_voted . "`(`user_id`, `comment_id`, `vote_type`,`is_guest`)VALUES(%s,%d,%d,%d);", $user_id, $comment_id, $vote_type,$is_guest);
|
113 |
-
return $this->db->query($sql);
|
114 |
-
}
|
115 |
-
|
116 |
-
/**
|
117 |
-
* update vote type
|
118 |
-
*/
|
119 |
-
public function update_vote_type($user_id, $comment_id, $vote_type) {
|
120 |
-
$sql = $this->db->prepare("UPDATE `" . $this->users_voted . "` SET `vote_type` = %d WHERE `user_id` = %d AND `comment_id` = %d", $vote_type, $user_id, $comment_id);
|
121 |
-
return $this->db->query($sql);
|
122 |
-
}
|
123 |
-
|
124 |
-
/**
|
125 |
-
* check if the user is already voted on comment or not by user id and comment id
|
126 |
-
*/
|
127 |
-
public function is_user_voted($user_id, $comment_id) {
|
128 |
-
$sql = $this->db->prepare("SELECT `vote_type` FROM `" . $this->users_voted . "` WHERE `user_id` = %s AND `comment_id` = %d;", $user_id, $comment_id);
|
129 |
-
return $this->db->get_var($sql);
|
130 |
-
}
|
131 |
-
|
132 |
-
/**
|
133 |
-
* update phrases
|
134 |
-
*/
|
135 |
-
public function update_phrases($phrases) {
|
136 |
-
if ($phrases) {
|
137 |
-
foreach ($phrases as $phrase_key => $phrase_value) {
|
138 |
-
|
139 |
-
if (is_array($phrase_value) && array_key_exists(WC_Helper::$datetime, $phrase_value)) {
|
140 |
-
$phrase_value = $phrase_value[WC_Helper::$datetime][0];
|
141 |
-
}
|
142 |
-
if ($this->is_phrase_exists($phrase_key)) {
|
143 |
-
$sql = $this->db->prepare("UPDATE `" . $this->phrases . "` SET `phrase_value` = %s WHERE `phrase_key` = %s;", htmlentities($phrase_value), $phrase_key);
|
144 |
-
} else {
|
145 |
-
$sql = $this->db->prepare("INSERT INTO `" . $this->phrases . "`(`phrase_key`, `phrase_value`)VALUES(%s, %s);", $phrase_key, htmlentities($phrase_value));
|
146 |
-
}
|
147 |
-
$this->db->query($sql);
|
148 |
-
}
|
149 |
-
}
|
150 |
-
}
|
151 |
-
|
152 |
-
public function is_phrase_exists($phrase_key) {
|
153 |
-
$sql = $this->db->prepare("SELECT `phrase_key` FROM `" . $this->phrases . "` WHERE `phrase_key` LIKE %s", $phrase_key);
|
154 |
-
return $this->db->get_var($sql);
|
155 |
-
}
|
156 |
-
|
157 |
-
/**
|
158 |
-
* get phrases from db
|
159 |
-
*/
|
160 |
-
public function get_phrases() {
|
161 |
-
$sql = "SELECT `phrase_key`, `phrase_value` FROM `" . $this->phrases . "`;";
|
162 |
-
$phrases = $this->db->get_results($sql, ARRAY_A);
|
163 |
-
$tmp_phrases = array();
|
164 |
-
foreach ($phrases as $phrase) {
|
165 |
-
if (!is_array($phrase)) {
|
166 |
-
$phrase = stripslashes($phrase);
|
167 |
-
}
|
168 |
-
$tmp_phrases[$phrase['phrase_key']] = WC_Helper::init_phrase_key_value($phrase);
|
169 |
-
}
|
170 |
-
return $tmp_phrases;
|
171 |
-
}
|
172 |
-
|
173 |
-
/**
|
174 |
-
*
|
175 |
-
* @param type $post_id the current post id
|
176 |
-
* @param type $user_email the comment author email
|
177 |
-
* @param type $date_from
|
178 |
-
* @return type int, all comments count for current post or count for author
|
179 |
-
*/
|
180 |
-
public function get_comments_count($post_id, $user_email = null, $date_from = null) {
|
181 |
-
if ($user_email && $date_from) {
|
182 |
-
$sql_new_comments = $this->db->prepare("SELECT count(*) FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_author_email` = %s AND `comment_date` > STR_TO_DATE(%s, '%Y-%m-%d %H:%i:%s')", $user_email, $date_from);
|
183 |
-
} else {
|
184 |
-
$sql_new_comments = $this->db->prepare("SELECT count(*) FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = 1", $post_id);
|
185 |
-
}
|
186 |
-
return $this->db->get_var($sql_new_comments);
|
187 |
-
}
|
188 |
-
|
189 |
-
/**
|
190 |
-
* get current post all parent comments count
|
191 |
-
*/
|
192 |
-
public function get_post_parent_comments_count($post_id) {
|
193 |
-
$sql_new_comments = $this->db->prepare("SELECT count(*) FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = 1 AND `comment_parent` = 0", $post_id);
|
194 |
-
return $this->db->get_var($sql_new_comments);
|
195 |
-
}
|
196 |
-
|
197 |
-
/**
|
198 |
-
*
|
199 |
-
* @param type $post_id the current post id
|
200 |
-
* @return type int - the last comment id for this post
|
201 |
-
*/
|
202 |
-
public function get_last_comment_id_by_post_id($post_id) {
|
203 |
-
$sql_get_last_comment = $this->db->prepare("SELECT MAX(`comment_id`) FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_post_ID` = %d;", $post_id);
|
204 |
-
$wc_last_comment_id = $this->db->get_var($sql_get_last_comment);
|
205 |
-
return (!empty($wc_last_comment_id) && $wc_last_comment_id) ? $wc_last_comment_id : 0;
|
206 |
-
}
|
207 |
-
|
208 |
-
/**
|
209 |
-
*
|
210 |
-
* @param type $post_id the current post id
|
211 |
-
* @param type $wc_last_comment_id - the last comment id for this post
|
212 |
-
* @return type array
|
213 |
-
*/
|
214 |
-
public function wc_get_new_comments($post_id, $wc_last_comment_id, $wc_author_email = null) {
|
215 |
-
if ($wc_author_email) {
|
216 |
-
$sql_get_new_comments = $this->db->prepare("SELECT `comment_id`, `comment_parent` FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_post_ID` = %d AND `comment_id` > %d AND `comment_author_email` NOT LIKE '%s' ORDER BY `comment_date` DESC", $post_id, $wc_last_comment_id, $wc_author_email);
|
217 |
-
} else {
|
218 |
-
$sql_get_new_comments = $this->db->prepare("SELECT `comment_id`, `comment_parent` FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_post_ID` = %d AND `comment_id` > %d ORDER BY `comment_date` DESC", $post_id, $wc_last_comment_id);
|
219 |
-
}
|
220 |
-
return $this->db->get_results($sql_get_new_comments, ARRAY_A);
|
221 |
-
}
|
222 |
-
|
223 |
-
/**
|
224 |
-
* get current user comments' new replies
|
225 |
-
*/
|
226 |
-
public function wc_get_user_comments_new_replies($post_id, $wc_last_comment_id, $wc_author_email) {
|
227 |
-
$sql_get_new_replies = $this->db->prepare("SELECT * FROM `" . $this->dbprefix . "comments` WHERE `comment_post_id` = %d AND comment_id > %d AND `comment_parent` != 0 AND `comment_parent` IN(SELECT `comment_id` FROM `" . $this->dbprefix . "comments` WHERE `comment_author_email` LIKE '%s') AND `comment_author_email` NOT LIKE '%s';", $post_id, $wc_last_comment_id, $wc_author_email, $wc_author_email);
|
228 |
-
return $this->db->get_results($sql_get_new_replies, ARRAY_A);
|
229 |
-
}
|
230 |
-
|
231 |
-
public function wc_get_visible_parent_comment_ids($post_id, $limit) {
|
232 |
-
$sql_get_visible_ids = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_parent` = 0 AND `comment_post_ID` = %d ORDER BY `comment_ID` DESC LIMIT %d;", $post_id, $limit);
|
233 |
-
return $this->db->get_results($sql_get_visible_ids, ARRAY_N);
|
234 |
-
}
|
235 |
-
|
236 |
-
public function wc_add_email_notification($id, $post_id, $email, $is_all) {
|
237 |
-
if ($is_all == 1) {
|
238 |
-
$subscribtion_type = 'post';
|
239 |
-
$this->wc_delete_comment_notifications($id, $email);
|
240 |
-
} else if ($is_all == 2) {
|
241 |
-
$subscribtion_type = 'all_comment';
|
242 |
-
$this->wc_delete_comment_notifications($id, $email);
|
243 |
-
} else if ($is_all == 3) {
|
244 |
-
$subscribtion_type = 'comment';
|
245 |
-
}
|
246 |
-
$activation_key = md5($email . uniqid() . time());
|
247 |
-
$sql = $this->db->prepare("INSERT INTO `" . $this->email_notification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`) VALUES(%s, %d, %d, %s, %s);", $email, $id, $post_id, $subscribtion_type, $activation_key);
|
248 |
-
$this->db->query($sql);
|
249 |
-
return $this->db->insert_id;
|
250 |
-
}
|
251 |
-
|
252 |
-
public function wc_get_post_new_comment_notification($post_id, $email) {
|
253 |
-
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = 'post' AND `confirm` = 1 AND `subscribtion_id` = %d AND `email` != %s;", $post_id, $email);
|
254 |
-
return $this->db->get_results($sql, ARRAY_A);
|
255 |
-
}
|
256 |
-
|
257 |
-
public function wc_get_post_all_new_comment_notification($post_id, $email) {
|
258 |
-
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = 'all_comment' AND `confirm` = 1 AND `subscribtion_id` = %d AND `email` = %s;", $post_id, $email);
|
259 |
-
return $this->db->get_results($sql, ARRAY_A);
|
260 |
-
}
|
261 |
-
|
262 |
-
public function wc_get_post_new_reply_notification($comment_id, $email) {
|
263 |
-
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = 'comment' AND `confirm` = 1 AND `subscribtion_id` = %d AND `email` != %s;", $comment_id, $email);
|
264 |
-
return $this->db->get_results($sql, ARRAY_A);
|
265 |
-
}
|
266 |
-
|
267 |
-
public function wc_has_post_notification($post_id, $email) {
|
268 |
-
$sql = $this->db->prepare("SELECT `id` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = 'post' AND `subscribtion_id` = %d AND `email` = %s;", $post_id, $email);
|
269 |
-
$result = $this->db->get_results($sql, ARRAY_N);
|
270 |
-
return count($result);
|
271 |
-
}
|
272 |
-
|
273 |
-
public function wc_has_all_comments_notification($post_id, $email) {
|
274 |
-
$sql = $this->db->prepare("SELECT `id` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` IN('post', 'all_comment') AND `subscribtion_id` = %d AND `email` = %s;", $post_id, $email);
|
275 |
-
$result = $this->db->get_results($sql, ARRAY_N);
|
276 |
-
return count($result);
|
277 |
-
}
|
278 |
-
|
279 |
-
public function wc_has_comment_notification($post_id, $comment_id, $email) {
|
280 |
-
$sql_comments_notifications = $this->db->prepare("SELECT count(*) FROM `" . $this->email_notification . "` WHERE `email` LIKE %s AND `subscribtion_type` IN('post', 'all_comment') AND `subscribtion_id` = %d;", $email, $post_id);
|
281 |
-
if ($this->db->get_var($sql_comments_notifications)) {
|
282 |
-
return 1;
|
283 |
-
}
|
284 |
-
|
285 |
-
$sql = $this->db->prepare("SELECT `id` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = 'comment' AND `subscribtion_id` = %d AND `email` = %s", $comment_id, $email);
|
286 |
-
$result = $this->db->get_results($sql, ARRAY_N);
|
287 |
-
return count($result);
|
288 |
-
}
|
289 |
-
|
290 |
-
/**
|
291 |
-
* check if user subscription is confirmed or not
|
292 |
-
*/
|
293 |
-
public function wc_is_user_subscription_confirmed($post_id, $email) {
|
294 |
-
$sql_is_subscription_confirmed = $this->db->prepare("SELECT `confirm` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` IN('post', 'all_comment', 'comment') AND `subscribtion_id` = %d AND `email` = %s;", $post_id, $email);
|
295 |
-
return $this->db->get_var($sql_is_subscription_confirmed);
|
296 |
-
}
|
297 |
-
|
298 |
-
/**
|
299 |
-
* delete comment thread subscribtions if new subscribtion type is post
|
300 |
-
*/
|
301 |
-
public function wc_delete_comment_notifications($post_id, $email) {
|
302 |
-
$sql_delete_comment_notifications = $this->db->prepare("DELETE FROM `" . $this->email_notification . "` WHERE `subscribtion_type` != 'post' AND `post_id` = %d AND `email` LIKE %s;", $post_id, $email);
|
303 |
-
$this->db->query($sql_delete_comment_notifications);
|
304 |
-
}
|
305 |
-
|
306 |
-
/**
|
307 |
-
* create unsubscribe link
|
308 |
-
*/
|
309 |
-
public function wc_unsubscribe_link($id, $email, $subscribtion_type) {
|
310 |
-
$sql_subscriber_data = $this->db->prepare("SELECT `id`, `post_id`, `activation_key` FROM `" . $this->email_notification . "` WHERE `subscribtion_type` = %s AND `subscribtion_id` = %d AND `email` LIKE %s", $subscribtion_type, $id, $email);
|
311 |
-
$wc_unsubscribe = $this->db->get_row($sql_subscriber_data, ARRAY_A);
|
312 |
-
$post_id = $wc_unsubscribe['post_id'];
|
313 |
-
|
314 |
-
$wc_unsubscribe_link = get_permalink($post_id) . "?wpdiscuzSubscribeID=" . $wc_unsubscribe['id'] . "&key=" . $wc_unsubscribe['activation_key'] . '&#wc_unsubscribe_message';
|
315 |
-
return $wc_unsubscribe_link;
|
316 |
-
}
|
317 |
-
|
318 |
-
/**
|
319 |
-
* generate confirm link
|
320 |
-
*/
|
321 |
-
public function wc_confirm_link($subscrib_id) {
|
322 |
-
$sql_subscriber_data = $this->db->prepare("SELECT `id`, `post_id`, `activation_key` FROM `" . $this->email_notification . "` WHERE `id` = %d ", $subscrib_id);
|
323 |
-
$wc_confirm = $this->db->get_row($sql_subscriber_data, ARRAY_A);
|
324 |
-
$post_id = $wc_confirm['post_id'];
|
325 |
-
$wc_confirm_link = get_permalink($post_id) . "?wpdiscuzConfirmID=" . $wc_confirm['id'] . "&wpdiscuzConfirmKey=" . $wc_confirm['activation_key'] . '&wpDiscuzComfirm=yes&#wc_unsubscribe_message';
|
326 |
-
return $wc_confirm_link;
|
327 |
-
}
|
328 |
-
|
329 |
-
/**
|
330 |
-
* Confirm post or comment subscribtion
|
331 |
-
*/
|
332 |
-
public function wc_notification_confirm($subscribe_id, $key) {
|
333 |
-
$sql_confirm = $this->db->prepare("UPDATE `" . $this->email_notification . "` SET `confirm` = 1 WHERE `id` = %d AND `activation_key` LIKE %s;", $subscribe_id, $key);
|
334 |
-
return $this->db->query($sql_confirm);
|
335 |
-
}
|
336 |
-
|
337 |
-
/**
|
338 |
-
* delete subscribtion
|
339 |
-
*/
|
340 |
-
public function wc_unsubscribe($id, $activation_key) {
|
341 |
-
$sql_unsubscribe = $this->db->prepare("DELETE FROM `" . $this->email_notification . "` WHERE `id` = %d AND `activation_key` LIKE %s", $id, $activation_key);
|
342 |
-
return $this->db->query($sql_unsubscribe);
|
343 |
-
}
|
344 |
-
|
345 |
-
public function wc_alter_phrases_table() {
|
346 |
-
$sql_alter = "ALTER TABLE `" . $this->phrases . "` MODIFY `phrase_value` TEXT NOT NULL;";
|
347 |
-
$this->db->query($sql_alter);
|
348 |
-
}
|
349 |
-
|
350 |
-
public function wc_alter_voting_table() {
|
351 |
-
$sql_alter = "ALTER TABLE `" . $this->users_voted . "` MODIFY `user_id` VARCHAR(255) NOT NULL, ADD COLUMN `is_guest` TINYINT(1) DEFAULT 0, ADD INDEX `is_guest` (`is_guest`);";
|
352 |
-
$this->db->query($sql_alter);
|
353 |
-
}
|
354 |
-
|
355 |
-
}
|
356 |
-
|
357 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/wpdiscuz-en.mo
CHANGED
Binary file
|
languages/wpdiscuz-en.po
CHANGED
@@ -1,36 +1,43 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
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.
|
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:
|
23 |
msgid "Participate in this discussion via email"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: comment-form/
|
27 |
-
msgid "
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: comment-form/tpl-comment.php:
|
|
|
|
|
31 |
msgid "Edit"
|
32 |
msgstr ""
|
33 |
|
|
|
|
|
|
|
|
|
34 |
#: options/options-layouts/settings-general.php:2
|
35 |
msgid "General Settings"
|
36 |
msgstr ""
|
@@ -43,96 +50,146 @@ msgstr ""
|
|
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:
|
51 |
msgid "the top of the list"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: options/options-layouts/settings-general.php:
|
55 |
msgid "top of the threads"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: options/options-layouts/settings-general.php:
|
59 |
msgid "bottom of the threads"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: options/options-layouts/settings-general.php:
|
63 |
msgid "the bottom of the list"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: options/options-layouts/settings-general.php:
|
67 |
msgid "Comment Threads Per Page"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: options/options-layouts/settings-general.php:
|
|
|
|
|
|
|
|
|
71 |
msgid "Comments max depth"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: options/options-layouts/settings-general.php:
|
75 |
msgid "Level"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: options/options-layouts/settings-general.php:
|
79 |
-
#: options/options-layouts/settings-general.php:
|
80 |
-
#: options/options-layouts/settings-general.php:
|
81 |
-
#: options/options-layouts/settings-general.php:
|
82 |
msgid "Levels"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: options/options-layouts/settings-general.php:
|
86 |
msgid "Comment text size in pixels"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: options/options-layouts/settings-general.php:
|
90 |
msgid "Allow comment editing for"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: options/options-layouts/settings-general.php:
|
94 |
msgid "Not Allow"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: options/options-layouts/settings-general.php:
|
98 |
-
#: options/options-layouts/settings-general.php:
|
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:
|
106 |
#: options/phrases-layout/phrases-datetime.php:73
|
107 |
msgid "Hour"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: options/options-layouts/settings-general.php:
|
111 |
-
#: options/options-layouts/settings-general.php:
|
112 |
msgid "Hours"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: options/options-layouts/settings-general.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
msgid "Use WordPress Date/Time format"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: options/options-layouts/settings-general.php:
|
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:
|
126 |
msgid "Current Wordpress date/time format"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: options/options-layouts/settings-general.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
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 "
|
@@ -140,12 +197,12 @@ msgid ""
|
|
140 |
"visitors recognize the name of comment solution you use."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: options/options-layouts/settings-general.php:
|
144 |
msgid "Thank you!"
|
145 |
msgstr ""
|
146 |
|
147 |
#: options/options-layouts/settings-live-update.php:2
|
148 |
-
#: options/wc-options.php:
|
149 |
msgid "Live Update"
|
150 |
msgstr ""
|
151 |
|
@@ -153,6 +210,13 @@ msgstr ""
|
|
153 |
msgid "Live update options"
|
154 |
msgstr ""
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
#: options/options-layouts/settings-live-update.php:14
|
157 |
msgid "Never update"
|
158 |
msgstr ""
|
@@ -192,7 +256,7 @@ msgstr ""
|
|
192 |
msgid "Minute"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:
|
196 |
msgid "Show/Hide Components"
|
197 |
msgstr ""
|
198 |
|
@@ -200,31 +264,73 @@ msgstr ""
|
|
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:
|
204 |
msgid "Hide Reply button for Guests"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: options/options-layouts/settings-show-hide.php:
|
208 |
msgid "Hide Reply button for Members"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: options/options-layouts/settings-show-hide.php:
|
212 |
msgid "Hide Author Titles"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: options/options-layouts/settings-show-hide.php:
|
216 |
msgid "Hide Voting buttons"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: options/options-layouts/settings-show-hide.php:
|
220 |
-
msgid "Hide Share
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: options/options-layouts/settings-show-hide.php:
|
224 |
msgid "Hide the CAPTCHA field"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: options/options-layouts/settings-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
msgid "Background and Colors"
|
229 |
msgstr ""
|
230 |
|
@@ -325,81 +431,91 @@ msgid "Comment Template Phrases"
|
|
325 |
msgstr ""
|
326 |
|
327 |
#: options/phrases-layout/phrases-comment.php:7
|
328 |
-
#: options/wc-options-serialize.php:
|
329 |
msgid "Reply"
|
330 |
msgstr ""
|
331 |
|
332 |
#: options/phrases-layout/phrases-comment.php:17
|
333 |
-
#: options/wc-options-serialize.php:
|
334 |
msgid "Share"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: options/phrases-layout/phrases-comment.php:
|
338 |
-
#: options/wc-options-serialize.php:
|
339 |
msgid "Share On Facebook"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: options/phrases-layout/phrases-comment.php:
|
343 |
-
#: options/wc-options-serialize.php:
|
344 |
msgid "Share On Twitter"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: options/phrases-layout/phrases-comment.php:
|
348 |
-
#: options/wc-options-serialize.php:
|
349 |
msgid "Share On Google"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: options/phrases-layout/phrases-comment.php:
|
353 |
-
#: options/wc-options-serialize.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
msgid "Hide Replies"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: options/phrases-layout/phrases-comment.php:
|
358 |
-
#: options/wc-options-serialize.php:
|
359 |
msgid "Show Replies"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: options/phrases-layout/phrases-comment.php:
|
363 |
msgid "Title For Guests"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: options/phrases-layout/phrases-comment.php:
|
367 |
msgid "Title For Members"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: options/phrases-layout/phrases-comment.php:
|
371 |
msgid "Title For Authors"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: options/phrases-layout/phrases-comment.php:
|
375 |
msgid "Title For Admins"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: options/phrases-layout/phrases-comment.php:
|
379 |
-
#: options/wc-options-serialize.php:
|
380 |
msgid "Vote Up"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: options/phrases-layout/phrases-comment.php:
|
384 |
-
#: options/wc-options-serialize.php:
|
385 |
msgid "Vote Down"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: options/phrases-layout/phrases-comment.php:
|
389 |
msgid "Save edited comment button text"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: options/phrases-layout/phrases-comment.php:
|
393 |
-
#: options/wc-options-serialize.php:
|
394 |
msgid "Save"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: options/phrases-layout/phrases-comment.php:
|
398 |
msgid "Cancel comment editing button text"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: options/phrases-layout/phrases-comment.php:
|
402 |
-
#: options/wc-options-serialize.php:
|
403 |
msgid "Cancel"
|
404 |
msgstr ""
|
405 |
|
@@ -464,7 +580,7 @@ msgid "\"Today\" text"
|
|
464 |
msgstr ""
|
465 |
|
466 |
#: options/phrases-layout/phrases-datetime.php:164
|
467 |
-
#: options/wc-options-serialize.php:
|
468 |
msgid "Today"
|
469 |
msgstr ""
|
470 |
|
@@ -485,8 +601,8 @@ msgid "New Reply Subject"
|
|
485 |
msgstr ""
|
486 |
|
487 |
#: options/phrases-layout/phrases-email.php:33
|
488 |
-
#: options/phrases-layout/phrases-general.php:
|
489 |
-
#: options/wc-options-serialize.php:
|
490 |
msgid "New Reply"
|
491 |
msgstr ""
|
492 |
|
@@ -496,25 +612,25 @@ msgstr ""
|
|
496 |
|
497 |
#: options/phrases-layout/phrases-email.php:50
|
498 |
#: options/phrases-layout/phrases-email.php:54
|
499 |
-
#: options/wc-options-serialize.php:
|
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:
|
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:
|
512 |
-
msgid "Confirm your
|
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:
|
518 |
msgid "You've successfully confirmed your subscription."
|
519 |
msgstr ""
|
520 |
|
@@ -523,7 +639,7 @@ msgid "Subscribe Confirmation Email Subject"
|
|
523 |
msgstr ""
|
524 |
|
525 |
#: options/phrases-layout/phrases-email.php:96
|
526 |
-
#: options/wc-options-serialize.php:
|
527 |
msgid "Subscribe Confirmation"
|
528 |
msgstr ""
|
529 |
|
@@ -532,7 +648,7 @@ msgid "Subscribe Confirmation Email Content"
|
|
532 |
msgstr ""
|
533 |
|
534 |
#: options/phrases-layout/phrases-email.php:107
|
535 |
-
#: options/wc-options-serialize.php:
|
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 "
|
@@ -562,64 +678,68 @@ msgid "Name Field"
|
|
562 |
msgstr ""
|
563 |
|
564 |
#: options/phrases-layout/phrases-form.php:47
|
565 |
-
msgid "
|
566 |
msgstr ""
|
567 |
|
568 |
#: options/phrases-layout/phrases-form.php:57
|
569 |
-
msgid "
|
570 |
msgstr ""
|
571 |
|
572 |
#: options/phrases-layout/phrases-form.php:67
|
573 |
-
|
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:
|
583 |
-
#: options/wc-options-serialize.php:
|
584 |
msgid "None"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: options/phrases-layout/phrases-form.php:
|
588 |
msgid "Notify on new comments (checkbox)"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: options/phrases-layout/phrases-form.php:
|
592 |
-
#: options/wc-options-serialize.php:
|
593 |
msgid "Notify of all new follow-up comments"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: options/phrases-layout/phrases-form.php:
|
597 |
msgid "Notify on all new replies (checkbox)"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: options/phrases-layout/phrases-form.php:
|
601 |
-
#: options/wc-options-serialize.php:
|
602 |
msgid "Notify of new replies to all my comments"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: options/phrases-layout/phrases-form.php:
|
606 |
msgid "Notify on new replies (checkbox)"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: options/phrases-layout/phrases-form.php:
|
610 |
-
#: options/wc-options-serialize.php:
|
611 |
msgid "Notify of new replies to this comment"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: options/phrases-layout/phrases-form.php:
|
615 |
msgid "Subscribed on this comment replies"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: options/phrases-layout/phrases-form.php:
|
619 |
msgid "Subscribed on all your comments replies"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: options/phrases-layout/phrases-form.php:
|
623 |
msgid "Subscribed on this post"
|
624 |
msgstr ""
|
625 |
|
@@ -628,7 +748,7 @@ msgid "General Phrases"
|
|
628 |
msgstr ""
|
629 |
|
630 |
#: options/phrases-layout/phrases-general.php:7
|
631 |
-
#: options/wc-options-serialize.php:
|
632 |
msgid "Leave a Reply"
|
633 |
msgstr ""
|
634 |
|
@@ -637,7 +757,7 @@ msgid "Be the first to comment"
|
|
637 |
msgstr ""
|
638 |
|
639 |
#: options/phrases-layout/phrases-general.php:27
|
640 |
-
#: options/wc-options-serialize.php:
|
641 |
msgid "Comment"
|
642 |
msgstr ""
|
643 |
|
@@ -654,40 +774,45 @@ 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:
|
661 |
-
#: options/wc-options-serialize.php:
|
662 |
msgid "New Comment"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: options/phrases-layout/phrases-general.php:
|
666 |
-
msgid "Button text if has new comments"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: options/phrases-layout/phrases-general.php:
|
670 |
msgid "New Comments"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: options/phrases-layout/phrases-general.php:
|
674 |
msgid "Button text if has new reply"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: options/phrases-layout/phrases-general.php:
|
678 |
-
msgid "Button text if has new replies"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: options/phrases-layout/phrases-general.php:
|
682 |
msgid "New Replies"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: options/phrases-layout/phrases-general.php:
|
686 |
msgid "Text on load more button if has new comment(s)"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: options/phrases-layout/phrases-general.php:
|
690 |
-
#: options/wc-options-serialize.php:
|
691 |
msgid "New"
|
692 |
msgstr ""
|
693 |
|
@@ -696,7 +821,7 @@ msgid "Notification Phrases"
|
|
696 |
msgstr ""
|
697 |
|
698 |
#: options/phrases-layout/phrases-notification.php:7
|
699 |
-
#: options/wc-options-serialize.php:
|
700 |
msgid "You've successfully unsubscribed."
|
701 |
msgstr ""
|
702 |
|
@@ -709,325 +834,376 @@ msgid "Error message for invalid email field"
|
|
709 |
msgstr ""
|
710 |
|
711 |
#: options/phrases-layout/phrases-notification.php:38
|
712 |
-
|
713 |
-
msgid "You must be"
|
714 |
msgstr ""
|
715 |
|
716 |
#: options/phrases-layout/phrases-notification.php:48
|
717 |
-
|
|
|
718 |
msgstr ""
|
719 |
|
720 |
#: options/phrases-layout/phrases-notification.php:58
|
721 |
-
|
722 |
-
msgid "Log out"
|
723 |
msgstr ""
|
724 |
|
725 |
#: options/phrases-layout/phrases-notification.php:68
|
726 |
-
|
|
|
727 |
msgstr ""
|
728 |
|
729 |
#: options/phrases-layout/phrases-notification.php:78
|
730 |
-
msgid "
|
731 |
msgstr ""
|
732 |
|
733 |
#: options/phrases-layout/phrases-notification.php:88
|
734 |
-
|
735 |
-
msgid "Vote Counted"
|
736 |
msgstr ""
|
737 |
|
738 |
#: options/phrases-layout/phrases-notification.php:98
|
739 |
-
|
|
|
740 |
msgstr ""
|
741 |
|
742 |
#: options/phrases-layout/phrases-notification.php:108
|
743 |
-
|
744 |
-
msgid "Voting Error"
|
745 |
msgstr ""
|
746 |
|
747 |
#: options/phrases-layout/phrases-notification.php:118
|
748 |
-
|
|
|
749 |
msgstr ""
|
750 |
|
751 |
#: options/phrases-layout/phrases-notification.php:128
|
752 |
-
msgid "
|
753 |
msgstr ""
|
754 |
|
755 |
#: options/phrases-layout/phrases-notification.php:138
|
756 |
-
|
757 |
-
msgid "Invalid Captcha Code"
|
758 |
msgstr ""
|
759 |
|
760 |
#: options/phrases-layout/phrases-notification.php:148
|
761 |
-
|
762 |
-
msgid "Some of field value is invalid"
|
763 |
msgstr ""
|
764 |
|
765 |
#: options/phrases-layout/phrases-notification.php:158
|
766 |
-
|
|
|
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:
|
774 |
-
#: options/wc-options-serialize.php:
|
775 |
msgid "Sorry, the comment was not updated"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: options/phrases-layout/phrases-notification.php:
|
779 |
msgid "Message if comment no longer possible to edit"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: options/phrases-layout/phrases-notification.php:
|
783 |
-
#: options/wc-options-serialize.php:
|
784 |
msgid "Sorry, this comment no longer possible to edit"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: options/phrases-layout/phrases-notification.php:
|
788 |
msgid "Message if comment text not changed"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: options/phrases-layout/phrases-notification.php:
|
792 |
msgid "TYou've not made any changes"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: options/wc-options-serialize.php:
|
796 |
msgid "Be the First to Comment!"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: options/wc-options-serialize.php:
|
800 |
msgid "Comments"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: options/wc-options-serialize.php:
|
804 |
msgid "on"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: options/wc-options-serialize.php:
|
808 |
msgid "Start the discussion"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: options/wc-options-serialize.php:
|
812 |
msgid "Join the discussion"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: options/wc-options-serialize.php:
|
816 |
msgid "Email"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: options/wc-options-serialize.php:
|
820 |
msgid "Name"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: options/wc-options-serialize.php:
|
|
|
|
|
|
|
|
|
824 |
msgid "Please insert the code above to comment"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: options/wc-options-serialize.php:
|
828 |
msgid "Post Comment"
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: options/wc-options-serialize.php:
|
832 |
msgid "Load More Comments"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: options/wc-options-serialize.php:
|
836 |
msgid "Guest"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: options/wc-options-serialize.php:
|
840 |
msgid "Member"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: options/wc-options-serialize.php:
|
844 |
msgid "Author"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: options/wc-options-serialize.php:
|
848 |
msgid "Admin"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: options/wc-options-serialize.php:
|
852 |
msgid "New comment on the discussion section you've been interested in"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: options/wc-options-serialize.php:
|
856 |
msgid "New reply on the discussion section you've been interested in"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: options/wc-options-serialize.php:
|
860 |
msgid "You're subscribed for new replies on this comment"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: options/wc-options-serialize.php:
|
864 |
msgid "You're subscribed for new replies on all your comments"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: options/wc-options-serialize.php:
|
868 |
msgid "You're subscribed for new follow-up comments on this post"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: options/wc-options-serialize.php:
|
872 |
msgid "please fill out this field to comment"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: options/wc-options-serialize.php:
|
876 |
msgid "email address is invalid"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: options/wc-options-serialize.php:
|
|
|
|
|
|
|
|
|
880 |
msgid "year"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: options/wc-options-serialize.php:
|
884 |
msgid "years"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: options/wc-options-serialize.php:
|
888 |
msgid "month"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: options/wc-options-serialize.php:
|
892 |
msgid "months"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: options/wc-options-serialize.php:
|
896 |
msgid "day"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: options/wc-options-serialize.php:
|
900 |
msgid "days"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: options/wc-options-serialize.php:
|
904 |
msgid "hour"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: options/wc-options-serialize.php:
|
908 |
msgid "hours"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: options/wc-options-serialize.php:
|
912 |
msgid "minute"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: options/wc-options-serialize.php:
|
916 |
msgid "minutes"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: options/wc-options-serialize.php:
|
920 |
msgid "second"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: options/wc-options-serialize.php:
|
924 |
msgid "seconds"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: options/wc-options-serialize.php:
|
928 |
msgid "right now"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: options/wc-options-serialize.php:
|
932 |
msgid "ago"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: options/wc-options-serialize.php:
|
936 |
msgid "You are logged in as"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: options/wc-options-serialize.php:
|
940 |
msgid "logged in"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: options/wc-options-serialize.php:
|
944 |
msgid "to post a comment."
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: options/wc-options-serialize.php:
|
948 |
msgid "You've already voted for this comment"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: options/wc-options-serialize.php:
|
952 |
msgid "You Must Be Logged In To Vote"
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: options/wc-options-serialize.php:
|
956 |
msgid "You cannot vote for your comment"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: options/wc-options-serialize.php:
|
|
|
|
|
|
|
|
|
960 |
msgid "new comment"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: options/wc-options-serialize.php:
|
964 |
msgid "new comments"
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: options/wc-options-serialize.php:
|
968 |
-
msgid "
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: options/wc-options-serialize.php:
|
972 |
msgid "new reply on your comment"
|
973 |
msgstr ""
|
974 |
|
975 |
-
#: options/wc-options-serialize.php:
|
976 |
msgid "new replies on your comments"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: options/wc-options-serialize.php:
|
980 |
msgid "You've not made any changes"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: options/wc-options
|
|
|
|
|
|
|
|
|
|
|
984 |
msgid "Hacker?"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: options/wc-options.php:
|
988 |
msgid "wpDiscuz General Settings"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: options/wc-options.php:
|
992 |
msgid "General settings"
|
993 |
msgstr ""
|
994 |
|
995 |
-
#: options/wc-options.php:
|
996 |
msgid "Email Subscription"
|
997 |
msgstr ""
|
998 |
|
999 |
-
#: options/wc-options.php:
|
1000 |
msgid "and Postmatic"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: options/wc-options.php:
|
1004 |
msgid "Save Changes"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: options/wc-options.php:
|
|
|
|
|
|
|
|
|
1008 |
msgid "WpDiscuz Front-end Phrases"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: options/wc-options.php:
|
1012 |
msgid "General"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
-
#: options/wc-options.php:
|
1016 |
msgid "Form"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: options/wc-options.php:
|
1020 |
msgid "Date/Time"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: options/wc-options.php:
|
1024 |
msgid "Notification"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: wc.php:
|
1028 |
-
msgid "
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
|
1032 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1033 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-05-28 23:58+0400\n"
|
5 |
+
"PO-Revision-Date: 2015-05-28 23:58+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.8.1\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-WPHeader: wc.php\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
19 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: comment-form/form.php:185 comment-form/tpl-comment.php:263
|
24 |
msgid "Participate in this discussion via email"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: comment-form/form.php:323
|
28 |
+
msgid "Connect with"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: comment-form/tpl-comment.php:174
|
32 |
+
#: options/phrases-layout/phrases-comment.php:27
|
33 |
+
#: options/wc-options-serialize.php:439
|
34 |
msgid "Edit"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: comment-form/tpl-comment.php:385 wc.php:321
|
38 |
+
msgid "Anonymous"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
#: options/options-layouts/settings-general.php:2
|
42 |
msgid "General Settings"
|
43 |
msgstr ""
|
50 |
msgid "User Must be registered to comment"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: options/options-layouts/settings-general.php:34
|
54 |
+
msgid "Yes"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: options/options-layouts/settings-general.php:38
|
58 |
+
msgid "No"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
#: options/options-layouts/settings-general.php:46
|
62 |
+
msgid "Comment author must fill out name"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: options/options-layouts/settings-general.php:57
|
66 |
+
msgid "Comment author must fill out email"
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: options/options-layouts/settings-general.php:68
|
70 |
msgid "Show the latest comments on"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: options/options-layouts/settings-general.php:72
|
74 |
msgid "the top of the list"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: options/options-layouts/settings-general.php:74
|
78 |
msgid "top of the threads"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: options/options-layouts/settings-general.php:76
|
82 |
msgid "bottom of the threads"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: options/options-layouts/settings-general.php:78
|
86 |
msgid "the bottom of the list"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: options/options-layouts/settings-general.php:86
|
90 |
msgid "Comment Threads Per Page"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: options/options-layouts/settings-general.php:97
|
94 |
+
msgid "Comment text max length"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: options/options-layouts/settings-general.php:108
|
98 |
msgid "Comments max depth"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: options/options-layouts/settings-general.php:113
|
102 |
msgid "Level"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: options/options-layouts/settings-general.php:114
|
106 |
+
#: options/options-layouts/settings-general.php:115
|
107 |
+
#: options/options-layouts/settings-general.php:116
|
108 |
+
#: options/options-layouts/settings-general.php:117
|
109 |
msgid "Levels"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: options/options-layouts/settings-general.php:124
|
113 |
msgid "Comment text size in pixels"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: options/options-layouts/settings-general.php:141
|
117 |
msgid "Allow comment editing for"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: options/options-layouts/settings-general.php:146
|
121 |
msgid "Not Allow"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: options/options-layouts/settings-general.php:147
|
125 |
+
#: options/options-layouts/settings-general.php:148
|
126 |
#: options/options-layouts/settings-live-update.php:41
|
127 |
#: options/options-layouts/settings-live-update.php:42
|
128 |
#: options/options-layouts/settings-live-update.php:43
|
129 |
msgid "Minutes"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: options/options-layouts/settings-general.php:149
|
133 |
#: options/phrases-layout/phrases-datetime.php:73
|
134 |
msgid "Hour"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: options/options-layouts/settings-general.php:150
|
138 |
+
#: options/options-layouts/settings-general.php:151
|
139 |
msgid "Hours"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: options/options-layouts/settings-general.php:158
|
143 |
+
msgid "Redirect first commenter to"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: options/options-layouts/settings-general.php:165
|
147 |
+
msgid "Do not redirect"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: options/options-layouts/settings-general.php:174
|
151 |
+
msgid "Allow guests to vote on comments"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: options/options-layouts/settings-general.php:184
|
155 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: options/options-layouts/settings-general.php:195
|
159 |
msgid "Use WordPress Date/Time format"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: options/options-layouts/settings-general.php:196
|
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/options-layouts/settings-general.php:203
|
169 |
msgid "Current Wordpress date/time format"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: options/options-layouts/settings-general.php:209
|
173 |
+
msgid "Use Plugin .PO/.MO files"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: options/options-layouts/settings-general.php:210
|
177 |
+
msgid ""
|
178 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. "
|
179 |
+
"However if you have a multi-language website it'll not allow you to add more "
|
180 |
+
"than one language translation. The only way to get it is the plugin "
|
181 |
+
"translation files (.PO / .MO). If wpDiscuz has the languages you need you "
|
182 |
+
"should check this option to disable phrase system and it'll automatically "
|
183 |
+
"translate all phrases based on language files according to current language."
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: options/options-layouts/settings-general.php:222
|
187 |
msgid ""
|
188 |
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
189 |
"use"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: options/options-layouts/settings-general.php:224
|
193 |
msgid ""
|
194 |
"Please check this option on to help wpDiscuz get more popularity as your "
|
195 |
"thank to the hard work we do for you totally free. This option adds a very "
|
197 |
"visitors recognize the name of comment solution you use."
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: options/options-layouts/settings-general.php:229
|
201 |
msgid "Thank you!"
|
202 |
msgstr ""
|
203 |
|
204 |
#: options/options-layouts/settings-live-update.php:2
|
205 |
+
#: options/wc-options.php:180
|
206 |
msgid "Live Update"
|
207 |
msgstr ""
|
208 |
|
210 |
msgid "Live update options"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: options/options-layouts/settings-live-update.php:9
|
214 |
+
msgid ""
|
215 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" "
|
216 |
+
"function doesn't overload your server resources. This function is good for "
|
217 |
+
"VPS and Dedicated Hosting Plans."
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
#: options/options-layouts/settings-live-update.php:14
|
221 |
msgid "Never update"
|
222 |
msgstr ""
|
256 |
msgid "Minute"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:181
|
260 |
msgid "Show/Hide Components"
|
261 |
msgstr ""
|
262 |
|
264 |
msgid "Show logged-in user name and logout link on top of main form"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: options/options-layouts/settings-show-hide.php:17
|
268 |
msgid "Hide Reply button for Guests"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: options/options-layouts/settings-show-hide.php:27
|
272 |
msgid "Hide Reply button for Members"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: options/options-layouts/settings-show-hide.php:37
|
276 |
msgid "Hide Author Titles"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: options/options-layouts/settings-show-hide.php:47
|
280 |
msgid "Hide Voting buttons"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: options/options-layouts/settings-show-hide.php:57
|
284 |
+
msgid "Hide Share Buttons"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: options/options-layouts/settings-show-hide.php:67
|
288 |
msgid "Hide the CAPTCHA field"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: options/options-layouts/settings-show-hide.php:77
|
292 |
+
msgid "Hide the Website URL field"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: options/options-layouts/settings-show-hide.php:87
|
296 |
+
msgid "Hide header text"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: options/options-layouts/settings-show-hide.php:97
|
300 |
+
msgid "Hide user avatar"
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: options/options-layouts/settings-social.php:10
|
304 |
+
#: options/options-layouts/settings-social.php:12
|
305 |
+
#: options/options-layouts/settings-social.php:14 wc.php:1018
|
306 |
+
msgid "Settings"
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: options/options-layouts/settings-social.php:19
|
310 |
+
#: options/options-layouts/settings-social.php:29
|
311 |
+
#: options/options-layouts/settings-social.php:39
|
312 |
+
msgid "Activate"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: options/options-layouts/settings-social.php:23
|
316 |
+
#: options/options-layouts/settings-social.php:33
|
317 |
+
#: options/options-layouts/settings-social.php:43
|
318 |
+
msgid "View details/Install"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: options/options-layouts/settings-social.php:75 options/wc-options.php:184
|
322 |
+
msgid "Social Login"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: options/options-layouts/settings-social.php:76
|
326 |
+
msgid ""
|
327 |
+
"You can use one of these most popular Social Login Plugins to allow your "
|
328 |
+
"visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
|
329 |
+
"OK and lots of other social network service accounts. All social login "
|
330 |
+
"buttons will be fully integrated with wpDiscuz comment forms."
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:183
|
334 |
msgid "Background and Colors"
|
335 |
msgstr ""
|
336 |
|
431 |
msgstr ""
|
432 |
|
433 |
#: options/phrases-layout/phrases-comment.php:7
|
434 |
+
#: options/wc-options-serialize.php:437
|
435 |
msgid "Reply"
|
436 |
msgstr ""
|
437 |
|
438 |
#: options/phrases-layout/phrases-comment.php:17
|
439 |
+
#: options/wc-options-serialize.php:438
|
440 |
msgid "Share"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: options/phrases-layout/phrases-comment.php:37
|
444 |
+
#: options/wc-options-serialize.php:440
|
445 |
msgid "Share On Facebook"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: options/phrases-layout/phrases-comment.php:47
|
449 |
+
#: options/wc-options-serialize.php:441
|
450 |
msgid "Share On Twitter"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: options/phrases-layout/phrases-comment.php:57
|
454 |
+
#: options/wc-options-serialize.php:442
|
455 |
msgid "Share On Google"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: options/phrases-layout/phrases-comment.php:67
|
459 |
+
#: options/wc-options-serialize.php:443
|
460 |
+
msgid "Share On VKontakte"
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: options/phrases-layout/phrases-comment.php:77
|
464 |
+
#: options/wc-options-serialize.php:444
|
465 |
+
msgid "Share On Odnoklassniki"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: options/phrases-layout/phrases-comment.php:87
|
469 |
+
#: options/wc-options-serialize.php:445
|
470 |
msgid "Hide Replies"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: options/phrases-layout/phrases-comment.php:97
|
474 |
+
#: options/wc-options-serialize.php:446
|
475 |
msgid "Show Replies"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: options/phrases-layout/phrases-comment.php:107
|
479 |
msgid "Title For Guests"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: options/phrases-layout/phrases-comment.php:117
|
483 |
msgid "Title For Members"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: options/phrases-layout/phrases-comment.php:127
|
487 |
msgid "Title For Authors"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: options/phrases-layout/phrases-comment.php:137
|
491 |
msgid "Title For Admins"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: options/phrases-layout/phrases-comment.php:147
|
495 |
+
#: options/wc-options-serialize.php:488
|
496 |
msgid "Vote Up"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: options/phrases-layout/phrases-comment.php:157
|
500 |
+
#: options/wc-options-serialize.php:489
|
501 |
msgid "Vote Down"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: options/phrases-layout/phrases-comment.php:167
|
505 |
msgid "Save edited comment button text"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: options/phrases-layout/phrases-comment.php:171
|
509 |
+
#: options/wc-options-serialize.php:507
|
510 |
msgid "Save"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: options/phrases-layout/phrases-comment.php:177
|
514 |
msgid "Cancel comment editing button text"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: options/phrases-layout/phrases-comment.php:181
|
518 |
+
#: options/wc-options-serialize.php:508
|
519 |
msgid "Cancel"
|
520 |
msgstr ""
|
521 |
|
580 |
msgstr ""
|
581 |
|
582 |
#: options/phrases-layout/phrases-datetime.php:164
|
583 |
+
#: options/wc-options-serialize.php:482
|
584 |
msgid "Today"
|
585 |
msgstr ""
|
586 |
|
601 |
msgstr ""
|
602 |
|
603 |
#: options/phrases-layout/phrases-email.php:33
|
604 |
+
#: options/phrases-layout/phrases-general.php:101
|
605 |
+
#: options/wc-options-serialize.php:453
|
606 |
msgid "New Reply"
|
607 |
msgstr ""
|
608 |
|
612 |
|
613 |
#: options/phrases-layout/phrases-email.php:50
|
614 |
#: options/phrases-layout/phrases-email.php:54
|
615 |
+
#: options/wc-options-serialize.php:458
|
616 |
msgid "Unsubscribe"
|
617 |
msgstr ""
|
618 |
|
619 |
#: options/phrases-layout/phrases-email.php:61
|
620 |
#: options/phrases-layout/phrases-email.php:65
|
621 |
+
#: options/wc-options-serialize.php:459
|
622 |
msgid "Ignore Subscription"
|
623 |
msgstr ""
|
624 |
|
625 |
#: options/phrases-layout/phrases-email.php:72
|
626 |
#: options/phrases-layout/phrases-email.php:76
|
627 |
+
#: options/wc-options-serialize.php:461
|
628 |
+
msgid "Confirm your subscription"
|
629 |
msgstr ""
|
630 |
|
631 |
#: options/phrases-layout/phrases-email.php:82
|
632 |
#: options/phrases-layout/phrases-email.php:86
|
633 |
+
#: options/wc-options-serialize.php:462
|
634 |
msgid "You've successfully confirmed your subscription."
|
635 |
msgstr ""
|
636 |
|
639 |
msgstr ""
|
640 |
|
641 |
#: options/phrases-layout/phrases-email.php:96
|
642 |
+
#: options/wc-options-serialize.php:463 wc.php:941
|
643 |
msgid "Subscribe Confirmation"
|
644 |
msgstr ""
|
645 |
|
648 |
msgstr ""
|
649 |
|
650 |
#: options/phrases-layout/phrases-email.php:107
|
651 |
+
#: options/wc-options-serialize.php:464 wc.php:942
|
652 |
msgid ""
|
653 |
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
654 |
"you will receive an email when new comments are posted according to "
|
678 |
msgstr ""
|
679 |
|
680 |
#: options/phrases-layout/phrases-form.php:47
|
681 |
+
msgid "WebSite URL Field"
|
682 |
msgstr ""
|
683 |
|
684 |
#: options/phrases-layout/phrases-form.php:57
|
685 |
+
msgid "CAPTCHA Field"
|
686 |
msgstr ""
|
687 |
|
688 |
#: options/phrases-layout/phrases-form.php:67
|
689 |
+
msgid "Submit Button"
|
|
|
|
|
690 |
msgstr ""
|
691 |
|
692 |
#: options/phrases-layout/phrases-form.php:77
|
693 |
+
#: options/phrases-layout/phrases-form.php:81
|
694 |
+
#: options/wc-options-serialize.php:430
|
695 |
+
msgid "Manage Subscriptions"
|
696 |
+
msgstr ""
|
697 |
+
|
698 |
+
#: options/phrases-layout/phrases-form.php:87
|
699 |
msgid "Notify \"None\""
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: options/phrases-layout/phrases-form.php:91
|
703 |
+
#: options/wc-options-serialize.php:431
|
704 |
msgid "None"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: options/phrases-layout/phrases-form.php:97
|
708 |
msgid "Notify on new comments (checkbox)"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: options/phrases-layout/phrases-form.php:101
|
712 |
+
#: options/wc-options-serialize.php:432
|
713 |
msgid "Notify of all new follow-up comments"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: options/phrases-layout/phrases-form.php:108
|
717 |
msgid "Notify on all new replies (checkbox)"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: options/phrases-layout/phrases-form.php:112
|
721 |
+
#: options/wc-options-serialize.php:433
|
722 |
msgid "Notify of new replies to all my comments"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: options/phrases-layout/phrases-form.php:119
|
726 |
msgid "Notify on new replies (checkbox)"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: options/phrases-layout/phrases-form.php:123
|
730 |
+
#: options/wc-options-serialize.php:434
|
731 |
msgid "Notify of new replies to this comment"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: options/phrases-layout/phrases-form.php:129
|
735 |
msgid "Subscribed on this comment replies"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: options/phrases-layout/phrases-form.php:139
|
739 |
msgid "Subscribed on all your comments replies"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: options/phrases-layout/phrases-form.php:149
|
743 |
msgid "Subscribed on this post"
|
744 |
msgstr ""
|
745 |
|
748 |
msgstr ""
|
749 |
|
750 |
#: options/phrases-layout/phrases-general.php:7
|
751 |
+
#: options/wc-options-serialize.php:418
|
752 |
msgid "Leave a Reply"
|
753 |
msgstr ""
|
754 |
|
757 |
msgstr ""
|
758 |
|
759 |
#: options/phrases-layout/phrases-general.php:27
|
760 |
+
#: options/wc-options-serialize.php:420 options/wc-options.php:353
|
761 |
msgid "Comment"
|
762 |
msgstr ""
|
763 |
|
774 |
msgstr ""
|
775 |
|
776 |
#: options/phrases-layout/phrases-general.php:67
|
777 |
+
#: options/wc-options-serialize.php:436
|
778 |
+
msgid "Load Rest of Comments"
|
779 |
+
msgstr ""
|
780 |
+
|
781 |
+
#: options/phrases-layout/phrases-general.php:77
|
782 |
msgid "Button text if has new comment"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: options/phrases-layout/phrases-general.php:81
|
786 |
+
#: options/wc-options-serialize.php:451
|
787 |
msgid "New Comment"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: options/phrases-layout/phrases-general.php:87
|
791 |
+
msgid "Button text if has new comments (Plural Form)"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: options/phrases-layout/phrases-general.php:91
|
795 |
msgid "New Comments"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: options/phrases-layout/phrases-general.php:97
|
799 |
msgid "Button text if has new reply"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: options/phrases-layout/phrases-general.php:107
|
803 |
+
msgid "Button text if has new replies (Plural Form)"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: options/phrases-layout/phrases-general.php:111
|
807 |
msgid "New Replies"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: options/phrases-layout/phrases-general.php:117
|
811 |
msgid "Text on load more button if has new comment(s)"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: options/phrases-layout/phrases-general.php:121
|
815 |
+
#: options/wc-options-serialize.php:503
|
816 |
msgid "New"
|
817 |
msgstr ""
|
818 |
|
821 |
msgstr ""
|
822 |
|
823 |
#: options/phrases-layout/phrases-notification.php:7
|
824 |
+
#: options/wc-options-serialize.php:460
|
825 |
msgid "You've successfully unsubscribed."
|
826 |
msgstr ""
|
827 |
|
834 |
msgstr ""
|
835 |
|
836 |
#: options/phrases-layout/phrases-notification.php:38
|
837 |
+
msgid "Error message for invalid website url field"
|
|
|
838 |
msgstr ""
|
839 |
|
840 |
#: options/phrases-layout/phrases-notification.php:48
|
841 |
+
#: options/wc-options-serialize.php:483
|
842 |
+
msgid "You must be"
|
843 |
msgstr ""
|
844 |
|
845 |
#: options/phrases-layout/phrases-notification.php:58
|
846 |
+
msgid "Logged in as"
|
|
|
847 |
msgstr ""
|
848 |
|
849 |
#: options/phrases-layout/phrases-notification.php:68
|
850 |
+
#: options/wc-options-serialize.php:485
|
851 |
+
msgid "Log out"
|
852 |
msgstr ""
|
853 |
|
854 |
#: options/phrases-layout/phrases-notification.php:78
|
855 |
+
msgid "Logged In"
|
856 |
msgstr ""
|
857 |
|
858 |
#: options/phrases-layout/phrases-notification.php:88
|
859 |
+
msgid "To post a comment"
|
|
|
860 |
msgstr ""
|
861 |
|
862 |
#: options/phrases-layout/phrases-notification.php:98
|
863 |
+
#: options/wc-options-serialize.php:490
|
864 |
+
msgid "Vote Counted"
|
865 |
msgstr ""
|
866 |
|
867 |
#: options/phrases-layout/phrases-notification.php:108
|
868 |
+
msgid "You can vote only 1 time"
|
|
|
869 |
msgstr ""
|
870 |
|
871 |
#: options/phrases-layout/phrases-notification.php:118
|
872 |
+
#: options/wc-options-serialize.php:492
|
873 |
+
msgid "Voting Error"
|
874 |
msgstr ""
|
875 |
|
876 |
#: options/phrases-layout/phrases-notification.php:128
|
877 |
+
msgid "Login To Vote"
|
878 |
msgstr ""
|
879 |
|
880 |
#: options/phrases-layout/phrases-notification.php:138
|
881 |
+
msgid "You Cannot Vote On Your Comment"
|
|
|
882 |
msgstr ""
|
883 |
|
884 |
#: options/phrases-layout/phrases-notification.php:148
|
885 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
|
|
886 |
msgstr ""
|
887 |
|
888 |
#: options/phrases-layout/phrases-notification.php:158
|
889 |
+
#: options/wc-options-serialize.php:496
|
890 |
+
msgid "Invalid Captcha Code"
|
891 |
msgstr ""
|
892 |
|
893 |
#: options/phrases-layout/phrases-notification.php:168
|
894 |
+
#: options/wc-options-serialize.php:497
|
895 |
+
msgid "Some of field value is invalid"
|
896 |
+
msgstr ""
|
897 |
+
|
898 |
+
#: options/phrases-layout/phrases-notification.php:178
|
899 |
+
msgid "Comment waiting moderation"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: options/phrases-layout/phrases-notification.php:188
|
903 |
+
msgid "Message if comment content length is too long"
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#: options/phrases-layout/phrases-notification.php:198
|
907 |
msgid "Message if comment was not updated"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: options/phrases-layout/phrases-notification.php:202
|
911 |
+
#: options/wc-options-serialize.php:504
|
912 |
msgid "Sorry, the comment was not updated"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: options/phrases-layout/phrases-notification.php:208
|
916 |
msgid "Message if comment no longer possible to edit"
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: options/phrases-layout/phrases-notification.php:212
|
920 |
+
#: options/wc-options-serialize.php:505
|
921 |
msgid "Sorry, this comment no longer possible to edit"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: options/phrases-layout/phrases-notification.php:219
|
925 |
msgid "Message if comment text not changed"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: options/phrases-layout/phrases-notification.php:223
|
929 |
msgid "TYou've not made any changes"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: options/wc-options-serialize.php:419
|
933 |
msgid "Be the First to Comment!"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: options/wc-options-serialize.php:421
|
937 |
msgid "Comments"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: options/wc-options-serialize.php:422
|
941 |
msgid "on"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: options/wc-options-serialize.php:423
|
945 |
msgid "Start the discussion"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: options/wc-options-serialize.php:424
|
949 |
msgid "Join the discussion"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: options/wc-options-serialize.php:425 options/wc-options.php:355
|
953 |
msgid "Email"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: options/wc-options-serialize.php:426
|
957 |
msgid "Name"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: options/wc-options-serialize.php:427
|
961 |
+
msgid "WebSite URL"
|
962 |
+
msgstr ""
|
963 |
+
|
964 |
+
#: options/wc-options-serialize.php:428
|
965 |
msgid "Please insert the code above to comment"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: options/wc-options-serialize.php:429
|
969 |
msgid "Post Comment"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: options/wc-options-serialize.php:435
|
973 |
msgid "Load More Comments"
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: options/wc-options-serialize.php:447
|
977 |
msgid "Guest"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: options/wc-options-serialize.php:448
|
981 |
msgid "Member"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: options/wc-options-serialize.php:449
|
985 |
msgid "Author"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: options/wc-options-serialize.php:450
|
989 |
msgid "Admin"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: options/wc-options-serialize.php:452
|
993 |
msgid "New comment on the discussion section you've been interested in"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: options/wc-options-serialize.php:454
|
997 |
msgid "New reply on the discussion section you've been interested in"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: options/wc-options-serialize.php:455
|
1001 |
msgid "You're subscribed for new replies on this comment"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: options/wc-options-serialize.php:456
|
1005 |
msgid "You're subscribed for new replies on all your comments"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: options/wc-options-serialize.php:457
|
1009 |
msgid "You're subscribed for new follow-up comments on this post"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: options/wc-options-serialize.php:465
|
1013 |
msgid "please fill out this field to comment"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: options/wc-options-serialize.php:466
|
1017 |
msgid "email address is invalid"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: options/wc-options-serialize.php:467
|
1021 |
+
msgid "url is invalid"
|
1022 |
+
msgstr ""
|
1023 |
+
|
1024 |
+
#: options/wc-options-serialize.php:468
|
1025 |
msgid "year"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: options/wc-options-serialize.php:469
|
1029 |
msgid "years"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: options/wc-options-serialize.php:470
|
1033 |
msgid "month"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: options/wc-options-serialize.php:471
|
1037 |
msgid "months"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: options/wc-options-serialize.php:472
|
1041 |
msgid "day"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: options/wc-options-serialize.php:473
|
1045 |
msgid "days"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: options/wc-options-serialize.php:474
|
1049 |
msgid "hour"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: options/wc-options-serialize.php:475
|
1053 |
msgid "hours"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: options/wc-options-serialize.php:476
|
1057 |
msgid "minute"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: options/wc-options-serialize.php:477
|
1061 |
msgid "minutes"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: options/wc-options-serialize.php:478
|
1065 |
msgid "second"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: options/wc-options-serialize.php:479
|
1069 |
msgid "seconds"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: options/wc-options-serialize.php:480
|
1073 |
msgid "right now"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: options/wc-options-serialize.php:481
|
1077 |
msgid "ago"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: options/wc-options-serialize.php:484
|
1081 |
msgid "You are logged in as"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: options/wc-options-serialize.php:486
|
1085 |
msgid "logged in"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: options/wc-options-serialize.php:487
|
1089 |
msgid "to post a comment."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: options/wc-options-serialize.php:491
|
1093 |
msgid "You've already voted for this comment"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: options/wc-options-serialize.php:493
|
1097 |
msgid "You Must Be Logged In To Vote"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: options/wc-options-serialize.php:494
|
1101 |
msgid "You cannot vote for your comment"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: options/wc-options-serialize.php:495
|
1105 |
+
msgid "You are not allowed to vote for this comment"
|
1106 |
+
msgstr ""
|
1107 |
+
|
1108 |
+
#: options/wc-options-serialize.php:498
|
1109 |
msgid "new comment"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: options/wc-options-serialize.php:499
|
1113 |
msgid "new comments"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: options/wc-options-serialize.php:500
|
1117 |
+
msgid "Comment awaiting moderation"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: options/wc-options-serialize.php:501
|
1121 |
msgid "new reply on your comment"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: options/wc-options-serialize.php:502
|
1125 |
msgid "new replies on your comments"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: options/wc-options-serialize.php:506
|
1129 |
msgid "You've not made any changes"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: options/wc-options-serialize.php:509
|
1133 |
+
#, php-format
|
1134 |
+
msgid "Comment text is too long (maximum %s characters allowed)"
|
1135 |
+
msgstr ""
|
1136 |
+
|
1137 |
+
#: options/wc-options.php:28 options/wc-options.php:232
|
1138 |
msgid "Hacker?"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: options/wc-options.php:87
|
1142 |
msgid "wpDiscuz General Settings"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: options/wc-options.php:179
|
1146 |
msgid "General settings"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: options/wc-options.php:182
|
1150 |
msgid "Email Subscription"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: options/wc-options.php:182
|
1154 |
msgid "and Postmatic"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: options/wc-options.php:213 options/wc-options.php:383
|
1158 |
msgid "Save Changes"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: options/wc-options.php:214
|
1162 |
+
msgid "Reset Options"
|
1163 |
+
msgstr ""
|
1164 |
+
|
1165 |
+
#: options/wc-options.php:341
|
1166 |
msgid "WpDiscuz Front-end Phrases"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: options/wc-options.php:351
|
1170 |
msgid "General"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: options/wc-options.php:352
|
1174 |
msgid "Form"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: options/wc-options.php:354
|
1178 |
msgid "Date/Time"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: options/wc-options.php:356
|
1182 |
msgid "Notification"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: wc.php:1020
|
1186 |
+
msgid "Phrases"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#. Plugin Name of the plugin/theme
|
1190 |
+
msgid "wpDiscuz - Wordpress Comments"
|
1191 |
+
msgstr ""
|
1192 |
+
|
1193 |
+
#. Plugin URI of the plugin/theme
|
1194 |
+
msgid "http://www.gvectors.com/wpdiscuz/"
|
1195 |
+
msgstr ""
|
1196 |
+
|
1197 |
+
#. Description of the plugin/theme
|
1198 |
+
msgid ""
|
1199 |
+
"Better comment system. Wordpress post comments and discussion plugin. Allows "
|
1200 |
+
"your visitors discuss, vote for comments and share."
|
1201 |
+
msgstr ""
|
1202 |
+
|
1203 |
+
#. Author of the plugin/theme
|
1204 |
+
msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
|
1205 |
+
msgstr ""
|
1206 |
+
|
1207 |
+
#. Author URI of the plugin/theme
|
1208 |
+
msgid "http://www.gvectors.com/"
|
1209 |
msgstr ""
|
languages/wpdiscuz-fr_FR.mo
ADDED
Binary file
|
languages/wpdiscuz-fr_FR.po
ADDED
@@ -0,0 +1,1223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-05-28 23:58+0400\n"
|
5 |
+
"PO-Revision-Date: 2015-07-31 19:26+0200\n"
|
6 |
+
"Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
|
7 |
+
"MIME-Version: 1.0\n"
|
8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"X-Generator: Poedit 1.8.3\n"
|
11 |
+
"X-Poedit-Basepath: ..\n"
|
12 |
+
"X-Poedit-WPHeader: wc.php\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\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 |
+
"Last-Translator: \n"
|
19 |
+
"Language: fr_FR\n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
+
|
23 |
+
#: comment-form/form.php:185 comment-form/tpl-comment.php:263
|
24 |
+
msgid "Participate in this discussion via email"
|
25 |
+
msgstr "Participer à cette discussion par e-mail"
|
26 |
+
|
27 |
+
#: comment-form/form.php:323
|
28 |
+
msgid "Connect with"
|
29 |
+
msgstr "Se connecter avec :"
|
30 |
+
|
31 |
+
#: comment-form/tpl-comment.php:174 options/phrases-layout/phrases-comment.php:27
|
32 |
+
#: options/wc-options-serialize.php:439
|
33 |
+
msgid "Edit"
|
34 |
+
msgstr "Éditer"
|
35 |
+
|
36 |
+
#: comment-form/tpl-comment.php:385 wc.php:321
|
37 |
+
msgid "Anonymous"
|
38 |
+
msgstr "Anonyme"
|
39 |
+
|
40 |
+
#: options/options-layouts/settings-general.php:2
|
41 |
+
msgid "General Settings"
|
42 |
+
msgstr "Paramètres généraux"
|
43 |
+
|
44 |
+
#: options/options-layouts/settings-general.php:7
|
45 |
+
msgid "Display comment form for post types:"
|
46 |
+
msgstr "Afficher le formulaire de commentaires pour les contenus de type :"
|
47 |
+
|
48 |
+
#: options/options-layouts/settings-general.php:28
|
49 |
+
msgid "User Must be registered to comment"
|
50 |
+
msgstr "L'utilisateur doit être connecté pour commenter"
|
51 |
+
|
52 |
+
#: options/options-layouts/settings-general.php:34
|
53 |
+
msgid "Yes"
|
54 |
+
msgstr "Oui"
|
55 |
+
|
56 |
+
#: options/options-layouts/settings-general.php:38
|
57 |
+
msgid "No"
|
58 |
+
msgstr "Non"
|
59 |
+
|
60 |
+
#: options/options-layouts/settings-general.php:46
|
61 |
+
msgid "Comment author must fill out name"
|
62 |
+
msgstr "L'auteur du commentaire doit entrer son nom"
|
63 |
+
|
64 |
+
#: options/options-layouts/settings-general.php:57
|
65 |
+
msgid "Comment author must fill out email"
|
66 |
+
msgstr "L'auteur du commentaire doit entrer son email"
|
67 |
+
|
68 |
+
#: options/options-layouts/settings-general.php:68
|
69 |
+
msgid "Show the latest comments on"
|
70 |
+
msgstr "Montrer les derniers commentaires sur"
|
71 |
+
|
72 |
+
#: options/options-layouts/settings-general.php:72
|
73 |
+
msgid "the top of the list"
|
74 |
+
msgstr "le haut de la liste"
|
75 |
+
|
76 |
+
#: options/options-layouts/settings-general.php:74
|
77 |
+
msgid "top of the threads"
|
78 |
+
msgstr "le haut des fils de discussion"
|
79 |
+
|
80 |
+
#: options/options-layouts/settings-general.php:76
|
81 |
+
msgid "bottom of the threads"
|
82 |
+
msgstr "le bas des fils de discussion"
|
83 |
+
|
84 |
+
#: options/options-layouts/settings-general.php:78
|
85 |
+
msgid "the bottom of the list"
|
86 |
+
msgstr "le bas de la liste"
|
87 |
+
|
88 |
+
#: options/options-layouts/settings-general.php:86
|
89 |
+
msgid "Comment Threads Per Page"
|
90 |
+
msgstr "Fils de discussion par page"
|
91 |
+
|
92 |
+
#: options/options-layouts/settings-general.php:97
|
93 |
+
msgid "Comment text max length"
|
94 |
+
msgstr "Longueur maxi du texte d'un commentaire"
|
95 |
+
|
96 |
+
#: options/options-layouts/settings-general.php:108
|
97 |
+
msgid "Comments max depth"
|
98 |
+
msgstr "Profondeur maxi des commentaires"
|
99 |
+
|
100 |
+
#: options/options-layouts/settings-general.php:113
|
101 |
+
msgid "Level"
|
102 |
+
msgstr "Niveau"
|
103 |
+
|
104 |
+
#: options/options-layouts/settings-general.php:114
|
105 |
+
#: options/options-layouts/settings-general.php:115
|
106 |
+
#: options/options-layouts/settings-general.php:116
|
107 |
+
#: options/options-layouts/settings-general.php:117
|
108 |
+
msgid "Levels"
|
109 |
+
msgstr "Niveaux"
|
110 |
+
|
111 |
+
#: options/options-layouts/settings-general.php:124
|
112 |
+
msgid "Comment text size in pixels"
|
113 |
+
msgstr "Taille du texte des commentaires en pixel"
|
114 |
+
|
115 |
+
#: options/options-layouts/settings-general.php:141
|
116 |
+
msgid "Allow comment editing for"
|
117 |
+
msgstr "Autoriser l'édition de commentaire pendant"
|
118 |
+
|
119 |
+
#: options/options-layouts/settings-general.php:146
|
120 |
+
msgid "Not Allow"
|
121 |
+
msgstr "Ne pas autoriser"
|
122 |
+
|
123 |
+
#: options/options-layouts/settings-general.php:147
|
124 |
+
#: options/options-layouts/settings-general.php:148
|
125 |
+
#: options/options-layouts/settings-live-update.php:41
|
126 |
+
#: options/options-layouts/settings-live-update.php:42
|
127 |
+
#: options/options-layouts/settings-live-update.php:43
|
128 |
+
msgid "Minutes"
|
129 |
+
msgstr "Minutes"
|
130 |
+
|
131 |
+
#: options/options-layouts/settings-general.php:149
|
132 |
+
#: options/phrases-layout/phrases-datetime.php:73
|
133 |
+
msgid "Hour"
|
134 |
+
msgstr "Heure"
|
135 |
+
|
136 |
+
#: options/options-layouts/settings-general.php:150
|
137 |
+
#: options/options-layouts/settings-general.php:151
|
138 |
+
msgid "Hours"
|
139 |
+
msgstr "Heures"
|
140 |
+
|
141 |
+
#: options/options-layouts/settings-general.php:158
|
142 |
+
msgid "Redirect first commenter to"
|
143 |
+
msgstr "Rediriger le premier commentateur vers"
|
144 |
+
|
145 |
+
#: options/options-layouts/settings-general.php:165
|
146 |
+
msgid "Do not redirect"
|
147 |
+
msgstr "Ne pas rediriger"
|
148 |
+
|
149 |
+
#: options/options-layouts/settings-general.php:174
|
150 |
+
msgid "Allow guests to vote on comments"
|
151 |
+
msgstr "Autoriser les invités à voter sur les commentaires"
|
152 |
+
|
153 |
+
#: options/options-layouts/settings-general.php:184
|
154 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
155 |
+
msgstr ""
|
156 |
+
"Charger l'ensemble des commentaires restants au clic sur le bouton [Charger plus de "
|
157 |
+
"Commentaires]"
|
158 |
+
|
159 |
+
#: options/options-layouts/settings-general.php:195
|
160 |
+
msgid "Use WordPress Date/Time format"
|
161 |
+
msgstr "Utiliser le format Date/Heure WordPress"
|
162 |
+
|
163 |
+
#: options/options-layouts/settings-general.php:196
|
164 |
+
msgid ""
|
165 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll show the "
|
166 |
+
"date/time format set in WordPress General Settings."
|
167 |
+
msgstr ""
|
168 |
+
"wpDiscuz affiche en format lisible par un humain. Si vous cliquez cette option, il "
|
169 |
+
"affichera en utilisant le format Date/Heure défini dans les Paramètres Généraux de "
|
170 |
+
"WordPress."
|
171 |
+
|
172 |
+
#: options/options-layouts/settings-general.php:203
|
173 |
+
msgid "Current Wordpress date/time format"
|
174 |
+
msgstr "Format Date/Heure actuel de WordPress"
|
175 |
+
|
176 |
+
#: options/options-layouts/settings-general.php:209
|
177 |
+
msgid "Use Plugin .PO/.MO files"
|
178 |
+
msgstr "Utiliser les fichiers de plugin .PO/.MO"
|
179 |
+
|
180 |
+
#: options/options-layouts/settings-general.php:210
|
181 |
+
msgid ""
|
182 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. However if you "
|
183 |
+
"have a multi-language website it'll not allow you to add more than one language "
|
184 |
+
"translation. The only way to get it is the plugin translation files (.PO / .MO). If "
|
185 |
+
"wpDiscuz has the languages you need you should check this option to disable phrase "
|
186 |
+
"system and it'll automatically translate all phrases based on language files "
|
187 |
+
"according to current language."
|
188 |
+
msgstr ""
|
189 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. However if you "
|
190 |
+
"have a multi-language website it'll not allow you to add more than one language "
|
191 |
+
"translation. The only way to get it is the plugin translation files (.PO / .MO). If "
|
192 |
+
"wpDiscuz has the languages you need you should check this option to disable phrase "
|
193 |
+
"system and it'll automatically translate all phrases based on language files "
|
194 |
+
"according to current language."
|
195 |
+
|
196 |
+
#: options/options-layouts/settings-general.php:222
|
197 |
+
msgid "Help wpDiscuz to grow allowing people to recognize which comment plugin you use"
|
198 |
+
msgstr ""
|
199 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you use"
|
200 |
+
|
201 |
+
#: options/options-layouts/settings-general.php:224
|
202 |
+
msgid ""
|
203 |
+
"Please check this option on to help wpDiscuz get more popularity as your thank to "
|
204 |
+
"the hard work we do for you totally free. This option adds a very small (16x16px) "
|
205 |
+
"icon under the comment section which will allow your site visitors recognize the "
|
206 |
+
"name of comment solution you use."
|
207 |
+
msgstr ""
|
208 |
+
"Please check this option on to help wpDiscuz get more popularity as your thank to "
|
209 |
+
"the hard work we do for you totally free. This option adds a very small (16x16px) "
|
210 |
+
"icon under the comment section which will allow your site visitors recognize the "
|
211 |
+
"name of comment solution you use."
|
212 |
+
|
213 |
+
#: options/options-layouts/settings-general.php:229
|
214 |
+
msgid "Thank you!"
|
215 |
+
msgstr "Merci !"
|
216 |
+
|
217 |
+
#: options/options-layouts/settings-live-update.php:2 options/wc-options.php:180
|
218 |
+
msgid "Live Update"
|
219 |
+
msgstr "Mise à jour en temps réel"
|
220 |
+
|
221 |
+
#: options/options-layouts/settings-live-update.php:8
|
222 |
+
msgid "Live update options"
|
223 |
+
msgstr "Options de mise à jour en temps réel"
|
224 |
+
|
225 |
+
#: options/options-layouts/settings-live-update.php:9
|
226 |
+
msgid ""
|
227 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" function "
|
228 |
+
"doesn't overload your server resources. This function is good for VPS and Dedicated "
|
229 |
+
"Hosting Plans."
|
230 |
+
msgstr ""
|
231 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" function "
|
232 |
+
"doesn't overload your server resources. This function is good for VPS and Dedicated "
|
233 |
+
"Hosting Plans."
|
234 |
+
|
235 |
+
#: options/options-layouts/settings-live-update.php:14
|
236 |
+
msgid "Never update"
|
237 |
+
msgstr "Ne jamais mettre à jour"
|
238 |
+
|
239 |
+
#: options/options-layouts/settings-live-update.php:16
|
240 |
+
msgid "Turn off \"Live Update\" function"
|
241 |
+
msgstr "Désactiver la fonction \"Mise à jour en temps réel\""
|
242 |
+
|
243 |
+
#: options/options-layouts/settings-live-update.php:18
|
244 |
+
msgid "Show new comment/reply buttons to update manualy"
|
245 |
+
msgstr ""
|
246 |
+
"Afficher les boutons Nouveau commentaire / Répondre pour mettre à jour manuellement"
|
247 |
+
|
248 |
+
#: options/options-layouts/settings-live-update.php:20
|
249 |
+
msgid "Always check for new comments and show update buttons"
|
250 |
+
msgstr ""
|
251 |
+
"Toujours vérifier pour de nouveaux commentaires et afficher les boutons de mise à "
|
252 |
+
"jour"
|
253 |
+
|
254 |
+
#: options/options-layouts/settings-live-update.php:22
|
255 |
+
msgid "Always update"
|
256 |
+
msgstr "Toujours mettre à jour"
|
257 |
+
|
258 |
+
#: options/options-layouts/settings-live-update.php:24
|
259 |
+
msgid "Always check for new comments and update automatically"
|
260 |
+
msgstr ""
|
261 |
+
"Toujours vérifier pour de nouveaux commentaires et mettre à jour automatiquement"
|
262 |
+
|
263 |
+
#: options/options-layouts/settings-live-update.php:32
|
264 |
+
msgid "Update comment list every"
|
265 |
+
msgstr "Mettre à jour la liste des commentaires toutes les"
|
266 |
+
|
267 |
+
#: options/options-layouts/settings-live-update.php:37
|
268 |
+
#: options/options-layouts/settings-live-update.php:38
|
269 |
+
#: options/options-layouts/settings-live-update.php:39
|
270 |
+
msgid "Seconds"
|
271 |
+
msgstr "Secondes"
|
272 |
+
|
273 |
+
#: options/options-layouts/settings-live-update.php:40
|
274 |
+
#: options/phrases-layout/phrases-datetime.php:95
|
275 |
+
msgid "Minute"
|
276 |
+
msgstr "Minutes"
|
277 |
+
|
278 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:181
|
279 |
+
msgid "Show/Hide Components"
|
280 |
+
msgstr "Afficher / Masquer les Composants"
|
281 |
+
|
282 |
+
#: options/options-layouts/settings-show-hide.php:7
|
283 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
284 |
+
msgstr ""
|
285 |
+
"Afficher le nom de l'utilisateur connecté et le lien de déconnexion en haut du "
|
286 |
+
"formulaire principal"
|
287 |
+
|
288 |
+
#: options/options-layouts/settings-show-hide.php:17
|
289 |
+
msgid "Hide Reply button for Guests"
|
290 |
+
msgstr "Masquer le bouton Répondre pour les Invités"
|
291 |
+
|
292 |
+
#: options/options-layouts/settings-show-hide.php:27
|
293 |
+
msgid "Hide Reply button for Members"
|
294 |
+
msgstr "Masquer le bouton Répondre pour les Membres"
|
295 |
+
|
296 |
+
#: options/options-layouts/settings-show-hide.php:37
|
297 |
+
msgid "Hide Author Titles"
|
298 |
+
msgstr "Masquer les titres des auteurs"
|
299 |
+
|
300 |
+
#: options/options-layouts/settings-show-hide.php:47
|
301 |
+
msgid "Hide Voting buttons"
|
302 |
+
msgstr "Masquer les boutons de vote"
|
303 |
+
|
304 |
+
#: options/options-layouts/settings-show-hide.php:57
|
305 |
+
msgid "Hide Share Buttons"
|
306 |
+
msgstr "Masquer les boutons de partage"
|
307 |
+
|
308 |
+
#: options/options-layouts/settings-show-hide.php:67
|
309 |
+
msgid "Hide the CAPTCHA field"
|
310 |
+
msgstr "Masquer le champ CAPTCHA"
|
311 |
+
|
312 |
+
#: options/options-layouts/settings-show-hide.php:77
|
313 |
+
msgid "Hide the Website URL field"
|
314 |
+
msgstr "Masquer le champ URL du site Web"
|
315 |
+
|
316 |
+
#: options/options-layouts/settings-show-hide.php:87
|
317 |
+
msgid "Hide header text"
|
318 |
+
msgstr "Masquer le texte d'entête"
|
319 |
+
|
320 |
+
#: options/options-layouts/settings-show-hide.php:97
|
321 |
+
msgid "Hide user avatar"
|
322 |
+
msgstr "Masquer l'avatar utilisateur"
|
323 |
+
|
324 |
+
#: options/options-layouts/settings-social.php:10
|
325 |
+
#: options/options-layouts/settings-social.php:12
|
326 |
+
#: options/options-layouts/settings-social.php:14 wc.php:1018
|
327 |
+
msgid "Settings"
|
328 |
+
msgstr "Réglages"
|
329 |
+
|
330 |
+
#: options/options-layouts/settings-social.php:19
|
331 |
+
#: options/options-layouts/settings-social.php:29
|
332 |
+
#: options/options-layouts/settings-social.php:39
|
333 |
+
msgid "Activate"
|
334 |
+
msgstr "Activer"
|
335 |
+
|
336 |
+
#: options/options-layouts/settings-social.php:23
|
337 |
+
#: options/options-layouts/settings-social.php:33
|
338 |
+
#: options/options-layouts/settings-social.php:43
|
339 |
+
msgid "View details/Install"
|
340 |
+
msgstr "Voir les détails / Installer"
|
341 |
+
|
342 |
+
#: options/options-layouts/settings-social.php:75 options/wc-options.php:184
|
343 |
+
msgid "Social Login"
|
344 |
+
msgstr "Connexion sociale"
|
345 |
+
|
346 |
+
#: options/options-layouts/settings-social.php:76
|
347 |
+
msgid ""
|
348 |
+
"You can use one of these most popular Social Login Plugins to allow your visitors "
|
349 |
+
"login and comment with Facebook, Twitter, Google+, Wordpress, VK, OK and lots of "
|
350 |
+
"other social network service accounts. All social login buttons will be fully "
|
351 |
+
"integrated with wpDiscuz comment forms."
|
352 |
+
msgstr ""
|
353 |
+
"You can use one of these most popular Social Login Plugins to allow your visitors "
|
354 |
+
"login and comment with Facebook, Twitter, Google+, Wordpress, VK, OK and lots of "
|
355 |
+
"other social network service accounts. All social login buttons will be fully "
|
356 |
+
"integrated with wpDiscuz comment forms."
|
357 |
+
|
358 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:183
|
359 |
+
msgid "Background and Colors"
|
360 |
+
msgstr "Fond et couleurs"
|
361 |
+
|
362 |
+
#: options/options-layouts/settings-style.php:7
|
363 |
+
msgid "Comment Form Background Color"
|
364 |
+
msgstr "Couleur de fond du formulaire de commentaire"
|
365 |
+
|
366 |
+
#: options/options-layouts/settings-style.php:10
|
367 |
+
#: options/options-layouts/settings-style.php:34
|
368 |
+
#: options/options-layouts/settings-style.php:58
|
369 |
+
#: options/options-layouts/settings-style.php:82
|
370 |
+
#: options/options-layouts/settings-style.php:107
|
371 |
+
#: options/options-layouts/settings-style.php:132
|
372 |
+
#: options/options-layouts/settings-style.php:155
|
373 |
+
#: options/options-layouts/settings-style.php:178
|
374 |
+
msgid "Example: #00ff00"
|
375 |
+
msgstr "Exemple: #00ff00"
|
376 |
+
|
377 |
+
#: options/options-layouts/settings-style.php:31
|
378 |
+
msgid "Comment Background Color"
|
379 |
+
msgstr "Couleur de fond des commentaires"
|
380 |
+
|
381 |
+
#: options/options-layouts/settings-style.php:55
|
382 |
+
msgid "Reply Background Color"
|
383 |
+
msgstr "Couleur de fond des réponses"
|
384 |
+
|
385 |
+
#: options/options-layouts/settings-style.php:79
|
386 |
+
msgid "Comment Text Color"
|
387 |
+
msgstr "Couleur des textes des commentaires"
|
388 |
+
|
389 |
+
#: options/options-layouts/settings-style.php:104
|
390 |
+
msgid "Author title color"
|
391 |
+
msgstr "Couleur du titre de l'auteur"
|
392 |
+
|
393 |
+
#: options/options-layouts/settings-style.php:129
|
394 |
+
msgid "Vote, Reply, Share, Edit links text colors"
|
395 |
+
msgstr "Couleur des textes des liens Voter, Répondre, Partager, Editer"
|
396 |
+
|
397 |
+
#: options/options-layouts/settings-style.php:152
|
398 |
+
msgid "Comment form fields border color"
|
399 |
+
msgstr "Couleur de bordure des champs du formulaire de commentaire"
|
400 |
+
|
401 |
+
#: options/options-layouts/settings-style.php:175
|
402 |
+
msgid "New loaded comments' background color"
|
403 |
+
msgstr "Couleur de fond des nouveaux commentaires chargés"
|
404 |
+
|
405 |
+
#: options/options-layouts/settings-style.php:199
|
406 |
+
msgid "Custom CSS Code"
|
407 |
+
msgstr "Code CSS personnalisé"
|
408 |
+
|
409 |
+
#: options/options-layouts/settings-subscription.php:2
|
410 |
+
msgid "Email Subscription Settings"
|
411 |
+
msgstr "Réglages de souscription des emails"
|
412 |
+
|
413 |
+
#: options/options-layouts/settings-subscription.php:7
|
414 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
415 |
+
msgstr "Afficher \"Notifier de tous les nouveaux commentaires de suivi\""
|
416 |
+
|
417 |
+
#: options/options-layouts/settings-subscription.php:8
|
418 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
419 |
+
msgstr "Afficher \"Notifier des nouvelles réponses à tous mes commentaires\""
|
420 |
+
|
421 |
+
#: options/options-layouts/settings-subscription.php:9
|
422 |
+
msgid "Show \"Notify of new replies to this comment\""
|
423 |
+
msgstr "Afficher \"Notifier de toutes les réponses à ce commentaire\""
|
424 |
+
|
425 |
+
#: options/options-layouts/settings-subscription.php:11
|
426 |
+
msgid ""
|
427 |
+
"Please keep all three or at least one of those options ON, otherwise users will not "
|
428 |
+
"have any option for email notifications and they'll not get any messages."
|
429 |
+
msgstr ""
|
430 |
+
"Please keep all three or at least one of those options ON, otherwise users will not "
|
431 |
+
"have any option for email notifications and they'll not get any messages."
|
432 |
+
|
433 |
+
#: options/options-layouts/settings-subscription.php:30
|
434 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
435 |
+
msgstr "Utiliser Postmatic pour les souscriptions et commentaires par email"
|
436 |
+
|
437 |
+
#: options/options-layouts/settings-subscription.php:31
|
438 |
+
msgid ""
|
439 |
+
"Postmatic allows your users subscribe to comments. Instead of just being notified, "
|
440 |
+
"they add a reply right from their inbox."
|
441 |
+
msgstr ""
|
442 |
+
"Postmatic allows your users subscribe to comments. Instead of just being notified, "
|
443 |
+
"they add a reply right from their inbox."
|
444 |
+
|
445 |
+
#: options/options-layouts/settings-subscription.php:42
|
446 |
+
msgid "Keep selected the email notification of all new follow-up comments by default"
|
447 |
+
msgstr ""
|
448 |
+
"Garder la notification par email de tous les nouveaux commentaires de suivi "
|
449 |
+
"sélectionné par défaut"
|
450 |
+
|
451 |
+
#: options/options-layouts/settings-subscription.php:43
|
452 |
+
msgid ""
|
453 |
+
"If this option is checked-on, in Manage Subscriptions section of comment forms will "
|
454 |
+
"only be displayed the \"Notify of all new follow-up comments\" option and this "
|
455 |
+
"option will always be selected by default."
|
456 |
+
msgstr ""
|
457 |
+
"If this option is checked-on, in Manage Subscriptions section of comment forms will "
|
458 |
+
"only be displayed the \"Notify of all new follow-up comments\" option and this "
|
459 |
+
"option will always be selected by default."
|
460 |
+
|
461 |
+
#: options/phrases-layout/phrases-comment.php:2
|
462 |
+
msgid "Comment Template Phrases"
|
463 |
+
msgstr "Phrases Modèle Commentaire"
|
464 |
+
|
465 |
+
#: options/phrases-layout/phrases-comment.php:7 options/wc-options-serialize.php:437
|
466 |
+
msgid "Reply"
|
467 |
+
msgstr "Répondre"
|
468 |
+
|
469 |
+
#: options/phrases-layout/phrases-comment.php:17 options/wc-options-serialize.php:438
|
470 |
+
msgid "Share"
|
471 |
+
msgstr "Partager"
|
472 |
+
|
473 |
+
#: options/phrases-layout/phrases-comment.php:37 options/wc-options-serialize.php:440
|
474 |
+
msgid "Share On Facebook"
|
475 |
+
msgstr "Partager sur Facebook"
|
476 |
+
|
477 |
+
#: options/phrases-layout/phrases-comment.php:47 options/wc-options-serialize.php:441
|
478 |
+
msgid "Share On Twitter"
|
479 |
+
msgstr "Partager sur Twitter"
|
480 |
+
|
481 |
+
#: options/phrases-layout/phrases-comment.php:57 options/wc-options-serialize.php:442
|
482 |
+
msgid "Share On Google"
|
483 |
+
msgstr "Partager sur Google"
|
484 |
+
|
485 |
+
#: options/phrases-layout/phrases-comment.php:67 options/wc-options-serialize.php:443
|
486 |
+
msgid "Share On VKontakte"
|
487 |
+
msgstr "Partager sur VKontakte"
|
488 |
+
|
489 |
+
#: options/phrases-layout/phrases-comment.php:77 options/wc-options-serialize.php:444
|
490 |
+
msgid "Share On Odnoklassniki"
|
491 |
+
msgstr "Partager sur Odnoklassniki"
|
492 |
+
|
493 |
+
#: options/phrases-layout/phrases-comment.php:87 options/wc-options-serialize.php:445
|
494 |
+
msgid "Hide Replies"
|
495 |
+
msgstr "Masquer les réponses"
|
496 |
+
|
497 |
+
#: options/phrases-layout/phrases-comment.php:97 options/wc-options-serialize.php:446
|
498 |
+
msgid "Show Replies"
|
499 |
+
msgstr "Afficher les réponses"
|
500 |
+
|
501 |
+
#: options/phrases-layout/phrases-comment.php:107
|
502 |
+
msgid "Title For Guests"
|
503 |
+
msgstr "Titre pour Invités"
|
504 |
+
|
505 |
+
#: options/phrases-layout/phrases-comment.php:117
|
506 |
+
msgid "Title For Members"
|
507 |
+
msgstr "Titre pour Membres"
|
508 |
+
|
509 |
+
#: options/phrases-layout/phrases-comment.php:127
|
510 |
+
msgid "Title For Authors"
|
511 |
+
msgstr "Titre pour Auteurs"
|
512 |
+
|
513 |
+
#: options/phrases-layout/phrases-comment.php:137
|
514 |
+
msgid "Title For Admins"
|
515 |
+
msgstr "Titre pour Admins"
|
516 |
+
|
517 |
+
#: options/phrases-layout/phrases-comment.php:147 options/wc-options-serialize.php:488
|
518 |
+
msgid "Vote Up"
|
519 |
+
msgstr "Vote Pour"
|
520 |
+
|
521 |
+
#: options/phrases-layout/phrases-comment.php:157 options/wc-options-serialize.php:489
|
522 |
+
msgid "Vote Down"
|
523 |
+
msgstr "Vote Contre"
|
524 |
+
|
525 |
+
#: options/phrases-layout/phrases-comment.php:167
|
526 |
+
msgid "Save edited comment button text"
|
527 |
+
msgstr "Texte du bouton Enregistrer du commentaire édité"
|
528 |
+
|
529 |
+
#: options/phrases-layout/phrases-comment.php:171 options/wc-options-serialize.php:507
|
530 |
+
msgid "Save"
|
531 |
+
msgstr "Enregistrer"
|
532 |
+
|
533 |
+
#: options/phrases-layout/phrases-comment.php:177
|
534 |
+
msgid "Cancel comment editing button text"
|
535 |
+
msgstr "Texte du bouton Annuler du commentaire édité"
|
536 |
+
|
537 |
+
#: options/phrases-layout/phrases-comment.php:181 options/wc-options-serialize.php:508
|
538 |
+
msgid "Cancel"
|
539 |
+
msgstr "Annuler"
|
540 |
+
|
541 |
+
#: options/phrases-layout/phrases-datetime.php:2
|
542 |
+
msgid "Date/Time Phrases"
|
543 |
+
msgstr "Phrases Date / Heure"
|
544 |
+
|
545 |
+
#: options/phrases-layout/phrases-datetime.php:7
|
546 |
+
msgid "Year"
|
547 |
+
msgstr "Année"
|
548 |
+
|
549 |
+
#: options/phrases-layout/phrases-datetime.php:18
|
550 |
+
msgid "Years (Plural Form)"
|
551 |
+
msgstr "Années (au pluriel)"
|
552 |
+
|
553 |
+
#: options/phrases-layout/phrases-datetime.php:22
|
554 |
+
msgid "Years"
|
555 |
+
msgstr "Années"
|
556 |
+
|
557 |
+
#: options/phrases-layout/phrases-datetime.php:29
|
558 |
+
msgid "Month"
|
559 |
+
msgstr "Mois"
|
560 |
+
|
561 |
+
#: options/phrases-layout/phrases-datetime.php:40
|
562 |
+
msgid "Months (Plural Form)"
|
563 |
+
msgstr "Mois (au pluriel)"
|
564 |
+
|
565 |
+
#: options/phrases-layout/phrases-datetime.php:51
|
566 |
+
msgid "Day"
|
567 |
+
msgstr "Jour"
|
568 |
+
|
569 |
+
#: options/phrases-layout/phrases-datetime.php:62
|
570 |
+
msgid "Days (Plural Form)"
|
571 |
+
msgstr "Jours (au pluriel)"
|
572 |
+
|
573 |
+
#: options/phrases-layout/phrases-datetime.php:84
|
574 |
+
msgid "Hours (Plural Form)"
|
575 |
+
msgstr "Heures (au pluriel)"
|
576 |
+
|
577 |
+
#: options/phrases-layout/phrases-datetime.php:106
|
578 |
+
msgid "Minutes (Plural Form)"
|
579 |
+
msgstr "Minutes (au pluriel)"
|
580 |
+
|
581 |
+
#: options/phrases-layout/phrases-datetime.php:117
|
582 |
+
msgid "Second"
|
583 |
+
msgstr "Seconde"
|
584 |
+
|
585 |
+
#: options/phrases-layout/phrases-datetime.php:128
|
586 |
+
msgid "Seconds (Plural Form)"
|
587 |
+
msgstr "Secondes (au pluriel)"
|
588 |
+
|
589 |
+
#: options/phrases-layout/phrases-datetime.php:138
|
590 |
+
msgid "Commented \"right now\" text"
|
591 |
+
msgstr "Texte commenté \"A l'instant\""
|
592 |
+
|
593 |
+
#: options/phrases-layout/phrases-datetime.php:149
|
594 |
+
msgid "Ago text"
|
595 |
+
msgstr "Texte Il y a"
|
596 |
+
|
597 |
+
#: options/phrases-layout/phrases-datetime.php:160
|
598 |
+
msgid "\"Today\" text"
|
599 |
+
msgstr "Texte \"Aujourd'hui\""
|
600 |
+
|
601 |
+
#: options/phrases-layout/phrases-datetime.php:164 options/wc-options-serialize.php:482
|
602 |
+
msgid "Today"
|
603 |
+
msgstr "Aujourd'hui"
|
604 |
+
|
605 |
+
#: options/phrases-layout/phrases-email.php:2
|
606 |
+
msgid "Email Template Phrases"
|
607 |
+
msgstr "Phrases Email Modèle"
|
608 |
+
|
609 |
+
#: options/phrases-layout/phrases-email.php:7
|
610 |
+
msgid "Email Subject"
|
611 |
+
msgstr "Sujet de l'email"
|
612 |
+
|
613 |
+
#: options/phrases-layout/phrases-email.php:18
|
614 |
+
msgid "Email Message"
|
615 |
+
msgstr "Message de l'email"
|
616 |
+
|
617 |
+
#: options/phrases-layout/phrases-email.php:29
|
618 |
+
msgid "New Reply Subject"
|
619 |
+
msgstr "Sujet nouvelle réponse"
|
620 |
+
|
621 |
+
#: options/phrases-layout/phrases-email.php:33
|
622 |
+
#: options/phrases-layout/phrases-general.php:101 options/wc-options-serialize.php:453
|
623 |
+
msgid "New Reply"
|
624 |
+
msgstr "Nouvelle réponse"
|
625 |
+
|
626 |
+
#: options/phrases-layout/phrases-email.php:40
|
627 |
+
msgid "New Reply Message"
|
628 |
+
msgstr "Message Nouvelle Réponse"
|
629 |
+
|
630 |
+
#: options/phrases-layout/phrases-email.php:50
|
631 |
+
#: options/phrases-layout/phrases-email.php:54 options/wc-options-serialize.php:458
|
632 |
+
msgid "Unsubscribe"
|
633 |
+
msgstr "Désabonner"
|
634 |
+
|
635 |
+
#: options/phrases-layout/phrases-email.php:61
|
636 |
+
#: options/phrases-layout/phrases-email.php:65 options/wc-options-serialize.php:459
|
637 |
+
msgid "Ignore Subscription"
|
638 |
+
msgstr "Ignorer l'abonnement"
|
639 |
+
|
640 |
+
#: options/phrases-layout/phrases-email.php:72
|
641 |
+
#: options/phrases-layout/phrases-email.php:76 options/wc-options-serialize.php:461
|
642 |
+
msgid "Confirm your subscription"
|
643 |
+
msgstr "Confirmer votre abonnement"
|
644 |
+
|
645 |
+
#: options/phrases-layout/phrases-email.php:82
|
646 |
+
#: options/phrases-layout/phrases-email.php:86 options/wc-options-serialize.php:462
|
647 |
+
msgid "You've successfully confirmed your subscription."
|
648 |
+
msgstr "Vous avez confirmé votre abonnement avec succès."
|
649 |
+
|
650 |
+
#: options/phrases-layout/phrases-email.php:92
|
651 |
+
msgid "Subscribe Confirmation Email Subject"
|
652 |
+
msgstr "Sujet email confirmation abonnement"
|
653 |
+
|
654 |
+
#: options/phrases-layout/phrases-email.php:96 options/wc-options-serialize.php:463
|
655 |
+
#: wc.php:941
|
656 |
+
msgid "Subscribe Confirmation"
|
657 |
+
msgstr "Confirmation d'abonnement"
|
658 |
+
|
659 |
+
#: options/phrases-layout/phrases-email.php:103
|
660 |
+
msgid "Subscribe Confirmation Email Content"
|
661 |
+
msgstr "Contenu de l'email de confirmation d'abonnement"
|
662 |
+
|
663 |
+
#: options/phrases-layout/phrases-email.php:107 options/wc-options-serialize.php:464
|
664 |
+
#: wc.php:942
|
665 |
+
msgid ""
|
666 |
+
"Hi, <br/> You just subscribed for new comments on our website. This means you will "
|
667 |
+
"receive an email when new comments are posted according to subscription option "
|
668 |
+
"you've chosen. <br/> To activate, click confirm below. If you believe this is an "
|
669 |
+
"error, ignore this message and we'll never bother you again."
|
670 |
+
msgstr ""
|
671 |
+
"Bonjour.<br/><br/> Vous venez de vous abonner au suivi des commentaires sur notre "
|
672 |
+
"site. Cela signifie que vous recevrez un email quand de nouveaux commentaires seront "
|
673 |
+
"postés en fonction de l'option de souscription que vous avez choisie. <br/><br/>Pour "
|
674 |
+
"activer, cliquer le lien de confirmation ci-dessous. <br/><br/>Si vous pensez "
|
675 |
+
"recevoir ce message par erreur, ignorer ce message et nous ne vous solliciterons "
|
676 |
+
"plus."
|
677 |
+
|
678 |
+
#: options/phrases-layout/phrases-form.php:2
|
679 |
+
msgid "Form Template Phrases"
|
680 |
+
msgstr "Phrases Modèle Formulaire"
|
681 |
+
|
682 |
+
#: options/phrases-layout/phrases-form.php:7
|
683 |
+
msgid "Comment Field Start"
|
684 |
+
msgstr "Début du Champ Commentaire"
|
685 |
+
|
686 |
+
#: options/phrases-layout/phrases-form.php:17
|
687 |
+
msgid "Comment Field Join"
|
688 |
+
msgstr "Joindre du Champ Commentaire"
|
689 |
+
|
690 |
+
#: options/phrases-layout/phrases-form.php:27
|
691 |
+
msgid "Email Field"
|
692 |
+
msgstr "Champ Email"
|
693 |
+
|
694 |
+
#: options/phrases-layout/phrases-form.php:37
|
695 |
+
msgid "Name Field"
|
696 |
+
msgstr "Champ Nom"
|
697 |
+
|
698 |
+
#: options/phrases-layout/phrases-form.php:47
|
699 |
+
msgid "WebSite URL Field"
|
700 |
+
msgstr "Champ URL du site Web"
|
701 |
+
|
702 |
+
#: options/phrases-layout/phrases-form.php:57
|
703 |
+
msgid "CAPTCHA Field"
|
704 |
+
msgstr "Champ CAPTCHA"
|
705 |
+
|
706 |
+
#: options/phrases-layout/phrases-form.php:67
|
707 |
+
msgid "Submit Button"
|
708 |
+
msgstr "Bouton Soumettre"
|
709 |
+
|
710 |
+
#: options/phrases-layout/phrases-form.php:77
|
711 |
+
#: options/phrases-layout/phrases-form.php:81 options/wc-options-serialize.php:430
|
712 |
+
msgid "Manage Subscriptions"
|
713 |
+
msgstr "Gérer les Abonnements"
|
714 |
+
|
715 |
+
#: options/phrases-layout/phrases-form.php:87
|
716 |
+
msgid "Notify \"None\""
|
717 |
+
msgstr "Notifier \"Personne\""
|
718 |
+
|
719 |
+
#: options/phrases-layout/phrases-form.php:91 options/wc-options-serialize.php:431
|
720 |
+
msgid "None"
|
721 |
+
msgstr "Aucun"
|
722 |
+
|
723 |
+
#: options/phrases-layout/phrases-form.php:97
|
724 |
+
msgid "Notify on new comments (checkbox)"
|
725 |
+
msgstr "Notifier sur les nouveaux commentaires (case à cocher)"
|
726 |
+
|
727 |
+
#: options/phrases-layout/phrases-form.php:101 options/wc-options-serialize.php:432
|
728 |
+
msgid "Notify of all new follow-up comments"
|
729 |
+
msgstr "Notifier de toutes les réponses et tous les commentaires"
|
730 |
+
|
731 |
+
#: options/phrases-layout/phrases-form.php:108
|
732 |
+
msgid "Notify on all new replies (checkbox)"
|
733 |
+
msgstr "Notifier de toutes les nouvelles réponses (case à cocher)"
|
734 |
+
|
735 |
+
#: options/phrases-layout/phrases-form.php:112 options/wc-options-serialize.php:433
|
736 |
+
msgid "Notify of new replies to all my comments"
|
737 |
+
msgstr "Notifier des nouvelles réponses à tous mes commentaires"
|
738 |
+
|
739 |
+
#: options/phrases-layout/phrases-form.php:119
|
740 |
+
msgid "Notify on new replies (checkbox)"
|
741 |
+
msgstr "Notifier des nouvelles réponses (case à cocher)"
|
742 |
+
|
743 |
+
#: options/phrases-layout/phrases-form.php:123 options/wc-options-serialize.php:434
|
744 |
+
msgid "Notify of new replies to this comment"
|
745 |
+
msgstr "Notifier des nouvelles réponses à ce commentaire"
|
746 |
+
|
747 |
+
#: options/phrases-layout/phrases-form.php:129
|
748 |
+
msgid "Subscribed on this comment replies"
|
749 |
+
msgstr "Abonné aux réponses de ce commentaire"
|
750 |
+
|
751 |
+
#: options/phrases-layout/phrases-form.php:139
|
752 |
+
msgid "Subscribed on all your comments replies"
|
753 |
+
msgstr "Abonné aux réponses à tous vos commentaires"
|
754 |
+
|
755 |
+
#: options/phrases-layout/phrases-form.php:149
|
756 |
+
msgid "Subscribed on this post"
|
757 |
+
msgstr "Abonné à cet article"
|
758 |
+
|
759 |
+
#: options/phrases-layout/phrases-general.php:2
|
760 |
+
msgid "General Phrases"
|
761 |
+
msgstr "Phrases Général"
|
762 |
+
|
763 |
+
#: options/phrases-layout/phrases-general.php:7 options/wc-options-serialize.php:418
|
764 |
+
msgid "Leave a Reply"
|
765 |
+
msgstr "Poster un Commentaire"
|
766 |
+
|
767 |
+
#: options/phrases-layout/phrases-general.php:17
|
768 |
+
msgid "Be the first to comment"
|
769 |
+
msgstr "Soyez le premier à commenter"
|
770 |
+
|
771 |
+
#: options/phrases-layout/phrases-general.php:27 options/wc-options-serialize.php:420
|
772 |
+
#: options/wc-options.php:353
|
773 |
+
msgid "Comment"
|
774 |
+
msgstr "Commentaire"
|
775 |
+
|
776 |
+
#: options/phrases-layout/phrases-general.php:37
|
777 |
+
msgid "Comment (Plural Form)"
|
778 |
+
msgstr "Commentaire (au pluriel)"
|
779 |
+
|
780 |
+
#: options/phrases-layout/phrases-general.php:47
|
781 |
+
msgid "On"
|
782 |
+
msgstr "Marche"
|
783 |
+
|
784 |
+
#: options/phrases-layout/phrases-general.php:57
|
785 |
+
msgid "Load More Button"
|
786 |
+
msgstr "Bouton Afficher plus"
|
787 |
+
|
788 |
+
#: options/phrases-layout/phrases-general.php:67 options/wc-options-serialize.php:436
|
789 |
+
msgid "Load Rest of Comments"
|
790 |
+
msgstr "Afficher le reste des Commentaires"
|
791 |
+
|
792 |
+
#: options/phrases-layout/phrases-general.php:77
|
793 |
+
msgid "Button text if has new comment"
|
794 |
+
msgstr "Bouton texte si nouveau commentaire"
|
795 |
+
|
796 |
+
#: options/phrases-layout/phrases-general.php:81 options/wc-options-serialize.php:451
|
797 |
+
msgid "New Comment"
|
798 |
+
msgstr "Nouveau Commentaire"
|
799 |
+
|
800 |
+
#: options/phrases-layout/phrases-general.php:87
|
801 |
+
msgid "Button text if has new comments (Plural Form)"
|
802 |
+
msgstr "Bouton texte si nouveau commentaire (au pluriel)"
|
803 |
+
|
804 |
+
#: options/phrases-layout/phrases-general.php:91
|
805 |
+
msgid "New Comments"
|
806 |
+
msgstr "Nouveaux Commentaires"
|
807 |
+
|
808 |
+
#: options/phrases-layout/phrases-general.php:97
|
809 |
+
msgid "Button text if has new reply"
|
810 |
+
msgstr "Bouton texte si nouvelles réponses"
|
811 |
+
|
812 |
+
#: options/phrases-layout/phrases-general.php:107
|
813 |
+
msgid "Button text if has new replies (Plural Form)"
|
814 |
+
msgstr "Bouton texte si nouvelles réponses (au pluriel)"
|
815 |
+
|
816 |
+
#: options/phrases-layout/phrases-general.php:111
|
817 |
+
msgid "New Replies"
|
818 |
+
msgstr "Nouvelles Réponses"
|
819 |
+
|
820 |
+
#: options/phrases-layout/phrases-general.php:117
|
821 |
+
msgid "Text on load more button if has new comment(s)"
|
822 |
+
msgstr "Texte bouton afficher plus si nouveaux commentaires"
|
823 |
+
|
824 |
+
#: options/phrases-layout/phrases-general.php:121 options/wc-options-serialize.php:503
|
825 |
+
msgid "New"
|
826 |
+
msgstr "Nouveau"
|
827 |
+
|
828 |
+
#: options/phrases-layout/phrases-notification.php:2
|
829 |
+
msgid "Notification Phrases"
|
830 |
+
msgstr "Phrases Notification"
|
831 |
+
|
832 |
+
#: options/phrases-layout/phrases-notification.php:7
|
833 |
+
#: options/wc-options-serialize.php:460
|
834 |
+
msgid "You've successfully unsubscribed."
|
835 |
+
msgstr "Vous vous êtes désabonné avec succès."
|
836 |
+
|
837 |
+
#: options/phrases-layout/phrases-notification.php:18
|
838 |
+
msgid "Error message for empty field"
|
839 |
+
msgstr "Message d'erreur pour champ vide"
|
840 |
+
|
841 |
+
#: options/phrases-layout/phrases-notification.php:28
|
842 |
+
msgid "Error message for invalid email field"
|
843 |
+
msgstr "Message d'erreur pour champ email invalide"
|
844 |
+
|
845 |
+
#: options/phrases-layout/phrases-notification.php:38
|
846 |
+
msgid "Error message for invalid website url field"
|
847 |
+
msgstr "Message d'erreur pour champ URL site Web invalide"
|
848 |
+
|
849 |
+
#: options/phrases-layout/phrases-notification.php:48
|
850 |
+
#: options/wc-options-serialize.php:483
|
851 |
+
msgid "You must be"
|
852 |
+
msgstr "Vous devez"
|
853 |
+
|
854 |
+
#: options/phrases-layout/phrases-notification.php:58
|
855 |
+
msgid "Logged in as"
|
856 |
+
msgstr "Connecté en tant que"
|
857 |
+
|
858 |
+
#: options/phrases-layout/phrases-notification.php:68
|
859 |
+
#: options/wc-options-serialize.php:485
|
860 |
+
msgid "Log out"
|
861 |
+
msgstr "Déconnecter"
|
862 |
+
|
863 |
+
#: options/phrases-layout/phrases-notification.php:78
|
864 |
+
msgid "Logged In"
|
865 |
+
msgstr "Connecté"
|
866 |
+
|
867 |
+
#: options/phrases-layout/phrases-notification.php:88
|
868 |
+
msgid "To post a comment"
|
869 |
+
msgstr "Pour poster un commentaire"
|
870 |
+
|
871 |
+
#: options/phrases-layout/phrases-notification.php:98
|
872 |
+
#: options/wc-options-serialize.php:490
|
873 |
+
msgid "Vote Counted"
|
874 |
+
msgstr "Votes comptabilisés"
|
875 |
+
|
876 |
+
#: options/phrases-layout/phrases-notification.php:108
|
877 |
+
msgid "You can vote only 1 time"
|
878 |
+
msgstr "Vous pouvez voter une seule fois"
|
879 |
+
|
880 |
+
#: options/phrases-layout/phrases-notification.php:118
|
881 |
+
#: options/wc-options-serialize.php:492
|
882 |
+
msgid "Voting Error"
|
883 |
+
msgstr "Erreur sur vote"
|
884 |
+
|
885 |
+
#: options/phrases-layout/phrases-notification.php:128
|
886 |
+
msgid "Login To Vote"
|
887 |
+
msgstr "Se connecter pour voter"
|
888 |
+
|
889 |
+
#: options/phrases-layout/phrases-notification.php:138
|
890 |
+
msgid "You Cannot Vote On Your Comment"
|
891 |
+
msgstr "Vous ne pouvez pas voter sur votre Commentaire"
|
892 |
+
|
893 |
+
#: options/phrases-layout/phrases-notification.php:148
|
894 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
895 |
+
msgstr "Vous n'êtes pas autorisé à voter pour ce commentaire (Vote depuis même IP)"
|
896 |
+
|
897 |
+
#: options/phrases-layout/phrases-notification.php:158
|
898 |
+
#: options/wc-options-serialize.php:496
|
899 |
+
msgid "Invalid Captcha Code"
|
900 |
+
msgstr "Code Captcha invalide"
|
901 |
+
|
902 |
+
#: options/phrases-layout/phrases-notification.php:168
|
903 |
+
#: options/wc-options-serialize.php:497
|
904 |
+
msgid "Some of field value is invalid"
|
905 |
+
msgstr "Une partie du champ est invalide"
|
906 |
+
|
907 |
+
#: options/phrases-layout/phrases-notification.php:178
|
908 |
+
msgid "Comment waiting moderation"
|
909 |
+
msgstr "Commentaire en attente de modération"
|
910 |
+
|
911 |
+
#: options/phrases-layout/phrases-notification.php:188
|
912 |
+
msgid "Message if comment content length is too long"
|
913 |
+
msgstr "Message si le contenu du commentaire est trop long"
|
914 |
+
|
915 |
+
#: options/phrases-layout/phrases-notification.php:198
|
916 |
+
msgid "Message if comment was not updated"
|
917 |
+
msgstr "Message si le commentaire n'a pas été mis à jour"
|
918 |
+
|
919 |
+
#: options/phrases-layout/phrases-notification.php:202
|
920 |
+
#: options/wc-options-serialize.php:504
|
921 |
+
msgid "Sorry, the comment was not updated"
|
922 |
+
msgstr "Désolé, le commentaire n'a pas été mis à jour"
|
923 |
+
|
924 |
+
#: options/phrases-layout/phrases-notification.php:208
|
925 |
+
msgid "Message if comment no longer possible to edit"
|
926 |
+
msgstr "Message s'il n'est plus possible d'éditer le commentaire"
|
927 |
+
|
928 |
+
#: options/phrases-layout/phrases-notification.php:212
|
929 |
+
#: options/wc-options-serialize.php:505
|
930 |
+
msgid "Sorry, this comment no longer possible to edit"
|
931 |
+
msgstr "Désolé, il n'est plus possible d'éditer ce commentaire"
|
932 |
+
|
933 |
+
#: options/phrases-layout/phrases-notification.php:219
|
934 |
+
msgid "Message if comment text not changed"
|
935 |
+
msgstr "Message si le texte du commentaire est inchangé"
|
936 |
+
|
937 |
+
#: options/phrases-layout/phrases-notification.php:223
|
938 |
+
msgid "TYou've not made any changes"
|
939 |
+
msgstr "Vous n'avez fait aucune modification"
|
940 |
+
|
941 |
+
#: options/wc-options-serialize.php:419
|
942 |
+
msgid "Be the First to Comment!"
|
943 |
+
msgstr "Soyez le premier à commenter !"
|
944 |
+
|
945 |
+
#: options/wc-options-serialize.php:421
|
946 |
+
msgid "Comments"
|
947 |
+
msgstr "Commentaires"
|
948 |
+
|
949 |
+
#: options/wc-options-serialize.php:422
|
950 |
+
msgid "on"
|
951 |
+
msgstr "sur"
|
952 |
+
|
953 |
+
#: options/wc-options-serialize.php:423
|
954 |
+
msgid "Start the discussion"
|
955 |
+
msgstr "Démarrer la discussion"
|
956 |
+
|
957 |
+
#: options/wc-options-serialize.php:424
|
958 |
+
msgid "Join the discussion"
|
959 |
+
msgstr "Rejoindre la discussion"
|
960 |
+
|
961 |
+
#: options/wc-options-serialize.php:425 options/wc-options.php:355
|
962 |
+
msgid "Email"
|
963 |
+
msgstr "Email"
|
964 |
+
|
965 |
+
#: options/wc-options-serialize.php:426
|
966 |
+
msgid "Name"
|
967 |
+
msgstr "Nom"
|
968 |
+
|
969 |
+
#: options/wc-options-serialize.php:427
|
970 |
+
msgid "WebSite URL"
|
971 |
+
msgstr "URL du site Web"
|
972 |
+
|
973 |
+
#: options/wc-options-serialize.php:428
|
974 |
+
msgid "Please insert the code above to comment"
|
975 |
+
msgstr "Merci d'insérer le code au dessus du commentaire"
|
976 |
+
|
977 |
+
#: options/wc-options-serialize.php:429
|
978 |
+
msgid "Post Comment"
|
979 |
+
msgstr "Poster le Commentaire"
|
980 |
+
|
981 |
+
#: options/wc-options-serialize.php:435
|
982 |
+
msgid "Load More Comments"
|
983 |
+
msgstr "Afficher plus de Commentaires"
|
984 |
+
|
985 |
+
#: options/wc-options-serialize.php:447
|
986 |
+
msgid "Guest"
|
987 |
+
msgstr "Invité"
|
988 |
+
|
989 |
+
#: options/wc-options-serialize.php:448
|
990 |
+
msgid "Member"
|
991 |
+
msgstr "Membre"
|
992 |
+
|
993 |
+
#: options/wc-options-serialize.php:449
|
994 |
+
msgid "Author"
|
995 |
+
msgstr "Auteur"
|
996 |
+
|
997 |
+
#: options/wc-options-serialize.php:450
|
998 |
+
msgid "Admin"
|
999 |
+
msgstr "Admin"
|
1000 |
+
|
1001 |
+
#: options/wc-options-serialize.php:452
|
1002 |
+
msgid "New comment on the discussion section you've been interested in"
|
1003 |
+
msgstr ""
|
1004 |
+
"Nouveau commentaire dans une section de la discussion à laquelle vous vous êtes "
|
1005 |
+
"intéressé"
|
1006 |
+
|
1007 |
+
#: options/wc-options-serialize.php:454
|
1008 |
+
msgid "New reply on the discussion section you've been interested in"
|
1009 |
+
msgstr ""
|
1010 |
+
"Nouvelle réponse dans une section de la discussion à laquelle vous vous êtes "
|
1011 |
+
"intéressé"
|
1012 |
+
|
1013 |
+
#: options/wc-options-serialize.php:455
|
1014 |
+
msgid "You're subscribed for new replies on this comment"
|
1015 |
+
msgstr "Vous êtes abonné aux nouvelles réponses sur ce commentaire"
|
1016 |
+
|
1017 |
+
#: options/wc-options-serialize.php:456
|
1018 |
+
msgid "You're subscribed for new replies on all your comments"
|
1019 |
+
msgstr "Vous êtes abonné aux nouvelles réponses à tous vos commentaires"
|
1020 |
+
|
1021 |
+
#: options/wc-options-serialize.php:457
|
1022 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
1023 |
+
msgstr "Vous êtes abonné à tous les commentaires de cet article"
|
1024 |
+
|
1025 |
+
#: options/wc-options-serialize.php:465
|
1026 |
+
msgid "please fill out this field to comment"
|
1027 |
+
msgstr "Merci de compléter ce champ pour commenter"
|
1028 |
+
|
1029 |
+
#: options/wc-options-serialize.php:466
|
1030 |
+
msgid "email address is invalid"
|
1031 |
+
msgstr "Adresse email invalide"
|
1032 |
+
|
1033 |
+
#: options/wc-options-serialize.php:467
|
1034 |
+
msgid "url is invalid"
|
1035 |
+
msgstr "URL invalide"
|
1036 |
+
|
1037 |
+
#: options/wc-options-serialize.php:468
|
1038 |
+
msgid "year"
|
1039 |
+
msgstr "année"
|
1040 |
+
|
1041 |
+
#: options/wc-options-serialize.php:469
|
1042 |
+
msgid "years"
|
1043 |
+
msgstr "années"
|
1044 |
+
|
1045 |
+
#: options/wc-options-serialize.php:470
|
1046 |
+
msgid "month"
|
1047 |
+
msgstr "mois"
|
1048 |
+
|
1049 |
+
#: options/wc-options-serialize.php:471
|
1050 |
+
msgid "months"
|
1051 |
+
msgstr "mois"
|
1052 |
+
|
1053 |
+
#: options/wc-options-serialize.php:472
|
1054 |
+
msgid "day"
|
1055 |
+
msgstr "jour"
|
1056 |
+
|
1057 |
+
#: options/wc-options-serialize.php:473
|
1058 |
+
msgid "days"
|
1059 |
+
msgstr "jours"
|
1060 |
+
|
1061 |
+
#: options/wc-options-serialize.php:474
|
1062 |
+
msgid "hour"
|
1063 |
+
msgstr "heure"
|
1064 |
+
|
1065 |
+
#: options/wc-options-serialize.php:475
|
1066 |
+
msgid "hours"
|
1067 |
+
msgstr "heures"
|
1068 |
+
|
1069 |
+
#: options/wc-options-serialize.php:476
|
1070 |
+
msgid "minute"
|
1071 |
+
msgstr "minute"
|
1072 |
+
|
1073 |
+
#: options/wc-options-serialize.php:477
|
1074 |
+
msgid "minutes"
|
1075 |
+
msgstr "minutes"
|
1076 |
+
|
1077 |
+
#: options/wc-options-serialize.php:478
|
1078 |
+
msgid "second"
|
1079 |
+
msgstr "seconde"
|
1080 |
+
|
1081 |
+
#: options/wc-options-serialize.php:479
|
1082 |
+
msgid "seconds"
|
1083 |
+
msgstr "secondes"
|
1084 |
+
|
1085 |
+
#: options/wc-options-serialize.php:480
|
1086 |
+
msgid "right now"
|
1087 |
+
msgstr "à l'instant"
|
1088 |
+
|
1089 |
+
#: options/wc-options-serialize.php:481
|
1090 |
+
msgid "ago"
|
1091 |
+
msgstr "plus tôt"
|
1092 |
+
|
1093 |
+
#: options/wc-options-serialize.php:484
|
1094 |
+
msgid "You are logged in as"
|
1095 |
+
msgstr "Vous êtes connecté en tant que"
|
1096 |
+
|
1097 |
+
#: options/wc-options-serialize.php:486
|
1098 |
+
msgid "logged in"
|
1099 |
+
msgstr "vous connecter"
|
1100 |
+
|
1101 |
+
#: options/wc-options-serialize.php:487
|
1102 |
+
msgid "to post a comment."
|
1103 |
+
msgstr "pour poster un commentaire"
|
1104 |
+
|
1105 |
+
#: options/wc-options-serialize.php:491
|
1106 |
+
msgid "You've already voted for this comment"
|
1107 |
+
msgstr "Vous avez déjà voté pour ce commentaire"
|
1108 |
+
|
1109 |
+
#: options/wc-options-serialize.php:493
|
1110 |
+
msgid "You Must Be Logged In To Vote"
|
1111 |
+
msgstr "Vous devez être connecté pour voter"
|
1112 |
+
|
1113 |
+
#: options/wc-options-serialize.php:494
|
1114 |
+
msgid "You cannot vote for your comment"
|
1115 |
+
msgstr "Vous ne pouvez pas voter pour vos propres commentaires"
|
1116 |
+
|
1117 |
+
#: options/wc-options-serialize.php:495
|
1118 |
+
msgid "You are not allowed to vote for this comment"
|
1119 |
+
msgstr "Vous n'êtes pas autorisé à voter pour ce commentaire"
|
1120 |
+
|
1121 |
+
#: options/wc-options-serialize.php:498
|
1122 |
+
msgid "new comment"
|
1123 |
+
msgstr "nouveau commentaire"
|
1124 |
+
|
1125 |
+
#: options/wc-options-serialize.php:499
|
1126 |
+
msgid "new comments"
|
1127 |
+
msgstr "nouveaux commentaires"
|
1128 |
+
|
1129 |
+
#: options/wc-options-serialize.php:500
|
1130 |
+
msgid "Comment awaiting moderation"
|
1131 |
+
msgstr "Commentaire en attente de modération"
|
1132 |
+
|
1133 |
+
#: options/wc-options-serialize.php:501
|
1134 |
+
msgid "new reply on your comment"
|
1135 |
+
msgstr "nouvelle réponse à votre commentaire"
|
1136 |
+
|
1137 |
+
#: options/wc-options-serialize.php:502
|
1138 |
+
msgid "new replies on your comments"
|
1139 |
+
msgstr "nouvelles réponses à vos commentaires"
|
1140 |
+
|
1141 |
+
#: options/wc-options-serialize.php:506
|
1142 |
+
msgid "You've not made any changes"
|
1143 |
+
msgstr "Vous n'avez fait aucune modification"
|
1144 |
+
|
1145 |
+
#: options/wc-options-serialize.php:509
|
1146 |
+
#, php-format
|
1147 |
+
msgid "Comment text is too long (maximum %s characters allowed)"
|
1148 |
+
msgstr ""
|
1149 |
+
"Le texte du commentaire est trop long (un maximum de %s caractères est autorisé)"
|
1150 |
+
|
1151 |
+
#: options/wc-options.php:28 options/wc-options.php:232
|
1152 |
+
msgid "Hacker?"
|
1153 |
+
msgstr "Hacker ?"
|
1154 |
+
|
1155 |
+
#: options/wc-options.php:87
|
1156 |
+
msgid "wpDiscuz General Settings"
|
1157 |
+
msgstr "Paramètres Généraux wpDiscuz"
|
1158 |
+
|
1159 |
+
#: options/wc-options.php:179
|
1160 |
+
msgid "General settings"
|
1161 |
+
msgstr "Paramètres Généraux"
|
1162 |
+
|
1163 |
+
#: options/wc-options.php:182
|
1164 |
+
msgid "Email Subscription"
|
1165 |
+
msgstr "Abonnement Email"
|
1166 |
+
|
1167 |
+
#: options/wc-options.php:182
|
1168 |
+
msgid "and Postmatic"
|
1169 |
+
msgstr "et Postmatic"
|
1170 |
+
|
1171 |
+
#: options/wc-options.php:213 options/wc-options.php:383
|
1172 |
+
msgid "Save Changes"
|
1173 |
+
msgstr "Enregistrer les modifications"
|
1174 |
+
|
1175 |
+
#: options/wc-options.php:214
|
1176 |
+
msgid "Reset Options"
|
1177 |
+
msgstr "Réinitialiser les options"
|
1178 |
+
|
1179 |
+
#: options/wc-options.php:341
|
1180 |
+
msgid "WpDiscuz Front-end Phrases"
|
1181 |
+
msgstr "Phrases du front-end WpDiscuz"
|
1182 |
+
|
1183 |
+
#: options/wc-options.php:351
|
1184 |
+
msgid "General"
|
1185 |
+
msgstr "Général"
|
1186 |
+
|
1187 |
+
#: options/wc-options.php:352
|
1188 |
+
msgid "Form"
|
1189 |
+
msgstr "Formulaire"
|
1190 |
+
|
1191 |
+
#: options/wc-options.php:354
|
1192 |
+
msgid "Date/Time"
|
1193 |
+
msgstr "Date / Heure"
|
1194 |
+
|
1195 |
+
#: options/wc-options.php:356
|
1196 |
+
msgid "Notification"
|
1197 |
+
msgstr "Notification"
|
1198 |
+
|
1199 |
+
#: wc.php:1020
|
1200 |
+
msgid "Phrases"
|
1201 |
+
msgstr "Phrases"
|
1202 |
+
|
1203 |
+
#. Plugin Name of the plugin/theme
|
1204 |
+
msgid "wpDiscuz - Wordpress Comments"
|
1205 |
+
msgstr ""
|
1206 |
+
|
1207 |
+
#. Plugin URI of the plugin/theme
|
1208 |
+
msgid "http://www.gvectors.com/wpdiscuz/"
|
1209 |
+
msgstr ""
|
1210 |
+
|
1211 |
+
#. Description of the plugin/theme
|
1212 |
+
msgid ""
|
1213 |
+
"Better comment system. Wordpress post comments and discussion plugin. Allows your "
|
1214 |
+
"visitors discuss, vote for comments and share."
|
1215 |
+
msgstr ""
|
1216 |
+
|
1217 |
+
#. Author of the plugin/theme
|
1218 |
+
msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
|
1219 |
+
msgstr ""
|
1220 |
+
|
1221 |
+
#. Author URI of the plugin/theme
|
1222 |
+
msgid "http://www.gvectors.com/"
|
1223 |
+
msgstr ""
|
languages/wpdiscuz-hy_HY.mo
ADDED
Binary file
|
languages/wpdiscuz-hy_HY.po
ADDED
@@ -0,0 +1,1160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-05-15 22:52+0400\n"
|
5 |
+
"PO-Revision-Date: 2015-05-15 23:57+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.6\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:178 comment-form/tpl-comment.php:265
|
23 |
+
msgid "Participate in this discussion via email"
|
24 |
+
msgstr "Մասնակցել այս քննարկմանը էլ-փոստով"
|
25 |
+
|
26 |
+
#: comment-form/form.php:316
|
27 |
+
msgid "Connect with"
|
28 |
+
msgstr "Մուտք գործել"
|
29 |
+
|
30 |
+
#: comment-form/tpl-comment.php:87 wc.php:318
|
31 |
+
msgid "Anonymous"
|
32 |
+
msgstr "Անանուն"
|
33 |
+
|
34 |
+
#: comment-form/tpl-comment.php:179
|
35 |
+
#: options/phrases-layout/phrases-comment.php:27
|
36 |
+
#: options/wc-options-serialize.php:402
|
37 |
+
msgid "Edit"
|
38 |
+
msgstr "Խմբագրել"
|
39 |
+
|
40 |
+
#: options/options-layouts/settings-general.php:2
|
41 |
+
msgid "General Settings"
|
42 |
+
msgstr "Գլխավոր պարամետրեր"
|
43 |
+
|
44 |
+
#: options/options-layouts/settings-general.php:7
|
45 |
+
msgid "Display comment form for post types:"
|
46 |
+
msgstr "Միացնել մեկնաբանությունները այս տիպերի համար"
|
47 |
+
|
48 |
+
#: options/options-layouts/settings-general.php:28
|
49 |
+
msgid "User Must be registered to comment"
|
50 |
+
msgstr "Մեկնաբանություն թողնելու համար գրանցվելը պարտադիր է"
|
51 |
+
|
52 |
+
#: options/options-layouts/settings-general.php:34
|
53 |
+
msgid "Yes"
|
54 |
+
msgstr "Այո"
|
55 |
+
|
56 |
+
#: options/options-layouts/settings-general.php:38
|
57 |
+
msgid "No"
|
58 |
+
msgstr "Ոչ"
|
59 |
+
|
60 |
+
#: options/options-layouts/settings-general.php:46
|
61 |
+
msgid "Comment author must fill out name"
|
62 |
+
msgstr "Մեկնաբանության հեղինակը պետք է պարտադիր լրացնի անունը"
|
63 |
+
|
64 |
+
#: options/options-layouts/settings-general.php:57
|
65 |
+
msgid "Comment author must fill out email"
|
66 |
+
msgstr "Մեկնաբանության հեղինակը պետք է պարտադիր լրացնի էլ-փոստը"
|
67 |
+
|
68 |
+
#: options/options-layouts/settings-general.php:68
|
69 |
+
msgid "Show the latest comments on"
|
70 |
+
msgstr "Ցույց տալ վերջին մեկնաբանությունները"
|
71 |
+
|
72 |
+
#: options/options-layouts/settings-general.php:72
|
73 |
+
msgid "the top of the list"
|
74 |
+
msgstr "վերևում"
|
75 |
+
|
76 |
+
#: options/options-layouts/settings-general.php:74
|
77 |
+
msgid "top of the threads"
|
78 |
+
msgstr "վերևում"
|
79 |
+
|
80 |
+
#: options/options-layouts/settings-general.php:76
|
81 |
+
msgid "bottom of the threads"
|
82 |
+
msgstr "ներքևում"
|
83 |
+
|
84 |
+
#: options/options-layouts/settings-general.php:78
|
85 |
+
msgid "the bottom of the list"
|
86 |
+
msgstr "ներքևում"
|
87 |
+
|
88 |
+
#: options/options-layouts/settings-general.php:86
|
89 |
+
msgid "Comment Threads Per Page"
|
90 |
+
msgstr "Գլպավոր մեկնաբանությունների քանակը "
|
91 |
+
|
92 |
+
#: options/options-layouts/settings-general.php:98
|
93 |
+
msgid "Comments max depth"
|
94 |
+
msgstr "Մեկնաբանությունների խորությունը"
|
95 |
+
|
96 |
+
#: options/options-layouts/settings-general.php:103
|
97 |
+
msgid "Level"
|
98 |
+
msgstr "Մակարդակ"
|
99 |
+
|
100 |
+
#: options/options-layouts/settings-general.php:104
|
101 |
+
#: options/options-layouts/settings-general.php:105
|
102 |
+
#: options/options-layouts/settings-general.php:106
|
103 |
+
#: options/options-layouts/settings-general.php:107
|
104 |
+
msgid "Levels"
|
105 |
+
msgstr "Մակարդակներ"
|
106 |
+
|
107 |
+
#: options/options-layouts/settings-general.php:114
|
108 |
+
msgid "Comment text size in pixels"
|
109 |
+
msgstr "Մեկնաբանության տեքստի չափը "
|
110 |
+
|
111 |
+
#: options/options-layouts/settings-general.php:131
|
112 |
+
msgid "Allow comment editing for"
|
113 |
+
msgstr "Թույլատրել մեկնաբանությունների խմբագրումը"
|
114 |
+
|
115 |
+
#: options/options-layouts/settings-general.php:136
|
116 |
+
msgid "Not Allow"
|
117 |
+
msgstr "Չթույլատրել"
|
118 |
+
|
119 |
+
#: options/options-layouts/settings-general.php:137
|
120 |
+
#: options/options-layouts/settings-general.php:138
|
121 |
+
#: options/options-layouts/settings-live-update.php:41
|
122 |
+
#: options/options-layouts/settings-live-update.php:42
|
123 |
+
#: options/options-layouts/settings-live-update.php:43
|
124 |
+
msgid "Minutes"
|
125 |
+
msgstr "Րոպեներ"
|
126 |
+
|
127 |
+
#: options/options-layouts/settings-general.php:139
|
128 |
+
#: options/phrases-layout/phrases-datetime.php:73
|
129 |
+
msgid "Hour"
|
130 |
+
msgstr "Ժամ"
|
131 |
+
|
132 |
+
#: options/options-layouts/settings-general.php:140
|
133 |
+
#: options/options-layouts/settings-general.php:141
|
134 |
+
msgid "Hours"
|
135 |
+
msgstr "Ժամեր"
|
136 |
+
|
137 |
+
#: options/options-layouts/settings-general.php:148
|
138 |
+
msgid "Redirect first commenter to"
|
139 |
+
msgstr "Վերահղել առաջին մեկնաբանություն անողին դեպի"
|
140 |
+
|
141 |
+
#: options/options-layouts/settings-general.php:155
|
142 |
+
msgid "Do not redirect"
|
143 |
+
msgstr "Չվերահղել"
|
144 |
+
|
145 |
+
#: options/options-layouts/settings-general.php:164
|
146 |
+
msgid "Allow guests to vote on comments"
|
147 |
+
msgstr "Թույլատրել \"հյուրերին\" քվեարկել մեկնաբանություններին"
|
148 |
+
|
149 |
+
#: options/options-layouts/settings-general.php:174
|
150 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
151 |
+
msgstr "Ցույց տալ բոլոր մեկնաբանությունները"
|
152 |
+
|
153 |
+
#: options/options-layouts/settings-general.php:185
|
154 |
+
msgid "Use WordPress Date/Time format"
|
155 |
+
msgstr "Օգտվել WordPress-ի ամսաթվային ֆորմատից"
|
156 |
+
|
157 |
+
#: options/options-layouts/settings-general.php:186
|
158 |
+
msgid ""
|
159 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll "
|
160 |
+
"show the date/time format set in WordPress General Settings."
|
161 |
+
msgstr "wpDiscuz-ը ցույց ե տալիս ամսաթիվը ընթռնելի ֆորմատով"
|
162 |
+
|
163 |
+
#: options/options-layouts/settings-general.php:193
|
164 |
+
msgid "Current Wordpress date/time format"
|
165 |
+
msgstr "Wordpress-ի Ընթացիկ ամսաթվային ֆորմատ"
|
166 |
+
|
167 |
+
#: options/options-layouts/settings-general.php:202
|
168 |
+
msgid ""
|
169 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
170 |
+
"use"
|
171 |
+
msgstr ""
|
172 |
+
"Օգնեք wpDiscuz-ին զարգանալու համար, թույլ տալով մարդկանց տեսնելու թե ինչ "
|
173 |
+
"plugin եք դուք օգտագործում"
|
174 |
+
|
175 |
+
#: options/options-layouts/settings-general.php:204
|
176 |
+
msgid ""
|
177 |
+
"Please check this option on to help wpDiscuz get more popularity as your "
|
178 |
+
"thank to the hard work we do for you totally free. This option adds a very "
|
179 |
+
"small (16x16px) icon under the comment section which will allow your site "
|
180 |
+
"visitors recognize the name of comment solution you use."
|
181 |
+
msgstr ""
|
182 |
+
"Խնդրում ենք միացրեք այս օպցիան որպեսզի օգնեք wpDiscuz-ին ավելի ճանաչելի "
|
183 |
+
"դառնալու ճանապարհին"
|
184 |
+
|
185 |
+
#: options/options-layouts/settings-general.php:209
|
186 |
+
msgid "Thank you!"
|
187 |
+
msgstr "Շնորհակալություն"
|
188 |
+
|
189 |
+
#: options/options-layouts/settings-live-update.php:2
|
190 |
+
#: options/wc-options.php:176
|
191 |
+
msgid "Live Update"
|
192 |
+
msgstr "Մեկնաբանությունների ընթացիկ թարմացում"
|
193 |
+
|
194 |
+
#: options/options-layouts/settings-live-update.php:8
|
195 |
+
msgid "Live update options"
|
196 |
+
msgstr "ընթացիկ թարմացման օպցիաներ"
|
197 |
+
|
198 |
+
#: options/options-layouts/settings-live-update.php:9
|
199 |
+
msgid ""
|
200 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" "
|
201 |
+
"function doesn't overload your server resources. This function is good for "
|
202 |
+
"VPS and Dedicated Hosting Plans."
|
203 |
+
msgstr ""
|
204 |
+
"Եթե դուք օգտագործում եք Shared Վեբ Հոսթինգ դուք պետք է համոզվեք, որ \"Live "
|
205 |
+
"Update \" օպցիան չի ծանրաբեռնել ձեր սերվերի ռեսուրսները. Այս օպցաին լավ է "
|
206 |
+
"VPS սերվերների համար."
|
207 |
+
|
208 |
+
#: options/options-layouts/settings-live-update.php:14
|
209 |
+
msgid "Never update"
|
210 |
+
msgstr "Չթարմացնել"
|
211 |
+
|
212 |
+
#: options/options-layouts/settings-live-update.php:16
|
213 |
+
msgid "Turn off \"Live Update\" function"
|
214 |
+
msgstr "Անջատել ընթացիկ թարմացումը"
|
215 |
+
|
216 |
+
#: options/options-layouts/settings-live-update.php:18
|
217 |
+
msgid "Show new comment/reply buttons to update manualy"
|
218 |
+
msgstr ""
|
219 |
+
"Ցույց տալ նոր մեկնաբանություն / պատասխան կոճակները ձեռքով թարմացնելու համար"
|
220 |
+
|
221 |
+
#: options/options-layouts/settings-live-update.php:20
|
222 |
+
msgid "Always check for new comments and show update buttons"
|
223 |
+
msgstr "Միշտ ստուգել նոր մեկնաբանությունները եւ ցույց տալ թարմացման կոճակները"
|
224 |
+
|
225 |
+
#: options/options-layouts/settings-live-update.php:22
|
226 |
+
msgid "Always update"
|
227 |
+
msgstr "Միշտ թարմացնել"
|
228 |
+
|
229 |
+
#: options/options-layouts/settings-live-update.php:24
|
230 |
+
msgid "Always check for new comments and update automatically"
|
231 |
+
msgstr "Միշտ ստուգել նոր մեկնաբանությունները եւ թարմացնել ավտոմատ կերպով"
|
232 |
+
|
233 |
+
#: options/options-layouts/settings-live-update.php:32
|
234 |
+
msgid "Update comment list every"
|
235 |
+
msgstr "Թարմացնել մեկնաբանությունները ամեն"
|
236 |
+
|
237 |
+
#: options/options-layouts/settings-live-update.php:37
|
238 |
+
#: options/options-layouts/settings-live-update.php:38
|
239 |
+
#: options/options-layouts/settings-live-update.php:39
|
240 |
+
msgid "Seconds"
|
241 |
+
msgstr "Վարկյաններ"
|
242 |
+
|
243 |
+
#: options/options-layouts/settings-live-update.php:40
|
244 |
+
#: options/phrases-layout/phrases-datetime.php:95
|
245 |
+
msgid "Minute"
|
246 |
+
msgstr "Րոպե"
|
247 |
+
|
248 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:177
|
249 |
+
msgid "Show/Hide Components"
|
250 |
+
msgstr "Ցույց տալ / չտալ կոմպոնենտներ"
|
251 |
+
|
252 |
+
#: options/options-layouts/settings-show-hide.php:7
|
253 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
254 |
+
msgstr ""
|
255 |
+
"Ցույց տալ լոգին եխած օգտագործողների անունը և լոգաուտ լինկը ֆորմի վերևում"
|
256 |
+
|
257 |
+
#: options/options-layouts/settings-show-hide.php:17
|
258 |
+
msgid "Hide Reply button for Guests"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: options/options-layouts/settings-show-hide.php:27
|
262 |
+
msgid "Hide Reply button for Members"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: options/options-layouts/settings-show-hide.php:37
|
266 |
+
msgid "Hide Author Titles"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: options/options-layouts/settings-show-hide.php:47
|
270 |
+
msgid "Hide Voting buttons"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: options/options-layouts/settings-show-hide.php:57
|
274 |
+
msgid "Hide Share Buttons"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: options/options-layouts/settings-show-hide.php:67
|
278 |
+
msgid "Hide the CAPTCHA field"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: options/options-layouts/settings-show-hide.php:77
|
282 |
+
msgid "Hide the Website URL field"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: options/options-layouts/settings-social.php:10
|
286 |
+
#: options/options-layouts/settings-social.php:12
|
287 |
+
#: options/options-layouts/settings-social.php:14 wc.php:1021
|
288 |
+
msgid "Settings"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: options/options-layouts/settings-social.php:19
|
292 |
+
#: options/options-layouts/settings-social.php:29
|
293 |
+
#: options/options-layouts/settings-social.php:39
|
294 |
+
msgid "Activate"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: options/options-layouts/settings-social.php:23
|
298 |
+
#: options/options-layouts/settings-social.php:33
|
299 |
+
#: options/options-layouts/settings-social.php:43
|
300 |
+
msgid "View details/Install"
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: options/options-layouts/settings-social.php:75 options/wc-options.php:180
|
304 |
+
msgid "Social Login"
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: options/options-layouts/settings-social.php:76
|
308 |
+
msgid ""
|
309 |
+
"You can use one of these most popular Social Login Plugins to allow your "
|
310 |
+
"visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
|
311 |
+
"OK and lots of other social network service accounts. All social login "
|
312 |
+
"buttons will be fully integrated with wpDiscuz comment forms."
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:179
|
316 |
+
msgid "Background and Colors"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: options/options-layouts/settings-style.php:7
|
320 |
+
msgid "Comment Form Background Color"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: options/options-layouts/settings-style.php:10
|
324 |
+
#: options/options-layouts/settings-style.php:34
|
325 |
+
#: options/options-layouts/settings-style.php:58
|
326 |
+
#: options/options-layouts/settings-style.php:82
|
327 |
+
#: options/options-layouts/settings-style.php:107
|
328 |
+
#: options/options-layouts/settings-style.php:132
|
329 |
+
#: options/options-layouts/settings-style.php:155
|
330 |
+
#: options/options-layouts/settings-style.php:178
|
331 |
+
msgid "Example: #00ff00"
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: options/options-layouts/settings-style.php:31
|
335 |
+
msgid "Comment Background Color"
|
336 |
+
msgstr ""
|
337 |
+
|
338 |
+
#: options/options-layouts/settings-style.php:55
|
339 |
+
msgid "Reply Background Color"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: options/options-layouts/settings-style.php:79
|
343 |
+
msgid "Comment Text Color"
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: options/options-layouts/settings-style.php:104
|
347 |
+
msgid "Author title color"
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: options/options-layouts/settings-style.php:129
|
351 |
+
msgid "Vote, Reply, Share, Edit links text colors"
|
352 |
+
msgstr ""
|
353 |
+
|
354 |
+
#: options/options-layouts/settings-style.php:152
|
355 |
+
msgid "Comment form fields border color"
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: options/options-layouts/settings-style.php:175
|
359 |
+
msgid "New loaded comments' background color"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: options/options-layouts/settings-style.php:199
|
363 |
+
msgid "Custom CSS Code"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: options/options-layouts/settings-subscription.php:2
|
367 |
+
msgid "Email Subscription Settings"
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: options/options-layouts/settings-subscription.php:7
|
371 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: options/options-layouts/settings-subscription.php:8
|
375 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: options/options-layouts/settings-subscription.php:9
|
379 |
+
msgid "Show \"Notify of new replies to this comment\""
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#: options/options-layouts/settings-subscription.php:11
|
383 |
+
msgid ""
|
384 |
+
"Please keep all three or at least one of those options ON, otherwise users "
|
385 |
+
"will not have any option for email notifications and they'll not get any "
|
386 |
+
"messages."
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
#: options/options-layouts/settings-subscription.php:30
|
390 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: options/options-layouts/settings-subscription.php:31
|
394 |
+
msgid ""
|
395 |
+
"Postmatic allows your users subscribe to comments. Instead of just being "
|
396 |
+
"notified, they add a reply right from their inbox."
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: options/options-layouts/settings-subscription.php:42
|
400 |
+
msgid ""
|
401 |
+
"Keep selected the email notification of all new follow-up comments by default"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: options/options-layouts/settings-subscription.php:43
|
405 |
+
msgid ""
|
406 |
+
"If this option is checked-on, in Manage Subscriptions section of comment "
|
407 |
+
"forms will only be displayed the \"Notify of all new follow-up comments\" "
|
408 |
+
"option and this option will always be selected by default."
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: options/phrases-layout/phrases-comment.php:2
|
412 |
+
msgid "Comment Template Phrases"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: options/phrases-layout/phrases-comment.php:7
|
416 |
+
#: options/wc-options-serialize.php:400
|
417 |
+
msgid "Reply"
|
418 |
+
msgstr ""
|
419 |
+
|
420 |
+
#: options/phrases-layout/phrases-comment.php:17
|
421 |
+
#: options/wc-options-serialize.php:401
|
422 |
+
msgid "Share"
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: options/phrases-layout/phrases-comment.php:37
|
426 |
+
#: options/wc-options-serialize.php:403
|
427 |
+
msgid "Share On Facebook"
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: options/phrases-layout/phrases-comment.php:47
|
431 |
+
#: options/wc-options-serialize.php:404
|
432 |
+
msgid "Share On Twitter"
|
433 |
+
msgstr ""
|
434 |
+
|
435 |
+
#: options/phrases-layout/phrases-comment.php:57
|
436 |
+
#: options/wc-options-serialize.php:405
|
437 |
+
msgid "Share On Google"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: options/phrases-layout/phrases-comment.php:67
|
441 |
+
#: options/wc-options-serialize.php:406
|
442 |
+
msgid "Share On VKontakte"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: options/phrases-layout/phrases-comment.php:77
|
446 |
+
#: options/wc-options-serialize.php:407
|
447 |
+
msgid "Share On Odnoklassniki"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: options/phrases-layout/phrases-comment.php:87
|
451 |
+
#: options/wc-options-serialize.php:408
|
452 |
+
msgid "Hide Replies"
|
453 |
+
msgstr ""
|
454 |
+
|
455 |
+
#: options/phrases-layout/phrases-comment.php:97
|
456 |
+
#: options/wc-options-serialize.php:409
|
457 |
+
msgid "Show Replies"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: options/phrases-layout/phrases-comment.php:107
|
461 |
+
msgid "Title For Guests"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: options/phrases-layout/phrases-comment.php:117
|
465 |
+
msgid "Title For Members"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: options/phrases-layout/phrases-comment.php:127
|
469 |
+
msgid "Title For Authors"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: options/phrases-layout/phrases-comment.php:137
|
473 |
+
msgid "Title For Admins"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: options/phrases-layout/phrases-comment.php:147
|
477 |
+
#: options/wc-options-serialize.php:451
|
478 |
+
msgid "Vote Up"
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: options/phrases-layout/phrases-comment.php:157
|
482 |
+
#: options/wc-options-serialize.php:452
|
483 |
+
msgid "Vote Down"
|
484 |
+
msgstr ""
|
485 |
+
|
486 |
+
#: options/phrases-layout/phrases-comment.php:167
|
487 |
+
msgid "Save edited comment button text"
|
488 |
+
msgstr ""
|
489 |
+
|
490 |
+
#: options/phrases-layout/phrases-comment.php:171
|
491 |
+
#: options/wc-options-serialize.php:470
|
492 |
+
msgid "Save"
|
493 |
+
msgstr ""
|
494 |
+
|
495 |
+
#: options/phrases-layout/phrases-comment.php:177
|
496 |
+
msgid "Cancel comment editing button text"
|
497 |
+
msgstr ""
|
498 |
+
|
499 |
+
#: options/phrases-layout/phrases-comment.php:181
|
500 |
+
#: options/wc-options-serialize.php:471
|
501 |
+
msgid "Cancel"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: options/phrases-layout/phrases-datetime.php:2
|
505 |
+
msgid "Date/Time Phrases"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: options/phrases-layout/phrases-datetime.php:7
|
509 |
+
msgid "Year"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: options/phrases-layout/phrases-datetime.php:18
|
513 |
+
msgid "Years (Plural Form)"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: options/phrases-layout/phrases-datetime.php:22
|
517 |
+
msgid "Years"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: options/phrases-layout/phrases-datetime.php:29
|
521 |
+
msgid "Month"
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: options/phrases-layout/phrases-datetime.php:40
|
525 |
+
msgid "Months (Plural Form)"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: options/phrases-layout/phrases-datetime.php:51
|
529 |
+
msgid "Day"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: options/phrases-layout/phrases-datetime.php:62
|
533 |
+
msgid "Days (Plural Form)"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: options/phrases-layout/phrases-datetime.php:84
|
537 |
+
msgid "Hours (Plural Form)"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: options/phrases-layout/phrases-datetime.php:106
|
541 |
+
msgid "Minutes (Plural Form)"
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: options/phrases-layout/phrases-datetime.php:117
|
545 |
+
msgid "Second"
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: options/phrases-layout/phrases-datetime.php:128
|
549 |
+
msgid "Seconds (Plural Form)"
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: options/phrases-layout/phrases-datetime.php:138
|
553 |
+
msgid "Commented \"right now\" text"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: options/phrases-layout/phrases-datetime.php:149
|
557 |
+
msgid "Ago text"
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: options/phrases-layout/phrases-datetime.php:160
|
561 |
+
msgid "\"Today\" text"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: options/phrases-layout/phrases-datetime.php:164
|
565 |
+
#: options/wc-options-serialize.php:445
|
566 |
+
msgid "Today"
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: options/phrases-layout/phrases-email.php:2
|
570 |
+
msgid "Email Template Phrases"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: options/phrases-layout/phrases-email.php:7
|
574 |
+
msgid "Email Subject"
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: options/phrases-layout/phrases-email.php:18
|
578 |
+
msgid "Email Message"
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: options/phrases-layout/phrases-email.php:29
|
582 |
+
msgid "New Reply Subject"
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: options/phrases-layout/phrases-email.php:33
|
586 |
+
#: options/phrases-layout/phrases-general.php:101
|
587 |
+
#: options/wc-options-serialize.php:416
|
588 |
+
msgid "New Reply"
|
589 |
+
msgstr ""
|
590 |
+
|
591 |
+
#: options/phrases-layout/phrases-email.php:40
|
592 |
+
msgid "New Reply Message"
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: options/phrases-layout/phrases-email.php:50
|
596 |
+
#: options/phrases-layout/phrases-email.php:54
|
597 |
+
#: options/wc-options-serialize.php:421
|
598 |
+
msgid "Unsubscribe"
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: options/phrases-layout/phrases-email.php:61
|
602 |
+
#: options/phrases-layout/phrases-email.php:65
|
603 |
+
#: options/wc-options-serialize.php:422
|
604 |
+
msgid "Ignore Subscription"
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: options/phrases-layout/phrases-email.php:72
|
608 |
+
#: options/phrases-layout/phrases-email.php:76
|
609 |
+
#: options/wc-options-serialize.php:424
|
610 |
+
msgid "Confirm your subscription"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: options/phrases-layout/phrases-email.php:82
|
614 |
+
#: options/phrases-layout/phrases-email.php:86
|
615 |
+
#: options/wc-options-serialize.php:425
|
616 |
+
msgid "You've successfully confirmed your subscription."
|
617 |
+
msgstr ""
|
618 |
+
|
619 |
+
#: options/phrases-layout/phrases-email.php:92
|
620 |
+
msgid "Subscribe Confirmation Email Subject"
|
621 |
+
msgstr ""
|
622 |
+
|
623 |
+
#: options/phrases-layout/phrases-email.php:96
|
624 |
+
#: options/wc-options-serialize.php:426 wc.php:944
|
625 |
+
msgid "Subscribe Confirmation"
|
626 |
+
msgstr ""
|
627 |
+
|
628 |
+
#: options/phrases-layout/phrases-email.php:103
|
629 |
+
msgid "Subscribe Confirmation Email Content"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: options/phrases-layout/phrases-email.php:107
|
633 |
+
#: options/wc-options-serialize.php:427 wc.php:945
|
634 |
+
msgid ""
|
635 |
+
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
636 |
+
"you will receive an email when new comments are posted according to "
|
637 |
+
"subscription option you've chosen. <br/> To activate, click confirm below. "
|
638 |
+
"If you believe this is an error, ignore this message and we'll never bother "
|
639 |
+
"you again."
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: options/phrases-layout/phrases-form.php:2
|
643 |
+
msgid "Form Template Phrases"
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: options/phrases-layout/phrases-form.php:7
|
647 |
+
msgid "Comment Field Start"
|
648 |
+
msgstr ""
|
649 |
+
|
650 |
+
#: options/phrases-layout/phrases-form.php:17
|
651 |
+
msgid "Comment Field Join"
|
652 |
+
msgstr ""
|
653 |
+
|
654 |
+
#: options/phrases-layout/phrases-form.php:27
|
655 |
+
msgid "Email Field"
|
656 |
+
msgstr ""
|
657 |
+
|
658 |
+
#: options/phrases-layout/phrases-form.php:37
|
659 |
+
msgid "Name Field"
|
660 |
+
msgstr ""
|
661 |
+
|
662 |
+
#: options/phrases-layout/phrases-form.php:47
|
663 |
+
msgid "WebSite URL Field"
|
664 |
+
msgstr ""
|
665 |
+
|
666 |
+
#: options/phrases-layout/phrases-form.php:57
|
667 |
+
msgid "CAPTCHA Field"
|
668 |
+
msgstr ""
|
669 |
+
|
670 |
+
#: options/phrases-layout/phrases-form.php:67
|
671 |
+
msgid "Submit Button"
|
672 |
+
msgstr ""
|
673 |
+
|
674 |
+
#: options/phrases-layout/phrases-form.php:77
|
675 |
+
#: options/phrases-layout/phrases-form.php:81
|
676 |
+
#: options/wc-options-serialize.php:393
|
677 |
+
msgid "Manage Subscriptions"
|
678 |
+
msgstr ""
|
679 |
+
|
680 |
+
#: options/phrases-layout/phrases-form.php:87
|
681 |
+
msgid "Notify \"None\""
|
682 |
+
msgstr ""
|
683 |
+
|
684 |
+
#: options/phrases-layout/phrases-form.php:91
|
685 |
+
#: options/wc-options-serialize.php:394
|
686 |
+
msgid "None"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: options/phrases-layout/phrases-form.php:97
|
690 |
+
msgid "Notify on new comments (checkbox)"
|
691 |
+
msgstr ""
|
692 |
+
|
693 |
+
#: options/phrases-layout/phrases-form.php:101
|
694 |
+
#: options/wc-options-serialize.php:395
|
695 |
+
msgid "Notify of all new follow-up comments"
|
696 |
+
msgstr ""
|
697 |
+
|
698 |
+
#: options/phrases-layout/phrases-form.php:108
|
699 |
+
msgid "Notify on all new replies (checkbox)"
|
700 |
+
msgstr ""
|
701 |
+
|
702 |
+
#: options/phrases-layout/phrases-form.php:112
|
703 |
+
#: options/wc-options-serialize.php:396
|
704 |
+
msgid "Notify of new replies to all my comments"
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: options/phrases-layout/phrases-form.php:119
|
708 |
+
msgid "Notify on new replies (checkbox)"
|
709 |
+
msgstr ""
|
710 |
+
|
711 |
+
#: options/phrases-layout/phrases-form.php:123
|
712 |
+
#: options/wc-options-serialize.php:397
|
713 |
+
msgid "Notify of new replies to this comment"
|
714 |
+
msgstr ""
|
715 |
+
|
716 |
+
#: options/phrases-layout/phrases-form.php:129
|
717 |
+
msgid "Subscribed on this comment replies"
|
718 |
+
msgstr ""
|
719 |
+
|
720 |
+
#: options/phrases-layout/phrases-form.php:139
|
721 |
+
msgid "Subscribed on all your comments replies"
|
722 |
+
msgstr ""
|
723 |
+
|
724 |
+
#: options/phrases-layout/phrases-form.php:149
|
725 |
+
msgid "Subscribed on this post"
|
726 |
+
msgstr ""
|
727 |
+
|
728 |
+
#: options/phrases-layout/phrases-general.php:2
|
729 |
+
msgid "General Phrases"
|
730 |
+
msgstr ""
|
731 |
+
|
732 |
+
#: options/phrases-layout/phrases-general.php:7
|
733 |
+
#: options/wc-options-serialize.php:381
|
734 |
+
msgid "Leave a Reply"
|
735 |
+
msgstr ""
|
736 |
+
|
737 |
+
#: options/phrases-layout/phrases-general.php:17
|
738 |
+
msgid "Be the first to comment"
|
739 |
+
msgstr ""
|
740 |
+
|
741 |
+
#: options/phrases-layout/phrases-general.php:27
|
742 |
+
#: options/wc-options-serialize.php:383 options/wc-options.php:350
|
743 |
+
msgid "Comment"
|
744 |
+
msgstr ""
|
745 |
+
|
746 |
+
#: options/phrases-layout/phrases-general.php:37
|
747 |
+
msgid "Comment (Plural Form)"
|
748 |
+
msgstr ""
|
749 |
+
|
750 |
+
#: options/phrases-layout/phrases-general.php:47
|
751 |
+
msgid "On"
|
752 |
+
msgstr ""
|
753 |
+
|
754 |
+
#: options/phrases-layout/phrases-general.php:57
|
755 |
+
msgid "Load More Button"
|
756 |
+
msgstr ""
|
757 |
+
|
758 |
+
#: options/phrases-layout/phrases-general.php:67
|
759 |
+
#: options/wc-options-serialize.php:399
|
760 |
+
msgid "Load Rest of Comments"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: options/phrases-layout/phrases-general.php:77
|
764 |
+
msgid "Button text if has new comment"
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: options/phrases-layout/phrases-general.php:81
|
768 |
+
#: options/wc-options-serialize.php:414
|
769 |
+
msgid "New Comment"
|
770 |
+
msgstr ""
|
771 |
+
|
772 |
+
#: options/phrases-layout/phrases-general.php:87
|
773 |
+
msgid "Button text if has new comments (Plural Form)"
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: options/phrases-layout/phrases-general.php:91
|
777 |
+
msgid "New Comments"
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: options/phrases-layout/phrases-general.php:97
|
781 |
+
msgid "Button text if has new reply"
|
782 |
+
msgstr ""
|
783 |
+
|
784 |
+
#: options/phrases-layout/phrases-general.php:107
|
785 |
+
msgid "Button text if has new replies (Plural Form)"
|
786 |
+
msgstr ""
|
787 |
+
|
788 |
+
#: options/phrases-layout/phrases-general.php:111
|
789 |
+
msgid "New Replies"
|
790 |
+
msgstr ""
|
791 |
+
|
792 |
+
#: options/phrases-layout/phrases-general.php:117
|
793 |
+
msgid "Text on load more button if has new comment(s)"
|
794 |
+
msgstr ""
|
795 |
+
|
796 |
+
#: options/phrases-layout/phrases-general.php:121
|
797 |
+
#: options/wc-options-serialize.php:466
|
798 |
+
msgid "New"
|
799 |
+
msgstr ""
|
800 |
+
|
801 |
+
#: options/phrases-layout/phrases-notification.php:2
|
802 |
+
msgid "Notification Phrases"
|
803 |
+
msgstr ""
|
804 |
+
|
805 |
+
#: options/phrases-layout/phrases-notification.php:7
|
806 |
+
#: options/wc-options-serialize.php:423
|
807 |
+
msgid "You've successfully unsubscribed."
|
808 |
+
msgstr ""
|
809 |
+
|
810 |
+
#: options/phrases-layout/phrases-notification.php:18
|
811 |
+
msgid "Error message for empty field"
|
812 |
+
msgstr ""
|
813 |
+
|
814 |
+
#: options/phrases-layout/phrases-notification.php:28
|
815 |
+
msgid "Error message for invalid email field"
|
816 |
+
msgstr ""
|
817 |
+
|
818 |
+
#: options/phrases-layout/phrases-notification.php:38
|
819 |
+
msgid "Error message for invalid website url field"
|
820 |
+
msgstr ""
|
821 |
+
|
822 |
+
#: options/phrases-layout/phrases-notification.php:48
|
823 |
+
#: options/wc-options-serialize.php:446
|
824 |
+
msgid "You must be"
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: options/phrases-layout/phrases-notification.php:58
|
828 |
+
msgid "Logged in as"
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: options/phrases-layout/phrases-notification.php:68
|
832 |
+
#: options/wc-options-serialize.php:448
|
833 |
+
msgid "Log out"
|
834 |
+
msgstr ""
|
835 |
+
|
836 |
+
#: options/phrases-layout/phrases-notification.php:78
|
837 |
+
msgid "Logged In"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
+
#: options/phrases-layout/phrases-notification.php:88
|
841 |
+
msgid "To post a comment"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: options/phrases-layout/phrases-notification.php:98
|
845 |
+
#: options/wc-options-serialize.php:453
|
846 |
+
msgid "Vote Counted"
|
847 |
+
msgstr ""
|
848 |
+
|
849 |
+
#: options/phrases-layout/phrases-notification.php:108
|
850 |
+
msgid "You can vote only 1 time"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: options/phrases-layout/phrases-notification.php:118
|
854 |
+
#: options/wc-options-serialize.php:455
|
855 |
+
msgid "Voting Error"
|
856 |
+
msgstr ""
|
857 |
+
|
858 |
+
#: options/phrases-layout/phrases-notification.php:128
|
859 |
+
msgid "Login To Vote"
|
860 |
+
msgstr ""
|
861 |
+
|
862 |
+
#: options/phrases-layout/phrases-notification.php:138
|
863 |
+
msgid "You Cannot Vote On Your Comment"
|
864 |
+
msgstr ""
|
865 |
+
|
866 |
+
#: options/phrases-layout/phrases-notification.php:148
|
867 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: options/phrases-layout/phrases-notification.php:158
|
871 |
+
#: options/wc-options-serialize.php:459
|
872 |
+
msgid "Invalid Captcha Code"
|
873 |
+
msgstr ""
|
874 |
+
|
875 |
+
#: options/phrases-layout/phrases-notification.php:168
|
876 |
+
#: options/wc-options-serialize.php:460
|
877 |
+
msgid "Some of field value is invalid"
|
878 |
+
msgstr ""
|
879 |
+
|
880 |
+
#: options/phrases-layout/phrases-notification.php:178
|
881 |
+
msgid "Comment waiting moderation"
|
882 |
+
msgstr ""
|
883 |
+
|
884 |
+
#: options/phrases-layout/phrases-notification.php:188
|
885 |
+
msgid "Message if comment was not updated"
|
886 |
+
msgstr ""
|
887 |
+
|
888 |
+
#: options/phrases-layout/phrases-notification.php:192
|
889 |
+
#: options/wc-options-serialize.php:467
|
890 |
+
msgid "Sorry, the comment was not updated"
|
891 |
+
msgstr ""
|
892 |
+
|
893 |
+
#: options/phrases-layout/phrases-notification.php:198
|
894 |
+
msgid "Message if comment no longer possible to edit"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: options/phrases-layout/phrases-notification.php:202
|
898 |
+
#: options/wc-options-serialize.php:468
|
899 |
+
msgid "Sorry, this comment no longer possible to edit"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: options/phrases-layout/phrases-notification.php:209
|
903 |
+
msgid "Message if comment text not changed"
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#: options/phrases-layout/phrases-notification.php:213
|
907 |
+
msgid "TYou've not made any changes"
|
908 |
+
msgstr ""
|
909 |
+
|
910 |
+
#: options/wc-options-serialize.php:382
|
911 |
+
msgid "Be the First to Comment!"
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#: options/wc-options-serialize.php:384
|
915 |
+
msgid "Comments"
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
#: options/wc-options-serialize.php:385
|
919 |
+
msgid "on"
|
920 |
+
msgstr ""
|
921 |
+
|
922 |
+
#: options/wc-options-serialize.php:386
|
923 |
+
msgid "Start the discussion"
|
924 |
+
msgstr ""
|
925 |
+
|
926 |
+
#: options/wc-options-serialize.php:387
|
927 |
+
msgid "Join the discussion"
|
928 |
+
msgstr ""
|
929 |
+
|
930 |
+
#: options/wc-options-serialize.php:388 options/wc-options.php:352
|
931 |
+
msgid "Email"
|
932 |
+
msgstr ""
|
933 |
+
|
934 |
+
#: options/wc-options-serialize.php:389
|
935 |
+
msgid "Name"
|
936 |
+
msgstr ""
|
937 |
+
|
938 |
+
#: options/wc-options-serialize.php:390
|
939 |
+
msgid "WebSite URL"
|
940 |
+
msgstr ""
|
941 |
+
|
942 |
+
#: options/wc-options-serialize.php:391
|
943 |
+
msgid "Please insert the code above to comment"
|
944 |
+
msgstr ""
|
945 |
+
|
946 |
+
#: options/wc-options-serialize.php:392
|
947 |
+
msgid "Post Comment"
|
948 |
+
msgstr ""
|
949 |
+
|
950 |
+
#: options/wc-options-serialize.php:398
|
951 |
+
msgid "Load More Comments"
|
952 |
+
msgstr ""
|
953 |
+
|
954 |
+
#: options/wc-options-serialize.php:410
|
955 |
+
msgid "Guest"
|
956 |
+
msgstr ""
|
957 |
+
|
958 |
+
#: options/wc-options-serialize.php:411
|
959 |
+
msgid "Member"
|
960 |
+
msgstr ""
|
961 |
+
|
962 |
+
#: options/wc-options-serialize.php:412
|
963 |
+
msgid "Author"
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: options/wc-options-serialize.php:413
|
967 |
+
msgid "Admin"
|
968 |
+
msgstr ""
|
969 |
+
|
970 |
+
#: options/wc-options-serialize.php:415
|
971 |
+
msgid "New comment on the discussion section you've been interested in"
|
972 |
+
msgstr ""
|
973 |
+
|
974 |
+
#: options/wc-options-serialize.php:417
|
975 |
+
msgid "New reply on the discussion section you've been interested in"
|
976 |
+
msgstr ""
|
977 |
+
|
978 |
+
#: options/wc-options-serialize.php:418
|
979 |
+
msgid "You're subscribed for new replies on this comment"
|
980 |
+
msgstr ""
|
981 |
+
|
982 |
+
#: options/wc-options-serialize.php:419
|
983 |
+
msgid "You're subscribed for new replies on all your comments"
|
984 |
+
msgstr ""
|
985 |
+
|
986 |
+
#: options/wc-options-serialize.php:420
|
987 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
988 |
+
msgstr ""
|
989 |
+
|
990 |
+
#: options/wc-options-serialize.php:428
|
991 |
+
msgid "please fill out this field to comment"
|
992 |
+
msgstr ""
|
993 |
+
|
994 |
+
#: options/wc-options-serialize.php:429
|
995 |
+
msgid "email address is invalid"
|
996 |
+
msgstr ""
|
997 |
+
|
998 |
+
#: options/wc-options-serialize.php:430
|
999 |
+
msgid "url is invalid"
|
1000 |
+
msgstr ""
|
1001 |
+
|
1002 |
+
#: options/wc-options-serialize.php:431
|
1003 |
+
msgid "year"
|
1004 |
+
msgstr ""
|
1005 |
+
|
1006 |
+
#: options/wc-options-serialize.php:432
|
1007 |
+
msgid "years"
|
1008 |
+
msgstr ""
|
1009 |
+
|
1010 |
+
#: options/wc-options-serialize.php:433
|
1011 |
+
msgid "month"
|
1012 |
+
msgstr ""
|
1013 |
+
|
1014 |
+
#: options/wc-options-serialize.php:434
|
1015 |
+
msgid "months"
|
1016 |
+
msgstr ""
|
1017 |
+
|
1018 |
+
#: options/wc-options-serialize.php:435
|
1019 |
+
msgid "day"
|
1020 |
+
msgstr ""
|
1021 |
+
|
1022 |
+
#: options/wc-options-serialize.php:436
|
1023 |
+
msgid "days"
|
1024 |
+
msgstr ""
|
1025 |
+
|
1026 |
+
#: options/wc-options-serialize.php:437
|
1027 |
+
msgid "hour"
|
1028 |
+
msgstr ""
|
1029 |
+
|
1030 |
+
#: options/wc-options-serialize.php:438
|
1031 |
+
msgid "hours"
|
1032 |
+
msgstr ""
|
1033 |
+
|
1034 |
+
#: options/wc-options-serialize.php:439
|
1035 |
+
msgid "minute"
|
1036 |
+
msgstr ""
|
1037 |
+
|
1038 |
+
#: options/wc-options-serialize.php:440
|
1039 |
+
msgid "minutes"
|
1040 |
+
msgstr ""
|
1041 |
+
|
1042 |
+
#: options/wc-options-serialize.php:441
|
1043 |
+
msgid "second"
|
1044 |
+
msgstr ""
|
1045 |
+
|
1046 |
+
#: options/wc-options-serialize.php:442
|
1047 |
+
msgid "seconds"
|
1048 |
+
msgstr ""
|
1049 |
+
|
1050 |
+
#: options/wc-options-serialize.php:443
|
1051 |
+
msgid "right now"
|
1052 |
+
msgstr ""
|
1053 |
+
|
1054 |
+
#: options/wc-options-serialize.php:444
|
1055 |
+
msgid "ago"
|
1056 |
+
msgstr ""
|
1057 |
+
|
1058 |
+
#: options/wc-options-serialize.php:447
|
1059 |
+
msgid "You are logged in as"
|
1060 |
+
msgstr ""
|
1061 |
+
|
1062 |
+
#: options/wc-options-serialize.php:449
|
1063 |
+
msgid "logged in"
|
1064 |
+
msgstr ""
|
1065 |
+
|
1066 |
+
#: options/wc-options-serialize.php:450
|
1067 |
+
msgid "to post a comment."
|
1068 |
+
msgstr ""
|
1069 |
+
|
1070 |
+
#: options/wc-options-serialize.php:454
|
1071 |
+
msgid "You've already voted for this comment"
|
1072 |
+
msgstr ""
|
1073 |
+
|
1074 |
+
#: options/wc-options-serialize.php:456
|
1075 |
+
msgid "You Must Be Logged In To Vote"
|
1076 |
+
msgstr ""
|
1077 |
+
|
1078 |
+
#: options/wc-options-serialize.php:457
|
1079 |
+
msgid "You cannot vote for your comment"
|
1080 |
+
msgstr ""
|
1081 |
+
|
1082 |
+
#: options/wc-options-serialize.php:458
|
1083 |
+
msgid "You are not allowed to vote for this comment"
|
1084 |
+
msgstr ""
|
1085 |
+
|
1086 |
+
#: options/wc-options-serialize.php:461
|
1087 |
+
msgid "new comment"
|
1088 |
+
msgstr ""
|
1089 |
+
|
1090 |
+
#: options/wc-options-serialize.php:462
|
1091 |
+
msgid "new comments"
|
1092 |
+
msgstr ""
|
1093 |
+
|
1094 |
+
#: options/wc-options-serialize.php:463
|
1095 |
+
msgid "Comment awaiting moderation"
|
1096 |
+
msgstr ""
|
1097 |
+
|
1098 |
+
#: options/wc-options-serialize.php:464
|
1099 |
+
msgid "new reply on your comment"
|
1100 |
+
msgstr ""
|
1101 |
+
|
1102 |
+
#: options/wc-options-serialize.php:465
|
1103 |
+
msgid "new replies on your comments"
|
1104 |
+
msgstr ""
|
1105 |
+
|
1106 |
+
#: options/wc-options-serialize.php:469
|
1107 |
+
msgid "You've not made any changes"
|
1108 |
+
msgstr ""
|
1109 |
+
|
1110 |
+
#: options/wc-options.php:28 options/wc-options.php:228
|
1111 |
+
msgid "Hacker?"
|
1112 |
+
msgstr ""
|
1113 |
+
|
1114 |
+
#: options/wc-options.php:83
|
1115 |
+
msgid "wpDiscuz General Settings"
|
1116 |
+
msgstr ""
|
1117 |
+
|
1118 |
+
#: options/wc-options.php:175
|
1119 |
+
msgid "General settings"
|
1120 |
+
msgstr ""
|
1121 |
+
|
1122 |
+
#: options/wc-options.php:178
|
1123 |
+
msgid "Email Subscription"
|
1124 |
+
msgstr ""
|
1125 |
+
|
1126 |
+
#: options/wc-options.php:178
|
1127 |
+
msgid "and Postmatic"
|
1128 |
+
msgstr ""
|
1129 |
+
|
1130 |
+
#: options/wc-options.php:209 options/wc-options.php:380
|
1131 |
+
msgid "Save Changes"
|
1132 |
+
msgstr ""
|
1133 |
+
|
1134 |
+
#: options/wc-options.php:210
|
1135 |
+
msgid "Reset Options"
|
1136 |
+
msgstr ""
|
1137 |
+
|
1138 |
+
#: options/wc-options.php:338
|
1139 |
+
msgid "WpDiscuz Front-end Phrases"
|
1140 |
+
msgstr ""
|
1141 |
+
|
1142 |
+
#: options/wc-options.php:348
|
1143 |
+
msgid "General"
|
1144 |
+
msgstr ""
|
1145 |
+
|
1146 |
+
#: options/wc-options.php:349
|
1147 |
+
msgid "Form"
|
1148 |
+
msgstr ""
|
1149 |
+
|
1150 |
+
#: options/wc-options.php:351
|
1151 |
+
msgid "Date/Time"
|
1152 |
+
msgstr ""
|
1153 |
+
|
1154 |
+
#: options/wc-options.php:353
|
1155 |
+
msgid "Notification"
|
1156 |
+
msgstr ""
|
1157 |
+
|
1158 |
+
#: wc.php:1022
|
1159 |
+
msgid "Phrases"
|
1160 |
+
msgstr ""
|
languages/wpdiscuz-pt_BR.mo
ADDED
Binary file
|
languages/wpdiscuz-pt_BR.po
ADDED
@@ -0,0 +1,1109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-05-12 10:16-0300\n"
|
5 |
+
"PO-Revision-Date: 2015-05-12 10:19-0300\n"
|
6 |
+
"Last-Translator: Moisés <moisbach@gmail.com>\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.6\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 "Participar desta discussão via e-mail"
|
25 |
+
|
26 |
+
#: comment-form/tpl-comment.php:83
|
27 |
+
msgid "Anonymous"
|
28 |
+
msgstr "Anônimo"
|
29 |
+
|
30 |
+
#: comment-form/tpl-comment.php:165 comment-form/tpl-comment.php:168
|
31 |
+
msgid "Edit"
|
32 |
+
msgstr "Editar"
|
33 |
+
|
34 |
+
#: options/options-layouts/settings-general.php:2
|
35 |
+
msgid "General Settings"
|
36 |
+
msgstr "Configurações Gerais"
|
37 |
+
|
38 |
+
#: options/options-layouts/settings-general.php:7
|
39 |
+
msgid "Display comment form for post types:"
|
40 |
+
msgstr "Mostrar o formulário de comentário em:"
|
41 |
+
|
42 |
+
#: options/options-layouts/settings-general.php:28
|
43 |
+
msgid "User Must be registered to comment"
|
44 |
+
msgstr "O utilizador deve estar registrado para comentar"
|
45 |
+
|
46 |
+
#: options/options-layouts/settings-general.php:46
|
47 |
+
msgid "Show the latest comments on"
|
48 |
+
msgstr "Mostrar os últimos comentários no"
|
49 |
+
|
50 |
+
#: options/options-layouts/settings-general.php:50
|
51 |
+
msgid "the top of the list"
|
52 |
+
msgstr "no topo da lista de comentários"
|
53 |
+
|
54 |
+
#: options/options-layouts/settings-general.php:52
|
55 |
+
msgid "top of the threads"
|
56 |
+
msgstr "no topo"
|
57 |
+
|
58 |
+
#: options/options-layouts/settings-general.php:54
|
59 |
+
msgid "bottom of the threads"
|
60 |
+
msgstr "no fim"
|
61 |
+
|
62 |
+
#: options/options-layouts/settings-general.php:56
|
63 |
+
msgid "the bottom of the list"
|
64 |
+
msgstr "no fim da lista de comentários"
|
65 |
+
|
66 |
+
#: options/options-layouts/settings-general.php:64
|
67 |
+
msgid "Comment Threads Per Page"
|
68 |
+
msgstr "Comentários Por Página"
|
69 |
+
|
70 |
+
#: options/options-layouts/settings-general.php:76
|
71 |
+
msgid "Comments max depth"
|
72 |
+
msgstr "Níveis de respostas a comentários"
|
73 |
+
|
74 |
+
#: options/options-layouts/settings-general.php:81
|
75 |
+
msgid "Level"
|
76 |
+
msgstr "Nível"
|
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 "Níveis"
|
84 |
+
|
85 |
+
#: options/options-layouts/settings-general.php:92
|
86 |
+
msgid "Comment text size in pixels"
|
87 |
+
msgstr "Tamanho do texto do comentário em pixeis."
|
88 |
+
|
89 |
+
#: options/options-layouts/settings-general.php:109
|
90 |
+
msgid "Allow comment editing for"
|
91 |
+
msgstr "Permitir a edição de comentários por"
|
92 |
+
|
93 |
+
#: options/options-layouts/settings-general.php:114
|
94 |
+
msgid "Not Allow"
|
95 |
+
msgstr "Não Permitir"
|
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 "Minutos"
|
104 |
+
|
105 |
+
#: options/options-layouts/settings-general.php:117
|
106 |
+
#: options/phrases-layout/phrases-datetime.php:73
|
107 |
+
msgid "Hour"
|
108 |
+
msgstr "Hora"
|
109 |
+
|
110 |
+
#: options/options-layouts/settings-general.php:118
|
111 |
+
#: options/options-layouts/settings-general.php:119
|
112 |
+
msgid "Hours"
|
113 |
+
msgstr "Horas"
|
114 |
+
|
115 |
+
#: options/options-layouts/settings-general.php:126
|
116 |
+
msgid "Redirect first commenter to"
|
117 |
+
msgstr "Redirecionar o primeiro comentarista para"
|
118 |
+
|
119 |
+
#: options/options-layouts/settings-general.php:133
|
120 |
+
msgid "Do not redirect"
|
121 |
+
msgstr "Não redirecionar"
|
122 |
+
|
123 |
+
#: options/options-layouts/settings-general.php:142
|
124 |
+
msgid "Allow guests to vote on comments"
|
125 |
+
msgstr "Permitir que os visitantes votem em comentários"
|
126 |
+
|
127 |
+
#: options/options-layouts/settings-general.php:152
|
128 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
129 |
+
msgstr ""
|
130 |
+
"Carregar todos os outros comentários ao clicar no botão [Carregar Mais "
|
131 |
+
"Comentários]"
|
132 |
+
|
133 |
+
#: options/options-layouts/settings-general.php:163
|
134 |
+
msgid "Use WordPress Date/Time format"
|
135 |
+
msgstr "Usar o formato de data e hora do WordPress"
|
136 |
+
|
137 |
+
#: options/options-layouts/settings-general.php:164
|
138 |
+
msgid ""
|
139 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll "
|
140 |
+
"show the date/time format set in WordPress General Settings."
|
141 |
+
msgstr ""
|
142 |
+
"O wpDiscuz mostra uma data mais amigável. Ao selecionar esta opção, o plugin "
|
143 |
+
"vai usar o formato de data/hora definido na página de Opções do WordPress."
|
144 |
+
|
145 |
+
#: options/options-layouts/settings-general.php:171
|
146 |
+
msgid "Current Wordpress date/time format"
|
147 |
+
msgstr "Formato atual de data e hora do WordPress"
|
148 |
+
|
149 |
+
#: options/options-layouts/settings-general.php:180
|
150 |
+
msgid ""
|
151 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
152 |
+
"use"
|
153 |
+
msgstr ""
|
154 |
+
"Ajude o wpDiscuz a crescer permitindo que as pessoas possam reconhecer qual "
|
155 |
+
"plugin de comentário você usa"
|
156 |
+
|
157 |
+
#: options/options-layouts/settings-general.php:182
|
158 |
+
msgid ""
|
159 |
+
"Please check this option on to help wpDiscuz get more popularity as your "
|
160 |
+
"thank to the hard work we do for you totally free. This option adds a very "
|
161 |
+
"small (16x16px) icon under the comment section which will allow your site "
|
162 |
+
"visitors recognize the name of comment solution you use."
|
163 |
+
msgstr ""
|
164 |
+
"Por favor, ative esta opção para ajudar o wpDiscuz a obter mais popularidade "
|
165 |
+
"e como forma de agradecer pelo trabalho duro que fazemos para você "
|
166 |
+
"totalmente grátis. Esta opção adiciona um ícone muito pequeno (16x16px) sob "
|
167 |
+
"a seção de comentário que permitirá que os visitantes do seu site reconheçam "
|
168 |
+
"o nome da solução de comentários que você usa."
|
169 |
+
|
170 |
+
#: options/options-layouts/settings-general.php:187
|
171 |
+
msgid "Thank you!"
|
172 |
+
msgstr "Obrigado!"
|
173 |
+
|
174 |
+
#: options/options-layouts/settings-live-update.php:2
|
175 |
+
#: options/wc-options.php:174
|
176 |
+
msgid "Live Update"
|
177 |
+
msgstr "Atualização em Tempo Real"
|
178 |
+
|
179 |
+
#: options/options-layouts/settings-live-update.php:8
|
180 |
+
msgid "Live update options"
|
181 |
+
msgstr "Opções de atualização automática"
|
182 |
+
|
183 |
+
#: options/options-layouts/settings-live-update.php:14
|
184 |
+
msgid "Never update"
|
185 |
+
msgstr "Nunca atualizar"
|
186 |
+
|
187 |
+
#: options/options-layouts/settings-live-update.php:16
|
188 |
+
msgid "Turn off \"Live Update\" function"
|
189 |
+
msgstr "Desligar a opção \"Atualização automática\""
|
190 |
+
|
191 |
+
#: options/options-layouts/settings-live-update.php:18
|
192 |
+
msgid "Show new comment/reply buttons to update manualy"
|
193 |
+
msgstr ""
|
194 |
+
"Mostrar os botões de novo comentário e resposta para atualizar manualmente"
|
195 |
+
|
196 |
+
#: options/options-layouts/settings-live-update.php:20
|
197 |
+
msgid "Always check for new comments and show update buttons"
|
198 |
+
msgstr "Sempre verificar novos comentários e exibir botões de atualização"
|
199 |
+
|
200 |
+
#: options/options-layouts/settings-live-update.php:22
|
201 |
+
msgid "Always update"
|
202 |
+
msgstr "Atualizar sempre"
|
203 |
+
|
204 |
+
#: options/options-layouts/settings-live-update.php:24
|
205 |
+
msgid "Always check for new comments and update automatically"
|
206 |
+
msgstr "Sempre verificar novos comentários e atualizar automaticamente"
|
207 |
+
|
208 |
+
#: options/options-layouts/settings-live-update.php:32
|
209 |
+
msgid "Update comment list every"
|
210 |
+
msgstr "Atualizar a lista de comentário a cada"
|
211 |
+
|
212 |
+
#: options/options-layouts/settings-live-update.php:37
|
213 |
+
#: options/options-layouts/settings-live-update.php:38
|
214 |
+
#: options/options-layouts/settings-live-update.php:39
|
215 |
+
msgid "Seconds"
|
216 |
+
msgstr "Segundos"
|
217 |
+
|
218 |
+
#: options/options-layouts/settings-live-update.php:40
|
219 |
+
#: options/phrases-layout/phrases-datetime.php:95
|
220 |
+
msgid "Minute"
|
221 |
+
msgstr "Minuto"
|
222 |
+
|
223 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:175
|
224 |
+
msgid "Show/Hide Components"
|
225 |
+
msgstr "Mostrar/Esconder Componentes"
|
226 |
+
|
227 |
+
#: options/options-layouts/settings-show-hide.php:7
|
228 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
229 |
+
msgstr ""
|
230 |
+
"Exibir o username no topo do formulário principal quando o utilizador tem o "
|
231 |
+
"login feito"
|
232 |
+
|
233 |
+
#: options/options-layouts/settings-show-hide.php:18
|
234 |
+
msgid "Hide Reply button for Guests"
|
235 |
+
msgstr "Esconder o botão Responder de visitantes"
|
236 |
+
|
237 |
+
#: options/options-layouts/settings-show-hide.php:29
|
238 |
+
msgid "Hide Reply button for Members"
|
239 |
+
msgstr "Esconder o botão Responder de membros"
|
240 |
+
|
241 |
+
#: options/options-layouts/settings-show-hide.php:40
|
242 |
+
msgid "Hide Author Titles"
|
243 |
+
msgstr "Esconder título do autor do comentário"
|
244 |
+
|
245 |
+
#: options/options-layouts/settings-show-hide.php:51
|
246 |
+
msgid "Hide Voting buttons"
|
247 |
+
msgstr "Esconder os botões de votação"
|
248 |
+
|
249 |
+
#: options/options-layouts/settings-show-hide.php:62
|
250 |
+
msgid "Hide Share Button"
|
251 |
+
msgstr "Esconder o botão de compartilhar"
|
252 |
+
|
253 |
+
#: options/options-layouts/settings-show-hide.php:73
|
254 |
+
msgid "Hide the CAPTCHA field"
|
255 |
+
msgstr "Esconder o campo Captcha"
|
256 |
+
|
257 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:177
|
258 |
+
msgid "Background and Colors"
|
259 |
+
msgstr "Fundo e Cores"
|
260 |
+
|
261 |
+
#: options/options-layouts/settings-style.php:7
|
262 |
+
msgid "Comment Form Background Color"
|
263 |
+
msgstr "Cor de fundo do formulário de comentário"
|
264 |
+
|
265 |
+
#: options/options-layouts/settings-style.php:10
|
266 |
+
#: options/options-layouts/settings-style.php:34
|
267 |
+
#: options/options-layouts/settings-style.php:58
|
268 |
+
#: options/options-layouts/settings-style.php:82
|
269 |
+
#: options/options-layouts/settings-style.php:107
|
270 |
+
#: options/options-layouts/settings-style.php:132
|
271 |
+
#: options/options-layouts/settings-style.php:155
|
272 |
+
#: options/options-layouts/settings-style.php:178
|
273 |
+
msgid "Example: #00ff00"
|
274 |
+
msgstr "Exemplo: #00ff00"
|
275 |
+
|
276 |
+
#: options/options-layouts/settings-style.php:31
|
277 |
+
msgid "Comment Background Color"
|
278 |
+
msgstr "Cor de fundo do comentário"
|
279 |
+
|
280 |
+
#: options/options-layouts/settings-style.php:55
|
281 |
+
msgid "Reply Background Color"
|
282 |
+
msgstr "Cor de fundo da resposta"
|
283 |
+
|
284 |
+
#: options/options-layouts/settings-style.php:79
|
285 |
+
msgid "Comment Text Color"
|
286 |
+
msgstr "Cor do texto do comentário"
|
287 |
+
|
288 |
+
#: options/options-layouts/settings-style.php:104
|
289 |
+
msgid "Author title color"
|
290 |
+
msgstr "Cor do título do autor"
|
291 |
+
|
292 |
+
#: options/options-layouts/settings-style.php:129
|
293 |
+
msgid "Vote, Reply, Share, Edit links text colors"
|
294 |
+
msgstr "Cor dos links Votar, Responder, Compartilhar e Editar"
|
295 |
+
|
296 |
+
#: options/options-layouts/settings-style.php:152
|
297 |
+
msgid "Comment form fields border color"
|
298 |
+
msgstr "Cor da borda nos campos do formulário"
|
299 |
+
|
300 |
+
#: options/options-layouts/settings-style.php:175
|
301 |
+
msgid "New loaded comments' background color"
|
302 |
+
msgstr "Cor de fundo dos novos comentários carregados"
|
303 |
+
|
304 |
+
#: options/options-layouts/settings-style.php:199
|
305 |
+
msgid "Custom CSS Code"
|
306 |
+
msgstr "CSS personalizado"
|
307 |
+
|
308 |
+
#: options/options-layouts/settings-subscription.php:2
|
309 |
+
msgid "Email Subscription Settings"
|
310 |
+
msgstr "Configurações de assinatura de e-mail"
|
311 |
+
|
312 |
+
#: options/options-layouts/settings-subscription.php:7
|
313 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
314 |
+
msgstr "Mostrar \"Notificar-me de novos comentários\""
|
315 |
+
|
316 |
+
#: options/options-layouts/settings-subscription.php:8
|
317 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
318 |
+
msgstr "Mostrar \"Notificar-me de novos comentários\""
|
319 |
+
|
320 |
+
#: options/options-layouts/settings-subscription.php:9
|
321 |
+
msgid "Show \"Notify of new replies to this comment\""
|
322 |
+
msgstr "Mostrar \"Notificar-me de respostas a este comentário\""
|
323 |
+
|
324 |
+
#: options/options-layouts/settings-subscription.php:11
|
325 |
+
msgid ""
|
326 |
+
"Please keep all three or at least one of those options ON, otherwise users "
|
327 |
+
"will not have any option for email notifications and they'll not get any "
|
328 |
+
"messages."
|
329 |
+
msgstr ""
|
330 |
+
"Mantenha pelo menos uma destas opções ativas para exibir uma opção de "
|
331 |
+
"subscrição aos utilizadores."
|
332 |
+
|
333 |
+
#: options/options-layouts/settings-subscription.php:30
|
334 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
335 |
+
msgstr "Usar o Postmatic para subscrições e comentários via email"
|
336 |
+
|
337 |
+
#: options/options-layouts/settings-subscription.php:31
|
338 |
+
msgid ""
|
339 |
+
"Postmatic allows your users subscribe to comments. Instead of just being "
|
340 |
+
"notified, they add a reply right from their inbox."
|
341 |
+
msgstr ""
|
342 |
+
"O Postmatic permite que os seus utilizadores assinem os comentários. Em vez "
|
343 |
+
"de serem apenas notificados, eles podem responder diretamente via email."
|
344 |
+
|
345 |
+
#: options/options-layouts/settings-subscription.php:42
|
346 |
+
msgid ""
|
347 |
+
"Keep selected the email notification of all new follow-up comments by default"
|
348 |
+
msgstr ""
|
349 |
+
"Deixar a opção de notificação por email no formulário de comentário ativa "
|
350 |
+
"por padrão"
|
351 |
+
|
352 |
+
#: options/options-layouts/settings-subscription.php:43
|
353 |
+
msgid ""
|
354 |
+
"If this option is checked-on, in Manage Subscriptions section of comment "
|
355 |
+
"forms will only be displayed the \"Notify of all new follow-up comments\" "
|
356 |
+
"option and this option will always be selected by default."
|
357 |
+
msgstr ""
|
358 |
+
"Se esta opção estiver marcada, na seção Assinaturas de Email no formulário "
|
359 |
+
"de comentário será exibida a opção \"Notificar sobre novos comentários neste "
|
360 |
+
"post\" e essa opção será sempre selecionada por padrão."
|
361 |
+
|
362 |
+
#: options/phrases-layout/phrases-comment.php:2
|
363 |
+
msgid "Comment Template Phrases"
|
364 |
+
msgstr "Modelo de Frases de Comentários"
|
365 |
+
|
366 |
+
#: options/phrases-layout/phrases-comment.php:7
|
367 |
+
#: options/wc-options-serialize.php:372
|
368 |
+
msgid "Reply"
|
369 |
+
msgstr "Responder"
|
370 |
+
|
371 |
+
#: options/phrases-layout/phrases-comment.php:17
|
372 |
+
#: options/wc-options-serialize.php:373
|
373 |
+
msgid "Share"
|
374 |
+
msgstr "Compartilhar"
|
375 |
+
|
376 |
+
#: options/phrases-layout/phrases-comment.php:27
|
377 |
+
#: options/wc-options-serialize.php:374
|
378 |
+
msgid "Share On Facebook"
|
379 |
+
msgstr "Compartilhar no Facebook"
|
380 |
+
|
381 |
+
#: options/phrases-layout/phrases-comment.php:37
|
382 |
+
#: options/wc-options-serialize.php:375
|
383 |
+
msgid "Share On Twitter"
|
384 |
+
msgstr "Compartilhar no Twitter"
|
385 |
+
|
386 |
+
#: options/phrases-layout/phrases-comment.php:47
|
387 |
+
#: options/wc-options-serialize.php:376
|
388 |
+
msgid "Share On Google"
|
389 |
+
msgstr "Compartilhar no Google"
|
390 |
+
|
391 |
+
#: options/phrases-layout/phrases-comment.php:57
|
392 |
+
#: options/wc-options-serialize.php:377
|
393 |
+
msgid "Hide Replies"
|
394 |
+
msgstr "Esconder Respostas"
|
395 |
+
|
396 |
+
#: options/phrases-layout/phrases-comment.php:67
|
397 |
+
#: options/wc-options-serialize.php:378
|
398 |
+
msgid "Show Replies"
|
399 |
+
msgstr "Mostrar Respostas"
|
400 |
+
|
401 |
+
#: options/phrases-layout/phrases-comment.php:77
|
402 |
+
msgid "Title For Guests"
|
403 |
+
msgstr "Título para Visitantes"
|
404 |
+
|
405 |
+
#: options/phrases-layout/phrases-comment.php:87
|
406 |
+
msgid "Title For Members"
|
407 |
+
msgstr "Título para Membros"
|
408 |
+
|
409 |
+
#: options/phrases-layout/phrases-comment.php:97
|
410 |
+
msgid "Title For Authors"
|
411 |
+
msgstr "Título para Autores"
|
412 |
+
|
413 |
+
#: options/phrases-layout/phrases-comment.php:107
|
414 |
+
msgid "Title For Admins"
|
415 |
+
msgstr "Título para Administradores"
|
416 |
+
|
417 |
+
#: options/phrases-layout/phrases-comment.php:117
|
418 |
+
#: options/wc-options-serialize.php:419
|
419 |
+
msgid "Vote Up"
|
420 |
+
msgstr "Voto Positivo"
|
421 |
+
|
422 |
+
#: options/phrases-layout/phrases-comment.php:127
|
423 |
+
#: options/wc-options-serialize.php:420
|
424 |
+
msgid "Vote Down"
|
425 |
+
msgstr "Voto Negativo"
|
426 |
+
|
427 |
+
#: options/phrases-layout/phrases-comment.php:137
|
428 |
+
msgid "Save edited comment button text"
|
429 |
+
msgstr "Texto do botão para guardar comentário editado"
|
430 |
+
|
431 |
+
#: options/phrases-layout/phrases-comment.php:141
|
432 |
+
#: options/wc-options-serialize.php:438
|
433 |
+
msgid "Save"
|
434 |
+
msgstr "Guardar"
|
435 |
+
|
436 |
+
#: options/phrases-layout/phrases-comment.php:147
|
437 |
+
msgid "Cancel comment editing button text"
|
438 |
+
msgstr "Texto do botão para cancelar a edição do comentário"
|
439 |
+
|
440 |
+
#: options/phrases-layout/phrases-comment.php:151
|
441 |
+
#: options/wc-options-serialize.php:439
|
442 |
+
msgid "Cancel"
|
443 |
+
msgstr "Cancelar"
|
444 |
+
|
445 |
+
#: options/phrases-layout/phrases-datetime.php:2
|
446 |
+
msgid "Date/Time Phrases"
|
447 |
+
msgstr "Frases de data/hora"
|
448 |
+
|
449 |
+
#: options/phrases-layout/phrases-datetime.php:7
|
450 |
+
msgid "Year"
|
451 |
+
msgstr "Ano"
|
452 |
+
|
453 |
+
#: options/phrases-layout/phrases-datetime.php:18
|
454 |
+
msgid "Years (Plural Form)"
|
455 |
+
msgstr "Anos (forma Plural)"
|
456 |
+
|
457 |
+
#: options/phrases-layout/phrases-datetime.php:22
|
458 |
+
msgid "Years"
|
459 |
+
msgstr "Anos"
|
460 |
+
|
461 |
+
#: options/phrases-layout/phrases-datetime.php:29
|
462 |
+
msgid "Month"
|
463 |
+
msgstr "Mês"
|
464 |
+
|
465 |
+
#: options/phrases-layout/phrases-datetime.php:40
|
466 |
+
msgid "Months (Plural Form)"
|
467 |
+
msgstr "Meses (forma Plural)"
|
468 |
+
|
469 |
+
#: options/phrases-layout/phrases-datetime.php:51
|
470 |
+
msgid "Day"
|
471 |
+
msgstr "Dia"
|
472 |
+
|
473 |
+
#: options/phrases-layout/phrases-datetime.php:62
|
474 |
+
msgid "Days (Plural Form)"
|
475 |
+
msgstr "Dias (forma Plural)"
|
476 |
+
|
477 |
+
#: options/phrases-layout/phrases-datetime.php:84
|
478 |
+
msgid "Hours (Plural Form)"
|
479 |
+
msgstr "Horas (forma Plural)"
|
480 |
+
|
481 |
+
#: options/phrases-layout/phrases-datetime.php:106
|
482 |
+
msgid "Minutes (Plural Form)"
|
483 |
+
msgstr "Minutos (forma Plural)"
|
484 |
+
|
485 |
+
#: options/phrases-layout/phrases-datetime.php:117
|
486 |
+
msgid "Second"
|
487 |
+
msgstr "Segundo"
|
488 |
+
|
489 |
+
#: options/phrases-layout/phrases-datetime.php:128
|
490 |
+
msgid "Seconds (Plural Form)"
|
491 |
+
msgstr "Segundos (forma Plural)"
|
492 |
+
|
493 |
+
#: options/phrases-layout/phrases-datetime.php:138
|
494 |
+
msgid "Commented \"right now\" text"
|
495 |
+
msgstr "Comentário enviado \"agora mesmo\" texto"
|
496 |
+
|
497 |
+
#: options/phrases-layout/phrases-datetime.php:149
|
498 |
+
msgid "Ago text"
|
499 |
+
msgstr "\"Atrás\" texto"
|
500 |
+
|
501 |
+
#: options/phrases-layout/phrases-datetime.php:160
|
502 |
+
msgid "\"Today\" text"
|
503 |
+
msgstr "\"Hoje\" texto"
|
504 |
+
|
505 |
+
#: options/phrases-layout/phrases-datetime.php:164
|
506 |
+
#: options/wc-options-serialize.php:413
|
507 |
+
msgid "Today"
|
508 |
+
msgstr "Hoje"
|
509 |
+
|
510 |
+
#: options/phrases-layout/phrases-email.php:2
|
511 |
+
msgid "Email Template Phrases"
|
512 |
+
msgstr "Modelo de Frases para Email"
|
513 |
+
|
514 |
+
#: options/phrases-layout/phrases-email.php:7
|
515 |
+
msgid "Email Subject"
|
516 |
+
msgstr "Assunto do Email"
|
517 |
+
|
518 |
+
#: options/phrases-layout/phrases-email.php:18
|
519 |
+
msgid "Email Message"
|
520 |
+
msgstr "Mensagem do Email"
|
521 |
+
|
522 |
+
#: options/phrases-layout/phrases-email.php:29
|
523 |
+
msgid "New Reply Subject"
|
524 |
+
msgstr "Assunto do alerta de Nova Resposta"
|
525 |
+
|
526 |
+
#: options/phrases-layout/phrases-email.php:33
|
527 |
+
#: options/phrases-layout/phrases-general.php:101
|
528 |
+
#: options/wc-options-serialize.php:385
|
529 |
+
msgid "New Reply"
|
530 |
+
msgstr "Nova Resposta"
|
531 |
+
|
532 |
+
#: options/phrases-layout/phrases-email.php:40
|
533 |
+
msgid "New Reply Message"
|
534 |
+
msgstr "Mensagem do alerta de Nova Resposta"
|
535 |
+
|
536 |
+
#: options/phrases-layout/phrases-email.php:50
|
537 |
+
#: options/phrases-layout/phrases-email.php:54
|
538 |
+
#: options/wc-options-serialize.php:390
|
539 |
+
msgid "Unsubscribe"
|
540 |
+
msgstr "Cancelar Inscrição"
|
541 |
+
|
542 |
+
#: options/phrases-layout/phrases-email.php:61
|
543 |
+
#: options/phrases-layout/phrases-email.php:65
|
544 |
+
#: options/wc-options-serialize.php:391
|
545 |
+
msgid "Ignore Subscription"
|
546 |
+
msgstr "Ignorar Inscrição"
|
547 |
+
|
548 |
+
#: options/phrases-layout/phrases-email.php:72
|
549 |
+
#: options/phrases-layout/phrases-email.php:76
|
550 |
+
#: options/wc-options-serialize.php:393
|
551 |
+
msgid "Confirm your subscribtion"
|
552 |
+
msgstr "Confirme a sua inscrição"
|
553 |
+
|
554 |
+
#: options/phrases-layout/phrases-email.php:82
|
555 |
+
#: options/phrases-layout/phrases-email.php:86
|
556 |
+
#: options/wc-options-serialize.php:394
|
557 |
+
msgid "You've successfully confirmed your subscription."
|
558 |
+
msgstr "A sua inscrição foi confirmada com sucesso."
|
559 |
+
|
560 |
+
#: options/phrases-layout/phrases-email.php:92
|
561 |
+
msgid "Subscribe Confirmation Email Subject"
|
562 |
+
msgstr "Assunto do email de confirmação da inscrição"
|
563 |
+
|
564 |
+
#: options/phrases-layout/phrases-email.php:96
|
565 |
+
#: options/wc-options-serialize.php:395 wc.php:924
|
566 |
+
msgid "Subscribe Confirmation"
|
567 |
+
msgstr "Confirmação de inscrição"
|
568 |
+
|
569 |
+
#: options/phrases-layout/phrases-email.php:103
|
570 |
+
msgid "Subscribe Confirmation Email Content"
|
571 |
+
msgstr "Conteúdo do email sobre a confirmação da inscrição"
|
572 |
+
|
573 |
+
#: options/phrases-layout/phrases-email.php:107
|
574 |
+
#: options/wc-options-serialize.php:396 wc.php:925
|
575 |
+
msgid ""
|
576 |
+
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
577 |
+
"you will receive an email when new comments are posted according to "
|
578 |
+
"subscription option you've chosen. <br/> To activate, click confirm below. "
|
579 |
+
"If you believe this is an error, ignore this message and we'll never bother "
|
580 |
+
"you again."
|
581 |
+
msgstr ""
|
582 |
+
"Olá, <br/> Você se inscreveu para receber notificações sobre novos "
|
583 |
+
"comentários no nosso site. Estas notificações serão enviadas a você de "
|
584 |
+
"acordo com a opção que selecionou quando pediu a inscrição no site. <br/> "
|
585 |
+
"Para ativar, clique em CONFIRMAR INSCRIÇÃO abaixo. No entanto, se você "
|
586 |
+
"acredita que este é um erro e você não fez esta solicitação, apenas ignore "
|
587 |
+
"esta mensagem."
|
588 |
+
|
589 |
+
#: options/phrases-layout/phrases-form.php:2
|
590 |
+
msgid "Form Template Phrases"
|
591 |
+
msgstr "Modelo de Frases em Formulários"
|
592 |
+
|
593 |
+
#: options/phrases-layout/phrases-form.php:7
|
594 |
+
msgid "Comment Field Start"
|
595 |
+
msgstr "Mensagem de incentivo a discussão"
|
596 |
+
|
597 |
+
#: options/phrases-layout/phrases-form.php:17
|
598 |
+
msgid "Comment Field Join"
|
599 |
+
msgstr "Mensagem de incentivo no formulário"
|
600 |
+
|
601 |
+
#: options/phrases-layout/phrases-form.php:27
|
602 |
+
msgid "Email Field"
|
603 |
+
msgstr "Campo de Email"
|
604 |
+
|
605 |
+
#: options/phrases-layout/phrases-form.php:37
|
606 |
+
msgid "Name Field"
|
607 |
+
msgstr "Campo do Nome"
|
608 |
+
|
609 |
+
#: options/phrases-layout/phrases-form.php:47
|
610 |
+
msgid "CAPTCHA Field"
|
611 |
+
msgstr "Campo do Captcha"
|
612 |
+
|
613 |
+
#: options/phrases-layout/phrases-form.php:57
|
614 |
+
msgid "Submit Button"
|
615 |
+
msgstr "Botão de Enviar"
|
616 |
+
|
617 |
+
#: options/phrases-layout/phrases-form.php:67
|
618 |
+
#: options/phrases-layout/phrases-form.php:71
|
619 |
+
#: options/wc-options-serialize.php:365
|
620 |
+
msgid "Manage Subscriptions"
|
621 |
+
msgstr "Gerenciar Assinaturas"
|
622 |
+
|
623 |
+
#: options/phrases-layout/phrases-form.php:77
|
624 |
+
msgid "Notify \"None\""
|
625 |
+
msgstr "Notificar \"Nenhum\""
|
626 |
+
|
627 |
+
#: options/phrases-layout/phrases-form.php:81
|
628 |
+
#: options/wc-options-serialize.php:366
|
629 |
+
msgid "None"
|
630 |
+
msgstr "Nenhum"
|
631 |
+
|
632 |
+
#: options/phrases-layout/phrases-form.php:87
|
633 |
+
msgid "Notify on new comments (checkbox)"
|
634 |
+
msgstr "Notificar ao receber novos comentários (checkbox)"
|
635 |
+
|
636 |
+
#: options/phrases-layout/phrases-form.php:91
|
637 |
+
#: options/wc-options-serialize.php:367
|
638 |
+
msgid "Notify of all new follow-up comments"
|
639 |
+
msgstr "Notificar-me de novos comentários"
|
640 |
+
|
641 |
+
#: options/phrases-layout/phrases-form.php:98
|
642 |
+
msgid "Notify on all new replies (checkbox)"
|
643 |
+
msgstr "Notificar em todas as respostas (checkbox)"
|
644 |
+
|
645 |
+
#: options/phrases-layout/phrases-form.php:102
|
646 |
+
#: options/wc-options-serialize.php:368
|
647 |
+
msgid "Notify of new replies to all my comments"
|
648 |
+
msgstr "Notificar-me de respostas a todos os meus comentários"
|
649 |
+
|
650 |
+
#: options/phrases-layout/phrases-form.php:109
|
651 |
+
msgid "Notify on new replies (checkbox)"
|
652 |
+
msgstr "Notificar de respostas ao comentário (checkbox)"
|
653 |
+
|
654 |
+
#: options/phrases-layout/phrases-form.php:113
|
655 |
+
#: options/wc-options-serialize.php:369
|
656 |
+
msgid "Notify of new replies to this comment"
|
657 |
+
msgstr "Notificar-me de respostas a este comentário"
|
658 |
+
|
659 |
+
#: options/phrases-layout/phrases-form.php:119
|
660 |
+
msgid "Subscribed on this comment replies"
|
661 |
+
msgstr "Inscrito para respostas a este comentário"
|
662 |
+
|
663 |
+
#: options/phrases-layout/phrases-form.php:129
|
664 |
+
msgid "Subscribed on all your comments replies"
|
665 |
+
msgstr "Inscrito para respostas a todos os seus comentários"
|
666 |
+
|
667 |
+
#: options/phrases-layout/phrases-form.php:139
|
668 |
+
msgid "Subscribed on this post"
|
669 |
+
msgstr "Inscrito neste artigo"
|
670 |
+
|
671 |
+
#: options/phrases-layout/phrases-general.php:2
|
672 |
+
msgid "General Phrases"
|
673 |
+
msgstr "Frases Gerais"
|
674 |
+
|
675 |
+
#: options/phrases-layout/phrases-general.php:7
|
676 |
+
#: options/wc-options-serialize.php:354
|
677 |
+
msgid "Leave a Reply"
|
678 |
+
msgstr "Deixe um comentário"
|
679 |
+
|
680 |
+
#: options/phrases-layout/phrases-general.php:17
|
681 |
+
msgid "Be the first to comment"
|
682 |
+
msgstr "Seja o primeiro a comentar"
|
683 |
+
|
684 |
+
#: options/phrases-layout/phrases-general.php:27
|
685 |
+
#: options/wc-options-serialize.php:356 options/wc-options.php:341
|
686 |
+
msgid "Comment"
|
687 |
+
msgstr "Comentário"
|
688 |
+
|
689 |
+
#: options/phrases-layout/phrases-general.php:37
|
690 |
+
msgid "Comment (Plural Form)"
|
691 |
+
msgstr "Comentário (forma Plural)"
|
692 |
+
|
693 |
+
#: options/phrases-layout/phrases-general.php:47
|
694 |
+
msgid "On"
|
695 |
+
msgstr "Em"
|
696 |
+
|
697 |
+
#: options/phrases-layout/phrases-general.php:57
|
698 |
+
msgid "Load More Button"
|
699 |
+
msgstr "Botão Mostrar Mais"
|
700 |
+
|
701 |
+
#: options/phrases-layout/phrases-general.php:67
|
702 |
+
#: options/wc-options-serialize.php:371
|
703 |
+
msgid "Load Rest of Comments"
|
704 |
+
msgstr "Carregar o resto dos comentários"
|
705 |
+
|
706 |
+
#: options/phrases-layout/phrases-general.php:77
|
707 |
+
msgid "Button text if has new comment"
|
708 |
+
msgstr "Texto no botão se houver um novo comentário"
|
709 |
+
|
710 |
+
#: options/phrases-layout/phrases-general.php:81
|
711 |
+
#: options/wc-options-serialize.php:383
|
712 |
+
msgid "New Comment"
|
713 |
+
msgstr "Novo Comentário"
|
714 |
+
|
715 |
+
#: options/phrases-layout/phrases-general.php:87
|
716 |
+
msgid "Button text if has new comments (Plural Form)"
|
717 |
+
msgstr "Texto do botão se tem novos comentários (forma Plural)"
|
718 |
+
|
719 |
+
#: options/phrases-layout/phrases-general.php:91
|
720 |
+
msgid "New Comments"
|
721 |
+
msgstr "Novos Comentários"
|
722 |
+
|
723 |
+
#: options/phrases-layout/phrases-general.php:97
|
724 |
+
msgid "Button text if has new reply"
|
725 |
+
msgstr "Texto no botão se tiver uma resposta nova"
|
726 |
+
|
727 |
+
#: options/phrases-layout/phrases-general.php:107
|
728 |
+
msgid "Button text if has new replies (Plural Form)"
|
729 |
+
msgstr "Texto do botão se tem novas respostas (forma Plural)"
|
730 |
+
|
731 |
+
#: options/phrases-layout/phrases-general.php:111
|
732 |
+
msgid "New Replies"
|
733 |
+
msgstr "Novas Respostas"
|
734 |
+
|
735 |
+
#: options/phrases-layout/phrases-general.php:117
|
736 |
+
msgid "Text on load more button if has new comment(s)"
|
737 |
+
msgstr "Texto no botão Mostrar Mais"
|
738 |
+
|
739 |
+
#: options/phrases-layout/phrases-general.php:121
|
740 |
+
#: options/wc-options-serialize.php:434
|
741 |
+
msgid "New"
|
742 |
+
msgstr "Novo"
|
743 |
+
|
744 |
+
#: options/phrases-layout/phrases-notification.php:2
|
745 |
+
msgid "Notification Phrases"
|
746 |
+
msgstr "Frases de notificação"
|
747 |
+
|
748 |
+
#: options/phrases-layout/phrases-notification.php:7
|
749 |
+
#: options/wc-options-serialize.php:392
|
750 |
+
msgid "You've successfully unsubscribed."
|
751 |
+
msgstr "A sua inscrição foi cancelada com sucesso."
|
752 |
+
|
753 |
+
#: options/phrases-layout/phrases-notification.php:18
|
754 |
+
msgid "Error message for empty field"
|
755 |
+
msgstr "Mensagem de erro para campos vazios"
|
756 |
+
|
757 |
+
#: options/phrases-layout/phrases-notification.php:28
|
758 |
+
msgid "Error message for invalid email field"
|
759 |
+
msgstr "Mensagem de erro para email inválido"
|
760 |
+
|
761 |
+
#: options/phrases-layout/phrases-notification.php:38
|
762 |
+
#: options/wc-options-serialize.php:414
|
763 |
+
msgid "You must be"
|
764 |
+
msgstr "Você deve"
|
765 |
+
|
766 |
+
#: options/phrases-layout/phrases-notification.php:48
|
767 |
+
msgid "Logged in as"
|
768 |
+
msgstr "Autenticado como"
|
769 |
+
|
770 |
+
#: options/phrases-layout/phrases-notification.php:58
|
771 |
+
#: options/wc-options-serialize.php:416
|
772 |
+
msgid "Log out"
|
773 |
+
msgstr "Sair"
|
774 |
+
|
775 |
+
#: options/phrases-layout/phrases-notification.php:68
|
776 |
+
msgid "Logged In"
|
777 |
+
msgstr "Fazer o login"
|
778 |
+
|
779 |
+
#: options/phrases-layout/phrases-notification.php:78
|
780 |
+
msgid "To post a comment"
|
781 |
+
msgstr "Para publicar um comentário"
|
782 |
+
|
783 |
+
#: options/phrases-layout/phrases-notification.php:88
|
784 |
+
#: options/wc-options-serialize.php:421
|
785 |
+
msgid "Vote Counted"
|
786 |
+
msgstr "Votos Contados"
|
787 |
+
|
788 |
+
#: options/phrases-layout/phrases-notification.php:98
|
789 |
+
msgid "You can vote only 1 time"
|
790 |
+
msgstr "Apenas pode votar uma vez"
|
791 |
+
|
792 |
+
#: options/phrases-layout/phrases-notification.php:108
|
793 |
+
#: options/wc-options-serialize.php:423
|
794 |
+
msgid "Voting Error"
|
795 |
+
msgstr "Erro ao votar"
|
796 |
+
|
797 |
+
#: options/phrases-layout/phrases-notification.php:118
|
798 |
+
msgid "Login To Vote"
|
799 |
+
msgstr "Faça o login para votar"
|
800 |
+
|
801 |
+
#: options/phrases-layout/phrases-notification.php:128
|
802 |
+
msgid "You Cannot Vote On Your Comment"
|
803 |
+
msgstr "Não pode votar no seu comentário"
|
804 |
+
|
805 |
+
#: options/phrases-layout/phrases-notification.php:138
|
806 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
807 |
+
msgstr "Você não tem permissão para votar neste comentário (votos do mesmo IP)"
|
808 |
+
|
809 |
+
#: options/phrases-layout/phrases-notification.php:148
|
810 |
+
#: options/wc-options-serialize.php:427
|
811 |
+
msgid "Invalid Captcha Code"
|
812 |
+
msgstr "Captcha Inválida"
|
813 |
+
|
814 |
+
#: options/phrases-layout/phrases-notification.php:158
|
815 |
+
#: options/wc-options-serialize.php:428
|
816 |
+
msgid "Some of field value is invalid"
|
817 |
+
msgstr "A informação de algum campo é inválida"
|
818 |
+
|
819 |
+
#: options/phrases-layout/phrases-notification.php:168
|
820 |
+
msgid "Comment waiting moderation"
|
821 |
+
msgstr "O comentário aguarda moderação"
|
822 |
+
|
823 |
+
#: options/phrases-layout/phrases-notification.php:178
|
824 |
+
msgid "Message if comment was not updated"
|
825 |
+
msgstr "Mensagem se o comentário não for atualizado"
|
826 |
+
|
827 |
+
#: options/phrases-layout/phrases-notification.php:182
|
828 |
+
#: options/wc-options-serialize.php:435
|
829 |
+
msgid "Sorry, the comment was not updated"
|
830 |
+
msgstr "Lamentamos, mas o comentário não foi atualizado"
|
831 |
+
|
832 |
+
#: options/phrases-layout/phrases-notification.php:188
|
833 |
+
msgid "Message if comment no longer possible to edit"
|
834 |
+
msgstr "Mensagem se não for mais possível editar"
|
835 |
+
|
836 |
+
#: options/phrases-layout/phrases-notification.php:192
|
837 |
+
#: options/wc-options-serialize.php:436
|
838 |
+
msgid "Sorry, this comment no longer possible to edit"
|
839 |
+
msgstr "Lamentamos, mas já não é possível editar o comentário"
|
840 |
+
|
841 |
+
#: options/phrases-layout/phrases-notification.php:199
|
842 |
+
msgid "Message if comment text not changed"
|
843 |
+
msgstr "Mensagem se o texto do comentário não for alterado"
|
844 |
+
|
845 |
+
#: options/phrases-layout/phrases-notification.php:203
|
846 |
+
msgid "TYou've not made any changes"
|
847 |
+
msgstr "Você não fez nenhuma alteração"
|
848 |
+
|
849 |
+
#: options/wc-options-serialize.php:355
|
850 |
+
msgid "Be the First to Comment!"
|
851 |
+
msgstr "Seja o Primeiro a Comentar!"
|
852 |
+
|
853 |
+
#: options/wc-options-serialize.php:357
|
854 |
+
msgid "Comments"
|
855 |
+
msgstr "Comentários"
|
856 |
+
|
857 |
+
#: options/wc-options-serialize.php:358
|
858 |
+
msgid "on"
|
859 |
+
msgstr "em"
|
860 |
+
|
861 |
+
#: options/wc-options-serialize.php:359
|
862 |
+
msgid "Start the discussion"
|
863 |
+
msgstr "Iniciar a discussão"
|
864 |
+
|
865 |
+
#: options/wc-options-serialize.php:360
|
866 |
+
msgid "Join the discussion"
|
867 |
+
msgstr "Entre na discussão"
|
868 |
+
|
869 |
+
#: options/wc-options-serialize.php:361 options/wc-options.php:343
|
870 |
+
msgid "Email"
|
871 |
+
msgstr "Email"
|
872 |
+
|
873 |
+
#: options/wc-options-serialize.php:362
|
874 |
+
msgid "Name"
|
875 |
+
msgstr "Nome"
|
876 |
+
|
877 |
+
#: options/wc-options-serialize.php:363
|
878 |
+
msgid "Please insert the code above to comment"
|
879 |
+
msgstr "Por favor, insira o código acima para comentar"
|
880 |
+
|
881 |
+
#: options/wc-options-serialize.php:364
|
882 |
+
msgid "Post Comment"
|
883 |
+
msgstr "Publicar Comentário."
|
884 |
+
|
885 |
+
#: options/wc-options-serialize.php:370
|
886 |
+
msgid "Load More Comments"
|
887 |
+
msgstr "Carregar mais comentários"
|
888 |
+
|
889 |
+
#: options/wc-options-serialize.php:379
|
890 |
+
msgid "Guest"
|
891 |
+
msgstr "Visitante"
|
892 |
+
|
893 |
+
#: options/wc-options-serialize.php:380
|
894 |
+
msgid "Member"
|
895 |
+
msgstr "Membro"
|
896 |
+
|
897 |
+
#: options/wc-options-serialize.php:381
|
898 |
+
msgid "Author"
|
899 |
+
msgstr "Autor"
|
900 |
+
|
901 |
+
#: options/wc-options-serialize.php:382
|
902 |
+
msgid "Admin"
|
903 |
+
msgstr "Admin"
|
904 |
+
|
905 |
+
#: options/wc-options-serialize.php:384
|
906 |
+
msgid "New comment on the discussion section you've been interested in"
|
907 |
+
msgstr "Novo comentário na discussão de seu interesse em"
|
908 |
+
|
909 |
+
#: options/wc-options-serialize.php:386
|
910 |
+
msgid "New reply on the discussion section you've been interested in"
|
911 |
+
msgstr "Nova resposta na discussão de seu interesse em"
|
912 |
+
|
913 |
+
#: options/wc-options-serialize.php:387
|
914 |
+
msgid "You're subscribed for new replies on this comment"
|
915 |
+
msgstr "Você está inscrito para saber de novas respostas a este comentário"
|
916 |
+
|
917 |
+
#: options/wc-options-serialize.php:388
|
918 |
+
msgid "You're subscribed for new replies on all your comments"
|
919 |
+
msgstr ""
|
920 |
+
"Você está inscrito para saber de novas respostas a todos os seus comentários"
|
921 |
+
|
922 |
+
#: options/wc-options-serialize.php:389
|
923 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
924 |
+
msgstr ""
|
925 |
+
"Você está inscrito para acompanhamento de novos comentários nesta publicação"
|
926 |
+
|
927 |
+
#: options/wc-options-serialize.php:397
|
928 |
+
msgid "please fill out this field to comment"
|
929 |
+
msgstr "por favor, preencha este campo para comentar"
|
930 |
+
|
931 |
+
#: options/wc-options-serialize.php:398
|
932 |
+
msgid "email address is invalid"
|
933 |
+
msgstr "Endereço de e-mail inválido"
|
934 |
+
|
935 |
+
#: options/wc-options-serialize.php:399
|
936 |
+
msgid "year"
|
937 |
+
msgstr "ano"
|
938 |
+
|
939 |
+
#: options/wc-options-serialize.php:400
|
940 |
+
msgid "years"
|
941 |
+
msgstr "anos"
|
942 |
+
|
943 |
+
#: options/wc-options-serialize.php:401
|
944 |
+
msgid "month"
|
945 |
+
msgstr "mês"
|
946 |
+
|
947 |
+
#: options/wc-options-serialize.php:402
|
948 |
+
msgid "months"
|
949 |
+
msgstr "meses"
|
950 |
+
|
951 |
+
#: options/wc-options-serialize.php:403
|
952 |
+
msgid "day"
|
953 |
+
msgstr "dia"
|
954 |
+
|
955 |
+
#: options/wc-options-serialize.php:404
|
956 |
+
msgid "days"
|
957 |
+
msgstr "dias"
|
958 |
+
|
959 |
+
#: options/wc-options-serialize.php:405
|
960 |
+
msgid "hour"
|
961 |
+
msgstr "hora"
|
962 |
+
|
963 |
+
#: options/wc-options-serialize.php:406
|
964 |
+
msgid "hours"
|
965 |
+
msgstr "horas"
|
966 |
+
|
967 |
+
#: options/wc-options-serialize.php:407
|
968 |
+
msgid "minute"
|
969 |
+
msgstr "minuto"
|
970 |
+
|
971 |
+
#: options/wc-options-serialize.php:408
|
972 |
+
msgid "minutes"
|
973 |
+
msgstr "minutos"
|
974 |
+
|
975 |
+
#: options/wc-options-serialize.php:409
|
976 |
+
msgid "second"
|
977 |
+
msgstr "segundo"
|
978 |
+
|
979 |
+
#: options/wc-options-serialize.php:410
|
980 |
+
msgid "seconds"
|
981 |
+
msgstr "segundos"
|
982 |
+
|
983 |
+
#: options/wc-options-serialize.php:411
|
984 |
+
msgid "right now"
|
985 |
+
msgstr "agora mesmo"
|
986 |
+
|
987 |
+
#: options/wc-options-serialize.php:412
|
988 |
+
msgid "ago"
|
989 |
+
msgstr "atrás"
|
990 |
+
|
991 |
+
#: options/wc-options-serialize.php:415
|
992 |
+
msgid "You are logged in as"
|
993 |
+
msgstr "Você está autenticado como"
|
994 |
+
|
995 |
+
#: options/wc-options-serialize.php:417
|
996 |
+
msgid "logged in"
|
997 |
+
msgstr "Autenticado como"
|
998 |
+
|
999 |
+
#: options/wc-options-serialize.php:418
|
1000 |
+
msgid "to post a comment."
|
1001 |
+
msgstr "para publicar um comentário."
|
1002 |
+
|
1003 |
+
#: options/wc-options-serialize.php:422
|
1004 |
+
msgid "You've already voted for this comment"
|
1005 |
+
msgstr "Você já votou para este comentário"
|
1006 |
+
|
1007 |
+
#: options/wc-options-serialize.php:424
|
1008 |
+
msgid "You Must Be Logged In To Vote"
|
1009 |
+
msgstr "Você deve estar autenticado para votar"
|
1010 |
+
|
1011 |
+
#: options/wc-options-serialize.php:425
|
1012 |
+
msgid "You cannot vote for your comment"
|
1013 |
+
msgstr "Não pode votar no seu comentário"
|
1014 |
+
|
1015 |
+
#: options/wc-options-serialize.php:426
|
1016 |
+
msgid "You are not allowed to vote for this comment"
|
1017 |
+
msgstr "Você não tem permissão para votar neste comentário"
|
1018 |
+
|
1019 |
+
#: options/wc-options-serialize.php:429
|
1020 |
+
msgid "new comment"
|
1021 |
+
msgstr "novo comentário"
|
1022 |
+
|
1023 |
+
#: options/wc-options-serialize.php:430
|
1024 |
+
msgid "new comments"
|
1025 |
+
msgstr "novos comentários"
|
1026 |
+
|
1027 |
+
#: options/wc-options-serialize.php:431
|
1028 |
+
msgid "Your Comment awaiting moderation"
|
1029 |
+
msgstr "Seu comentário aguarda moderação"
|
1030 |
+
|
1031 |
+
#: options/wc-options-serialize.php:432
|
1032 |
+
msgid "new reply on your comment"
|
1033 |
+
msgstr "notificar-me de respostas ao meu comentário"
|
1034 |
+
|
1035 |
+
#: options/wc-options-serialize.php:433
|
1036 |
+
msgid "new replies on your comments"
|
1037 |
+
msgstr "notificar-me de respostas a todos os meus comentários"
|
1038 |
+
|
1039 |
+
#: options/wc-options-serialize.php:437
|
1040 |
+
msgid "You've not made any changes"
|
1041 |
+
msgstr "Você não fez alterações"
|
1042 |
+
|
1043 |
+
#: options/wc-options.php:29 options/wc-options.php:224
|
1044 |
+
msgid "Hacker?"
|
1045 |
+
msgstr "Hacker?"
|
1046 |
+
|
1047 |
+
#: options/wc-options.php:81
|
1048 |
+
msgid "wpDiscuz General Settings"
|
1049 |
+
msgstr "wpDiscuz - Opções Gerais"
|
1050 |
+
|
1051 |
+
#: options/wc-options.php:173
|
1052 |
+
msgid "General settings"
|
1053 |
+
msgstr "Opções gerais"
|
1054 |
+
|
1055 |
+
#: options/wc-options.php:176
|
1056 |
+
msgid "Email Subscription"
|
1057 |
+
msgstr "Assinatura de e-mail"
|
1058 |
+
|
1059 |
+
#: options/wc-options.php:176
|
1060 |
+
msgid "and Postmatic"
|
1061 |
+
msgstr "e Postmatic"
|
1062 |
+
|
1063 |
+
#: options/wc-options.php:205 options/wc-options.php:371
|
1064 |
+
msgid "Save Changes"
|
1065 |
+
msgstr "Guardar Alterações"
|
1066 |
+
|
1067 |
+
#: options/wc-options.php:206
|
1068 |
+
msgid "Reset Options"
|
1069 |
+
msgstr "Reiniciar Opções"
|
1070 |
+
|
1071 |
+
#: options/wc-options.php:329
|
1072 |
+
msgid "WpDiscuz Front-end Phrases"
|
1073 |
+
msgstr "wpDiscuz - Frases do Front-end"
|
1074 |
+
|
1075 |
+
#: options/wc-options.php:339
|
1076 |
+
msgid "General"
|
1077 |
+
msgstr "Geral"
|
1078 |
+
|
1079 |
+
#: options/wc-options.php:340
|
1080 |
+
msgid "Form"
|
1081 |
+
msgstr "Formulário"
|
1082 |
+
|
1083 |
+
#: options/wc-options.php:342
|
1084 |
+
msgid "Date/Time"
|
1085 |
+
msgstr "Data/Hora"
|
1086 |
+
|
1087 |
+
#: options/wc-options.php:344
|
1088 |
+
msgid "Notification"
|
1089 |
+
msgstr "Notificação"
|
1090 |
+
|
1091 |
+
#: wc.php:1001
|
1092 |
+
msgid "Settings"
|
1093 |
+
msgstr "Opções"
|
1094 |
+
|
1095 |
+
#: wc.php:1002
|
1096 |
+
msgid "Phrases"
|
1097 |
+
msgstr "Frases"
|
1098 |
+
|
1099 |
+
#~ msgid "Held new comments for moderation"
|
1100 |
+
#~ msgstr "Reter os novos comentários para moderação"
|
1101 |
+
|
1102 |
+
#~ msgid "Show plugin powered by link"
|
1103 |
+
#~ msgstr "Adicionar um link para o site do wpDiscuz"
|
1104 |
+
|
1105 |
+
#~ msgid "Front-end phrases"
|
1106 |
+
#~ msgstr "Frases do Front-end"
|
1107 |
+
|
1108 |
+
#~ msgid "Plural (Ex. user -> user + s)"
|
1109 |
+
#~ msgstr "Plural (Ex: user -> user + s)"
|
languages/wpdiscuz-pt_PT.mo
CHANGED
Binary file
|
languages/wpdiscuz-pt_PT.po
CHANGED
@@ -1,481 +1,695 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
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.
|
13 |
-
"X-Poedit-Basepath:
|
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 |
-
"
|
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/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msgid "Edit"
|
24 |
msgstr "Editar"
|
25 |
|
26 |
-
#:
|
27 |
-
msgid "
|
28 |
-
msgstr "
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
#: options
|
31 |
msgid "Display comment form for post types:"
|
32 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Show the latest comments on"
|
36 |
msgstr "Mostrar os últimos comentários no"
|
37 |
|
38 |
-
#: options
|
39 |
msgid "the top of the list"
|
40 |
msgstr "no topo da lista de comentários"
|
41 |
|
42 |
-
#: options
|
43 |
msgid "top of the threads"
|
44 |
msgstr "no topo"
|
45 |
|
46 |
-
#: options
|
47 |
msgid "bottom of the threads"
|
48 |
msgstr "no fim"
|
49 |
|
50 |
-
#: options
|
51 |
msgid "the bottom of the list"
|
52 |
msgstr "no fim da lista de comentários"
|
53 |
|
54 |
-
#: options
|
55 |
-
msgid "
|
56 |
-
msgstr "
|
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
|
80 |
-
msgid "
|
81 |
-
msgstr "
|
82 |
|
83 |
-
#: options
|
84 |
-
msgid "
|
85 |
-
msgstr "
|
86 |
|
87 |
-
#: options
|
88 |
-
|
89 |
-
|
90 |
-
msgid "Seconds"
|
91 |
-
msgstr "Segundos"
|
92 |
|
93 |
-
#: options
|
94 |
-
#: options
|
95 |
-
|
96 |
-
|
|
|
|
|
97 |
|
98 |
-
#: options
|
99 |
-
|
100 |
-
|
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
|
107 |
msgid "Allow comment editing for"
|
108 |
msgstr "Permitir a edição de comentários por"
|
109 |
|
110 |
-
#: options
|
111 |
msgid "Not Allow"
|
112 |
-
msgstr "Não
|
113 |
|
114 |
-
#: options
|
115 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
msgid "Hour"
|
117 |
msgstr "Hora"
|
118 |
|
119 |
-
#: options
|
120 |
-
#: options
|
121 |
msgid "Hours"
|
122 |
msgstr "Horas"
|
123 |
|
124 |
-
#: options
|
125 |
-
msgid "
|
126 |
-
msgstr "
|
127 |
|
128 |
-
#: options
|
129 |
-
msgid "
|
130 |
-
msgstr "
|
131 |
|
132 |
-
#: options
|
133 |
-
msgid "
|
134 |
-
msgstr "
|
135 |
|
136 |
-
#: options
|
137 |
-
msgid "
|
138 |
-
msgstr "
|
139 |
|
140 |
-
#: options
|
141 |
-
msgid "
|
142 |
msgstr ""
|
143 |
-
"
|
144 |
-
"
|
145 |
|
146 |
-
#: options
|
147 |
-
msgid "
|
148 |
-
msgstr "
|
149 |
|
150 |
-
#: options
|
151 |
-
msgid "
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
-
#: options
|
155 |
-
msgid "
|
156 |
-
msgstr "
|
157 |
|
158 |
-
#: options
|
159 |
-
msgid "
|
160 |
-
msgstr "
|
161 |
|
162 |
-
#: options
|
163 |
-
msgid "
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
-
#: options
|
167 |
-
msgid "
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
-
#: options
|
171 |
-
msgid "
|
172 |
-
msgstr "
|
173 |
|
174 |
-
#: options
|
175 |
-
#: options-
|
176 |
-
|
177 |
-
|
178 |
-
msgid "Levels"
|
179 |
-
msgstr "Níveis"
|
180 |
|
181 |
-
#: options
|
182 |
-
msgid "
|
183 |
-
msgstr "
|
184 |
|
185 |
-
#: options
|
186 |
msgid ""
|
187 |
-
"
|
188 |
-
"
|
|
|
189 |
msgstr ""
|
190 |
-
"
|
191 |
-
"
|
192 |
-
"
|
193 |
|
194 |
-
#: options
|
195 |
-
msgid ""
|
196 |
-
"
|
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
|
202 |
-
msgid "
|
203 |
-
msgstr "
|
204 |
|
205 |
-
#: options
|
206 |
-
msgid "Show
|
207 |
-
msgstr "Mostrar
|
208 |
|
209 |
-
#: options
|
210 |
-
msgid "
|
211 |
-
msgstr "
|
212 |
|
213 |
-
#: options
|
214 |
-
msgid ""
|
215 |
-
"
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
msgstr ""
|
219 |
-
"
|
220 |
-
"
|
221 |
|
222 |
-
#: options
|
223 |
-
msgid "
|
224 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
msgid ""
|
228 |
-
"
|
229 |
-
"
|
|
|
|
|
230 |
msgstr ""
|
231 |
-
"
|
232 |
-
"
|
|
|
|
|
233 |
|
234 |
-
#: options
|
235 |
-
|
236 |
-
|
|
|
237 |
|
238 |
-
#: options
|
239 |
msgid "Comment Form Background Color"
|
240 |
msgstr "Cor de fundo do formulário de comentário"
|
241 |
|
242 |
-
#: options
|
243 |
-
#: options
|
244 |
-
#: options
|
245 |
-
#: options
|
246 |
-
#: options
|
247 |
-
#: options
|
248 |
-
#: options
|
|
|
249 |
msgid "Example: #00ff00"
|
250 |
msgstr "Exemplo: #00ff00"
|
251 |
|
252 |
-
#: options
|
253 |
msgid "Comment Background Color"
|
254 |
msgstr "Cor de fundo do comentário"
|
255 |
|
256 |
-
#: options
|
257 |
msgid "Reply Background Color"
|
258 |
msgstr "Cor de fundo da resposta"
|
259 |
|
260 |
-
#: options
|
261 |
msgid "Comment Text Color"
|
262 |
msgstr "Cor do texto do comentário"
|
263 |
|
264 |
-
#: options
|
265 |
msgid "Author title color"
|
266 |
msgstr "Cor do título do autor"
|
267 |
|
268 |
-
#: options
|
269 |
msgid "Vote, Reply, Share, Edit links text colors"
|
270 |
msgstr "Cor dos links Votar, Responder, Partilhar e Editar"
|
271 |
|
272 |
-
#: options
|
|
|
|
|
|
|
|
|
273 |
msgid "New loaded comments' background color"
|
274 |
msgstr "Cor de fundo dos novos comentários carregados"
|
275 |
|
276 |
-
#: options
|
277 |
msgid "Custom CSS Code"
|
278 |
msgstr "CSS personalizado"
|
279 |
|
280 |
-
#: options
|
281 |
-
msgid "
|
282 |
-
msgstr "
|
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
|
317 |
-
msgid "
|
318 |
-
msgstr "
|
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
|
338 |
-
msgid "
|
339 |
-
msgstr "
|
340 |
|
341 |
-
#: options
|
342 |
-
msgid "Notify
|
343 |
-
msgstr "Notificar
|
344 |
|
345 |
-
#: options
|
346 |
-
msgid "
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
-
#: options
|
350 |
-
msgid "
|
351 |
-
msgstr "
|
352 |
|
353 |
-
#: options
|
354 |
-
msgid "
|
355 |
-
|
|
|
|
|
|
|
|
|
356 |
|
357 |
-
#: options
|
358 |
-
msgid "
|
359 |
-
|
|
|
360 |
|
361 |
-
#: options
|
362 |
-
msgid "
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
|
365 |
-
#: options-
|
366 |
-
msgid "
|
367 |
-
msgstr "
|
368 |
|
369 |
-
#: options-
|
|
|
370 |
msgid "Reply"
|
371 |
msgstr "Responder"
|
372 |
|
373 |
-
#: options-
|
|
|
374 |
msgid "Share"
|
375 |
msgstr "Partilhar"
|
376 |
|
377 |
-
#: options-
|
|
|
378 |
msgid "Share On Facebook"
|
379 |
msgstr "Partilhar no Facebook"
|
380 |
|
381 |
-
#: options-
|
|
|
382 |
msgid "Share On Twitter"
|
383 |
msgstr "Partilhar no Twitter"
|
384 |
|
385 |
-
#: options-
|
|
|
386 |
msgid "Share On Google"
|
387 |
msgstr "Partilhar no Google"
|
388 |
|
389 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
msgid "Hide Replies"
|
391 |
-
msgstr "
|
392 |
|
393 |
-
#: options-
|
|
|
394 |
msgid "Show Replies"
|
395 |
msgstr "Mostrar Respostas"
|
396 |
|
397 |
-
#: options-
|
398 |
msgid "Title For Guests"
|
399 |
msgstr "Título para Visitantes"
|
400 |
|
401 |
-
#: options-
|
402 |
msgid "Title For Members"
|
403 |
msgstr "Título para Membros"
|
404 |
|
405 |
-
#: options-
|
406 |
msgid "Title For Authors"
|
407 |
msgstr "Título para Autores"
|
408 |
|
409 |
-
#: options-
|
410 |
msgid "Title For Admins"
|
411 |
msgstr "Título para Administradores"
|
412 |
|
413 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
msgid "Email Subject"
|
415 |
msgstr "Assunto do Email"
|
416 |
|
417 |
-
#: options-
|
418 |
msgid "Email Message"
|
419 |
msgstr "Mensagem do Email"
|
420 |
|
421 |
-
#: options-
|
422 |
msgid "New Reply Subject"
|
423 |
msgstr "Assunto do alerta de Nova Resposta"
|
424 |
|
425 |
-
#: options-
|
426 |
-
#: options-
|
|
|
427 |
msgid "New Reply"
|
428 |
msgstr "Nova Resposta"
|
429 |
|
430 |
-
#: options-
|
431 |
-
#: options-templates/options-template-phrases.php:379
|
432 |
msgid "New Reply Message"
|
433 |
msgstr "Mensagem do alerta de Nova Resposta"
|
434 |
|
435 |
-
#: options-
|
436 |
-
|
437 |
-
|
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-
|
452 |
-
#: options-
|
|
|
453 |
msgid "Ignore Subscription"
|
454 |
msgstr "Ignorar Subscrição"
|
455 |
|
456 |
-
#: options-
|
457 |
-
#: options-
|
458 |
-
|
|
|
459 |
msgstr "Confirme a sua subscrição"
|
460 |
|
461 |
-
#: options-
|
462 |
-
#: options-
|
|
|
463 |
msgid "You've successfully confirmed your subscription."
|
464 |
msgstr "A sua subscrição foi confirmada com sucesso."
|
465 |
|
466 |
-
#: options-
|
467 |
msgid "Subscribe Confirmation Email Subject"
|
468 |
msgstr "Assunto do email de confirmação da subscrição"
|
469 |
|
470 |
-
#: options-
|
|
|
471 |
msgid "Subscribe Confirmation"
|
472 |
msgstr "Confirmação de subscrição"
|
473 |
|
474 |
-
#: options-
|
475 |
msgid "Subscribe Confirmation Email Content"
|
476 |
msgstr "Conteúdo do email sobre a confirmação da subscrição"
|
477 |
|
478 |
-
#: options-
|
|
|
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 "
|
@@ -484,215 +698,577 @@ msgid ""
|
|
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 |
-
"
|
489 |
-
"
|
490 |
-
"
|
491 |
|
492 |
-
#: options-
|
493 |
-
msgid "
|
494 |
-
msgstr "
|
495 |
|
496 |
-
#: options-
|
497 |
-
msgid "
|
498 |
-
msgstr "Mensagem de
|
499 |
|
500 |
-
#: options-
|
501 |
-
msgid "
|
502 |
-
msgstr "Mensagem de
|
503 |
|
504 |
-
#: options-
|
505 |
-
msgid "
|
506 |
-
msgstr "
|
507 |
|
508 |
-
#: options-
|
509 |
-
msgid "
|
510 |
-
msgstr "
|
511 |
|
512 |
-
#: options-
|
513 |
-
msgid "
|
514 |
-
msgstr "
|
515 |
|
516 |
-
#: options-
|
517 |
-
msgid "
|
518 |
-
msgstr "
|
519 |
|
520 |
-
#: options-
|
521 |
-
msgid "
|
522 |
-
msgstr "
|
523 |
|
524 |
-
#: options-
|
525 |
-
|
526 |
-
|
|
|
|
|
527 |
|
528 |
-
#: options-
|
529 |
-
msgid "
|
530 |
-
msgstr "
|
531 |
|
532 |
-
#: options-
|
533 |
-
|
534 |
-
|
|
|
535 |
|
536 |
-
#: options-
|
537 |
-
msgid "
|
538 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
|
540 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
msgid "You must be"
|
542 |
msgstr "Você deve"
|
543 |
|
544 |
-
#: options-
|
545 |
msgid "Logged in as"
|
546 |
msgstr "Autenticado como"
|
547 |
|
548 |
-
#: options-
|
|
|
549 |
msgid "Log out"
|
550 |
msgstr "Sair"
|
551 |
|
552 |
-
#: options-
|
553 |
msgid "Logged In"
|
554 |
msgstr "Fazer o login"
|
555 |
|
556 |
-
#: options-
|
557 |
msgid "To post a comment"
|
558 |
msgstr "Para publicar um comentário"
|
559 |
|
560 |
-
#: options-
|
561 |
-
|
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 "
|
571 |
|
572 |
-
#: options-
|
573 |
msgid "You can vote only 1 time"
|
574 |
msgstr "Apenas pode votar uma vez"
|
575 |
|
576 |
-
#: options-
|
|
|
577 |
msgid "Voting Error"
|
578 |
msgstr "Erro ao votar"
|
579 |
|
580 |
-
#: options-
|
581 |
msgid "Login To Vote"
|
582 |
msgstr "Faça o login para votar"
|
583 |
|
584 |
-
#: options-
|
585 |
msgid "You Cannot Vote On Your Comment"
|
586 |
msgstr "Não pode votar no seu comentário"
|
587 |
|
588 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
589 |
msgid "Invalid Captcha Code"
|
590 |
msgstr "Captcha Inválida"
|
591 |
|
592 |
-
#: options-
|
|
|
593 |
msgid "Some of field value is invalid"
|
594 |
msgstr "A informação de algum campo é inválida"
|
595 |
|
596 |
-
#: options-
|
597 |
msgid "Comment waiting moderation"
|
598 |
msgstr "O comentário aguarda moderação"
|
599 |
|
600 |
-
#: options-
|
601 |
-
msgid "
|
602 |
-
msgstr "
|
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-
|
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-
|
|
|
641 |
msgid "Sorry, the comment was not updated"
|
642 |
msgstr "Lamentamos, mas o comentário não foi atualizado"
|
643 |
|
644 |
-
#: options-
|
645 |
msgid "Message if comment no longer possible to edit"
|
646 |
-
msgstr "Mensagem se não for mais possível editar"
|
647 |
|
648 |
-
#: options-
|
|
|
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-
|
653 |
msgid "Message if comment text not changed"
|
654 |
msgstr "Mensagem se o texto do comentário não for alterado"
|
655 |
|
656 |
-
#: options-
|
657 |
msgid "TYou've not made any changes"
|
658 |
msgstr "Você não fez nenhuma alteração"
|
659 |
|
660 |
-
#: options-
|
661 |
-
msgid "
|
662 |
-
msgstr "
|
663 |
|
664 |
-
#: options-
|
665 |
-
msgid "
|
666 |
-
msgstr "
|
667 |
|
668 |
-
#: options-
|
669 |
-
msgid "
|
670 |
-
msgstr "
|
671 |
|
672 |
-
#: options-
|
673 |
-
msgid "
|
674 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
675 |
|
676 |
-
#: wc-options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
677 |
msgid "Hacker?"
|
678 |
msgstr "Hacker?"
|
679 |
|
680 |
-
#: wc-options.php:
|
681 |
msgid "wpDiscuz General Settings"
|
682 |
msgstr "wpDiscuz - Opções Gerais"
|
683 |
|
684 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
685 |
msgid "Save Changes"
|
686 |
-
msgstr "Guardar
|
|
|
|
|
|
|
|
|
687 |
|
688 |
-
#: wc-options.php:
|
689 |
msgid "WpDiscuz Front-end Phrases"
|
690 |
-
msgstr "wpDiscuz - Frases do
|
691 |
|
692 |
-
#: wc.php:
|
693 |
-
msgid "
|
694 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
695 |
|
696 |
-
#: wc.php:
|
697 |
msgid "Phrases"
|
698 |
msgstr "Frases"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-08-30 19:04+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-08-30 19:17+0100\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.8.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;_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 |
+
#: wpdiscuz/comment-form/form.php:251 wpdiscuz/comment-form/tpl-comment.php:263
|
23 |
+
msgid "Participate in this discussion via email"
|
24 |
+
msgstr "Participar nesta discussão via e-mail"
|
25 |
+
|
26 |
+
#: wpdiscuz/comment-form/form.php:455
|
27 |
+
msgid "Connect with"
|
28 |
+
msgstr "Conectar-se com"
|
29 |
+
|
30 |
+
#: wpdiscuz/comment-form/tpl-comment.php:174
|
31 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:27
|
32 |
+
#: wpdiscuz/options/wc-options-serialize.php:449
|
33 |
msgid "Edit"
|
34 |
msgstr "Editar"
|
35 |
|
36 |
+
#: wpdiscuz/comment-form/tpl-comment.php:388 wpdiscuz/wc.php:325
|
37 |
+
msgid "Anonymous"
|
38 |
+
msgstr "Anónimo"
|
39 |
+
|
40 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:2
|
41 |
+
msgid "General Settings"
|
42 |
+
msgstr "Opções Gerais"
|
43 |
|
44 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:7
|
45 |
msgid "Display comment form for post types:"
|
46 |
+
msgstr "Exibir o formulário de comentário em:"
|
47 |
+
|
48 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:28
|
49 |
+
msgid "User Must be registered to comment"
|
50 |
+
msgstr "O utilizador deve estar registado para comentar"
|
51 |
+
|
52 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:34
|
53 |
+
msgid "Yes"
|
54 |
+
msgstr "Sim"
|
55 |
|
56 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:38
|
57 |
+
msgid "No"
|
58 |
+
msgstr "Não"
|
59 |
+
|
60 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:46
|
61 |
+
msgid "Comment author must fill out name"
|
62 |
+
msgstr "O autor do comentário tem que preencher o nome"
|
63 |
+
|
64 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:57
|
65 |
+
msgid "Comment author must fill out email"
|
66 |
+
msgstr "O autor do comentário tem que preencher o email"
|
67 |
+
|
68 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:68
|
69 |
msgid "Show the latest comments on"
|
70 |
msgstr "Mostrar os últimos comentários no"
|
71 |
|
72 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:72
|
73 |
msgid "the top of the list"
|
74 |
msgstr "no topo da lista de comentários"
|
75 |
|
76 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:74
|
77 |
msgid "top of the threads"
|
78 |
msgstr "no topo"
|
79 |
|
80 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:76
|
81 |
msgid "bottom of the threads"
|
82 |
msgstr "no fim"
|
83 |
|
84 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:78
|
85 |
msgid "the bottom of the list"
|
86 |
msgstr "no fim da lista de comentários"
|
87 |
|
88 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:86
|
89 |
+
msgid "Comment Threads Per Page"
|
90 |
+
msgstr "Comentários por página"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:97
|
93 |
+
msgid "Comment text max length"
|
94 |
+
msgstr "Comprimento máximo do comentário"
|
95 |
|
96 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:108
|
97 |
+
msgid "Comments max depth"
|
98 |
+
msgstr "Níveis de respostas a comentários"
|
99 |
|
100 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:113
|
101 |
+
msgid "Level"
|
102 |
+
msgstr "Nível"
|
|
|
|
|
103 |
|
104 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:114
|
105 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:115
|
106 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:116
|
107 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:117
|
108 |
+
msgid "Levels"
|
109 |
+
msgstr "Níveis"
|
110 |
|
111 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:124
|
112 |
+
msgid "Comment text size in pixels"
|
113 |
+
msgstr "Tamanho do texto do comentário em pixeis"
|
|
|
|
|
|
|
|
|
114 |
|
115 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:141
|
116 |
msgid "Allow comment editing for"
|
117 |
msgstr "Permitir a edição de comentários por"
|
118 |
|
119 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:146
|
120 |
msgid "Not Allow"
|
121 |
+
msgstr "Não permitir"
|
122 |
|
123 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:147
|
124 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:148
|
125 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:41
|
126 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:42
|
127 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:43
|
128 |
+
msgid "Minutes"
|
129 |
+
msgstr "Minutos"
|
130 |
+
|
131 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:149
|
132 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:73
|
133 |
msgid "Hour"
|
134 |
msgstr "Hora"
|
135 |
|
136 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:150
|
137 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:151
|
138 |
msgid "Hours"
|
139 |
msgstr "Horas"
|
140 |
|
141 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:158
|
142 |
+
msgid "Redirect first commenter to"
|
143 |
+
msgstr "Redirecionar o primeiro comentador para"
|
144 |
|
145 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:165
|
146 |
+
msgid "Do not redirect"
|
147 |
+
msgstr "Não redirecionar"
|
148 |
|
149 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:174
|
150 |
+
msgid "Allow guests to vote on comments"
|
151 |
+
msgstr "Permitir que os visitantes votem nos comentários"
|
152 |
|
153 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:184
|
154 |
+
msgid "Load WpDiscuz CSS and JS on home page"
|
155 |
+
msgstr "Carregar o CSS e JS do wpDiscuz na página inicial"
|
156 |
|
157 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:194
|
158 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
159 |
msgstr ""
|
160 |
+
"Carregar o resto dos comentários ao clicar no botão [Carregar Mais "
|
161 |
+
"Comentários]"
|
162 |
|
163 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:205
|
164 |
+
msgid "Use WordPress Date/Time format"
|
165 |
+
msgstr "Usar o formato de data e tempo do WordPress"
|
166 |
|
167 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:206
|
168 |
+
msgid ""
|
169 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll "
|
170 |
+
"show the date/time format set in WordPress General Settings."
|
171 |
+
msgstr ""
|
172 |
+
"O wpDiscuz mostra a data num formato mais amigável. Ao selecionar esta "
|
173 |
+
"opção, o plugin vai usar o formato de data/hora definido na página de opções "
|
174 |
+
"do WordPress."
|
175 |
|
176 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:213
|
177 |
+
msgid "Current Wordpress date/time format"
|
178 |
+
msgstr "Formato atual de data e hora do WordPress"
|
179 |
|
180 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:219
|
181 |
+
msgid "Use Plugin .PO/.MO files"
|
182 |
+
msgstr "Usar os ficheiros .PO/.MO do plugin"
|
183 |
|
184 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:220
|
185 |
+
msgid ""
|
186 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. "
|
187 |
+
"However if you have a multi-language website it'll not allow you to add more "
|
188 |
+
"than one language translation. The only way to get it is the plugin "
|
189 |
+
"translation files (.PO / .MO). If wpDiscuz has the languages you need you "
|
190 |
+
"should check this option to disable phrase system and it'll automatically "
|
191 |
+
"translate all phrases based on language files according to current language."
|
192 |
+
msgstr ""
|
193 |
+
"O sistema de frases do wpDiscuz permite a tradução de todas as frases do "
|
194 |
+
"front-end. No entanto, se o site site for multi-língua, não é possível "
|
195 |
+
"adicionar mais do que uma tradução. A única forma de resolver este problema "
|
196 |
+
"passa por utilizar os ficheiros de tradução do plugin (.PO / .MO). Se o "
|
197 |
+
"wpDiscuz tiver as traduções que você precisa, marque esta opção para "
|
198 |
+
"desativar o sistema de tradução das frases e o plugin usará automaticamente "
|
199 |
+
"os ficheiros de tradução de acordo com a língua utilizada."
|
200 |
+
|
201 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:231
|
202 |
+
msgid ""
|
203 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
204 |
+
"use"
|
205 |
+
msgstr "Ajude o wpDiscuz a crescer divulgando o plugin"
|
206 |
|
207 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:233
|
208 |
+
msgid ""
|
209 |
+
"Please check this option on to help wpDiscuz get more popularity as your "
|
210 |
+
"thank to the hard work we do for you totally free. This option adds a very "
|
211 |
+
"small (16x16px) icon under the comment section which will allow your site "
|
212 |
+
"visitors recognize the name of comment solution you use."
|
213 |
+
msgstr ""
|
214 |
+
"Marque esta opção para ajudar a divulgar o wpDiscuz e agradecer pelo nosso "
|
215 |
+
"trabalho na criação deste plugin gratuito. Esta opção adiciona um pequeno "
|
216 |
+
"icon (16x16px) no fim da secção de comentários e permite que os visitantes "
|
217 |
+
"fiquem a saber o nome do plugin que você usa."
|
218 |
|
219 |
+
#: wpdiscuz/options/options-layouts/settings-general.php:238
|
220 |
+
msgid "Thank you!"
|
221 |
+
msgstr "Obrigado!"
|
222 |
|
223 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:2
|
224 |
+
#: wpdiscuz/options/wc-options.php:181
|
225 |
+
msgid "Live Update"
|
226 |
+
msgstr "Atualização em Tempo Real"
|
|
|
|
|
227 |
|
228 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:8
|
229 |
+
msgid "Live update options"
|
230 |
+
msgstr "Opções de atualização em tempo real"
|
231 |
|
232 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:9
|
233 |
msgid ""
|
234 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" "
|
235 |
+
"function doesn't overload your server resources. This function is good for "
|
236 |
+
"VPS and Dedicated Hosting Plans."
|
237 |
msgstr ""
|
238 |
+
"Se usar um alojamento partilhado, assegure-se de que a \"atualização em "
|
239 |
+
"tempo real\" não sobrecarrega os recursos do servidor. Esta opção funciona "
|
240 |
+
"melhor numa VPS ou em planos de alojamento dedicado."
|
241 |
|
242 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:14
|
243 |
+
msgid "Never update"
|
244 |
+
msgstr "Nunca atualizar"
|
|
|
|
|
|
|
245 |
|
246 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:16
|
247 |
+
msgid "Turn off \"Live Update\" function"
|
248 |
+
msgstr "Desligar a opção \"Atualização em tempo real\""
|
249 |
|
250 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:18
|
251 |
+
msgid "Show new comment/reply buttons to update manualy"
|
252 |
+
msgstr "Mostrar novos botões de comentário/resposta para atualizar manualmente"
|
253 |
|
254 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:20
|
255 |
+
msgid "Always check for new comments and show update buttons"
|
256 |
+
msgstr "Verificar novos comentários e mostrar botões de atualização"
|
257 |
|
258 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:22
|
259 |
+
msgid "Always update"
|
260 |
+
msgstr "Atualizar sempre"
|
261 |
+
|
262 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:24
|
263 |
+
msgid "Always check for new comments and update automatically"
|
264 |
+
msgstr "Verificar novos comentários e atualizar automaticamente"
|
265 |
+
|
266 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:32
|
267 |
+
msgid "Update comment list every"
|
268 |
+
msgstr "Atualizar a lista de comentários a cada"
|
269 |
+
|
270 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:37
|
271 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:38
|
272 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:39
|
273 |
+
msgid "Seconds"
|
274 |
+
msgstr "Segundos"
|
275 |
+
|
276 |
+
#: wpdiscuz/options/options-layouts/settings-live-update.php:40
|
277 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:95
|
278 |
+
msgid "Minute"
|
279 |
+
msgstr "Minuto"
|
280 |
+
|
281 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:2
|
282 |
+
#: wpdiscuz/options/wc-options.php:182
|
283 |
+
msgid "Show/Hide Components"
|
284 |
+
msgstr "Mostrar/Ocultar Componentes"
|
285 |
+
|
286 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:7
|
287 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
288 |
msgstr ""
|
289 |
+
"Mostrar o nome de utilizador no topo do formulário principal quando o "
|
290 |
+
"utilizador tem o login feito"
|
291 |
|
292 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:17
|
293 |
+
msgid "Hide Reply button for Guests"
|
294 |
+
msgstr "Ocultar o botão Responder a visitantes"
|
295 |
+
|
296 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:27
|
297 |
+
msgid "Hide Reply button for Members"
|
298 |
+
msgstr "Ocultar o botão Responder a membros"
|
299 |
+
|
300 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:37
|
301 |
+
msgid "Hide Author Titles"
|
302 |
+
msgstr "Ocultar título do autor do comentário"
|
303 |
+
|
304 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:47
|
305 |
+
msgid "Hide Voting buttons"
|
306 |
+
msgstr "Ocultar os botões de votação"
|
307 |
|
308 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:57
|
309 |
+
msgid "Hide Share Buttons"
|
310 |
+
msgstr "Ocultar botões de partilha"
|
311 |
+
|
312 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:67
|
313 |
+
msgid "Hide the CAPTCHA field"
|
314 |
+
msgstr "Ocultar o campo captcha"
|
315 |
+
|
316 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:77
|
317 |
+
msgid "Hide the Website URL field"
|
318 |
+
msgstr "Ocultar o campo website"
|
319 |
+
|
320 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:87
|
321 |
+
msgid "Hide header text"
|
322 |
+
msgstr "Ocultar o texto do cabeçalho"
|
323 |
+
|
324 |
+
#: wpdiscuz/options/options-layouts/settings-show-hide.php:97
|
325 |
+
msgid "Hide user avatar"
|
326 |
+
msgstr "Ocultar o avatar do utilizador"
|
327 |
+
|
328 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:10
|
329 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:12
|
330 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:14
|
331 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:16 wpdiscuz/wc.php:1024
|
332 |
+
msgid "Settings"
|
333 |
+
msgstr "Opções"
|
334 |
+
|
335 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:21
|
336 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:31
|
337 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:41
|
338 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:52
|
339 |
+
msgid "Activate"
|
340 |
+
msgstr "Ativar"
|
341 |
+
|
342 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:25
|
343 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:35
|
344 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:45
|
345 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:56
|
346 |
+
msgid "View details/Install"
|
347 |
+
msgstr "Ver detalhes/instalar"
|
348 |
+
|
349 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:89
|
350 |
+
#: wpdiscuz/options/wc-options.php:185
|
351 |
+
msgid "Social Login"
|
352 |
+
msgstr "Login Social"
|
353 |
+
|
354 |
+
#: wpdiscuz/options/options-layouts/settings-social.php:90
|
355 |
msgid ""
|
356 |
+
"You can use one of these most popular Social Login Plugins to allow your "
|
357 |
+
"visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
|
358 |
+
"OK and lots of other social network service accounts. All social login "
|
359 |
+
"buttons will be fully integrated with wpDiscuz comment forms."
|
360 |
msgstr ""
|
361 |
+
"Pode usar um dos seguintes plugins para permitir que os seus visitantes "
|
362 |
+
"façam o login e comentem usando o Facebook, Twitter, Google+, WordPress, VK, "
|
363 |
+
"OK e outros serviços. Todos os botões de login serão integrados no "
|
364 |
+
"formulário de comentário do wpDiscuz."
|
365 |
|
366 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:2
|
367 |
+
#: wpdiscuz/options/wc-options.php:184
|
368 |
+
msgid "Background and Colors"
|
369 |
+
msgstr "Fundo e Cores"
|
370 |
|
371 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:7
|
372 |
msgid "Comment Form Background Color"
|
373 |
msgstr "Cor de fundo do formulário de comentário"
|
374 |
|
375 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:10
|
376 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:34
|
377 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:58
|
378 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:82
|
379 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:107
|
380 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:132
|
381 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:155
|
382 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:178
|
383 |
msgid "Example: #00ff00"
|
384 |
msgstr "Exemplo: #00ff00"
|
385 |
|
386 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:31
|
387 |
msgid "Comment Background Color"
|
388 |
msgstr "Cor de fundo do comentário"
|
389 |
|
390 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:55
|
391 |
msgid "Reply Background Color"
|
392 |
msgstr "Cor de fundo da resposta"
|
393 |
|
394 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:79
|
395 |
msgid "Comment Text Color"
|
396 |
msgstr "Cor do texto do comentário"
|
397 |
|
398 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:104
|
399 |
msgid "Author title color"
|
400 |
msgstr "Cor do título do autor"
|
401 |
|
402 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:129
|
403 |
msgid "Vote, Reply, Share, Edit links text colors"
|
404 |
msgstr "Cor dos links Votar, Responder, Partilhar e Editar"
|
405 |
|
406 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:152
|
407 |
+
msgid "Comment form fields border color"
|
408 |
+
msgstr "Cor das bordas nos campos do formulário"
|
409 |
+
|
410 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:175
|
411 |
msgid "New loaded comments' background color"
|
412 |
msgstr "Cor de fundo dos novos comentários carregados"
|
413 |
|
414 |
+
#: wpdiscuz/options/options-layouts/settings-style.php:199
|
415 |
msgid "Custom CSS Code"
|
416 |
msgstr "CSS personalizado"
|
417 |
|
418 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:2
|
419 |
+
msgid "Email Subscription Settings"
|
420 |
+
msgstr "Opções da subscrição via email"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
421 |
|
422 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:7
|
423 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
424 |
+
msgstr "Mostrar \"Notificar-me de novos comentários\""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
|
426 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:8
|
427 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
428 |
+
msgstr "Mostrar \"Notificar-me de respostas a todos os meus comentários\""
|
429 |
|
430 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:9
|
431 |
+
msgid "Show \"Notify of new replies to this comment\""
|
432 |
+
msgstr "Mostrar \"Notificar-me de respostas a este comentário\""
|
433 |
|
434 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:11
|
435 |
+
msgid ""
|
436 |
+
"Please keep all three or at least one of those options ON, otherwise users "
|
437 |
+
"will not have any option for email notifications and they'll not get any "
|
438 |
+
"messages."
|
439 |
+
msgstr ""
|
440 |
+
"Mantenha pelo menos uma destas opções ativas para exibir a opção de "
|
441 |
+
"subscrição aos utilizadores."
|
442 |
|
443 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:30
|
444 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
445 |
+
msgstr "Usar o Postmatic para subscrições e comentários via email"
|
446 |
|
447 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:31
|
448 |
+
msgid ""
|
449 |
+
"Postmatic allows your users subscribe to comments. Instead of just being "
|
450 |
+
"notified, they add a reply right from their inbox."
|
451 |
+
msgstr ""
|
452 |
+
"O Postmatic permite que os seus utilizadores subscrevam aos comentários. Em "
|
453 |
+
"vez de serem apenas notificados, eles podem responder diretamente via email."
|
454 |
|
455 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:42
|
456 |
+
msgid ""
|
457 |
+
"Keep selected the email notification of all new follow-up comments by default"
|
458 |
+
msgstr "Deixar a opção de notificação via email ativa por omissão"
|
459 |
|
460 |
+
#: wpdiscuz/options/options-layouts/settings-subscription.php:43
|
461 |
+
msgid ""
|
462 |
+
"If this option is checked-on, in Manage Subscriptions section of comment "
|
463 |
+
"forms will only be displayed the \"Notify of all new follow-up comments\" "
|
464 |
+
"option and this option will always be selected by default."
|
465 |
+
msgstr ""
|
466 |
+
"Se esta opção estiver selecionada, na secção \"Gerir Subscrições\" dos "
|
467 |
+
"comentários, apenas a opção \"Notificar-me de novos comentários\" será "
|
468 |
+
"exibida e estará sempre selecionada por omissão."
|
469 |
|
470 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:2
|
471 |
+
msgid "Comment Template Phrases"
|
472 |
+
msgstr "Frases dos comentários"
|
473 |
|
474 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:7
|
475 |
+
#: wpdiscuz/options/wc-options-serialize.php:447
|
476 |
msgid "Reply"
|
477 |
msgstr "Responder"
|
478 |
|
479 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:17
|
480 |
+
#: wpdiscuz/options/wc-options-serialize.php:448
|
481 |
msgid "Share"
|
482 |
msgstr "Partilhar"
|
483 |
|
484 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:37
|
485 |
+
#: wpdiscuz/options/wc-options-serialize.php:450
|
486 |
msgid "Share On Facebook"
|
487 |
msgstr "Partilhar no Facebook"
|
488 |
|
489 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:47
|
490 |
+
#: wpdiscuz/options/wc-options-serialize.php:451
|
491 |
msgid "Share On Twitter"
|
492 |
msgstr "Partilhar no Twitter"
|
493 |
|
494 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:57
|
495 |
+
#: wpdiscuz/options/wc-options-serialize.php:452
|
496 |
msgid "Share On Google"
|
497 |
msgstr "Partilhar no Google"
|
498 |
|
499 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:67
|
500 |
+
#: wpdiscuz/options/wc-options-serialize.php:453
|
501 |
+
msgid "Share On VKontakte"
|
502 |
+
msgstr "Partilhar no VKontakte"
|
503 |
+
|
504 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:77
|
505 |
+
#: wpdiscuz/options/wc-options-serialize.php:454
|
506 |
+
msgid "Share On Odnoklassniki"
|
507 |
+
msgstr "Partilhar no Odnoklassniki"
|
508 |
+
|
509 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:87
|
510 |
+
#: wpdiscuz/options/wc-options-serialize.php:455
|
511 |
msgid "Hide Replies"
|
512 |
+
msgstr "Ocultar Respostas"
|
513 |
|
514 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:97
|
515 |
+
#: wpdiscuz/options/wc-options-serialize.php:456
|
516 |
msgid "Show Replies"
|
517 |
msgstr "Mostrar Respostas"
|
518 |
|
519 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:107
|
520 |
msgid "Title For Guests"
|
521 |
msgstr "Título para Visitantes"
|
522 |
|
523 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:117
|
524 |
msgid "Title For Members"
|
525 |
msgstr "Título para Membros"
|
526 |
|
527 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:127
|
528 |
msgid "Title For Authors"
|
529 |
msgstr "Título para Autores"
|
530 |
|
531 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:137
|
532 |
msgid "Title For Admins"
|
533 |
msgstr "Título para Administradores"
|
534 |
|
535 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:147
|
536 |
+
#: wpdiscuz/options/wc-options-serialize.php:498
|
537 |
+
msgid "Vote Up"
|
538 |
+
msgstr "Voto Positivo"
|
539 |
+
|
540 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:157
|
541 |
+
#: wpdiscuz/options/wc-options-serialize.php:499
|
542 |
+
msgid "Vote Down"
|
543 |
+
msgstr "Voto Negativo"
|
544 |
+
|
545 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:167
|
546 |
+
msgid "Save edited comment button text"
|
547 |
+
msgstr "Texto do botão para guardar comentário editado"
|
548 |
+
|
549 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:171
|
550 |
+
#: wpdiscuz/options/wc-options-serialize.php:517
|
551 |
+
msgid "Save"
|
552 |
+
msgstr "Guardar"
|
553 |
+
|
554 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:177
|
555 |
+
msgid "Cancel comment editing button text"
|
556 |
+
msgstr "Texto do botão para cancelar a edição do comentário"
|
557 |
+
|
558 |
+
#: wpdiscuz/options/phrases-layout/phrases-comment.php:181
|
559 |
+
#: wpdiscuz/options/wc-options-serialize.php:518
|
560 |
+
msgid "Cancel"
|
561 |
+
msgstr "Cancelar"
|
562 |
+
|
563 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:2
|
564 |
+
msgid "Date/Time Phrases"
|
565 |
+
msgstr "Frases da data/hora"
|
566 |
+
|
567 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:7
|
568 |
+
msgid "Year"
|
569 |
+
msgstr "Ano"
|
570 |
+
|
571 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:18
|
572 |
+
msgid "Years (Plural Form)"
|
573 |
+
msgstr "Anos (plural)"
|
574 |
+
|
575 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:22
|
576 |
+
msgid "Years"
|
577 |
+
msgstr "Anos"
|
578 |
+
|
579 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:29
|
580 |
+
msgid "Month"
|
581 |
+
msgstr "Mês"
|
582 |
+
|
583 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:40
|
584 |
+
msgid "Months (Plural Form)"
|
585 |
+
msgstr "Mês (plural)"
|
586 |
+
|
587 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:51
|
588 |
+
msgid "Day"
|
589 |
+
msgstr "Dia"
|
590 |
+
|
591 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:62
|
592 |
+
msgid "Days (Plural Form)"
|
593 |
+
msgstr "Dias (plural)"
|
594 |
+
|
595 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:84
|
596 |
+
msgid "Hours (Plural Form)"
|
597 |
+
msgstr "Horas (plural)"
|
598 |
+
|
599 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:106
|
600 |
+
msgid "Minutes (Plural Form)"
|
601 |
+
msgstr "Minutos (plural)"
|
602 |
+
|
603 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:117
|
604 |
+
msgid "Second"
|
605 |
+
msgstr "Segundo"
|
606 |
+
|
607 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:128
|
608 |
+
msgid "Seconds (Plural Form)"
|
609 |
+
msgstr "Segundos (plural)"
|
610 |
+
|
611 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:138
|
612 |
+
msgid "Commented \"right now\" text"
|
613 |
+
msgstr "Comentário enviado \"agora mesmo\""
|
614 |
+
|
615 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:149
|
616 |
+
msgid "Ago text"
|
617 |
+
msgstr "\"Atrás\""
|
618 |
+
|
619 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:160
|
620 |
+
msgid "\"Today\" text"
|
621 |
+
msgstr "\"Hoje\""
|
622 |
+
|
623 |
+
#: wpdiscuz/options/phrases-layout/phrases-datetime.php:164
|
624 |
+
#: wpdiscuz/options/wc-options-serialize.php:492
|
625 |
+
msgid "Today"
|
626 |
+
msgstr "Hoje"
|
627 |
+
|
628 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:2
|
629 |
+
msgid "Email Template Phrases"
|
630 |
+
msgstr "Frases dos emails"
|
631 |
+
|
632 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:7
|
633 |
msgid "Email Subject"
|
634 |
msgstr "Assunto do Email"
|
635 |
|
636 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:18
|
637 |
msgid "Email Message"
|
638 |
msgstr "Mensagem do Email"
|
639 |
|
640 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:29
|
641 |
msgid "New Reply Subject"
|
642 |
msgstr "Assunto do alerta de Nova Resposta"
|
643 |
|
644 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:33
|
645 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:101
|
646 |
+
#: wpdiscuz/options/wc-options-serialize.php:463 wpdiscuz/wc.php:934
|
647 |
msgid "New Reply"
|
648 |
msgstr "Nova Resposta"
|
649 |
|
650 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:40
|
|
|
651 |
msgid "New Reply Message"
|
652 |
msgstr "Mensagem do alerta de Nova Resposta"
|
653 |
|
654 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:50
|
655 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:54
|
656 |
+
#: wpdiscuz/options/wc-options-serialize.php:468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
msgid "Unsubscribe"
|
658 |
msgstr "Cancelar Subscrição"
|
659 |
|
660 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:61
|
661 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:65
|
662 |
+
#: wpdiscuz/options/wc-options-serialize.php:469
|
663 |
msgid "Ignore Subscription"
|
664 |
msgstr "Ignorar Subscrição"
|
665 |
|
666 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:72
|
667 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:76
|
668 |
+
#: wpdiscuz/options/wc-options-serialize.php:471
|
669 |
+
msgid "Confirm your subscription"
|
670 |
msgstr "Confirme a sua subscrição"
|
671 |
|
672 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:82
|
673 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:86
|
674 |
+
#: wpdiscuz/options/wc-options-serialize.php:472
|
675 |
msgid "You've successfully confirmed your subscription."
|
676 |
msgstr "A sua subscrição foi confirmada com sucesso."
|
677 |
|
678 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:92
|
679 |
msgid "Subscribe Confirmation Email Subject"
|
680 |
msgstr "Assunto do email de confirmação da subscrição"
|
681 |
|
682 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:96
|
683 |
+
#: wpdiscuz/options/wc-options-serialize.php:473 wpdiscuz/wc.php:945
|
684 |
msgid "Subscribe Confirmation"
|
685 |
msgstr "Confirmação de subscrição"
|
686 |
|
687 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:103
|
688 |
msgid "Subscribe Confirmation Email Content"
|
689 |
msgstr "Conteúdo do email sobre a confirmação da subscrição"
|
690 |
|
691 |
+
#: wpdiscuz/options/phrases-layout/phrases-email.php:107
|
692 |
+
#: wpdiscuz/options/wc-options-serialize.php:474 wpdiscuz/wc.php:946
|
693 |
msgid ""
|
694 |
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
695 |
"you will receive an email when new comments are posted according to "
|
698 |
"you again."
|
699 |
msgstr ""
|
700 |
"Olá, <br/> Você de subscrever os novos comentários no nosso website. Isto "
|
701 |
+
"significa que irá receber um email quando novos comentários forem publicados "
|
702 |
+
"de acordo com as opções que escolheu. <br/> Para ativar, clique no link em "
|
703 |
+
"baixo. Se acha que este email foi enviado por engano, por favor ignore esta "
|
704 |
+
"mensagem e nunca o contactaremos de novo."
|
705 |
|
706 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:2
|
707 |
+
msgid "Form Template Phrases"
|
708 |
+
msgstr "Frases do formulário de contacto"
|
709 |
|
710 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:7
|
711 |
+
msgid "Comment Field Start"
|
712 |
+
msgstr "Mensagem de incentivo a discussão"
|
713 |
|
714 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:17
|
715 |
+
msgid "Comment Field Join"
|
716 |
+
msgstr "Mensagem de incentivo no formulário"
|
717 |
|
718 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:27
|
719 |
+
msgid "Email Field"
|
720 |
+
msgstr "Campo de Email"
|
721 |
|
722 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:37
|
723 |
+
msgid "Name Field"
|
724 |
+
msgstr "Campo do Nome"
|
725 |
|
726 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:47
|
727 |
+
msgid "WebSite URL Field"
|
728 |
+
msgstr "Campo do URL"
|
729 |
|
730 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:57
|
731 |
+
msgid "CAPTCHA Field"
|
732 |
+
msgstr "Campo do Captcha"
|
733 |
|
734 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:67
|
735 |
+
msgid "Submit Button"
|
736 |
+
msgstr "Botão de Submissão"
|
737 |
|
738 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:77
|
739 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:81
|
740 |
+
#: wpdiscuz/options/wc-options-serialize.php:440
|
741 |
+
msgid "Manage Subscriptions"
|
742 |
+
msgstr "Gerir Subscrições"
|
743 |
|
744 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:87
|
745 |
+
msgid "Notify \"None\""
|
746 |
+
msgstr "Não notificar (checkbox)"
|
747 |
|
748 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:91
|
749 |
+
#: wpdiscuz/options/wc-options-serialize.php:441
|
750 |
+
msgid "None"
|
751 |
+
msgstr "Não notificar"
|
752 |
|
753 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:97
|
754 |
+
msgid "Notify on new comments (checkbox)"
|
755 |
+
msgstr "Notificar quando novos comentários forem publicados (checkbox)"
|
756 |
+
|
757 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:101
|
758 |
+
#: wpdiscuz/options/wc-options-serialize.php:442
|
759 |
+
msgid "Notify of all new follow-up comments"
|
760 |
+
msgstr "Notificar-me de novos comentários"
|
761 |
+
|
762 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:108
|
763 |
+
msgid "Notify on all new replies (checkbox)"
|
764 |
+
msgstr ""
|
765 |
+
"Notificar ao receber respostas a todos os comentários do utilizador "
|
766 |
+
"(checkbox)"
|
767 |
+
|
768 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:112
|
769 |
+
#: wpdiscuz/options/wc-options-serialize.php:443
|
770 |
+
msgid "Notify of new replies to all my comments"
|
771 |
+
msgstr "Notificar-me de respostas a todos os meus comentários"
|
772 |
+
|
773 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:119
|
774 |
+
msgid "Notify on new replies (checkbox)"
|
775 |
+
msgstr "Notificar ao receber respostas ao comentário (checkbox)"
|
776 |
+
|
777 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:123
|
778 |
+
#: wpdiscuz/options/wc-options-serialize.php:444
|
779 |
+
msgid "Notify of new replies to this comment"
|
780 |
+
msgstr "Notificar-me de respostas a este comentário"
|
781 |
+
|
782 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:129
|
783 |
+
msgid "Subscribed on this comment replies"
|
784 |
+
msgstr "Está subscrito a respostas a este comentário"
|
785 |
+
|
786 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:139
|
787 |
+
msgid "Subscribed on all your comments replies"
|
788 |
+
msgstr "Está subscrito a respostas a todos os seus comentários"
|
789 |
+
|
790 |
+
#: wpdiscuz/options/phrases-layout/phrases-form.php:149
|
791 |
+
msgid "Subscribed on this post"
|
792 |
+
msgstr "Está subscrito a novos comentários neste artigo"
|
793 |
+
|
794 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:2
|
795 |
+
msgid "General Phrases"
|
796 |
+
msgstr "Frases gerais"
|
797 |
+
|
798 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:7
|
799 |
+
#: wpdiscuz/options/wc-options-serialize.php:428
|
800 |
+
msgid "Leave a Reply"
|
801 |
+
msgstr "Deixe um comentário"
|
802 |
+
|
803 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:17
|
804 |
+
msgid "Be the first to comment"
|
805 |
+
msgstr "Seja o primeiro a comentar"
|
806 |
+
|
807 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:27
|
808 |
+
#: wpdiscuz/options/wc-options-serialize.php:430
|
809 |
+
#: wpdiscuz/options/wc-options.php:354
|
810 |
+
msgid "Comment"
|
811 |
+
msgstr "Comentário"
|
812 |
+
|
813 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:37
|
814 |
+
msgid "Comment (Plural Form)"
|
815 |
+
msgstr "Comentário (Plural)"
|
816 |
+
|
817 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:47
|
818 |
+
msgid "On"
|
819 |
+
msgstr "Em"
|
820 |
+
|
821 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:57
|
822 |
+
msgid "Load More Button"
|
823 |
+
msgstr "Botão Carregar Mais Comentários"
|
824 |
+
|
825 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:67
|
826 |
+
#: wpdiscuz/options/wc-options-serialize.php:446
|
827 |
+
msgid "Load Rest of Comments"
|
828 |
+
msgstr "Carregar o resto dos comentários"
|
829 |
+
|
830 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:77
|
831 |
+
msgid "Button text if has new comment"
|
832 |
+
msgstr "Texto do botão se houver um novo comentário"
|
833 |
+
|
834 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:81
|
835 |
+
#: wpdiscuz/options/wc-options-serialize.php:461
|
836 |
+
msgid "New Comment"
|
837 |
+
msgstr "Novo Comentário"
|
838 |
+
|
839 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:87
|
840 |
+
msgid "Button text if has new comments (Plural Form)"
|
841 |
+
msgstr "Texto do botão se tiver novos comentários (plural)"
|
842 |
+
|
843 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:91
|
844 |
+
msgid "New Comments"
|
845 |
+
msgstr "Novos Comentários"
|
846 |
+
|
847 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:97
|
848 |
+
msgid "Button text if has new reply"
|
849 |
+
msgstr "Texto do botão se tiver uma resposta nova"
|
850 |
+
|
851 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:107
|
852 |
+
msgid "Button text if has new replies (Plural Form)"
|
853 |
+
msgstr "Texto do botão se tiver novas respostas (plural)"
|
854 |
+
|
855 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:111
|
856 |
+
msgid "New Replies"
|
857 |
+
msgstr "Novas Respostas"
|
858 |
+
|
859 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:117
|
860 |
+
msgid "Text on load more button if has new comment(s)"
|
861 |
+
msgstr ""
|
862 |
+
"Texto do botão \"carregar novos comentários\" se existirem novos comentários"
|
863 |
+
|
864 |
+
#: wpdiscuz/options/phrases-layout/phrases-general.php:121
|
865 |
+
#: wpdiscuz/options/wc-options-serialize.php:513
|
866 |
+
msgid "New"
|
867 |
+
msgstr "Novo"
|
868 |
+
|
869 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:2
|
870 |
+
msgid "Notification Phrases"
|
871 |
+
msgstr "Frases de notificação"
|
872 |
|
873 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:7
|
874 |
+
#: wpdiscuz/options/wc-options-serialize.php:470
|
875 |
+
msgid "You've successfully unsubscribed."
|
876 |
+
msgstr "A subscrição foi cancelada com sucesso."
|
877 |
+
|
878 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:18
|
879 |
+
msgid "Error message for empty field"
|
880 |
+
msgstr "Mensagem de erro para campos vazios"
|
881 |
+
|
882 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:28
|
883 |
+
msgid "Error message for invalid email field"
|
884 |
+
msgstr "Mensagem de erro para email inválido"
|
885 |
+
|
886 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:38
|
887 |
+
msgid "Error message for invalid website url field"
|
888 |
+
msgstr "Mensagem de erro para website inválido"
|
889 |
+
|
890 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:48
|
891 |
+
#: wpdiscuz/options/wc-options-serialize.php:493
|
892 |
msgid "You must be"
|
893 |
msgstr "Você deve"
|
894 |
|
895 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:58
|
896 |
msgid "Logged in as"
|
897 |
msgstr "Autenticado como"
|
898 |
|
899 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:68
|
900 |
+
#: wpdiscuz/options/wc-options-serialize.php:495
|
901 |
msgid "Log out"
|
902 |
msgstr "Sair"
|
903 |
|
904 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:78
|
905 |
msgid "Logged In"
|
906 |
msgstr "Fazer o login"
|
907 |
|
908 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:88
|
909 |
msgid "To post a comment"
|
910 |
msgstr "Para publicar um comentário"
|
911 |
|
912 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:98
|
913 |
+
#: wpdiscuz/options/wc-options-serialize.php:500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
msgid "Vote Counted"
|
915 |
+
msgstr "Voto contado"
|
916 |
|
917 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:108
|
918 |
msgid "You can vote only 1 time"
|
919 |
msgstr "Apenas pode votar uma vez"
|
920 |
|
921 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:118
|
922 |
+
#: wpdiscuz/options/wc-options-serialize.php:502
|
923 |
msgid "Voting Error"
|
924 |
msgstr "Erro ao votar"
|
925 |
|
926 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:128
|
927 |
msgid "Login To Vote"
|
928 |
msgstr "Faça o login para votar"
|
929 |
|
930 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:138
|
931 |
msgid "You Cannot Vote On Your Comment"
|
932 |
msgstr "Não pode votar no seu comentário"
|
933 |
|
934 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:148
|
935 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
936 |
+
msgstr ""
|
937 |
+
"Não tem permissões para votar neste comentário (votando usando o mesmo IP)"
|
938 |
+
|
939 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:158
|
940 |
+
#: wpdiscuz/options/wc-options-serialize.php:506
|
941 |
msgid "Invalid Captcha Code"
|
942 |
msgstr "Captcha Inválida"
|
943 |
|
944 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:168
|
945 |
+
#: wpdiscuz/options/wc-options-serialize.php:507
|
946 |
msgid "Some of field value is invalid"
|
947 |
msgstr "A informação de algum campo é inválida"
|
948 |
|
949 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:178
|
950 |
msgid "Comment waiting moderation"
|
951 |
msgstr "O comentário aguarda moderação"
|
952 |
|
953 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:188
|
954 |
+
msgid "Message if comment content length is too long"
|
955 |
+
msgstr "Mensagem se o comentário for longo de mais"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
956 |
|
957 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:198
|
|
|
|
|
|
|
|
|
958 |
msgid "Message if comment was not updated"
|
959 |
msgstr "Mensagem se o comentário não for atualizado"
|
960 |
|
961 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:202
|
962 |
+
#: wpdiscuz/options/wc-options-serialize.php:514
|
963 |
msgid "Sorry, the comment was not updated"
|
964 |
msgstr "Lamentamos, mas o comentário não foi atualizado"
|
965 |
|
966 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:208
|
967 |
msgid "Message if comment no longer possible to edit"
|
968 |
+
msgstr "Mensagem se não for mais possível editar o comentário"
|
969 |
|
970 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:212
|
971 |
+
#: wpdiscuz/options/wc-options-serialize.php:515
|
972 |
msgid "Sorry, this comment no longer possible to edit"
|
973 |
msgstr "Lamentamos, mas já não é possível editar o comentário"
|
974 |
|
975 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:219
|
976 |
msgid "Message if comment text not changed"
|
977 |
msgstr "Mensagem se o texto do comentário não for alterado"
|
978 |
|
979 |
+
#: wpdiscuz/options/phrases-layout/phrases-notification.php:223
|
980 |
msgid "TYou've not made any changes"
|
981 |
msgstr "Você não fez nenhuma alteração"
|
982 |
|
983 |
+
#: wpdiscuz/options/wc-options-serialize.php:429
|
984 |
+
msgid "Be the First to Comment!"
|
985 |
+
msgstr "Seja o primeiro a comentar!"
|
986 |
|
987 |
+
#: wpdiscuz/options/wc-options-serialize.php:431
|
988 |
+
msgid "Comments"
|
989 |
+
msgstr "Comentários"
|
990 |
|
991 |
+
#: wpdiscuz/options/wc-options-serialize.php:432
|
992 |
+
msgid "on"
|
993 |
+
msgstr "em"
|
994 |
|
995 |
+
#: wpdiscuz/options/wc-options-serialize.php:433
|
996 |
+
msgid "Start the discussion"
|
997 |
+
msgstr "Comece a discussão"
|
998 |
+
|
999 |
+
#: wpdiscuz/options/wc-options-serialize.php:434
|
1000 |
+
msgid "Join the discussion"
|
1001 |
+
msgstr "Entre na discussão"
|
1002 |
+
|
1003 |
+
#: wpdiscuz/options/wc-options-serialize.php:435
|
1004 |
+
#: wpdiscuz/options/wc-options.php:356
|
1005 |
+
msgid "Email"
|
1006 |
+
msgstr "Email"
|
1007 |
+
|
1008 |
+
#: wpdiscuz/options/wc-options-serialize.php:436
|
1009 |
+
msgid "Name"
|
1010 |
+
msgstr "Nome"
|
1011 |
+
|
1012 |
+
#: wpdiscuz/options/wc-options-serialize.php:437
|
1013 |
+
msgid "WebSite URL"
|
1014 |
+
msgstr "Website"
|
1015 |
+
|
1016 |
+
#: wpdiscuz/options/wc-options-serialize.php:438
|
1017 |
+
msgid "Please insert the code above to comment"
|
1018 |
+
msgstr "Por favor insira o código acima para comentar"
|
1019 |
+
|
1020 |
+
#: wpdiscuz/options/wc-options-serialize.php:439
|
1021 |
+
msgid "Post Comment"
|
1022 |
+
msgstr "Publicar Comentário"
|
1023 |
+
|
1024 |
+
#: wpdiscuz/options/wc-options-serialize.php:445
|
1025 |
+
msgid "Load More Comments"
|
1026 |
+
msgstr "Carregar Mais Comentários"
|
1027 |
+
|
1028 |
+
#: wpdiscuz/options/wc-options-serialize.php:457
|
1029 |
+
msgid "Guest"
|
1030 |
+
msgstr "Visitante"
|
1031 |
+
|
1032 |
+
#: wpdiscuz/options/wc-options-serialize.php:458
|
1033 |
+
msgid "Member"
|
1034 |
+
msgstr "Membro"
|
1035 |
+
|
1036 |
+
#: wpdiscuz/options/wc-options-serialize.php:459
|
1037 |
+
msgid "Author"
|
1038 |
+
msgstr "Autor"
|
1039 |
+
|
1040 |
+
#: wpdiscuz/options/wc-options-serialize.php:460
|
1041 |
+
msgid "Admin"
|
1042 |
+
msgstr "Admin"
|
1043 |
+
|
1044 |
+
#: wpdiscuz/options/wc-options-serialize.php:462
|
1045 |
+
msgid "New comment on the discussion section you've been interested in"
|
1046 |
+
msgstr "Novo comentário numa discussão do seu interesse"
|
1047 |
+
|
1048 |
+
#: wpdiscuz/options/wc-options-serialize.php:464 wpdiscuz/wc.php:935
|
1049 |
+
msgid "New reply on the discussion section you've been interested in"
|
1050 |
+
msgstr "Nova resposta numa discussão do seu interesse "
|
1051 |
+
|
1052 |
+
#: wpdiscuz/options/wc-options-serialize.php:465
|
1053 |
+
msgid "You're subscribed for new replies on this comment"
|
1054 |
+
msgstr "Subscreveu a alertas de novas respostas a este comentário"
|
1055 |
|
1056 |
+
#: wpdiscuz/options/wc-options-serialize.php:466
|
1057 |
+
msgid "You're subscribed for new replies on all your comments"
|
1058 |
+
msgstr "Subscreveu a alertas de novas respostas a todos os meus comentários"
|
1059 |
+
|
1060 |
+
#: wpdiscuz/options/wc-options-serialize.php:467
|
1061 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
1062 |
+
msgstr "Subscreveu a alertas de novos comentários neste artigo"
|
1063 |
+
|
1064 |
+
#: wpdiscuz/options/wc-options-serialize.php:475
|
1065 |
+
msgid "please fill out this field to comment"
|
1066 |
+
msgstr "preencha este campo para comentar"
|
1067 |
+
|
1068 |
+
#: wpdiscuz/options/wc-options-serialize.php:476
|
1069 |
+
msgid "email address is invalid"
|
1070 |
+
msgstr "o endereço de email é inválido"
|
1071 |
+
|
1072 |
+
#: wpdiscuz/options/wc-options-serialize.php:477
|
1073 |
+
msgid "url is invalid"
|
1074 |
+
msgstr "o url é inválido"
|
1075 |
+
|
1076 |
+
#: wpdiscuz/options/wc-options-serialize.php:478
|
1077 |
+
msgid "year"
|
1078 |
+
msgstr "ano"
|
1079 |
+
|
1080 |
+
#: wpdiscuz/options/wc-options-serialize.php:479
|
1081 |
+
msgid "years"
|
1082 |
+
msgstr "anos"
|
1083 |
+
|
1084 |
+
#: wpdiscuz/options/wc-options-serialize.php:480
|
1085 |
+
msgid "month"
|
1086 |
+
msgstr "mês"
|
1087 |
+
|
1088 |
+
#: wpdiscuz/options/wc-options-serialize.php:481
|
1089 |
+
msgid "months"
|
1090 |
+
msgstr "meses"
|
1091 |
+
|
1092 |
+
#: wpdiscuz/options/wc-options-serialize.php:482
|
1093 |
+
msgid "day"
|
1094 |
+
msgstr "dia"
|
1095 |
+
|
1096 |
+
#: wpdiscuz/options/wc-options-serialize.php:483
|
1097 |
+
msgid "days"
|
1098 |
+
msgstr "dias"
|
1099 |
+
|
1100 |
+
#: wpdiscuz/options/wc-options-serialize.php:484
|
1101 |
+
msgid "hour"
|
1102 |
+
msgstr "hora"
|
1103 |
+
|
1104 |
+
#: wpdiscuz/options/wc-options-serialize.php:485
|
1105 |
+
msgid "hours"
|
1106 |
+
msgstr "horas"
|
1107 |
+
|
1108 |
+
#: wpdiscuz/options/wc-options-serialize.php:486
|
1109 |
+
msgid "minute"
|
1110 |
+
msgstr "minuto"
|
1111 |
+
|
1112 |
+
#: wpdiscuz/options/wc-options-serialize.php:487
|
1113 |
+
msgid "minutes"
|
1114 |
+
msgstr "minutos"
|
1115 |
+
|
1116 |
+
#: wpdiscuz/options/wc-options-serialize.php:488
|
1117 |
+
msgid "second"
|
1118 |
+
msgstr "segundo"
|
1119 |
+
|
1120 |
+
#: wpdiscuz/options/wc-options-serialize.php:489
|
1121 |
+
msgid "seconds"
|
1122 |
+
msgstr "segundos"
|
1123 |
+
|
1124 |
+
#: wpdiscuz/options/wc-options-serialize.php:490
|
1125 |
+
msgid "right now"
|
1126 |
+
msgstr "agora mesmo"
|
1127 |
+
|
1128 |
+
#: wpdiscuz/options/wc-options-serialize.php:491
|
1129 |
+
msgid "ago"
|
1130 |
+
msgstr "atrás"
|
1131 |
+
|
1132 |
+
#: wpdiscuz/options/wc-options-serialize.php:494
|
1133 |
+
msgid "You are logged in as"
|
1134 |
+
msgstr "Autenticado como"
|
1135 |
+
|
1136 |
+
#: wpdiscuz/options/wc-options-serialize.php:496
|
1137 |
+
msgid "logged in"
|
1138 |
+
msgstr "fazer o login"
|
1139 |
+
|
1140 |
+
#: wpdiscuz/options/wc-options-serialize.php:497
|
1141 |
+
msgid "to post a comment."
|
1142 |
+
msgstr "para publicar um comentário."
|
1143 |
+
|
1144 |
+
#: wpdiscuz/options/wc-options-serialize.php:501
|
1145 |
+
msgid "You've already voted for this comment"
|
1146 |
+
msgstr "Já votou neste comentário"
|
1147 |
+
|
1148 |
+
#: wpdiscuz/options/wc-options-serialize.php:503
|
1149 |
+
msgid "You Must Be Logged In To Vote"
|
1150 |
+
msgstr "Faça o login para votar"
|
1151 |
+
|
1152 |
+
#: wpdiscuz/options/wc-options-serialize.php:504
|
1153 |
+
msgid "You cannot vote for your comment"
|
1154 |
+
msgstr "Não pode votar no seu comentário"
|
1155 |
+
|
1156 |
+
#: wpdiscuz/options/wc-options-serialize.php:505
|
1157 |
+
msgid "You are not allowed to vote for this comment"
|
1158 |
+
msgstr "Não tem permissão para votar neste comentário"
|
1159 |
+
|
1160 |
+
#: wpdiscuz/options/wc-options-serialize.php:508
|
1161 |
+
msgid "new comment"
|
1162 |
+
msgstr "novo comentário"
|
1163 |
+
|
1164 |
+
#: wpdiscuz/options/wc-options-serialize.php:509
|
1165 |
+
msgid "new comments"
|
1166 |
+
msgstr "novos comentários"
|
1167 |
+
|
1168 |
+
#: wpdiscuz/options/wc-options-serialize.php:510
|
1169 |
+
msgid "Comment awaiting moderation"
|
1170 |
+
msgstr "O seu comentário aguarda moderação"
|
1171 |
+
|
1172 |
+
#: wpdiscuz/options/wc-options-serialize.php:511
|
1173 |
+
msgid "new reply on your comment"
|
1174 |
+
msgstr "nova resposta ao seu comentário"
|
1175 |
+
|
1176 |
+
#: wpdiscuz/options/wc-options-serialize.php:512
|
1177 |
+
msgid "new replies on your comments"
|
1178 |
+
msgstr "novas respostas aos seus comentários"
|
1179 |
+
|
1180 |
+
#: wpdiscuz/options/wc-options-serialize.php:516
|
1181 |
+
msgid "You've not made any changes"
|
1182 |
+
msgstr "Você não fez nenhuma alteração"
|
1183 |
+
|
1184 |
+
#: wpdiscuz/options/wc-options-serialize.php:519
|
1185 |
+
#, php-format
|
1186 |
+
msgid "Comment text is too long (maximum %s characters allowed)"
|
1187 |
+
msgstr ""
|
1188 |
+
"Texto do comentário é muito longo (o máximo de caracteres permitidos é de %s)"
|
1189 |
+
|
1190 |
+
#: wpdiscuz/options/wc-options.php:28 wpdiscuz/options/wc-options.php:233
|
1191 |
msgid "Hacker?"
|
1192 |
msgstr "Hacker?"
|
1193 |
|
1194 |
+
#: wpdiscuz/options/wc-options.php:88
|
1195 |
msgid "wpDiscuz General Settings"
|
1196 |
msgstr "wpDiscuz - Opções Gerais"
|
1197 |
|
1198 |
+
#: wpdiscuz/options/wc-options.php:180
|
1199 |
+
msgid "General settings"
|
1200 |
+
msgstr "Opções Gerais"
|
1201 |
+
|
1202 |
+
#: wpdiscuz/options/wc-options.php:183
|
1203 |
+
msgid "Email Subscription"
|
1204 |
+
msgstr "Subscrição via Email"
|
1205 |
+
|
1206 |
+
#: wpdiscuz/options/wc-options.php:183
|
1207 |
+
msgid "and Postmatic"
|
1208 |
+
msgstr "e Postmatic"
|
1209 |
+
|
1210 |
+
#: wpdiscuz/options/wc-options.php:214 wpdiscuz/options/wc-options.php:384
|
1211 |
msgid "Save Changes"
|
1212 |
+
msgstr "Guardar alterações"
|
1213 |
+
|
1214 |
+
#: wpdiscuz/options/wc-options.php:215
|
1215 |
+
msgid "Reset Options"
|
1216 |
+
msgstr "Repor opções"
|
1217 |
|
1218 |
+
#: wpdiscuz/options/wc-options.php:342
|
1219 |
msgid "WpDiscuz Front-end Phrases"
|
1220 |
+
msgstr "wpDiscuz - Frases do front-end"
|
1221 |
|
1222 |
+
#: wpdiscuz/options/wc-options.php:352
|
1223 |
+
msgid "General"
|
1224 |
+
msgstr "Geral"
|
1225 |
+
|
1226 |
+
#: wpdiscuz/options/wc-options.php:353
|
1227 |
+
msgid "Form"
|
1228 |
+
msgstr "Formulário"
|
1229 |
+
|
1230 |
+
#: wpdiscuz/options/wc-options.php:355
|
1231 |
+
msgid "Date/Time"
|
1232 |
+
msgstr "Data/hora"
|
1233 |
+
|
1234 |
+
#: wpdiscuz/options/wc-options.php:357
|
1235 |
+
msgid "Notification"
|
1236 |
+
msgstr "Notificação"
|
1237 |
|
1238 |
+
#: wpdiscuz/wc.php:1026
|
1239 |
msgid "Phrases"
|
1240 |
msgstr "Frases"
|
1241 |
+
|
1242 |
+
#~ msgid "Share On vKontakte"
|
1243 |
+
#~ msgstr "Partilhar no vKontakte"
|
1244 |
+
|
1245 |
+
#~ msgid "Confirm your subscribtion"
|
1246 |
+
#~ msgstr "Confirme a sua subscrição"
|
1247 |
+
|
1248 |
+
#~ msgid "Hide Share Button"
|
1249 |
+
#~ msgstr "Esconder o botão de partilha"
|
1250 |
+
|
1251 |
+
#~ msgid "Held new comments for moderation"
|
1252 |
+
#~ msgstr "Reter os novos comentários para moderação"
|
1253 |
+
|
1254 |
+
#~ msgid ""
|
1255 |
+
#~ "Keep checked-on the email notification checkboxes on comment form by "
|
1256 |
+
#~ "default"
|
1257 |
+
#~ msgstr ""
|
1258 |
+
#~ "Deixar as opções de notificação por email no formulário de comentário "
|
1259 |
+
#~ "ativas por defeito"
|
1260 |
+
|
1261 |
+
#~ msgid "Show plugin powered by link"
|
1262 |
+
#~ msgstr "Adicionar um link para o site do wpDiscuz"
|
1263 |
+
|
1264 |
+
#~ msgid "Front-end phrases"
|
1265 |
+
#~ msgstr "Frases do Front-end"
|
1266 |
+
|
1267 |
+
#~ msgid "Plural (Ex. user -> user + s)"
|
1268 |
+
#~ msgstr "Plural (Ex: user -> user + s)"
|
1269 |
+
|
1270 |
+
#~ msgid "Button text if has new comments"
|
1271 |
+
#~ msgstr "Texto no botão se houverem novos comentários"
|
1272 |
+
|
1273 |
+
#~ msgid "Button text if has new replies"
|
1274 |
+
#~ msgstr "Texto no botão se tiver várias respostas novas"
|
languages/wpdiscuz-ru_RU.mo
CHANGED
Binary file
|
languages/wpdiscuz-ru_RU.po
CHANGED
@@ -1,579 +1,1257 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
|
7 |
"Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
|
8 |
-
"Language:
|
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.
|
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/tpl-comment.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msgid "Edit"
|
24 |
msgstr "Редактировать"
|
25 |
|
26 |
-
#:
|
27 |
-
msgid "
|
|
|
|
|
|
|
|
|
28 |
msgstr "Основные настройки"
|
29 |
|
30 |
-
#: options
|
31 |
msgid "Display comment form for post types:"
|
32 |
msgstr "Отображать форму комментариев для следующих типов записей:"
|
33 |
|
34 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Show the latest comments on"
|
36 |
msgstr "Показывать последние комментарии"
|
37 |
|
38 |
-
#: options
|
39 |
msgid "the top of the list"
|
40 |
msgstr "наверху списка"
|
41 |
|
42 |
-
#: options
|
43 |
msgid "top of the threads"
|
44 |
-
msgstr "наверху
|
45 |
|
46 |
-
#: options
|
47 |
msgid "bottom of the threads"
|
48 |
msgstr "внизу темы"
|
49 |
|
50 |
-
#: options
|
51 |
msgid "the bottom of the list"
|
52 |
msgstr "внизу списка"
|
53 |
|
54 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
msgid "Live update options"
|
56 |
msgstr "Настройки обновления в реальном времени"
|
57 |
|
58 |
-
#: options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
msgid "Never update"
|
60 |
msgstr "Никогда не обновлять"
|
61 |
|
62 |
-
#: options
|
63 |
msgid "Turn off \"Live Update\" function"
|
64 |
msgstr "Выключить функцию \"Обновление в реальном времени\""
|
65 |
|
66 |
-
#: options
|
67 |
msgid "Show new comment/reply buttons to update manualy"
|
68 |
msgstr "Показывать кнопки новых комментариев/ответов для обновления вручную"
|
69 |
|
70 |
-
#: options
|
71 |
msgid "Always check for new comments and show update buttons"
|
72 |
msgstr ""
|
73 |
"Всегда проверять наличие новых комментов и показывать кнопки обновления"
|
74 |
|
75 |
-
#: options
|
76 |
msgid "Always update"
|
77 |
-
msgstr "
|
78 |
|
79 |
-
#: options
|
80 |
msgid "Always check for new comments and update automatically"
|
81 |
msgstr "Всегда проверять наличие новых комментов и обновлять автоматически"
|
82 |
|
83 |
-
#: options
|
84 |
msgid "Update comment list every"
|
85 |
-
msgstr "
|
86 |
|
87 |
-
#: options
|
88 |
-
#: options
|
89 |
-
#: options
|
90 |
msgid "Seconds"
|
91 |
msgstr "секунд"
|
92 |
|
93 |
-
#: options
|
94 |
-
#: options-
|
95 |
msgid "Minute"
|
96 |
msgstr "Минута"
|
97 |
|
98 |
-
#: options
|
99 |
-
|
100 |
-
|
101 |
-
msgid "Minutes"
|
102 |
-
msgstr "минут"
|
103 |
-
|
104 |
-
#: options-templates/options-template-main.php:86
|
105 |
-
msgid "Hide Voting buttons"
|
106 |
-
msgstr "Скрыть кнопки голосования"
|
107 |
-
|
108 |
-
#: options-templates/options-template-main.php:97
|
109 |
-
msgid "Hide Share Button"
|
110 |
-
msgstr "Скрыть кнопки \"поделиться\""
|
111 |
-
|
112 |
-
#: options-templates/options-template-main.php:108
|
113 |
-
msgid "Hide the CAPTCHA field"
|
114 |
-
msgstr "Скрыть капчу (CAPTCHA)"
|
115 |
-
|
116 |
-
#: options-templates/options-template-main.php:119
|
117 |
-
msgid "User Must be registered to comment"
|
118 |
-
msgstr "Пользователь должен зарегистрироваться для комментирования"
|
119 |
|
120 |
-
#: options
|
121 |
-
msgid "Show logged-in user
|
122 |
-
msgstr "Показывать имя пользователя сверху основной формы"
|
123 |
|
124 |
-
#: options
|
125 |
-
msgid "Held new comments for moderation"
|
126 |
-
msgstr "Отправлять первые комментарии новых пользователей на модерацию"
|
127 |
-
|
128 |
-
#: options-templates/options-template-main.php:159
|
129 |
msgid "Hide Reply button for Guests"
|
130 |
msgstr "Скрыть кнопку ответа от гостей"
|
131 |
|
132 |
-
#: options
|
133 |
msgid "Hide Reply button for Members"
|
134 |
msgstr "Скрыть кнопку ответа от пользователей"
|
135 |
|
136 |
-
#: options
|
137 |
msgid "Hide Author Titles"
|
138 |
msgstr "Скрыть подписи под никами"
|
139 |
|
140 |
-
#: options
|
141 |
-
msgid "
|
142 |
-
msgstr "
|
143 |
|
144 |
-
#: options
|
145 |
-
msgid "
|
146 |
-
msgstr "
|
147 |
|
148 |
-
#: options
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
151 |
|
152 |
-
#: options
|
153 |
-
|
154 |
-
|
155 |
-
#: options-templates/options-template-main.php:212
|
156 |
-
msgid "Levels"
|
157 |
-
msgstr "уровней"
|
158 |
|
159 |
-
#: options
|
160 |
-
msgid "
|
161 |
-
msgstr "
|
162 |
|
163 |
-
#: options
|
164 |
-
msgid ""
|
165 |
-
"
|
166 |
-
"show the date/time format set in WordPress General Settings."
|
167 |
-
msgstr ""
|
168 |
-
"wpDiscuz по-умолчанию показывает формат времени в своем формате, удобном для "
|
169 |
-
"чтения. При включении этой опции, дата и время будут показаны в формате, "
|
170 |
-
"указанном в основных настройках WordPress"
|
171 |
|
172 |
-
#: options
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
"пользователи могут получать большое колиество уведомлений)"
|
178 |
|
179 |
-
#: options
|
180 |
-
|
181 |
-
|
|
|
|
|
182 |
|
183 |
-
#: options
|
184 |
-
|
185 |
-
|
|
|
|
|
186 |
|
187 |
-
#: options
|
188 |
-
msgid "
|
189 |
-
msgstr "
|
190 |
|
191 |
-
#: options
|
192 |
msgid ""
|
193 |
-
"
|
194 |
-
"
|
195 |
-
"
|
|
|
196 |
msgstr ""
|
197 |
-
"
|
198 |
-
"
|
199 |
-
"
|
|
|
200 |
|
201 |
-
#: options
|
202 |
-
msgid "
|
203 |
-
msgstr "
|
204 |
|
205 |
-
#: options
|
206 |
msgid "Comment Form Background Color"
|
207 |
-
msgstr "
|
208 |
-
|
209 |
-
#: options
|
210 |
-
#: options
|
211 |
-
#: options
|
212 |
-
#: options
|
213 |
-
#: options
|
214 |
-
#: options
|
215 |
-
#: options
|
|
|
216 |
msgid "Example: #00ff00"
|
217 |
-
msgstr "
|
218 |
|
219 |
-
#: options
|
220 |
msgid "Comment Background Color"
|
221 |
msgstr "Цвет фона коментария"
|
222 |
|
223 |
-
#: options
|
224 |
msgid "Reply Background Color"
|
225 |
-
msgstr "
|
226 |
|
227 |
-
#: options
|
228 |
msgid "Comment Text Color"
|
229 |
msgstr "Цвет шрифта комментария"
|
230 |
|
231 |
-
#: options
|
232 |
msgid "Author title color"
|
233 |
msgstr "Цвет подписи автора"
|
234 |
|
235 |
-
#: options
|
236 |
msgid "Vote, Reply, Share, Edit links text colors"
|
237 |
msgstr "Цвет ссылок Голосовать, Ответить, Поделиться и Редактировать"
|
238 |
|
239 |
-
#: options
|
|
|
|
|
|
|
|
|
240 |
msgid "New loaded comments' background color"
|
241 |
msgstr "Цвет фона новых загруженных комментариев"
|
242 |
|
243 |
-
#: options
|
244 |
msgid "Custom CSS Code"
|
245 |
msgstr "Свой CSS код"
|
246 |
|
247 |
-
#: options
|
248 |
-
msgid "
|
249 |
-
msgstr "
|
250 |
-
|
251 |
-
#: options-templates/options-template-phrases.php:5
|
252 |
-
msgid "Leave a Reply"
|
253 |
-
msgstr "Оставить ответ"
|
254 |
-
|
255 |
-
#: options-templates/options-template-phrases.php:16
|
256 |
-
msgid "Be the first to comment"
|
257 |
-
msgstr "Будьте первым, кто оставит комментарий!"
|
258 |
-
|
259 |
-
#: options-templates/options-template-phrases.php:27
|
260 |
-
msgid "Comment"
|
261 |
-
msgstr "Комментариев"
|
262 |
-
|
263 |
-
#: options-templates/options-template-phrases.php:38
|
264 |
-
msgid "On"
|
265 |
-
msgstr "На"
|
266 |
-
|
267 |
-
#: options-templates/options-template-phrases.php:49
|
268 |
-
msgid "Comment Field Start"
|
269 |
-
msgstr "Фраза \"Начать обсуждение\""
|
270 |
-
|
271 |
-
#: options-templates/options-template-phrases.php:60
|
272 |
-
msgid "Comment Field Join"
|
273 |
-
msgstr "Фраза \"Присоединиться к обсуждению\""
|
274 |
-
|
275 |
-
#: options-templates/options-template-phrases.php:71
|
276 |
-
msgid "Email Field"
|
277 |
-
msgstr "Email"
|
278 |
-
|
279 |
-
#: options-templates/options-template-phrases.php:82
|
280 |
-
msgid "Name Field"
|
281 |
-
msgstr "Имя"
|
282 |
-
|
283 |
-
#: options-templates/options-template-phrases.php:93
|
284 |
-
msgid "CAPTCHA Field"
|
285 |
-
msgstr "CAPTCHA "
|
286 |
|
287 |
-
#: options
|
288 |
-
msgid "
|
289 |
-
msgstr "
|
290 |
-
|
291 |
-
#: options-templates/options-template-phrases.php:115
|
292 |
-
msgid "Manage subscribtions"
|
293 |
-
msgstr "Управление подпиской"
|
294 |
|
295 |
-
#: options
|
296 |
-
msgid "
|
297 |
-
msgstr "
|
298 |
|
299 |
-
#: options
|
300 |
-
msgid "Notify
|
301 |
-
msgstr "
|
302 |
|
303 |
-
#: options
|
304 |
-
msgid "
|
305 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
|
307 |
-
#: options
|
308 |
-
msgid "
|
309 |
-
msgstr "
|
|
|
|
|
310 |
|
311 |
-
#: options
|
312 |
-
msgid "
|
313 |
-
|
|
|
|
|
|
|
|
|
|
|
314 |
|
315 |
-
#: options
|
316 |
-
msgid "
|
317 |
-
|
|
|
|
|
|
|
318 |
|
319 |
-
#: options
|
320 |
-
msgid "
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
|
323 |
-
#: options-
|
324 |
-
msgid "
|
325 |
-
msgstr "
|
326 |
|
327 |
-
#: options-
|
|
|
328 |
msgid "Reply"
|
329 |
msgstr "Ответить "
|
330 |
|
331 |
-
#: options-
|
|
|
332 |
msgid "Share"
|
333 |
msgstr "Поделиться"
|
334 |
|
335 |
-
#: options-
|
|
|
336 |
msgid "Share On Facebook"
|
337 |
msgstr "Поделиться через Facebook"
|
338 |
|
339 |
-
#: options-
|
|
|
340 |
msgid "Share On Twitter"
|
341 |
msgstr "Поделиться через Twitter"
|
342 |
|
343 |
-
#: options-
|
|
|
344 |
msgid "Share On Google"
|
345 |
msgstr "Поделиться через Google"
|
346 |
|
347 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
msgid "Hide Replies"
|
349 |
msgstr "Спрятать ответы"
|
350 |
|
351 |
-
#: options-
|
|
|
352 |
msgid "Show Replies"
|
353 |
msgstr "Показать ответы"
|
354 |
|
355 |
-
#: options-
|
356 |
msgid "Title For Guests"
|
357 |
msgstr "Подпись для Гостей"
|
358 |
|
359 |
-
#: options-
|
360 |
msgid "Title For Members"
|
361 |
msgstr "Подпись для Пользователей"
|
362 |
|
363 |
-
#: options-
|
364 |
msgid "Title For Authors"
|
365 |
msgstr "Подпись для Авторов"
|
366 |
|
367 |
-
#: options-
|
368 |
msgid "Title For Admins"
|
369 |
msgstr "Подпись для Админов"
|
370 |
|
371 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
msgid "Email Subject"
|
373 |
-
msgstr "
|
374 |
|
375 |
-
#: options-
|
376 |
msgid "Email Message"
|
377 |
-
msgstr "
|
378 |
|
379 |
-
#: options-
|
380 |
msgid "New Reply Subject"
|
381 |
-
msgstr "
|
382 |
|
383 |
-
#: options-
|
384 |
-
#: options-
|
|
|
385 |
msgid "New Reply"
|
386 |
msgstr "Новый ответ"
|
387 |
|
388 |
-
#: options-
|
389 |
-
#: options-templates/options-template-phrases.php:371
|
390 |
msgid "New Reply Message"
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
msgstr "Отписаться"
|
392 |
|
393 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
msgid "Subscribed on this comment replies"
|
395 |
msgstr "Подписка на ответы на этот коммент"
|
396 |
|
397 |
-
#: options-
|
398 |
msgid "Subscribed on all your comments replies"
|
399 |
msgstr "Подписка на ответы на все комменты пользователя"
|
400 |
|
401 |
-
#: options-
|
402 |
msgid "Subscribed on this post"
|
403 |
msgstr "Подписка на все комменты к записи"
|
404 |
|
405 |
-
#: options-
|
406 |
-
msgid "
|
407 |
-
msgstr "
|
408 |
|
409 |
-
#: options-
|
410 |
-
|
411 |
-
|
|
|
412 |
|
413 |
-
#: options-
|
414 |
-
msgid "
|
415 |
-
msgstr "
|
416 |
|
417 |
-
#: options-
|
418 |
-
|
419 |
-
|
|
|
420 |
|
421 |
-
#: options-
|
422 |
-
msgid "
|
423 |
-
msgstr "
|
424 |
|
425 |
-
#: options-
|
426 |
-
msgid "
|
427 |
-
msgstr "
|
428 |
|
429 |
-
#: options-
|
430 |
-
msgid "
|
431 |
-
msgstr "
|
432 |
|
433 |
-
#: options-
|
434 |
-
|
435 |
-
|
|
|
436 |
|
437 |
-
#: options-
|
438 |
-
msgid "
|
439 |
-
msgstr "
|
440 |
|
441 |
-
#: options-
|
442 |
-
|
443 |
-
|
|
|
444 |
|
445 |
-
#: options-
|
446 |
-
msgid "
|
447 |
-
msgstr "Текст
|
448 |
|
449 |
-
#: options-
|
450 |
-
msgid "
|
451 |
-
msgstr "
|
452 |
|
453 |
-
#: options-
|
454 |
-
msgid "
|
455 |
-
msgstr "Текст
|
456 |
|
457 |
-
#: options-
|
458 |
-
msgid "
|
459 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
|
461 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
msgid "You must be"
|
463 |
msgstr "Вы должны быть "
|
464 |
|
465 |
-
#: options-
|
466 |
msgid "Logged in as"
|
467 |
msgstr "Вошли как"
|
468 |
|
469 |
-
#: options-
|
|
|
470 |
msgid "Log out"
|
471 |
msgstr "Выйти"
|
472 |
|
473 |
-
#: options-
|
474 |
msgid "Logged In"
|
475 |
msgstr "Зарегистрированы"
|
476 |
|
477 |
-
#: options-
|
478 |
msgid "To post a comment"
|
479 |
msgstr "Чтобы оставить комментарий"
|
480 |
|
481 |
-
#: options-
|
482 |
-
|
483 |
-
msgstr "Голос за"
|
484 |
-
|
485 |
-
#: options-templates/options-template-phrases.php:594
|
486 |
-
msgid "Vote Down"
|
487 |
-
msgstr "Голос против"
|
488 |
-
|
489 |
-
#: options-templates/options-template-phrases.php:605
|
490 |
msgid "Vote Counted"
|
491 |
msgstr "Голос учтен"
|
492 |
|
493 |
-
#: options-
|
494 |
msgid "You can vote only 1 time"
|
495 |
msgstr "Вы можете проголосовать только один раз"
|
496 |
|
497 |
-
#: options-
|
|
|
498 |
msgid "Voting Error"
|
499 |
msgstr "Ошибка голосования"
|
500 |
|
501 |
-
#: options-
|
502 |
msgid "Login To Vote"
|
503 |
msgstr "Залогиньтесь, чтобы голосовать"
|
504 |
|
505 |
-
#: options-
|
506 |
msgid "You Cannot Vote On Your Comment"
|
507 |
msgstr "Вы не можете проголосовать за свой комментарий"
|
508 |
|
509 |
-
#: options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
msgid "Invalid Captcha Code"
|
511 |
msgstr "Неверно введен код"
|
512 |
|
513 |
-
#: options-
|
|
|
514 |
msgid "Some of field value is invalid"
|
515 |
msgstr "Некоторые поля заполнены неверно"
|
516 |
|
517 |
-
#: options-
|
518 |
msgid "Comment waiting moderation"
|
519 |
msgstr "Комментарий ожидает модерации"
|
520 |
|
521 |
-
#: options-
|
522 |
-
msgid "
|
523 |
-
msgstr "
|
524 |
|
525 |
-
#: options-
|
526 |
-
msgid "
|
527 |
-
msgstr "
|
528 |
|
529 |
-
#: options-
|
530 |
-
|
531 |
-
|
|
|
532 |
|
533 |
-
#: options-
|
534 |
-
msgid "
|
535 |
-
msgstr "
|
536 |
|
537 |
-
#: options-
|
538 |
-
|
539 |
-
|
|
|
540 |
|
541 |
-
#: options-
|
542 |
-
msgid "
|
543 |
-
msgstr "
|
544 |
|
545 |
-
#: options-
|
546 |
-
msgid "
|
547 |
-
msgstr "
|
548 |
|
549 |
-
#: options-
|
550 |
-
msgid "
|
551 |
-
msgstr "
|
552 |
|
553 |
-
#: options-
|
554 |
-
msgid "
|
555 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
|
557 |
-
#: wc-options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
msgid "Hacker?"
|
559 |
msgstr "Хакер?"
|
560 |
|
561 |
-
#: wc-options.php:
|
562 |
msgid "wpDiscuz General Settings"
|
563 |
msgstr "Основные настройки wpDiscuz"
|
564 |
|
565 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
msgid "Save Changes"
|
567 |
msgstr "Сохранить изменения"
|
568 |
|
569 |
-
#: wc-options.php:
|
|
|
|
|
|
|
|
|
570 |
msgid "WpDiscuz Front-end Phrases"
|
571 |
msgstr "Фронт-энд фразы WpDiscuz"
|
572 |
|
573 |
-
#: wc.php:
|
574 |
-
msgid "
|
575 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
|
577 |
-
#: wc.php:
|
|
|
|
|
|
|
|
|
578 |
msgid "Phrases"
|
579 |
msgstr "Фразы"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpDiscuz - Wordpress Comments\n"
|
4 |
+
"POT-Creation-Date: 2015-05-28 23:58+0400\n"
|
5 |
+
"PO-Revision-Date: 2015-08-18 16:14+0300\n"
|
6 |
"Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
|
7 |
"Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
|
8 |
+
"Language: ru\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.8.4\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-WPHeader: wc.php\n"
|
15 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
16 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: comment-form/form.php:185 comment-form/tpl-comment.php:263
|
25 |
+
msgid "Participate in this discussion via email"
|
26 |
+
msgstr "Участвовать в этой дискуссии через электронную почту"
|
27 |
+
|
28 |
+
#: comment-form/form.php:323
|
29 |
+
msgid "Connect with"
|
30 |
+
msgstr "Соединить с"
|
31 |
+
|
32 |
+
#: comment-form/tpl-comment.php:174
|
33 |
+
#: options/phrases-layout/phrases-comment.php:27
|
34 |
+
#: options/wc-options-serialize.php:439
|
35 |
msgid "Edit"
|
36 |
msgstr "Редактировать"
|
37 |
|
38 |
+
#: comment-form/tpl-comment.php:385 wc.php:321
|
39 |
+
msgid "Anonymous"
|
40 |
+
msgstr "Анонимно"
|
41 |
+
|
42 |
+
#: options/options-layouts/settings-general.php:2
|
43 |
+
msgid "General Settings"
|
44 |
msgstr "Основные настройки"
|
45 |
|
46 |
+
#: options/options-layouts/settings-general.php:7
|
47 |
msgid "Display comment form for post types:"
|
48 |
msgstr "Отображать форму комментариев для следующих типов записей:"
|
49 |
|
50 |
+
#: options/options-layouts/settings-general.php:28
|
51 |
+
msgid "User Must be registered to comment"
|
52 |
+
msgstr "Пользователь должен быть зарегистрирован, чтобы комментировать"
|
53 |
+
|
54 |
+
#: options/options-layouts/settings-general.php:34
|
55 |
+
msgid "Yes"
|
56 |
+
msgstr "Да"
|
57 |
+
|
58 |
+
#: options/options-layouts/settings-general.php:38
|
59 |
+
msgid "No"
|
60 |
+
msgstr "Нет"
|
61 |
+
|
62 |
+
#: options/options-layouts/settings-general.php:46
|
63 |
+
msgid "Comment author must fill out name"
|
64 |
+
msgstr "Автору комментария необходимо указать имя"
|
65 |
+
|
66 |
+
#: options/options-layouts/settings-general.php:57
|
67 |
+
msgid "Comment author must fill out email"
|
68 |
+
msgstr "Автору комментария необходимо указать e-mail"
|
69 |
+
|
70 |
+
#: options/options-layouts/settings-general.php:68
|
71 |
msgid "Show the latest comments on"
|
72 |
msgstr "Показывать последние комментарии"
|
73 |
|
74 |
+
#: options/options-layouts/settings-general.php:72
|
75 |
msgid "the top of the list"
|
76 |
msgstr "наверху списка"
|
77 |
|
78 |
+
#: options/options-layouts/settings-general.php:74
|
79 |
msgid "top of the threads"
|
80 |
+
msgstr "наверху списка"
|
81 |
|
82 |
+
#: options/options-layouts/settings-general.php:76
|
83 |
msgid "bottom of the threads"
|
84 |
msgstr "внизу темы"
|
85 |
|
86 |
+
#: options/options-layouts/settings-general.php:78
|
87 |
msgid "the bottom of the list"
|
88 |
msgstr "внизу списка"
|
89 |
|
90 |
+
#: options/options-layouts/settings-general.php:86
|
91 |
+
msgid "Comment Threads Per Page"
|
92 |
+
msgstr "Количество веток комментариев на странице"
|
93 |
+
|
94 |
+
#: options/options-layouts/settings-general.php:97
|
95 |
+
msgid "Comment text max length"
|
96 |
+
msgstr "Максимальная длинна текста комментария"
|
97 |
+
|
98 |
+
#: options/options-layouts/settings-general.php:108
|
99 |
+
msgid "Comments max depth"
|
100 |
+
msgstr "Максимальная глубина вложенности комментов"
|
101 |
+
|
102 |
+
#: options/options-layouts/settings-general.php:113
|
103 |
+
msgid "Level"
|
104 |
+
msgstr "уровень"
|
105 |
+
|
106 |
+
#: options/options-layouts/settings-general.php:114
|
107 |
+
#: options/options-layouts/settings-general.php:115
|
108 |
+
#: options/options-layouts/settings-general.php:116
|
109 |
+
#: options/options-layouts/settings-general.php:117
|
110 |
+
msgid "Levels"
|
111 |
+
msgstr "уровней"
|
112 |
+
|
113 |
+
#: options/options-layouts/settings-general.php:124
|
114 |
+
msgid "Comment text size in pixels"
|
115 |
+
msgstr "Размер шрифта комментария в пикселях"
|
116 |
+
|
117 |
+
#: options/options-layouts/settings-general.php:141
|
118 |
+
msgid "Allow comment editing for"
|
119 |
+
msgstr "Разрешить редактирование комментария для"
|
120 |
+
|
121 |
+
#: options/options-layouts/settings-general.php:146
|
122 |
+
msgid "Not Allow"
|
123 |
+
msgstr "Не разрешать"
|
124 |
+
|
125 |
+
#: options/options-layouts/settings-general.php:147
|
126 |
+
#: options/options-layouts/settings-general.php:148
|
127 |
+
#: options/options-layouts/settings-live-update.php:41
|
128 |
+
#: options/options-layouts/settings-live-update.php:42
|
129 |
+
#: options/options-layouts/settings-live-update.php:43
|
130 |
+
msgid "Minutes"
|
131 |
+
msgstr "Минут"
|
132 |
+
|
133 |
+
#: options/options-layouts/settings-general.php:149
|
134 |
+
#: options/phrases-layout/phrases-datetime.php:73
|
135 |
+
msgid "Hour"
|
136 |
+
msgstr "Час"
|
137 |
+
|
138 |
+
#: options/options-layouts/settings-general.php:150
|
139 |
+
#: options/options-layouts/settings-general.php:151
|
140 |
+
msgid "Hours"
|
141 |
+
msgstr "Часов"
|
142 |
+
|
143 |
+
#: options/options-layouts/settings-general.php:158
|
144 |
+
msgid "Redirect first commenter to"
|
145 |
+
msgstr "Перенаправить первому комментатору"
|
146 |
+
|
147 |
+
#: options/options-layouts/settings-general.php:165
|
148 |
+
msgid "Do not redirect"
|
149 |
+
msgstr "Не перенаправлять"
|
150 |
+
|
151 |
+
#: options/options-layouts/settings-general.php:174
|
152 |
+
msgid "Allow guests to vote on comments"
|
153 |
+
msgstr "Разрешить гостям голосовать за комментарии"
|
154 |
+
|
155 |
+
#: options/options-layouts/settings-general.php:184
|
156 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
157 |
+
msgstr ""
|
158 |
+
"Загрузить остальные комментарии после нажатия кнопки [Загрузить больше "
|
159 |
+
"комментарий]"
|
160 |
+
|
161 |
+
#: options/options-layouts/settings-general.php:195
|
162 |
+
msgid "Use WordPress Date/Time format"
|
163 |
+
msgstr "Использовать формат времени и даты WordPress"
|
164 |
+
|
165 |
+
#: options/options-layouts/settings-general.php:196
|
166 |
+
msgid ""
|
167 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll "
|
168 |
+
"show the date/time format set in WordPress General Settings."
|
169 |
+
msgstr ""
|
170 |
+
"wpDiscuz по-умолчанию показывает формат времени в своем формате, удобном для "
|
171 |
+
"чтения. При включении этой опции, дата и время будут показаны в формате, "
|
172 |
+
"указанном в основных настройках WordPress"
|
173 |
+
|
174 |
+
#: options/options-layouts/settings-general.php:203
|
175 |
+
msgid "Current Wordpress date/time format"
|
176 |
+
msgstr "Текущий формат даты/времени Wordpress"
|
177 |
+
|
178 |
+
#: options/options-layouts/settings-general.php:209
|
179 |
+
msgid "Use Plugin .PO/.MO files"
|
180 |
+
msgstr "Используйте редактор PO/.MO файлов"
|
181 |
+
|
182 |
+
#: options/options-layouts/settings-general.php:210
|
183 |
+
msgid ""
|
184 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. "
|
185 |
+
"However if you have a multi-language website it'll not allow you to add more "
|
186 |
+
"than one language translation. The only way to get it is the plugin "
|
187 |
+
"translation files (.PO / .MO). If wpDiscuz has the languages you need you "
|
188 |
+
"should check this option to disable phrase system and it'll automatically "
|
189 |
+
"translate all phrases based on language files according to current language."
|
190 |
+
msgstr ""
|
191 |
+
"Система wpDiscuz позволяет переводить все интерфейсные фразы. Однако, если у "
|
192 |
+
"вас есть веб-сайт на разных языках плагин не будет позволять вам добавить "
|
193 |
+
"больше чем один язык перевода. Единственный способ певевести плагин - это "
|
194 |
+
"редактировать файлы перевода плагина (.po / .mo). Если wpDiscuz уже имеет "
|
195 |
+
"языки, которые вам нужны, вы должны отметить эту опцию, чтобы отключить "
|
196 |
+
"систему фраз, и он будет автоматически переводить все слова и предложения, "
|
197 |
+
"основанные на языковых файлов в соответствии с действующим языком."
|
198 |
+
|
199 |
+
#: options/options-layouts/settings-general.php:222
|
200 |
+
msgid ""
|
201 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
202 |
+
"use"
|
203 |
+
msgstr ""
|
204 |
+
"Помогите wpDiscuz развиваться, указывая каким комментатором вы пользуетесь"
|
205 |
+
|
206 |
+
#: options/options-layouts/settings-general.php:224
|
207 |
+
msgid ""
|
208 |
+
"Please check this option on to help wpDiscuz get more popularity as your "
|
209 |
+
"thank to the hard work we do for you totally free. This option adds a very "
|
210 |
+
"small (16x16px) icon under the comment section which will allow your site "
|
211 |
+
"visitors recognize the name of comment solution you use."
|
212 |
+
msgstr ""
|
213 |
+
"Пожалуйста, отметьте эту опцию, чтобы помочь на wpDiscuz получить большую "
|
214 |
+
"популярность в качестве благодарности к тяжелой работе, которую мы делаем "
|
215 |
+
"для вас совершенно бесплатно. Эта опция добавляет очень небольшой (16x16px) "
|
216 |
+
"значок под комментариями, который позволят посетителям вашего сайта увидеть "
|
217 |
+
"название плагина, который вы используете."
|
218 |
+
|
219 |
+
#: options/options-layouts/settings-general.php:229
|
220 |
+
msgid "Thank you!"
|
221 |
+
msgstr "Спасибо!"
|
222 |
+
|
223 |
+
#: options/options-layouts/settings-live-update.php:2
|
224 |
+
#: options/wc-options.php:180
|
225 |
+
msgid "Live Update"
|
226 |
+
msgstr "Настройки обновления в реальном времени"
|
227 |
+
|
228 |
+
#: options/options-layouts/settings-live-update.php:8
|
229 |
msgid "Live update options"
|
230 |
msgstr "Настройки обновления в реальном времени"
|
231 |
|
232 |
+
#: options/options-layouts/settings-live-update.php:9
|
233 |
+
msgid ""
|
234 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" "
|
235 |
+
"function doesn't overload your server resources. This function is good for "
|
236 |
+
"VPS and Dedicated Hosting Plans."
|
237 |
+
msgstr ""
|
238 |
+
"Если вы используете виртуальный хостинг вы должны убедиться, что функция "
|
239 |
+
"\"Автоматическое обновление\" не перегружает сервер. Эта функция хорошо "
|
240 |
+
"подходит для VPS и выделенных хостингов."
|
241 |
+
|
242 |
+
#: options/options-layouts/settings-live-update.php:14
|
243 |
msgid "Never update"
|
244 |
msgstr "Никогда не обновлять"
|
245 |
|
246 |
+
#: options/options-layouts/settings-live-update.php:16
|
247 |
msgid "Turn off \"Live Update\" function"
|
248 |
msgstr "Выключить функцию \"Обновление в реальном времени\""
|
249 |
|
250 |
+
#: options/options-layouts/settings-live-update.php:18
|
251 |
msgid "Show new comment/reply buttons to update manualy"
|
252 |
msgstr "Показывать кнопки новых комментариев/ответов для обновления вручную"
|
253 |
|
254 |
+
#: options/options-layouts/settings-live-update.php:20
|
255 |
msgid "Always check for new comments and show update buttons"
|
256 |
msgstr ""
|
257 |
"Всегда проверять наличие новых комментов и показывать кнопки обновления"
|
258 |
|
259 |
+
#: options/options-layouts/settings-live-update.php:22
|
260 |
msgid "Always update"
|
261 |
+
msgstr "Всегда обновлять"
|
262 |
|
263 |
+
#: options/options-layouts/settings-live-update.php:24
|
264 |
msgid "Always check for new comments and update automatically"
|
265 |
msgstr "Всегда проверять наличие новых комментов и обновлять автоматически"
|
266 |
|
267 |
+
#: options/options-layouts/settings-live-update.php:32
|
268 |
msgid "Update comment list every"
|
269 |
+
msgstr "Всегда проверять наличие новых комментов и обновлять автоматически"
|
270 |
|
271 |
+
#: options/options-layouts/settings-live-update.php:37
|
272 |
+
#: options/options-layouts/settings-live-update.php:38
|
273 |
+
#: options/options-layouts/settings-live-update.php:39
|
274 |
msgid "Seconds"
|
275 |
msgstr "секунд"
|
276 |
|
277 |
+
#: options/options-layouts/settings-live-update.php:40
|
278 |
+
#: options/phrases-layout/phrases-datetime.php:95
|
279 |
msgid "Minute"
|
280 |
msgstr "Минута"
|
281 |
|
282 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:181
|
283 |
+
msgid "Show/Hide Components"
|
284 |
+
msgstr "Скрыть/Показать Компоненты"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
|
286 |
+
#: options/options-layouts/settings-show-hide.php:7
|
287 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
288 |
+
msgstr "Показывать имя пользователя и ссылку выхода сверху основной формы"
|
289 |
|
290 |
+
#: options/options-layouts/settings-show-hide.php:17
|
|
|
|
|
|
|
|
|
291 |
msgid "Hide Reply button for Guests"
|
292 |
msgstr "Скрыть кнопку ответа от гостей"
|
293 |
|
294 |
+
#: options/options-layouts/settings-show-hide.php:27
|
295 |
msgid "Hide Reply button for Members"
|
296 |
msgstr "Скрыть кнопку ответа от пользователей"
|
297 |
|
298 |
+
#: options/options-layouts/settings-show-hide.php:37
|
299 |
msgid "Hide Author Titles"
|
300 |
msgstr "Скрыть подписи под никами"
|
301 |
|
302 |
+
#: options/options-layouts/settings-show-hide.php:47
|
303 |
+
msgid "Hide Voting buttons"
|
304 |
+
msgstr "Скрыть кнопки голосования"
|
305 |
|
306 |
+
#: options/options-layouts/settings-show-hide.php:57
|
307 |
+
msgid "Hide Share Buttons"
|
308 |
+
msgstr "Скрыть кнопки \"поделиться\""
|
309 |
|
310 |
+
#: options/options-layouts/settings-show-hide.php:67
|
311 |
+
msgid "Hide the CAPTCHA field"
|
312 |
+
msgstr "Скрыть капчу (CAPTCHA)"
|
313 |
|
314 |
+
#: options/options-layouts/settings-show-hide.php:77
|
315 |
+
msgid "Hide the Website URL field"
|
316 |
+
msgstr "Скрыть URL вебсайта"
|
|
|
|
|
|
|
317 |
|
318 |
+
#: options/options-layouts/settings-show-hide.php:87
|
319 |
+
msgid "Hide header text"
|
320 |
+
msgstr "Скрыть заголовок"
|
321 |
|
322 |
+
#: options/options-layouts/settings-show-hide.php:97
|
323 |
+
msgid "Hide user avatar"
|
324 |
+
msgstr "Скрыть аватар"
|
|
|
|
|
|
|
|
|
|
|
325 |
|
326 |
+
#: options/options-layouts/settings-social.php:10
|
327 |
+
#: options/options-layouts/settings-social.php:12
|
328 |
+
#: options/options-layouts/settings-social.php:14 wc.php:1018
|
329 |
+
msgid "Settings"
|
330 |
+
msgstr "Настройки"
|
|
|
331 |
|
332 |
+
#: options/options-layouts/settings-social.php:19
|
333 |
+
#: options/options-layouts/settings-social.php:29
|
334 |
+
#: options/options-layouts/settings-social.php:39
|
335 |
+
msgid "Activate"
|
336 |
+
msgstr "Активировать"
|
337 |
|
338 |
+
#: options/options-layouts/settings-social.php:23
|
339 |
+
#: options/options-layouts/settings-social.php:33
|
340 |
+
#: options/options-layouts/settings-social.php:43
|
341 |
+
msgid "View details/Install"
|
342 |
+
msgstr "Показать детали/установку"
|
343 |
|
344 |
+
#: options/options-layouts/settings-social.php:75 options/wc-options.php:184
|
345 |
+
msgid "Social Login"
|
346 |
+
msgstr "Вход через социальные сети"
|
347 |
|
348 |
+
#: options/options-layouts/settings-social.php:76
|
349 |
msgid ""
|
350 |
+
"You can use one of these most popular Social Login Plugins to allow your "
|
351 |
+
"visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
|
352 |
+
"OK and lots of other social network service accounts. All social login "
|
353 |
+
"buttons will be fully integrated with wpDiscuz comment forms."
|
354 |
msgstr ""
|
355 |
+
"Вы можете использовать одну из наиболее популярных плагинов входа через "
|
356 |
+
"социальные сети, чтобы комментировать с учетной записи Facebook, Twitter, "
|
357 |
+
"Google+, Wordpress, Вконтакте и т.д. Все кнопки социальных сетей будут "
|
358 |
+
"интегрированы в форму комментарий."
|
359 |
|
360 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:183
|
361 |
+
msgid "Background and Colors"
|
362 |
+
msgstr "Фон и Цвет"
|
363 |
|
364 |
+
#: options/options-layouts/settings-style.php:7
|
365 |
msgid "Comment Form Background Color"
|
366 |
+
msgstr "Фон формы комментарий"
|
367 |
+
|
368 |
+
#: options/options-layouts/settings-style.php:10
|
369 |
+
#: options/options-layouts/settings-style.php:34
|
370 |
+
#: options/options-layouts/settings-style.php:58
|
371 |
+
#: options/options-layouts/settings-style.php:82
|
372 |
+
#: options/options-layouts/settings-style.php:107
|
373 |
+
#: options/options-layouts/settings-style.php:132
|
374 |
+
#: options/options-layouts/settings-style.php:155
|
375 |
+
#: options/options-layouts/settings-style.php:178
|
376 |
msgid "Example: #00ff00"
|
377 |
+
msgstr "Пример: #00ff00"
|
378 |
|
379 |
+
#: options/options-layouts/settings-style.php:31
|
380 |
msgid "Comment Background Color"
|
381 |
msgstr "Цвет фона коментария"
|
382 |
|
383 |
+
#: options/options-layouts/settings-style.php:55
|
384 |
msgid "Reply Background Color"
|
385 |
+
msgstr "Цвет фона ответа"
|
386 |
|
387 |
+
#: options/options-layouts/settings-style.php:79
|
388 |
msgid "Comment Text Color"
|
389 |
msgstr "Цвет шрифта комментария"
|
390 |
|
391 |
+
#: options/options-layouts/settings-style.php:104
|
392 |
msgid "Author title color"
|
393 |
msgstr "Цвет подписи автора"
|
394 |
|
395 |
+
#: options/options-layouts/settings-style.php:129
|
396 |
msgid "Vote, Reply, Share, Edit links text colors"
|
397 |
msgstr "Цвет ссылок Голосовать, Ответить, Поделиться и Редактировать"
|
398 |
|
399 |
+
#: options/options-layouts/settings-style.php:152
|
400 |
+
msgid "Comment form fields border color"
|
401 |
+
msgstr "Цвет границы формы комментарий"
|
402 |
+
|
403 |
+
#: options/options-layouts/settings-style.php:175
|
404 |
msgid "New loaded comments' background color"
|
405 |
msgstr "Цвет фона новых загруженных комментариев"
|
406 |
|
407 |
+
#: options/options-layouts/settings-style.php:199
|
408 |
msgid "Custom CSS Code"
|
409 |
msgstr "Свой CSS код"
|
410 |
|
411 |
+
#: options/options-layouts/settings-subscription.php:2
|
412 |
+
msgid "Email Subscription Settings"
|
413 |
+
msgstr "Подписка через электронную почту"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
|
415 |
+
#: options/options-layouts/settings-subscription.php:7
|
416 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
417 |
+
msgstr "Показывать \"Подписаться на все последующие комментарии\""
|
|
|
|
|
|
|
|
|
418 |
|
419 |
+
#: options/options-layouts/settings-subscription.php:8
|
420 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
421 |
+
msgstr "Показывать \"Подписаться на все новые ответы на мои комментарии\""
|
422 |
|
423 |
+
#: options/options-layouts/settings-subscription.php:9
|
424 |
+
msgid "Show \"Notify of new replies to this comment\""
|
425 |
+
msgstr "Показывать \"Подписаться на новые ответы на этот комментарий\""
|
426 |
|
427 |
+
#: options/options-layouts/settings-subscription.php:11
|
428 |
+
msgid ""
|
429 |
+
"Please keep all three or at least one of those options ON, otherwise users "
|
430 |
+
"will not have any option for email notifications and they'll not get any "
|
431 |
+
"messages."
|
432 |
+
msgstr ""
|
433 |
+
"Пожалуйста, выберите все три, или как минимум одну опцию, иначе пользователи "
|
434 |
+
"не смогут увидеть их на странице комментариев и не будут получать никаких "
|
435 |
+
"уведомлений."
|
436 |
|
437 |
+
#: options/options-layouts/settings-subscription.php:30
|
438 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
439 |
+
msgstr ""
|
440 |
+
"Используйте Postmatic, чтобы подписаться и комментировать по электронной "
|
441 |
+
"почте"
|
442 |
|
443 |
+
#: options/options-layouts/settings-subscription.php:31
|
444 |
+
msgid ""
|
445 |
+
"Postmatic allows your users subscribe to comments. Instead of just being "
|
446 |
+
"notified, they add a reply right from their inbox."
|
447 |
+
msgstr ""
|
448 |
+
"Postmatic позволяет пользователям подписаться на новые комментарии. Вместо "
|
449 |
+
"того чтобы просто получать уведомление, они добавляют ответ прямо на их "
|
450 |
+
"почтовый ящик."
|
451 |
|
452 |
+
#: options/options-layouts/settings-subscription.php:42
|
453 |
+
msgid ""
|
454 |
+
"Keep selected the email notification of all new follow-up comments by default"
|
455 |
+
msgstr ""
|
456 |
+
"Выделите уведомление по электронной почте о всех новых последующих "
|
457 |
+
"комментариях по умолчанию"
|
458 |
|
459 |
+
#: options/options-layouts/settings-subscription.php:43
|
460 |
+
msgid ""
|
461 |
+
"If this option is checked-on, in Manage Subscriptions section of comment "
|
462 |
+
"forms will only be displayed the \"Notify of all new follow-up comments\" "
|
463 |
+
"option and this option will always be selected by default."
|
464 |
+
msgstr ""
|
465 |
+
"Если эта опция включена, в \"Управление Подписки\" раздела формы комментарий "
|
466 |
+
"будут отображаться только вариант \"Уведомлять о всех новых комментариях\" и "
|
467 |
+
"этот вариант всегда будет выбран по умолчанию."
|
468 |
|
469 |
+
#: options/phrases-layout/phrases-comment.php:2
|
470 |
+
msgid "Comment Template Phrases"
|
471 |
+
msgstr "Шаблон комментарий"
|
472 |
|
473 |
+
#: options/phrases-layout/phrases-comment.php:7
|
474 |
+
#: options/wc-options-serialize.php:437
|
475 |
msgid "Reply"
|
476 |
msgstr "Ответить "
|
477 |
|
478 |
+
#: options/phrases-layout/phrases-comment.php:17
|
479 |
+
#: options/wc-options-serialize.php:438
|
480 |
msgid "Share"
|
481 |
msgstr "Поделиться"
|
482 |
|
483 |
+
#: options/phrases-layout/phrases-comment.php:37
|
484 |
+
#: options/wc-options-serialize.php:440
|
485 |
msgid "Share On Facebook"
|
486 |
msgstr "Поделиться через Facebook"
|
487 |
|
488 |
+
#: options/phrases-layout/phrases-comment.php:47
|
489 |
+
#: options/wc-options-serialize.php:441
|
490 |
msgid "Share On Twitter"
|
491 |
msgstr "Поделиться через Twitter"
|
492 |
|
493 |
+
#: options/phrases-layout/phrases-comment.php:57
|
494 |
+
#: options/wc-options-serialize.php:442
|
495 |
msgid "Share On Google"
|
496 |
msgstr "Поделиться через Google"
|
497 |
|
498 |
+
#: options/phrases-layout/phrases-comment.php:67
|
499 |
+
#: options/wc-options-serialize.php:443
|
500 |
+
msgid "Share On VKontakte"
|
501 |
+
msgstr "Поделиться через Вконтакте"
|
502 |
+
|
503 |
+
#: options/phrases-layout/phrases-comment.php:77
|
504 |
+
#: options/wc-options-serialize.php:444
|
505 |
+
msgid "Share On Odnoklassniki"
|
506 |
+
msgstr "Поделиться через Одноклассники"
|
507 |
+
|
508 |
+
#: options/phrases-layout/phrases-comment.php:87
|
509 |
+
#: options/wc-options-serialize.php:445
|
510 |
msgid "Hide Replies"
|
511 |
msgstr "Спрятать ответы"
|
512 |
|
513 |
+
#: options/phrases-layout/phrases-comment.php:97
|
514 |
+
#: options/wc-options-serialize.php:446
|
515 |
msgid "Show Replies"
|
516 |
msgstr "Показать ответы"
|
517 |
|
518 |
+
#: options/phrases-layout/phrases-comment.php:107
|
519 |
msgid "Title For Guests"
|
520 |
msgstr "Подпись для Гостей"
|
521 |
|
522 |
+
#: options/phrases-layout/phrases-comment.php:117
|
523 |
msgid "Title For Members"
|
524 |
msgstr "Подпись для Пользователей"
|
525 |
|
526 |
+
#: options/phrases-layout/phrases-comment.php:127
|
527 |
msgid "Title For Authors"
|
528 |
msgstr "Подпись для Авторов"
|
529 |
|
530 |
+
#: options/phrases-layout/phrases-comment.php:137
|
531 |
msgid "Title For Admins"
|
532 |
msgstr "Подпись для Админов"
|
533 |
|
534 |
+
#: options/phrases-layout/phrases-comment.php:147
|
535 |
+
#: options/wc-options-serialize.php:488
|
536 |
+
msgid "Vote Up"
|
537 |
+
msgstr "Голос за"
|
538 |
+
|
539 |
+
#: options/phrases-layout/phrases-comment.php:157
|
540 |
+
#: options/wc-options-serialize.php:489
|
541 |
+
msgid "Vote Down"
|
542 |
+
msgstr "Голос против"
|
543 |
+
|
544 |
+
#: options/phrases-layout/phrases-comment.php:167
|
545 |
+
msgid "Save edited comment button text"
|
546 |
+
msgstr "Сохранить отредактированный текст кнопки комментария"
|
547 |
+
|
548 |
+
#: options/phrases-layout/phrases-comment.php:171
|
549 |
+
#: options/wc-options-serialize.php:507
|
550 |
+
msgid "Save"
|
551 |
+
msgstr "Сохранить"
|
552 |
+
|
553 |
+
#: options/phrases-layout/phrases-comment.php:177
|
554 |
+
msgid "Cancel comment editing button text"
|
555 |
+
msgstr "Отменить текст кнопки редактирования комментария"
|
556 |
+
|
557 |
+
#: options/phrases-layout/phrases-comment.php:181
|
558 |
+
#: options/wc-options-serialize.php:508
|
559 |
+
msgid "Cancel"
|
560 |
+
msgstr "Отменить"
|
561 |
+
|
562 |
+
#: options/phrases-layout/phrases-datetime.php:2
|
563 |
+
msgid "Date/Time Phrases"
|
564 |
+
msgstr "Дата/Время фразы"
|
565 |
+
|
566 |
+
#: options/phrases-layout/phrases-datetime.php:7
|
567 |
+
msgid "Year"
|
568 |
+
msgstr "Год"
|
569 |
+
|
570 |
+
#: options/phrases-layout/phrases-datetime.php:18
|
571 |
+
msgid "Years (Plural Form)"
|
572 |
+
msgstr "Годы (форма множественного числа)"
|
573 |
+
|
574 |
+
#: options/phrases-layout/phrases-datetime.php:22
|
575 |
+
msgid "Years"
|
576 |
+
msgstr "Лет"
|
577 |
+
|
578 |
+
#: options/phrases-layout/phrases-datetime.php:29
|
579 |
+
msgid "Month"
|
580 |
+
msgstr "Месяц"
|
581 |
+
|
582 |
+
#: options/phrases-layout/phrases-datetime.php:40
|
583 |
+
msgid "Months (Plural Form)"
|
584 |
+
msgstr "Месяцв (форма множественного числа)"
|
585 |
+
|
586 |
+
#: options/phrases-layout/phrases-datetime.php:51
|
587 |
+
msgid "Day"
|
588 |
+
msgstr "День"
|
589 |
+
|
590 |
+
#: options/phrases-layout/phrases-datetime.php:62
|
591 |
+
msgid "Days (Plural Form)"
|
592 |
+
msgstr "Дни (форма множественного числа)"
|
593 |
+
|
594 |
+
#: options/phrases-layout/phrases-datetime.php:84
|
595 |
+
msgid "Hours (Plural Form)"
|
596 |
+
msgstr "Часы (форма множественного числа)"
|
597 |
+
|
598 |
+
#: options/phrases-layout/phrases-datetime.php:106
|
599 |
+
msgid "Minutes (Plural Form)"
|
600 |
+
msgstr "Минуты (форма множественного числа)"
|
601 |
+
|
602 |
+
#: options/phrases-layout/phrases-datetime.php:117
|
603 |
+
msgid "Second"
|
604 |
+
msgstr "Секунды"
|
605 |
+
|
606 |
+
#: options/phrases-layout/phrases-datetime.php:128
|
607 |
+
msgid "Seconds (Plural Form)"
|
608 |
+
msgstr "Секунды (форма множественного числа)"
|
609 |
+
|
610 |
+
#: options/phrases-layout/phrases-datetime.php:138
|
611 |
+
msgid "Commented \"right now\" text"
|
612 |
+
msgstr "Текст \"только что\" прокомментировано"
|
613 |
+
|
614 |
+
#: options/phrases-layout/phrases-datetime.php:149
|
615 |
+
msgid "Ago text"
|
616 |
+
msgstr "Тест \"тому назад\""
|
617 |
+
|
618 |
+
#: options/phrases-layout/phrases-datetime.php:160
|
619 |
+
msgid "\"Today\" text"
|
620 |
+
msgstr "Текст \"Сегодня\""
|
621 |
+
|
622 |
+
#: options/phrases-layout/phrases-datetime.php:164
|
623 |
+
#: options/wc-options-serialize.php:482
|
624 |
+
msgid "Today"
|
625 |
+
msgstr "Сегодня"
|
626 |
+
|
627 |
+
#: options/phrases-layout/phrases-email.php:2
|
628 |
+
msgid "Email Template Phrases"
|
629 |
+
msgstr "Шаблон электронного письма"
|
630 |
+
|
631 |
+
#: options/phrases-layout/phrases-email.php:7
|
632 |
msgid "Email Subject"
|
633 |
+
msgstr "Тема электронного письма"
|
634 |
|
635 |
+
#: options/phrases-layout/phrases-email.php:18
|
636 |
msgid "Email Message"
|
637 |
+
msgstr "Сообщение электроного письма"
|
638 |
|
639 |
+
#: options/phrases-layout/phrases-email.php:29
|
640 |
msgid "New Reply Subject"
|
641 |
+
msgstr "Ответ на тему"
|
642 |
|
643 |
+
#: options/phrases-layout/phrases-email.php:33
|
644 |
+
#: options/phrases-layout/phrases-general.php:101
|
645 |
+
#: options/wc-options-serialize.php:453
|
646 |
msgid "New Reply"
|
647 |
msgstr "Новый ответ"
|
648 |
|
649 |
+
#: options/phrases-layout/phrases-email.php:40
|
|
|
650 |
msgid "New Reply Message"
|
651 |
+
msgstr "Новый ответ на сообщение"
|
652 |
+
|
653 |
+
#: options/phrases-layout/phrases-email.php:50
|
654 |
+
#: options/phrases-layout/phrases-email.php:54
|
655 |
+
#: options/wc-options-serialize.php:458
|
656 |
+
msgid "Unsubscribe"
|
657 |
msgstr "Отписаться"
|
658 |
|
659 |
+
#: options/phrases-layout/phrases-email.php:61
|
660 |
+
#: options/phrases-layout/phrases-email.php:65
|
661 |
+
#: options/wc-options-serialize.php:459
|
662 |
+
msgid "Ignore Subscription"
|
663 |
+
msgstr "Игнорировать подписку"
|
664 |
+
|
665 |
+
#: options/phrases-layout/phrases-email.php:72
|
666 |
+
#: options/phrases-layout/phrases-email.php:76
|
667 |
+
#: options/wc-options-serialize.php:461
|
668 |
+
msgid "Confirm your subscription"
|
669 |
+
msgstr "Подтвердить подписку"
|
670 |
+
|
671 |
+
#: options/phrases-layout/phrases-email.php:82
|
672 |
+
#: options/phrases-layout/phrases-email.php:86
|
673 |
+
#: options/wc-options-serialize.php:462
|
674 |
+
msgid "You've successfully confirmed your subscription."
|
675 |
+
msgstr "Вы успешпо подтвердили подписку"
|
676 |
+
|
677 |
+
#: options/phrases-layout/phrases-email.php:92
|
678 |
+
msgid "Subscribe Confirmation Email Subject"
|
679 |
+
msgstr "Тема подписки по электронной почте"
|
680 |
+
|
681 |
+
#: options/phrases-layout/phrases-email.php:96
|
682 |
+
#: options/wc-options-serialize.php:463 wc.php:941
|
683 |
+
msgid "Subscribe Confirmation"
|
684 |
+
msgstr "Подтверждение подписки"
|
685 |
+
|
686 |
+
#: options/phrases-layout/phrases-email.php:103
|
687 |
+
msgid "Subscribe Confirmation Email Content"
|
688 |
+
msgstr "Содержание формы подписки"
|
689 |
+
|
690 |
+
#: options/phrases-layout/phrases-email.php:107
|
691 |
+
#: options/wc-options-serialize.php:464 wc.php:942
|
692 |
+
msgid ""
|
693 |
+
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
694 |
+
"you will receive an email when new comments are posted according to "
|
695 |
+
"subscription option you've chosen. <br/> To activate, click confirm below. "
|
696 |
+
"If you believe this is an error, ignore this message and we'll never bother "
|
697 |
+
"you again."
|
698 |
+
msgstr ""
|
699 |
+
"Здравствуйте, <br/> Вы подписались на новые комментарии на нашем сайте. Это "
|
700 |
+
"означает, что вы получите по электронной почте сообщение при появлении новых "
|
701 |
+
"комментарий в соответствии с выбранным вариантом подписки. <br/> Для "
|
702 |
+
"активации нажмите подтверждение ниже. Если вы считаете, что это ошибка, "
|
703 |
+
"проигнорируйте это сообщение, и мы никогда не будем беспокоить вас снова. "
|
704 |
+
"<br/> С уважением, команда Bowandtie.ru"
|
705 |
+
|
706 |
+
#: options/phrases-layout/phrases-form.php:2
|
707 |
+
msgid "Form Template Phrases"
|
708 |
+
msgstr "Шаблон сообщений"
|
709 |
+
|
710 |
+
#: options/phrases-layout/phrases-form.php:7
|
711 |
+
msgid "Comment Field Start"
|
712 |
+
msgstr "Фраза \"Начать обсуждение\""
|
713 |
+
|
714 |
+
#: options/phrases-layout/phrases-form.php:17
|
715 |
+
msgid "Comment Field Join"
|
716 |
+
msgstr "Фраза \"Присоединиться к обсуждению\""
|
717 |
+
|
718 |
+
#: options/phrases-layout/phrases-form.php:27
|
719 |
+
msgid "Email Field"
|
720 |
+
msgstr "Email"
|
721 |
+
|
722 |
+
#: options/phrases-layout/phrases-form.php:37
|
723 |
+
msgid "Name Field"
|
724 |
+
msgstr "Имя"
|
725 |
+
|
726 |
+
#: options/phrases-layout/phrases-form.php:47
|
727 |
+
msgid "WebSite URL Field"
|
728 |
+
msgstr "Поле URL вебсайта"
|
729 |
+
|
730 |
+
#: options/phrases-layout/phrases-form.php:57
|
731 |
+
msgid "CAPTCHA Field"
|
732 |
+
msgstr "CAPTCHA"
|
733 |
+
|
734 |
+
#: options/phrases-layout/phrases-form.php:67
|
735 |
+
msgid "Submit Button"
|
736 |
+
msgstr "Кнопка подписки"
|
737 |
+
|
738 |
+
#: options/phrases-layout/phrases-form.php:77
|
739 |
+
#: options/phrases-layout/phrases-form.php:81
|
740 |
+
#: options/wc-options-serialize.php:430
|
741 |
+
msgid "Manage Subscriptions"
|
742 |
+
msgstr "Управление Подпиской"
|
743 |
+
|
744 |
+
#: options/phrases-layout/phrases-form.php:87
|
745 |
+
msgid "Notify \"None\""
|
746 |
+
msgstr "Сообщите \"Нет\""
|
747 |
+
|
748 |
+
#: options/phrases-layout/phrases-form.php:91
|
749 |
+
#: options/wc-options-serialize.php:431
|
750 |
+
msgid "None"
|
751 |
+
msgstr "Ничего"
|
752 |
+
|
753 |
+
#: options/phrases-layout/phrases-form.php:97
|
754 |
+
msgid "Notify on new comments (checkbox)"
|
755 |
+
msgstr "Сообщать о новых ответах на этот коментарий (галочка)"
|
756 |
+
|
757 |
+
#: options/phrases-layout/phrases-form.php:101
|
758 |
+
#: options/wc-options-serialize.php:432
|
759 |
+
msgid "Notify of all new follow-up comments"
|
760 |
+
msgstr "Сообщать о всех последующих комментариях (галочка)"
|
761 |
+
|
762 |
+
#: options/phrases-layout/phrases-form.php:108
|
763 |
+
msgid "Notify on all new replies (checkbox)"
|
764 |
+
msgstr "Сообщать об ответах на все мои коментарии (галочка)"
|
765 |
+
|
766 |
+
#: options/phrases-layout/phrases-form.php:112
|
767 |
+
#: options/wc-options-serialize.php:433
|
768 |
+
msgid "Notify of new replies to all my comments"
|
769 |
+
msgstr "Сообщать о всех новых ответах на мои комментарии"
|
770 |
+
|
771 |
+
#: options/phrases-layout/phrases-form.php:119
|
772 |
+
msgid "Notify on new replies (checkbox)"
|
773 |
+
msgstr "Сообщать о новых ответах (галочка)"
|
774 |
+
|
775 |
+
#: options/phrases-layout/phrases-form.php:123
|
776 |
+
#: options/wc-options-serialize.php:434
|
777 |
+
msgid "Notify of new replies to this comment"
|
778 |
+
msgstr "Сообщать о новых ответах на этот комментарий"
|
779 |
+
|
780 |
+
#: options/phrases-layout/phrases-form.php:129
|
781 |
msgid "Subscribed on this comment replies"
|
782 |
msgstr "Подписка на ответы на этот коммент"
|
783 |
|
784 |
+
#: options/phrases-layout/phrases-form.php:139
|
785 |
msgid "Subscribed on all your comments replies"
|
786 |
msgstr "Подписка на ответы на все комменты пользователя"
|
787 |
|
788 |
+
#: options/phrases-layout/phrases-form.php:149
|
789 |
msgid "Subscribed on this post"
|
790 |
msgstr "Подписка на все комменты к записи"
|
791 |
|
792 |
+
#: options/phrases-layout/phrases-general.php:2
|
793 |
+
msgid "General Phrases"
|
794 |
+
msgstr "Общие фразы"
|
795 |
|
796 |
+
#: options/phrases-layout/phrases-general.php:7
|
797 |
+
#: options/wc-options-serialize.php:418
|
798 |
+
msgid "Leave a Reply"
|
799 |
+
msgstr "Отправить ответ"
|
800 |
|
801 |
+
#: options/phrases-layout/phrases-general.php:17
|
802 |
+
msgid "Be the first to comment"
|
803 |
+
msgstr "Оставьте первый комментарий"
|
804 |
|
805 |
+
#: options/phrases-layout/phrases-general.php:27
|
806 |
+
#: options/wc-options-serialize.php:420 options/wc-options.php:353
|
807 |
+
msgid "Comment"
|
808 |
+
msgstr "Комментарий"
|
809 |
|
810 |
+
#: options/phrases-layout/phrases-general.php:37
|
811 |
+
msgid "Comment (Plural Form)"
|
812 |
+
msgstr "Комментарий (форма множественного числа)"
|
813 |
|
814 |
+
#: options/phrases-layout/phrases-general.php:47
|
815 |
+
msgid "On"
|
816 |
+
msgstr "Включено"
|
817 |
|
818 |
+
#: options/phrases-layout/phrases-general.php:57
|
819 |
+
msgid "Load More Button"
|
820 |
+
msgstr "Кнопка \"Загрузить ещё\""
|
821 |
|
822 |
+
#: options/phrases-layout/phrases-general.php:67
|
823 |
+
#: options/wc-options-serialize.php:436
|
824 |
+
msgid "Load Rest of Comments"
|
825 |
+
msgstr "Загрузить остальные комментарии"
|
826 |
|
827 |
+
#: options/phrases-layout/phrases-general.php:77
|
828 |
+
msgid "Button text if has new comment"
|
829 |
+
msgstr "Текст кнопки, если есть новый комментарий"
|
830 |
|
831 |
+
#: options/phrases-layout/phrases-general.php:81
|
832 |
+
#: options/wc-options-serialize.php:451
|
833 |
+
msgid "New Comment"
|
834 |
+
msgstr "Новый комментарий"
|
835 |
|
836 |
+
#: options/phrases-layout/phrases-general.php:87
|
837 |
+
msgid "Button text if has new comments (Plural Form)"
|
838 |
+
msgstr "Текст кнопки, если есть новый комментарий (Форма множественного числа)"
|
839 |
|
840 |
+
#: options/phrases-layout/phrases-general.php:91
|
841 |
+
msgid "New Comments"
|
842 |
+
msgstr "Новые комментарии"
|
843 |
|
844 |
+
#: options/phrases-layout/phrases-general.php:97
|
845 |
+
msgid "Button text if has new reply"
|
846 |
+
msgstr "Текст кнопки, если есть новый ответ"
|
847 |
|
848 |
+
#: options/phrases-layout/phrases-general.php:107
|
849 |
+
msgid "Button text if has new replies (Plural Form)"
|
850 |
+
msgstr "Текст кнопки, если есть новый ответ (множественная форма числа)"
|
851 |
+
|
852 |
+
#: options/phrases-layout/phrases-general.php:111
|
853 |
+
msgid "New Replies"
|
854 |
+
msgstr "Новые ответы"
|
855 |
+
|
856 |
+
#: options/phrases-layout/phrases-general.php:117
|
857 |
+
msgid "Text on load more button if has new comment(s)"
|
858 |
+
msgstr "Текст кнопки, если нет больше комментарий для загрузки"
|
859 |
+
|
860 |
+
#: options/phrases-layout/phrases-general.php:121
|
861 |
+
#: options/wc-options-serialize.php:503
|
862 |
+
msgid "New"
|
863 |
+
msgstr "Новое"
|
864 |
+
|
865 |
+
#: options/phrases-layout/phrases-notification.php:2
|
866 |
+
msgid "Notification Phrases"
|
867 |
+
msgstr "Уведомления"
|
868 |
|
869 |
+
#: options/phrases-layout/phrases-notification.php:7
|
870 |
+
#: options/wc-options-serialize.php:460
|
871 |
+
msgid "You've successfully unsubscribed."
|
872 |
+
msgstr "Вы успешно отписались."
|
873 |
+
|
874 |
+
#: options/phrases-layout/phrases-notification.php:18
|
875 |
+
msgid "Error message for empty field"
|
876 |
+
msgstr "Сообщение об ошибке - пустое поле"
|
877 |
+
|
878 |
+
#: options/phrases-layout/phrases-notification.php:28
|
879 |
+
msgid "Error message for invalid email field"
|
880 |
+
msgstr "Сообщение об ошибке - неверный email адрес"
|
881 |
+
|
882 |
+
#: options/phrases-layout/phrases-notification.php:38
|
883 |
+
msgid "Error message for invalid website url field"
|
884 |
+
msgstr "Сообщение об ошибке - неверный URL вебсайта"
|
885 |
+
|
886 |
+
#: options/phrases-layout/phrases-notification.php:48
|
887 |
+
#: options/wc-options-serialize.php:483
|
888 |
msgid "You must be"
|
889 |
msgstr "Вы должны быть "
|
890 |
|
891 |
+
#: options/phrases-layout/phrases-notification.php:58
|
892 |
msgid "Logged in as"
|
893 |
msgstr "Вошли как"
|
894 |
|
895 |
+
#: options/phrases-layout/phrases-notification.php:68
|
896 |
+
#: options/wc-options-serialize.php:485
|
897 |
msgid "Log out"
|
898 |
msgstr "Выйти"
|
899 |
|
900 |
+
#: options/phrases-layout/phrases-notification.php:78
|
901 |
msgid "Logged In"
|
902 |
msgstr "Зарегистрированы"
|
903 |
|
904 |
+
#: options/phrases-layout/phrases-notification.php:88
|
905 |
msgid "To post a comment"
|
906 |
msgstr "Чтобы оставить комментарий"
|
907 |
|
908 |
+
#: options/phrases-layout/phrases-notification.php:98
|
909 |
+
#: options/wc-options-serialize.php:490
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
910 |
msgid "Vote Counted"
|
911 |
msgstr "Голос учтен"
|
912 |
|
913 |
+
#: options/phrases-layout/phrases-notification.php:108
|
914 |
msgid "You can vote only 1 time"
|
915 |
msgstr "Вы можете проголосовать только один раз"
|
916 |
|
917 |
+
#: options/phrases-layout/phrases-notification.php:118
|
918 |
+
#: options/wc-options-serialize.php:492
|
919 |
msgid "Voting Error"
|
920 |
msgstr "Ошибка голосования"
|
921 |
|
922 |
+
#: options/phrases-layout/phrases-notification.php:128
|
923 |
msgid "Login To Vote"
|
924 |
msgstr "Залогиньтесь, чтобы голосовать"
|
925 |
|
926 |
+
#: options/phrases-layout/phrases-notification.php:138
|
927 |
msgid "You Cannot Vote On Your Comment"
|
928 |
msgstr "Вы не можете проголосовать за свой комментарий"
|
929 |
|
930 |
+
#: options/phrases-layout/phrases-notification.php:148
|
931 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
932 |
+
msgstr ""
|
933 |
+
"Вы не можете проголосовать за этот комментарий (голосование с того же IP "
|
934 |
+
"адреса)"
|
935 |
+
|
936 |
+
#: options/phrases-layout/phrases-notification.php:158
|
937 |
+
#: options/wc-options-serialize.php:496
|
938 |
msgid "Invalid Captcha Code"
|
939 |
msgstr "Неверно введен код"
|
940 |
|
941 |
+
#: options/phrases-layout/phrases-notification.php:168
|
942 |
+
#: options/wc-options-serialize.php:497
|
943 |
msgid "Some of field value is invalid"
|
944 |
msgstr "Некоторые поля заполнены неверно"
|
945 |
|
946 |
+
#: options/phrases-layout/phrases-notification.php:178
|
947 |
msgid "Comment waiting moderation"
|
948 |
msgstr "Комментарий ожидает модерации"
|
949 |
|
950 |
+
#: options/phrases-layout/phrases-notification.php:188
|
951 |
+
msgid "Message if comment content length is too long"
|
952 |
+
msgstr "Сообщить, если длина комментария слишком большая"
|
953 |
|
954 |
+
#: options/phrases-layout/phrases-notification.php:198
|
955 |
+
msgid "Message if comment was not updated"
|
956 |
+
msgstr "Сообщить, если комментарий не был обновлен"
|
957 |
|
958 |
+
#: options/phrases-layout/phrases-notification.php:202
|
959 |
+
#: options/wc-options-serialize.php:504
|
960 |
+
msgid "Sorry, the comment was not updated"
|
961 |
+
msgstr "Извините, комментарий не был обновлен"
|
962 |
|
963 |
+
#: options/phrases-layout/phrases-notification.php:208
|
964 |
+
msgid "Message if comment no longer possible to edit"
|
965 |
+
msgstr "Сообщить, если комментарий уже нельзя обновить"
|
966 |
|
967 |
+
#: options/phrases-layout/phrases-notification.php:212
|
968 |
+
#: options/wc-options-serialize.php:505
|
969 |
+
msgid "Sorry, this comment no longer possible to edit"
|
970 |
+
msgstr "Извините, но комментарий уже нельзя обновить"
|
971 |
|
972 |
+
#: options/phrases-layout/phrases-notification.php:219
|
973 |
+
msgid "Message if comment text not changed"
|
974 |
+
msgstr "Сообщить, если комментарий не был изменён"
|
975 |
|
976 |
+
#: options/phrases-layout/phrases-notification.php:223
|
977 |
+
msgid "TYou've not made any changes"
|
978 |
+
msgstr "Вы не сделали никаких изменений"
|
979 |
|
980 |
+
#: options/wc-options-serialize.php:419
|
981 |
+
msgid "Be the First to Comment!"
|
982 |
+
msgstr "Оставьте первый комментарий!"
|
983 |
|
984 |
+
#: options/wc-options-serialize.php:421
|
985 |
+
msgid "Comments"
|
986 |
+
msgstr "Комментарий"
|
987 |
+
|
988 |
+
#: options/wc-options-serialize.php:422
|
989 |
+
msgid "on"
|
990 |
+
msgstr "на"
|
991 |
+
|
992 |
+
#: options/wc-options-serialize.php:423
|
993 |
+
msgid "Start the discussion"
|
994 |
+
msgstr "Начать обсуждение"
|
995 |
+
|
996 |
+
#: options/wc-options-serialize.php:424
|
997 |
+
msgid "Join the discussion"
|
998 |
+
msgstr "Присоединиться к обсуждению"
|
999 |
+
|
1000 |
+
#: options/wc-options-serialize.php:425 options/wc-options.php:355
|
1001 |
+
msgid "Email"
|
1002 |
+
msgstr "Email"
|
1003 |
+
|
1004 |
+
#: options/wc-options-serialize.php:426
|
1005 |
+
msgid "Name"
|
1006 |
+
msgstr "Имя"
|
1007 |
+
|
1008 |
+
#: options/wc-options-serialize.php:427
|
1009 |
+
msgid "WebSite URL"
|
1010 |
+
msgstr "URL веб-сайта"
|
1011 |
+
|
1012 |
+
#: options/wc-options-serialize.php:428
|
1013 |
+
msgid "Please insert the code above to comment"
|
1014 |
+
msgstr "Пожалуйста, введите код, указанный выше"
|
1015 |
+
|
1016 |
+
#: options/wc-options-serialize.php:429
|
1017 |
+
msgid "Post Comment"
|
1018 |
+
msgstr "Оставить комментарий"
|
1019 |
+
|
1020 |
+
#: options/wc-options-serialize.php:435
|
1021 |
+
msgid "Load More Comments"
|
1022 |
+
msgstr "Загрузить ещё комментарии"
|
1023 |
+
|
1024 |
+
#: options/wc-options-serialize.php:447
|
1025 |
+
msgid "Guest"
|
1026 |
+
msgstr "Гость"
|
1027 |
+
|
1028 |
+
#: options/wc-options-serialize.php:448
|
1029 |
+
msgid "Member"
|
1030 |
+
msgstr "Участник"
|
1031 |
+
|
1032 |
+
#: options/wc-options-serialize.php:449
|
1033 |
+
msgid "Author"
|
1034 |
+
msgstr "Автор"
|
1035 |
+
|
1036 |
+
#: options/wc-options-serialize.php:450
|
1037 |
+
msgid "Admin"
|
1038 |
+
msgstr "Администратор"
|
1039 |
+
|
1040 |
+
#: options/wc-options-serialize.php:452
|
1041 |
+
msgid "New comment on the discussion section you've been interested in"
|
1042 |
+
msgstr "Новый комментарий в обсуждении, в котором вы были заинтересованы"
|
1043 |
+
|
1044 |
+
#: options/wc-options-serialize.php:454
|
1045 |
+
msgid "New reply on the discussion section you've been interested in"
|
1046 |
+
msgstr "Новый ответ в обсуждении, в котором вы были заинтересованы"
|
1047 |
+
|
1048 |
+
#: options/wc-options-serialize.php:455
|
1049 |
+
msgid "You're subscribed for new replies on this comment"
|
1050 |
+
msgstr "Вы подписались на новые ответы на этот комментарий"
|
1051 |
+
|
1052 |
+
#: options/wc-options-serialize.php:456
|
1053 |
+
msgid "You're subscribed for new replies on all your comments"
|
1054 |
+
msgstr "Вы подписались на все новые комментарии"
|
1055 |
+
|
1056 |
+
#: options/wc-options-serialize.php:457
|
1057 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
1058 |
+
msgstr "Вы подписались на новые комментарии в этой статье"
|
1059 |
+
|
1060 |
+
#: options/wc-options-serialize.php:465
|
1061 |
+
msgid "please fill out this field to comment"
|
1062 |
+
msgstr "пожалуйста, заполните это поле, чтобы комментировать"
|
1063 |
+
|
1064 |
+
#: options/wc-options-serialize.php:466
|
1065 |
+
msgid "email address is invalid"
|
1066 |
+
msgstr "Адрес электронной почты недействителен"
|
1067 |
+
|
1068 |
+
#: options/wc-options-serialize.php:467
|
1069 |
+
msgid "url is invalid"
|
1070 |
+
msgstr "Ссылка недействительна"
|
1071 |
+
|
1072 |
+
#: options/wc-options-serialize.php:468
|
1073 |
+
msgid "year"
|
1074 |
+
msgstr "год"
|
1075 |
+
|
1076 |
+
#: options/wc-options-serialize.php:469
|
1077 |
+
msgid "years"
|
1078 |
+
msgstr "лет"
|
1079 |
|
1080 |
+
#: options/wc-options-serialize.php:470
|
1081 |
+
msgid "month"
|
1082 |
+
msgstr "месяц"
|
1083 |
+
|
1084 |
+
#: options/wc-options-serialize.php:471
|
1085 |
+
msgid "months"
|
1086 |
+
msgstr "месяцев"
|
1087 |
+
|
1088 |
+
#: options/wc-options-serialize.php:472
|
1089 |
+
msgid "day"
|
1090 |
+
msgstr "день"
|
1091 |
+
|
1092 |
+
#: options/wc-options-serialize.php:473
|
1093 |
+
msgid "days"
|
1094 |
+
msgstr "дней"
|
1095 |
+
|
1096 |
+
#: options/wc-options-serialize.php:474
|
1097 |
+
msgid "hour"
|
1098 |
+
msgstr "час"
|
1099 |
+
|
1100 |
+
#: options/wc-options-serialize.php:475
|
1101 |
+
msgid "hours"
|
1102 |
+
msgstr "часов"
|
1103 |
+
|
1104 |
+
#: options/wc-options-serialize.php:476
|
1105 |
+
msgid "minute"
|
1106 |
+
msgstr "минута"
|
1107 |
+
|
1108 |
+
#: options/wc-options-serialize.php:477
|
1109 |
+
msgid "minutes"
|
1110 |
+
msgstr "минут"
|
1111 |
+
|
1112 |
+
#: options/wc-options-serialize.php:478
|
1113 |
+
msgid "second"
|
1114 |
+
msgstr "секунда"
|
1115 |
+
|
1116 |
+
#: options/wc-options-serialize.php:479
|
1117 |
+
msgid "seconds"
|
1118 |
+
msgstr "секунд"
|
1119 |
+
|
1120 |
+
#: options/wc-options-serialize.php:480
|
1121 |
+
msgid "right now"
|
1122 |
+
msgstr "прямо сейчас"
|
1123 |
+
|
1124 |
+
#: options/wc-options-serialize.php:481
|
1125 |
+
msgid "ago"
|
1126 |
+
msgstr "назад"
|
1127 |
+
|
1128 |
+
#: options/wc-options-serialize.php:484
|
1129 |
+
msgid "You are logged in as"
|
1130 |
+
msgstr "Вы вошли как"
|
1131 |
+
|
1132 |
+
#: options/wc-options-serialize.php:486
|
1133 |
+
msgid "logged in"
|
1134 |
+
msgstr "зарегистрированы"
|
1135 |
+
|
1136 |
+
#: options/wc-options-serialize.php:487
|
1137 |
+
msgid "to post a comment."
|
1138 |
+
msgstr "чтобы оставить комментарий"
|
1139 |
+
|
1140 |
+
#: options/wc-options-serialize.php:491
|
1141 |
+
msgid "You've already voted for this comment"
|
1142 |
+
msgstr "Вы уже голосовали за этот комментарий"
|
1143 |
+
|
1144 |
+
#: options/wc-options-serialize.php:493
|
1145 |
+
msgid "You Must Be Logged In To Vote"
|
1146 |
+
msgstr "Вы должны войти , чтобы проголосовать"
|
1147 |
+
|
1148 |
+
#: options/wc-options-serialize.php:494
|
1149 |
+
msgid "You cannot vote for your comment"
|
1150 |
+
msgstr "Вы не можете голосовать за свой комментарий"
|
1151 |
+
|
1152 |
+
#: options/wc-options-serialize.php:495
|
1153 |
+
msgid "You are not allowed to vote for this comment"
|
1154 |
+
msgstr "Вы не можете голосовать за этот комментарий"
|
1155 |
+
|
1156 |
+
#: options/wc-options-serialize.php:498
|
1157 |
+
msgid "new comment"
|
1158 |
+
msgstr "новый комментарий"
|
1159 |
+
|
1160 |
+
#: options/wc-options-serialize.php:499
|
1161 |
+
msgid "new comments"
|
1162 |
+
msgstr "новые комментарии"
|
1163 |
+
|
1164 |
+
#: options/wc-options-serialize.php:500
|
1165 |
+
msgid "Comment awaiting moderation"
|
1166 |
+
msgstr "Комментарий ожидает модерации"
|
1167 |
+
|
1168 |
+
#: options/wc-options-serialize.php:501
|
1169 |
+
msgid "new reply on your comment"
|
1170 |
+
msgstr "новый ответ на ваш комментарий"
|
1171 |
+
|
1172 |
+
#: options/wc-options-serialize.php:502
|
1173 |
+
msgid "new replies on your comments"
|
1174 |
+
msgstr "новые ответы на ваши комментарии"
|
1175 |
+
|
1176 |
+
#: options/wc-options-serialize.php:506
|
1177 |
+
msgid "You've not made any changes"
|
1178 |
+
msgstr "Вы не сделали никаких изменений"
|
1179 |
+
|
1180 |
+
#: options/wc-options-serialize.php:509
|
1181 |
+
#, php-format
|
1182 |
+
msgid "Comment text is too long (maximum %s characters allowed)"
|
1183 |
+
msgstr "Комментарий слишком длинный (доступно максимум %s символов)"
|
1184 |
+
|
1185 |
+
#: options/wc-options.php:28 options/wc-options.php:232
|
1186 |
msgid "Hacker?"
|
1187 |
msgstr "Хакер?"
|
1188 |
|
1189 |
+
#: options/wc-options.php:87
|
1190 |
msgid "wpDiscuz General Settings"
|
1191 |
msgstr "Основные настройки wpDiscuz"
|
1192 |
|
1193 |
+
#: options/wc-options.php:179
|
1194 |
+
msgid "General settings"
|
1195 |
+
msgstr "Основные настройки"
|
1196 |
+
|
1197 |
+
#: options/wc-options.php:182
|
1198 |
+
msgid "Email Subscription"
|
1199 |
+
msgstr "E-mail подписка"
|
1200 |
+
|
1201 |
+
#: options/wc-options.php:182
|
1202 |
+
msgid "and Postmatic"
|
1203 |
+
msgstr "и Postmatic?"
|
1204 |
+
|
1205 |
+
#: options/wc-options.php:213 options/wc-options.php:383
|
1206 |
msgid "Save Changes"
|
1207 |
msgstr "Сохранить изменения"
|
1208 |
|
1209 |
+
#: options/wc-options.php:214
|
1210 |
+
msgid "Reset Options"
|
1211 |
+
msgstr "Сбросить настройки"
|
1212 |
+
|
1213 |
+
#: options/wc-options.php:341
|
1214 |
msgid "WpDiscuz Front-end Phrases"
|
1215 |
msgstr "Фронт-энд фразы WpDiscuz"
|
1216 |
|
1217 |
+
#: options/wc-options.php:351
|
1218 |
+
msgid "General"
|
1219 |
+
msgstr "Основные"
|
1220 |
+
|
1221 |
+
#: options/wc-options.php:352
|
1222 |
+
msgid "Form"
|
1223 |
+
msgstr "Форма"
|
1224 |
+
|
1225 |
+
#: options/wc-options.php:354
|
1226 |
+
msgid "Date/Time"
|
1227 |
+
msgstr "Дата/Время"
|
1228 |
|
1229 |
+
#: options/wc-options.php:356
|
1230 |
+
msgid "Notification"
|
1231 |
+
msgstr "Уведомление"
|
1232 |
+
|
1233 |
+
#: wc.php:1020
|
1234 |
msgid "Phrases"
|
1235 |
msgstr "Фразы"
|
1236 |
+
|
1237 |
+
#. Plugin Name of the plugin/theme
|
1238 |
+
msgid "wpDiscuz - Wordpress Comments"
|
1239 |
+
msgstr ""
|
1240 |
+
|
1241 |
+
#. Plugin URI of the plugin/theme
|
1242 |
+
msgid "http://www.gvectors.com/wpdiscuz/"
|
1243 |
+
msgstr ""
|
1244 |
+
|
1245 |
+
#. Description of the plugin/theme
|
1246 |
+
msgid ""
|
1247 |
+
"Better comment system. Wordpress post comments and discussion plugin. Allows "
|
1248 |
+
"your visitors discuss, vote for comments and share."
|
1249 |
+
msgstr ""
|
1250 |
+
|
1251 |
+
#. Author of the plugin/theme
|
1252 |
+
msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
|
1253 |
+
msgstr ""
|
1254 |
+
|
1255 |
+
#. Author URI of the plugin/theme
|
1256 |
+
msgid "http://www.gvectors.com/"
|
1257 |
+
msgstr ""
|
languages/wpdiscuz.pot
ADDED
@@ -0,0 +1,1207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 wpDiscuz - Wordpress Comments
|
2 |
+
# This file is distributed under the same license as the wpDiscuz - Wordpress Comments package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: wpDiscuz - Wordpress Comments 2.2.10\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpdiscuz\n"
|
7 |
+
"POT-Creation-Date: 2015-10-01 19:50:02+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: comment-form/form.php:251 comment-form/tpl-comment.php:263
|
16 |
+
msgid "Participate in this discussion via email"
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: comment-form/form.php:455
|
20 |
+
msgid "Connect with"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: comment-form/tpl-comment.php:174
|
24 |
+
#: options/phrases-layout/phrases-comment.php:27
|
25 |
+
#: options/wc-options-serialize.php:449
|
26 |
+
msgid "Edit"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: comment-form/tpl-comment.php:388 wc.php:325
|
30 |
+
msgid "Anonymous"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: options/options-layouts/settings-general.php:2
|
34 |
+
msgid "General Settings"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: options/options-layouts/settings-general.php:7
|
38 |
+
msgid "Display comment form for post types:"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: options/options-layouts/settings-general.php:28
|
42 |
+
msgid "User Must be registered to comment"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: options/options-layouts/settings-general.php:34
|
46 |
+
msgid "Yes"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: options/options-layouts/settings-general.php:38
|
50 |
+
msgid "No"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: options/options-layouts/settings-general.php:46
|
54 |
+
msgid "Comment author must fill out name"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: options/options-layouts/settings-general.php:57
|
58 |
+
msgid "Comment author must fill out email"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: options/options-layouts/settings-general.php:68
|
62 |
+
msgid "Show the latest comments on"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: options/options-layouts/settings-general.php:72
|
66 |
+
msgid "the top of the list"
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: options/options-layouts/settings-general.php:74
|
70 |
+
msgid "top of the threads"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: options/options-layouts/settings-general.php:76
|
74 |
+
msgid "bottom of the threads"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: options/options-layouts/settings-general.php:78
|
78 |
+
msgid "the bottom of the list"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: options/options-layouts/settings-general.php:86
|
82 |
+
msgid "Comment Threads Per Page"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: options/options-layouts/settings-general.php:97
|
86 |
+
msgid "Comment text max length"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: options/options-layouts/settings-general.php:108
|
90 |
+
msgid "Comments max depth"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: options/options-layouts/settings-general.php:113
|
94 |
+
msgid "Level"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: options/options-layouts/settings-general.php:114
|
98 |
+
#: options/options-layouts/settings-general.php:115
|
99 |
+
#: options/options-layouts/settings-general.php:116
|
100 |
+
#: options/options-layouts/settings-general.php:117
|
101 |
+
msgid "Levels"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: options/options-layouts/settings-general.php:124
|
105 |
+
msgid "Comment text size in pixels"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: options/options-layouts/settings-general.php:141
|
109 |
+
msgid "Allow comment editing for"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: options/options-layouts/settings-general.php:146
|
113 |
+
msgid "Not Allow"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: options/options-layouts/settings-general.php:147
|
117 |
+
#: options/options-layouts/settings-general.php:148
|
118 |
+
#: options/options-layouts/settings-live-update.php:41
|
119 |
+
#: options/options-layouts/settings-live-update.php:42
|
120 |
+
#: options/options-layouts/settings-live-update.php:43
|
121 |
+
msgid "Minutes"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: options/options-layouts/settings-general.php:149
|
125 |
+
#: options/phrases-layout/phrases-datetime.php:73
|
126 |
+
msgid "Hour"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: options/options-layouts/settings-general.php:150
|
130 |
+
#: options/options-layouts/settings-general.php:151
|
131 |
+
msgid "Hours"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: options/options-layouts/settings-general.php:158
|
135 |
+
msgid "Redirect first commenter to"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: options/options-layouts/settings-general.php:165
|
139 |
+
msgid "Do not redirect"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: options/options-layouts/settings-general.php:174
|
143 |
+
msgid "Allow guests to vote on comments"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: options/options-layouts/settings-general.php:184
|
147 |
+
msgid "Load WpDiscuz CSS and JS on home page"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: options/options-layouts/settings-general.php:194
|
151 |
+
msgid "Load rest of all comments on clicking the [Load More Comments] button"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: options/options-layouts/settings-general.php:205
|
155 |
+
msgid "Use WordPress Date/Time format"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: options/options-layouts/settings-general.php:206
|
159 |
+
msgid ""
|
160 |
+
"wpDiscuz shows Human Readable date format. If you check this option it'll "
|
161 |
+
"show the date/time format set in WordPress General Settings."
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: options/options-layouts/settings-general.php:213
|
165 |
+
msgid "Current Wordpress date/time format"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: options/options-layouts/settings-general.php:219
|
169 |
+
msgid "Use Plugin .PO/.MO files"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: options/options-layouts/settings-general.php:220
|
173 |
+
msgid ""
|
174 |
+
"wpDiscuz phrase system allows you to translate all front-end phrases. "
|
175 |
+
"However if you have a multi-language website it'll not allow you to add more "
|
176 |
+
"than one language translation. The only way to get it is the plugin "
|
177 |
+
"translation files (.PO / .MO). If wpDiscuz has the languages you need you "
|
178 |
+
"should check this option to disable phrase system and it'll automatically "
|
179 |
+
"translate all phrases based on language files according to current language."
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: options/options-layouts/settings-general.php:231
|
183 |
+
msgid ""
|
184 |
+
"Help wpDiscuz to grow allowing people to recognize which comment plugin you "
|
185 |
+
"use"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: options/options-layouts/settings-general.php:233
|
189 |
+
msgid ""
|
190 |
+
"Please check this option on to help wpDiscuz get more popularity as your "
|
191 |
+
"thank to the hard work we do for you totally free. This option adds a very "
|
192 |
+
"small (16x16px) icon under the comment section which will allow your site "
|
193 |
+
"visitors recognize the name of comment solution you use."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: options/options-layouts/settings-general.php:238
|
197 |
+
msgid "Thank you!"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: options/options-layouts/settings-live-update.php:2
|
201 |
+
#: options/wc-options.php:181
|
202 |
+
msgid "Live Update"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: options/options-layouts/settings-live-update.php:8
|
206 |
+
msgid "Live update options"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: options/options-layouts/settings-live-update.php:9
|
210 |
+
msgid ""
|
211 |
+
"If you use Shared Web Hosting you should make sure the \"Live Update\" "
|
212 |
+
"function doesn't overload your server resources. This function is good for "
|
213 |
+
"VPS and Dedicated Hosting Plans."
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: options/options-layouts/settings-live-update.php:14
|
217 |
+
msgid "Never update"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: options/options-layouts/settings-live-update.php:16
|
221 |
+
msgid "Turn off \"Live Update\" function"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: options/options-layouts/settings-live-update.php:18
|
225 |
+
msgid "Show new comment/reply buttons to update manualy"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: options/options-layouts/settings-live-update.php:20
|
229 |
+
msgid "Always check for new comments and show update buttons"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: options/options-layouts/settings-live-update.php:22
|
233 |
+
msgid "Always update"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: options/options-layouts/settings-live-update.php:24
|
237 |
+
msgid "Always check for new comments and update automatically"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: options/options-layouts/settings-live-update.php:32
|
241 |
+
msgid "Update comment list every"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: options/options-layouts/settings-live-update.php:37
|
245 |
+
#: options/options-layouts/settings-live-update.php:38
|
246 |
+
#: options/options-layouts/settings-live-update.php:39
|
247 |
+
msgid "Seconds"
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: options/options-layouts/settings-live-update.php:40
|
251 |
+
#: options/phrases-layout/phrases-datetime.php:95
|
252 |
+
msgid "Minute"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:182
|
256 |
+
msgid "Show/Hide Components"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: options/options-layouts/settings-show-hide.php:7
|
260 |
+
msgid "Show logged-in user name and logout link on top of main form"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: options/options-layouts/settings-show-hide.php:17
|
264 |
+
msgid "Hide Reply button for Guests"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: options/options-layouts/settings-show-hide.php:27
|
268 |
+
msgid "Hide Reply button for Members"
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: options/options-layouts/settings-show-hide.php:37
|
272 |
+
msgid "Hide Author Titles"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: options/options-layouts/settings-show-hide.php:47
|
276 |
+
msgid "Hide Voting buttons"
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: options/options-layouts/settings-show-hide.php:57
|
280 |
+
msgid "Hide Share Buttons"
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: options/options-layouts/settings-show-hide.php:67
|
284 |
+
msgid "Hide the CAPTCHA field"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: options/options-layouts/settings-show-hide.php:77
|
288 |
+
msgid "Hide the Website URL field"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: options/options-layouts/settings-show-hide.php:87
|
292 |
+
msgid "Hide header text"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: options/options-layouts/settings-show-hide.php:97
|
296 |
+
msgid "Hide user avatar"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: options/options-layouts/settings-social.php:10
|
300 |
+
#: options/options-layouts/settings-social.php:12
|
301 |
+
#: options/options-layouts/settings-social.php:14
|
302 |
+
#: options/options-layouts/settings-social.php:16 wc.php:1024
|
303 |
+
msgid "Settings"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: options/options-layouts/settings-social.php:21
|
307 |
+
#: options/options-layouts/settings-social.php:31
|
308 |
+
#: options/options-layouts/settings-social.php:41
|
309 |
+
#: options/options-layouts/settings-social.php:52
|
310 |
+
msgid "Activate"
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: options/options-layouts/settings-social.php:25
|
314 |
+
#: options/options-layouts/settings-social.php:35
|
315 |
+
#: options/options-layouts/settings-social.php:45
|
316 |
+
#: options/options-layouts/settings-social.php:56
|
317 |
+
msgid "View details/Install"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: options/options-layouts/settings-social.php:89 options/wc-options.php:185
|
321 |
+
msgid "Social Login"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: options/options-layouts/settings-social.php:90
|
325 |
+
msgid ""
|
326 |
+
"You can use one of these most popular Social Login Plugins to allow your "
|
327 |
+
"visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
|
328 |
+
"OK and lots of other social network service accounts. All social login "
|
329 |
+
"buttons will be fully integrated with wpDiscuz comment forms."
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: options/options-layouts/settings-style.php:2 options/wc-options.php:184
|
333 |
+
msgid "Background and Colors"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: options/options-layouts/settings-style.php:7
|
337 |
+
msgid "Comment Form Background Color"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: options/options-layouts/settings-style.php:10
|
341 |
+
#: options/options-layouts/settings-style.php:34
|
342 |
+
#: options/options-layouts/settings-style.php:58
|
343 |
+
#: options/options-layouts/settings-style.php:82
|
344 |
+
#: options/options-layouts/settings-style.php:107
|
345 |
+
#: options/options-layouts/settings-style.php:132
|
346 |
+
#: options/options-layouts/settings-style.php:155
|
347 |
+
#: options/options-layouts/settings-style.php:178
|
348 |
+
msgid "Example: #00ff00"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: options/options-layouts/settings-style.php:31
|
352 |
+
msgid "Comment Background Color"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
+
#: options/options-layouts/settings-style.php:55
|
356 |
+
msgid "Reply Background Color"
|
357 |
+
msgstr ""
|
358 |
+
|
359 |
+
#: options/options-layouts/settings-style.php:79
|
360 |
+
msgid "Comment Text Color"
|
361 |
+
msgstr ""
|
362 |
+
|
363 |
+
#: options/options-layouts/settings-style.php:104
|
364 |
+
msgid "Author title color"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: options/options-layouts/settings-style.php:129
|
368 |
+
msgid "Vote, Reply, Share, Edit links text colors"
|
369 |
+
msgstr ""
|
370 |
+
|
371 |
+
#: options/options-layouts/settings-style.php:152
|
372 |
+
msgid "Comment form fields border color"
|
373 |
+
msgstr ""
|
374 |
+
|
375 |
+
#: options/options-layouts/settings-style.php:175
|
376 |
+
msgid "New loaded comments' background color"
|
377 |
+
msgstr ""
|
378 |
+
|
379 |
+
#: options/options-layouts/settings-style.php:199
|
380 |
+
msgid "Custom CSS Code"
|
381 |
+
msgstr ""
|
382 |
+
|
383 |
+
#: options/options-layouts/settings-subscription.php:2
|
384 |
+
msgid "Email Subscription Settings"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: options/options-layouts/settings-subscription.php:7
|
388 |
+
msgid "Show \"Notify of all new follow-up comments\""
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: options/options-layouts/settings-subscription.php:8
|
392 |
+
msgid "Show \"Notify of new replies to all my comments\""
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: options/options-layouts/settings-subscription.php:9
|
396 |
+
msgid "Show \"Notify of new replies to this comment\""
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: options/options-layouts/settings-subscription.php:11
|
400 |
+
msgid ""
|
401 |
+
"Please keep all three or at least one of those options ON, otherwise users "
|
402 |
+
"will not have any option for email notifications and they'll not get any "
|
403 |
+
"messages."
|
404 |
+
msgstr ""
|
405 |
+
|
406 |
+
#: options/options-layouts/settings-subscription.php:30
|
407 |
+
msgid "Use Postmatic for subscriptions and commenting by email"
|
408 |
+
msgstr ""
|
409 |
+
|
410 |
+
#: options/options-layouts/settings-subscription.php:31
|
411 |
+
msgid ""
|
412 |
+
"Postmatic allows your users subscribe to comments. Instead of just being "
|
413 |
+
"notified, they add a reply right from their inbox."
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: options/options-layouts/settings-subscription.php:42
|
417 |
+
msgid ""
|
418 |
+
"Keep selected the email notification of all new follow-up comments by default"
|
419 |
+
msgstr ""
|
420 |
+
|
421 |
+
#: options/options-layouts/settings-subscription.php:43
|
422 |
+
msgid ""
|
423 |
+
"If this option is checked-on, in Manage Subscriptions section of comment "
|
424 |
+
"forms will only be displayed the \"Notify of all new follow-up comments\" "
|
425 |
+
"option and this option will always be selected by default."
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: options/phrases-layout/phrases-comment.php:2
|
429 |
+
msgid "Comment Template Phrases"
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: options/phrases-layout/phrases-comment.php:7
|
433 |
+
#: options/wc-options-serialize.php:447
|
434 |
+
msgid "Reply"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: options/phrases-layout/phrases-comment.php:17
|
438 |
+
#: options/wc-options-serialize.php:448
|
439 |
+
msgid "Share"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: options/phrases-layout/phrases-comment.php:37
|
443 |
+
#: options/wc-options-serialize.php:450
|
444 |
+
msgid "Share On Facebook"
|
445 |
+
msgstr ""
|
446 |
+
|
447 |
+
#: options/phrases-layout/phrases-comment.php:47
|
448 |
+
#: options/wc-options-serialize.php:451
|
449 |
+
msgid "Share On Twitter"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: options/phrases-layout/phrases-comment.php:57
|
453 |
+
#: options/wc-options-serialize.php:452
|
454 |
+
msgid "Share On Google"
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: options/phrases-layout/phrases-comment.php:67
|
458 |
+
#: options/wc-options-serialize.php:453
|
459 |
+
msgid "Share On VKontakte"
|
460 |
+
msgstr ""
|
461 |
+
|
462 |
+
#: options/phrases-layout/phrases-comment.php:77
|
463 |
+
#: options/wc-options-serialize.php:454
|
464 |
+
msgid "Share On Odnoklassniki"
|
465 |
+
msgstr ""
|
466 |
+
|
467 |
+
#: options/phrases-layout/phrases-comment.php:87
|
468 |
+
#: options/wc-options-serialize.php:455
|
469 |
+
msgid "Hide Replies"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: options/phrases-layout/phrases-comment.php:97
|
473 |
+
#: options/wc-options-serialize.php:456
|
474 |
+
msgid "Show Replies"
|
475 |
+
msgstr ""
|
476 |
+
|
477 |
+
#: options/phrases-layout/phrases-comment.php:107
|
478 |
+
msgid "Title For Guests"
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: options/phrases-layout/phrases-comment.php:117
|
482 |
+
msgid "Title For Members"
|
483 |
+
msgstr ""
|
484 |
+
|
485 |
+
#: options/phrases-layout/phrases-comment.php:127
|
486 |
+
msgid "Title For Authors"
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: options/phrases-layout/phrases-comment.php:137
|
490 |
+
msgid "Title For Admins"
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: options/phrases-layout/phrases-comment.php:147
|
494 |
+
#: options/wc-options-serialize.php:498
|
495 |
+
msgid "Vote Up"
|
496 |
+
msgstr ""
|
497 |
+
|
498 |
+
#: options/phrases-layout/phrases-comment.php:157
|
499 |
+
#: options/wc-options-serialize.php:499
|
500 |
+
msgid "Vote Down"
|
501 |
+
msgstr ""
|
502 |
+
|
503 |
+
#: options/phrases-layout/phrases-comment.php:167
|
504 |
+
msgid "Save edited comment button text"
|
505 |
+
msgstr ""
|
506 |
+
|
507 |
+
#: options/phrases-layout/phrases-comment.php:171
|
508 |
+
#: options/wc-options-serialize.php:517
|
509 |
+
msgid "Save"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: options/phrases-layout/phrases-comment.php:177
|
513 |
+
msgid "Cancel comment editing button text"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: options/phrases-layout/phrases-comment.php:181
|
517 |
+
#: options/wc-options-serialize.php:518
|
518 |
+
msgid "Cancel"
|
519 |
+
msgstr ""
|
520 |
+
|
521 |
+
#: options/phrases-layout/phrases-datetime.php:2
|
522 |
+
msgid "Date/Time Phrases"
|
523 |
+
msgstr ""
|
524 |
+
|
525 |
+
#: options/phrases-layout/phrases-datetime.php:7
|
526 |
+
msgid "Year"
|
527 |
+
msgstr ""
|
528 |
+
|
529 |
+
#: options/phrases-layout/phrases-datetime.php:18
|
530 |
+
msgid "Years (Plural Form)"
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: options/phrases-layout/phrases-datetime.php:22
|
534 |
+
msgid "Years"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: options/phrases-layout/phrases-datetime.php:29
|
538 |
+
msgid "Month"
|
539 |
+
msgstr ""
|
540 |
+
|
541 |
+
#: options/phrases-layout/phrases-datetime.php:40
|
542 |
+
msgid "Months (Plural Form)"
|
543 |
+
msgstr ""
|
544 |
+
|
545 |
+
#: options/phrases-layout/phrases-datetime.php:51
|
546 |
+
msgid "Day"
|
547 |
+
msgstr ""
|
548 |
+
|
549 |
+
#: options/phrases-layout/phrases-datetime.php:62
|
550 |
+
msgid "Days (Plural Form)"
|
551 |
+
msgstr ""
|
552 |
+
|
553 |
+
#: options/phrases-layout/phrases-datetime.php:84
|
554 |
+
msgid "Hours (Plural Form)"
|
555 |
+
msgstr ""
|
556 |
+
|
557 |
+
#: options/phrases-layout/phrases-datetime.php:106
|
558 |
+
msgid "Minutes (Plural Form)"
|
559 |
+
msgstr ""
|
560 |
+
|
561 |
+
#: options/phrases-layout/phrases-datetime.php:117
|
562 |
+
msgid "Second"
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: options/phrases-layout/phrases-datetime.php:128
|
566 |
+
msgid "Seconds (Plural Form)"
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: options/phrases-layout/phrases-datetime.php:138
|
570 |
+
msgid "Commented \"right now\" text"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: options/phrases-layout/phrases-datetime.php:149
|
574 |
+
msgid "Ago text"
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: options/phrases-layout/phrases-datetime.php:160
|
578 |
+
msgid "\"Today\" text"
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: options/phrases-layout/phrases-datetime.php:164
|
582 |
+
#: options/wc-options-serialize.php:492
|
583 |
+
msgid "Today"
|
584 |
+
msgstr ""
|
585 |
+
|
586 |
+
#: options/phrases-layout/phrases-email.php:2
|
587 |
+
msgid "Email Template Phrases"
|
588 |
+
msgstr ""
|
589 |
+
|
590 |
+
#: options/phrases-layout/phrases-email.php:7
|
591 |
+
msgid "Email Subject"
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: options/phrases-layout/phrases-email.php:18
|
595 |
+
msgid "Email Message"
|
596 |
+
msgstr ""
|
597 |
+
|
598 |
+
#: options/phrases-layout/phrases-email.php:29
|
599 |
+
msgid "New Reply Subject"
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
+
#: options/phrases-layout/phrases-email.php:33
|
603 |
+
#: options/phrases-layout/phrases-general.php:101
|
604 |
+
#: options/wc-options-serialize.php:463 wc.php:934
|
605 |
+
msgid "New Reply"
|
606 |
+
msgstr ""
|
607 |
+
|
608 |
+
#: options/phrases-layout/phrases-email.php:40
|
609 |
+
msgid "New Reply Message"
|
610 |
+
msgstr ""
|
611 |
+
|
612 |
+
#: options/phrases-layout/phrases-email.php:50
|
613 |
+
#: options/phrases-layout/phrases-email.php:54
|
614 |
+
#: options/wc-options-serialize.php:468
|
615 |
+
msgid "Unsubscribe"
|
616 |
+
msgstr ""
|
617 |
+
|
618 |
+
#: options/phrases-layout/phrases-email.php:61
|
619 |
+
#: options/phrases-layout/phrases-email.php:65
|
620 |
+
#: options/wc-options-serialize.php:469
|
621 |
+
msgid "Ignore Subscription"
|
622 |
+
msgstr ""
|
623 |
+
|
624 |
+
#: options/phrases-layout/phrases-email.php:72
|
625 |
+
#: options/phrases-layout/phrases-email.php:76
|
626 |
+
#: options/wc-options-serialize.php:471
|
627 |
+
msgid "Confirm your subscription"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: options/phrases-layout/phrases-email.php:82
|
631 |
+
#: options/phrases-layout/phrases-email.php:86
|
632 |
+
#: options/wc-options-serialize.php:472
|
633 |
+
msgid "You've successfully confirmed your subscription."
|
634 |
+
msgstr ""
|
635 |
+
|
636 |
+
#: options/phrases-layout/phrases-email.php:92
|
637 |
+
msgid "Subscribe Confirmation Email Subject"
|
638 |
+
msgstr ""
|
639 |
+
|
640 |
+
#: options/phrases-layout/phrases-email.php:96
|
641 |
+
#: options/wc-options-serialize.php:473 wc.php:945
|
642 |
+
msgid "Subscribe Confirmation"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: options/phrases-layout/phrases-email.php:103
|
646 |
+
msgid "Subscribe Confirmation Email Content"
|
647 |
+
msgstr ""
|
648 |
+
|
649 |
+
#: options/phrases-layout/phrases-email.php:107
|
650 |
+
#: options/wc-options-serialize.php:474 wc.php:946
|
651 |
+
msgid ""
|
652 |
+
"Hi, <br/> You just subscribed for new comments on our website. This means "
|
653 |
+
"you will receive an email when new comments are posted according to "
|
654 |
+
"subscription option you've chosen. <br/> To activate, click confirm below. "
|
655 |
+
"If you believe this is an error, ignore this message and we'll never bother "
|
656 |
+
"you again."
|
657 |
+
msgstr ""
|
658 |
+
|
659 |
+
#: options/phrases-layout/phrases-form.php:2
|
660 |
+
msgid "Form Template Phrases"
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: options/phrases-layout/phrases-form.php:7
|
664 |
+
msgid "Comment Field Start"
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: options/phrases-layout/phrases-form.php:17
|
668 |
+
msgid "Comment Field Join"
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: options/phrases-layout/phrases-form.php:27
|
672 |
+
msgid "Email Field"
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: options/phrases-layout/phrases-form.php:37
|
676 |
+
msgid "Name Field"
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: options/phrases-layout/phrases-form.php:47
|
680 |
+
msgid "WebSite URL Field"
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: options/phrases-layout/phrases-form.php:57
|
684 |
+
msgid "CAPTCHA Field"
|
685 |
+
msgstr ""
|
686 |
+
|
687 |
+
#: options/phrases-layout/phrases-form.php:67
|
688 |
+
msgid "Submit Button"
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
+
#: options/phrases-layout/phrases-form.php:77
|
692 |
+
#: options/phrases-layout/phrases-form.php:81
|
693 |
+
#: options/wc-options-serialize.php:440
|
694 |
+
msgid "Manage Subscriptions"
|
695 |
+
msgstr ""
|
696 |
+
|
697 |
+
#: options/phrases-layout/phrases-form.php:87
|
698 |
+
msgid "Notify \"None\""
|
699 |
+
msgstr ""
|
700 |
+
|
701 |
+
#: options/phrases-layout/phrases-form.php:91
|
702 |
+
#: options/wc-options-serialize.php:441
|
703 |
+
msgid "None"
|
704 |
+
msgstr ""
|
705 |
+
|
706 |
+
#: options/phrases-layout/phrases-form.php:97
|
707 |
+
msgid "Notify on new comments (checkbox)"
|
708 |
+
msgstr ""
|
709 |
+
|
710 |
+
#: options/phrases-layout/phrases-form.php:101
|
711 |
+
#: options/wc-options-serialize.php:442
|
712 |
+
msgid "Notify of all new follow-up comments"
|
713 |
+
msgstr ""
|
714 |
+
|
715 |
+
#: options/phrases-layout/phrases-form.php:108
|
716 |
+
msgid "Notify on all new replies (checkbox)"
|
717 |
+
msgstr ""
|
718 |
+
|
719 |
+
#: options/phrases-layout/phrases-form.php:112
|
720 |
+
#: options/wc-options-serialize.php:443
|
721 |
+
msgid "Notify of new replies to all my comments"
|
722 |
+
msgstr ""
|
723 |
+
|
724 |
+
#: options/phrases-layout/phrases-form.php:119
|
725 |
+
msgid "Notify on new replies (checkbox)"
|
726 |
+
msgstr ""
|
727 |
+
|
728 |
+
#: options/phrases-layout/phrases-form.php:123
|
729 |
+
#: options/wc-options-serialize.php:444
|
730 |
+
msgid "Notify of new replies to this comment"
|
731 |
+
msgstr ""
|
732 |
+
|
733 |
+
#: options/phrases-layout/phrases-form.php:129
|
734 |
+
msgid "Subscribed on this comment replies"
|
735 |
+
msgstr ""
|
736 |
+
|
737 |
+
#: options/phrases-layout/phrases-form.php:139
|
738 |
+
msgid "Subscribed on all your comments replies"
|
739 |
+
msgstr ""
|
740 |
+
|
741 |
+
#: options/phrases-layout/phrases-form.php:149
|
742 |
+
msgid "Subscribed on this post"
|
743 |
+
msgstr ""
|
744 |
+
|
745 |
+
#: options/phrases-layout/phrases-general.php:2
|
746 |
+
msgid "General Phrases"
|
747 |
+
msgstr ""
|
748 |
+
|
749 |
+
#: options/phrases-layout/phrases-general.php:7
|
750 |
+
#: options/wc-options-serialize.php:428
|
751 |
+
msgid "Leave a Reply"
|
752 |
+
msgstr ""
|
753 |
+
|
754 |
+
#: options/phrases-layout/phrases-general.php:17
|
755 |
+
msgid "Be the first to comment"
|
756 |
+
msgstr ""
|
757 |
+
|
758 |
+
#: options/phrases-layout/phrases-general.php:27
|
759 |
+
#: options/wc-options-serialize.php:430 options/wc-options.php:354
|
760 |
+
msgid "Comment"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: options/phrases-layout/phrases-general.php:37
|
764 |
+
msgid "Comment (Plural Form)"
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: options/phrases-layout/phrases-general.php:47
|
768 |
+
msgid "On"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
+
#: options/phrases-layout/phrases-general.php:57
|
772 |
+
msgid "Load More Button"
|
773 |
+
msgstr ""
|
774 |
+
|
775 |
+
#: options/phrases-layout/phrases-general.php:67
|
776 |
+
#: options/wc-options-serialize.php:446
|
777 |
+
msgid "Load Rest of Comments"
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: options/phrases-layout/phrases-general.php:77
|
781 |
+
msgid "Button text if has new comment"
|
782 |
+
msgstr ""
|
783 |
+
|
784 |
+
#: options/phrases-layout/phrases-general.php:81
|
785 |
+
#: options/wc-options-serialize.php:461
|
786 |
+
msgid "New Comment"
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: options/phrases-layout/phrases-general.php:87
|
790 |
+
msgid "Button text if has new comments (Plural Form)"
|
791 |
+
msgstr ""
|
792 |
+
|
793 |
+
#: options/phrases-layout/phrases-general.php:91
|
794 |
+
msgid "New Comments"
|
795 |
+
msgstr ""
|
796 |
+
|
797 |
+
#: options/phrases-layout/phrases-general.php:97
|
798 |
+
msgid "Button text if has new reply"
|
799 |
+
msgstr ""
|
800 |
+
|
801 |
+
#: options/phrases-layout/phrases-general.php:107
|
802 |
+
msgid "Button text if has new replies (Plural Form)"
|
803 |
+
msgstr ""
|
804 |
+
|
805 |
+
#: options/phrases-layout/phrases-general.php:111
|
806 |
+
msgid "New Replies"
|
807 |
+
msgstr ""
|
808 |
+
|
809 |
+
#: options/phrases-layout/phrases-general.php:117
|
810 |
+
msgid "Text on load more button if has new comment(s)"
|
811 |
+
msgstr ""
|
812 |
+
|
813 |
+
#: options/phrases-layout/phrases-general.php:121
|
814 |
+
#: options/wc-options-serialize.php:513
|
815 |
+
msgid "New"
|
816 |
+
msgstr ""
|
817 |
+
|
818 |
+
#: options/phrases-layout/phrases-notification.php:2
|
819 |
+
msgid "Notification Phrases"
|
820 |
+
msgstr ""
|
821 |
+
|
822 |
+
#: options/phrases-layout/phrases-notification.php:7
|
823 |
+
#: options/wc-options-serialize.php:470
|
824 |
+
msgid "You've successfully unsubscribed."
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: options/phrases-layout/phrases-notification.php:18
|
828 |
+
msgid "Error message for empty field"
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: options/phrases-layout/phrases-notification.php:28
|
832 |
+
msgid "Error message for invalid email field"
|
833 |
+
msgstr ""
|
834 |
+
|
835 |
+
#: options/phrases-layout/phrases-notification.php:38
|
836 |
+
msgid "Error message for invalid website url field"
|
837 |
+
msgstr ""
|
838 |
+
|
839 |
+
#: options/phrases-layout/phrases-notification.php:48
|
840 |
+
#: options/wc-options-serialize.php:493
|
841 |
+
msgid "You must be"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: options/phrases-layout/phrases-notification.php:58
|
845 |
+
msgid "Logged in as"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: options/phrases-layout/phrases-notification.php:68
|
849 |
+
#: options/wc-options-serialize.php:495
|
850 |
+
msgid "Log out"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: options/phrases-layout/phrases-notification.php:78
|
854 |
+
msgid "Logged In"
|
855 |
+
msgstr ""
|
856 |
+
|
857 |
+
#: options/phrases-layout/phrases-notification.php:88
|
858 |
+
msgid "To post a comment"
|
859 |
+
msgstr ""
|
860 |
+
|
861 |
+
#: options/phrases-layout/phrases-notification.php:98
|
862 |
+
#: options/wc-options-serialize.php:500
|
863 |
+
msgid "Vote Counted"
|
864 |
+
msgstr ""
|
865 |
+
|
866 |
+
#: options/phrases-layout/phrases-notification.php:108
|
867 |
+
msgid "You can vote only 1 time"
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: options/phrases-layout/phrases-notification.php:118
|
871 |
+
#: options/wc-options-serialize.php:502
|
872 |
+
msgid "Voting Error"
|
873 |
+
msgstr ""
|
874 |
+
|
875 |
+
#: options/phrases-layout/phrases-notification.php:128
|
876 |
+
msgid "Login To Vote"
|
877 |
+
msgstr ""
|
878 |
+
|
879 |
+
#: options/phrases-layout/phrases-notification.php:138
|
880 |
+
msgid "You Cannot Vote On Your Comment"
|
881 |
+
msgstr ""
|
882 |
+
|
883 |
+
#: options/phrases-layout/phrases-notification.php:148
|
884 |
+
msgid "You are not allowed to vote for this comment (Voting from same IP)"
|
885 |
+
msgstr ""
|
886 |
+
|
887 |
+
#: options/phrases-layout/phrases-notification.php:158
|
888 |
+
#: options/wc-options-serialize.php:506
|
889 |
+
msgid "Invalid Captcha Code"
|
890 |
+
msgstr ""
|
891 |
+
|
892 |
+
#: options/phrases-layout/phrases-notification.php:168
|
893 |
+
#: options/wc-options-serialize.php:507
|
894 |
+
msgid "Some of field value is invalid"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: options/phrases-layout/phrases-notification.php:178
|
898 |
+
msgid "Comment waiting moderation"
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: options/phrases-layout/phrases-notification.php:188
|
902 |
+
msgid "Message if comment content length is too long"
|
903 |
+
msgstr ""
|
904 |
+
|
905 |
+
#: options/phrases-layout/phrases-notification.php:198
|
906 |
+
msgid "Message if comment was not updated"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: options/phrases-layout/phrases-notification.php:202
|
910 |
+
#: options/wc-options-serialize.php:514
|
911 |
+
msgid "Sorry, the comment was not updated"
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#: options/phrases-layout/phrases-notification.php:208
|
915 |
+
msgid "Message if comment no longer possible to edit"
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
#: options/phrases-layout/phrases-notification.php:212
|
919 |
+
#: options/wc-options-serialize.php:515
|
920 |
+
msgid "Sorry, this comment no longer possible to edit"
|
921 |
+
msgstr ""
|
922 |
+
|
923 |
+
#: options/phrases-layout/phrases-notification.php:219
|
924 |
+
msgid "Message if comment text not changed"
|
925 |
+
msgstr ""
|
926 |
+
|
927 |
+
#: options/phrases-layout/phrases-notification.php:223
|
928 |
+
msgid "TYou've not made any changes"
|
929 |
+
msgstr ""
|
930 |
+
|
931 |
+
#: options/wc-options-serialize.php:429
|
932 |
+
msgid "Be the First to Comment!"
|
933 |
+
msgstr ""
|
934 |
+
|
935 |
+
#: options/wc-options-serialize.php:431
|
936 |
+
msgid "Comments"
|
937 |
+
msgstr ""
|
938 |
+
|
939 |
+
#: options/wc-options-serialize.php:432
|
940 |
+
msgid "on"
|
941 |
+
msgstr ""
|
942 |
+
|
943 |
+
#: options/wc-options-serialize.php:433
|
944 |
+
msgid "Start the discussion"
|
945 |
+
msgstr ""
|
946 |
+
|
947 |
+
#: options/wc-options-serialize.php:434
|
948 |
+
msgid "Join the discussion"
|
949 |
+
msgstr ""
|
950 |
+
|
951 |
+
#: options/wc-options-serialize.php:435 options/wc-options.php:356
|
952 |
+
msgid "Email"
|
953 |
+
msgstr ""
|
954 |
+
|
955 |
+
#: options/wc-options-serialize.php:436
|
956 |
+
msgid "Name"
|
957 |
+
msgstr ""
|
958 |
+
|
959 |
+
#: options/wc-options-serialize.php:437
|
960 |
+
msgid "WebSite URL"
|
961 |
+
msgstr ""
|
962 |
+
|
963 |
+
#: options/wc-options-serialize.php:438
|
964 |
+
msgid "Please insert the code above to comment"
|
965 |
+
msgstr ""
|
966 |
+
|
967 |
+
#: options/wc-options-serialize.php:439
|
968 |
+
msgid "Post Comment"
|
969 |
+
msgstr ""
|
970 |
+
|
971 |
+
#: options/wc-options-serialize.php:445
|
972 |
+
msgid "Load More Comments"
|
973 |
+
msgstr ""
|
974 |
+
|
975 |
+
#: options/wc-options-serialize.php:457
|
976 |
+
msgid "Guest"
|
977 |
+
msgstr ""
|
978 |
+
|
979 |
+
#: options/wc-options-serialize.php:458
|
980 |
+
msgid "Member"
|
981 |
+
msgstr ""
|
982 |
+
|
983 |
+
#: options/wc-options-serialize.php:459
|
984 |
+
msgid "Author"
|
985 |
+
msgstr ""
|
986 |
+
|
987 |
+
#: options/wc-options-serialize.php:460
|
988 |
+
msgid "Admin"
|
989 |
+
msgstr ""
|
990 |
+
|
991 |
+
#: options/wc-options-serialize.php:462
|
992 |
+
msgid "New comment on the discussion section you've been interested in"
|
993 |
+
msgstr ""
|
994 |
+
|
995 |
+
#: options/wc-options-serialize.php:464 wc.php:935
|
996 |
+
msgid "New reply on the discussion section you've been interested in"
|
997 |
+
msgstr ""
|
998 |
+
|
999 |
+
#: options/wc-options-serialize.php:465
|
1000 |
+
msgid "You're subscribed for new replies on this comment"
|
1001 |
+
msgstr ""
|
1002 |
+
|
1003 |
+
#: options/wc-options-serialize.php:466
|
1004 |
+
msgid "You're subscribed for new replies on all your comments"
|
1005 |
+
msgstr ""
|
1006 |
+
|
1007 |
+
#: options/wc-options-serialize.php:467
|
1008 |
+
msgid "You're subscribed for new follow-up comments on this post"
|
1009 |
+
msgstr ""
|
1010 |
+
|
1011 |
+
#: options/wc-options-serialize.php:475
|
1012 |
+
msgid "please fill out this field to comment"
|
1013 |
+
msgstr ""
|
1014 |
+
|
1015 |
+
#: options/wc-options-serialize.php:476
|
1016 |
+
msgid "email address is invalid"
|
1017 |
+
msgstr ""
|
1018 |
+
|
1019 |
+
#: options/wc-options-serialize.php:477
|
1020 |
+
msgid "url is invalid"
|
1021 |
+
msgstr ""
|
1022 |
+
|
1023 |
+
#: options/wc-options-serialize.php:478
|
1024 |
+
msgid "year"
|
1025 |
+
msgstr ""
|
1026 |
+
|
1027 |
+
#: options/wc-options-serialize.php:479
|
1028 |
+
msgid "years"
|
1029 |
+
msgstr ""
|
1030 |
+
|
1031 |
+
#: options/wc-options-serialize.php:480
|
1032 |
+
msgid "month"
|
1033 |
+
msgstr ""
|
1034 |
+
|
1035 |
+
#: options/wc-options-serialize.php:481
|
1036 |
+
msgid "months"
|
1037 |
+
msgstr ""
|
1038 |
+
|
1039 |
+
#: options/wc-options-serialize.php:482
|
1040 |
+
msgid "day"
|
1041 |
+
msgstr ""
|
1042 |
+
|
1043 |
+
#: options/wc-options-serialize.php:483
|
1044 |
+
msgid "days"
|
1045 |
+
msgstr ""
|
1046 |
+
|
1047 |
+
#: options/wc-options-serialize.php:484
|
1048 |
+
msgid "hour"
|
1049 |
+
msgstr ""
|
1050 |
+
|
1051 |
+
#: options/wc-options-serialize.php:485
|
1052 |
+
msgid "hours"
|
1053 |
+
msgstr ""
|
1054 |
+
|
1055 |
+
#: options/wc-options-serialize.php:486
|
1056 |
+
msgid "minute"
|
1057 |
+
msgstr ""
|
1058 |
+
|
1059 |
+
#: options/wc-options-serialize.php:487
|
1060 |
+
msgid "minutes"
|
1061 |
+
msgstr ""
|
1062 |
+
|
1063 |
+
#: options/wc-options-serialize.php:488
|
1064 |
+
msgid "second"
|
1065 |
+
msgstr ""
|
1066 |
+
|
1067 |
+
#: options/wc-options-serialize.php:489
|
1068 |
+
msgid "seconds"
|
1069 |
+
msgstr ""
|
1070 |
+
|
1071 |
+
#: options/wc-options-serialize.php:490
|
1072 |
+
msgid "right now"
|
1073 |
+
msgstr ""
|
1074 |
+
|
1075 |
+
#: options/wc-options-serialize.php:491
|
1076 |
+
msgid "ago"
|
1077 |
+
msgstr ""
|
1078 |
+
|
1079 |
+
#: options/wc-options-serialize.php:494
|
1080 |
+
msgid "You are logged in as"
|
1081 |
+
msgstr ""
|
1082 |
+
|
1083 |
+
#: options/wc-options-serialize.php:496
|
1084 |
+
msgid "logged in"
|
1085 |
+
msgstr ""
|
1086 |
+
|
1087 |
+
#: options/wc-options-serialize.php:497
|
1088 |
+
msgid "to post a comment."
|
1089 |
+
msgstr ""
|
1090 |
+
|
1091 |
+
#: options/wc-options-serialize.php:501
|
1092 |
+
msgid "You've already voted for this comment"
|
1093 |
+
msgstr ""
|
1094 |
+
|
1095 |
+
#: options/wc-options-serialize.php:503
|
1096 |
+
msgid "You Must Be Logged In To Vote"
|
1097 |
+
msgstr ""
|
1098 |
+
|
1099 |
+
#: options/wc-options-serialize.php:504
|
1100 |
+
msgid "You cannot vote for your comment"
|
1101 |
+
msgstr ""
|
1102 |
+
|
1103 |
+
#: options/wc-options-serialize.php:505
|
1104 |
+
msgid "You are not allowed to vote for this comment"
|
1105 |
+
msgstr ""
|
1106 |
+
|
1107 |
+
#: options/wc-options-serialize.php:508
|
1108 |
+
msgid "new comment"
|
1109 |
+
msgstr ""
|
1110 |
+
|
1111 |
+
#: options/wc-options-serialize.php:509
|
1112 |
+
msgid "new comments"
|
1113 |
+
msgstr ""
|
1114 |
+
|
1115 |
+
#: options/wc-options-serialize.php:510
|
1116 |
+
msgid "Comment awaiting moderation"
|
1117 |
+
msgstr ""
|
1118 |
+
|
1119 |
+
#: options/wc-options-serialize.php:511
|
1120 |
+
msgid "new reply on your comment"
|
1121 |
+
msgstr ""
|
1122 |
+
|
1123 |
+
#: options/wc-options-serialize.php:512
|
1124 |
+
msgid "new replies on your comments"
|
1125 |
+
msgstr ""
|
1126 |
+
|
1127 |
+
#: options/wc-options-serialize.php:516
|
1128 |
+
msgid "You've not made any changes"
|
1129 |
+
msgstr ""
|
1130 |
+
|
1131 |
+
#: options/wc-options-serialize.php:519
|
1132 |
+
msgid "Comment text is too long (maximum %s characters allowed)"
|
1133 |
+
msgstr ""
|
1134 |
+
|
1135 |
+
#: options/wc-options.php:28 options/wc-options.php:233
|
1136 |
+
msgid "Hacker?"
|
1137 |
+
msgstr ""
|
1138 |
+
|
1139 |
+
#: options/wc-options.php:88
|
1140 |
+
msgid "wpDiscuz General Settings"
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: options/wc-options.php:180
|
1144 |
+
msgid "General settings"
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: options/wc-options.php:183
|
1148 |
+
msgid "Email Subscription"
|
1149 |
+
msgstr ""
|
1150 |
+
|
1151 |
+
#: options/wc-options.php:183
|
1152 |
+
msgid "and Postmatic"
|
1153 |
+
msgstr ""
|
1154 |
+
|
1155 |
+
#: options/wc-options.php:214 options/wc-options.php:384
|
1156 |
+
msgid "Save Changes"
|
1157 |
+
msgstr ""
|
1158 |
+
|
1159 |
+
#: options/wc-options.php:215
|
1160 |
+
msgid "Reset Options"
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: options/wc-options.php:342
|
1164 |
+
msgid "WpDiscuz Front-end Phrases"
|
1165 |
+
msgstr ""
|
1166 |
+
|
1167 |
+
#: options/wc-options.php:352
|
1168 |
+
msgid "General"
|
1169 |
+
msgstr ""
|
1170 |
+
|
1171 |
+
#: options/wc-options.php:353
|
1172 |
+
msgid "Form"
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: options/wc-options.php:355
|
1176 |
+
msgid "Date/Time"
|
1177 |
+
msgstr ""
|
1178 |
+
|
1179 |
+
#: options/wc-options.php:357
|
1180 |
+
msgid "Notification"
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: wc.php:1026
|
1184 |
+
msgid "Phrases"
|
1185 |
+
msgstr ""
|
1186 |
+
|
1187 |
+
#. Plugin Name of the plugin/theme
|
1188 |
+
msgid "wpDiscuz - Wordpress Comments"
|
1189 |
+
msgstr ""
|
1190 |
+
|
1191 |
+
#. Plugin URI of the plugin/theme
|
1192 |
+
msgid "http://www.gvectors.com/wpdiscuz/"
|
1193 |
+
msgstr ""
|
1194 |
+
|
1195 |
+
#. Description of the plugin/theme
|
1196 |
+
msgid ""
|
1197 |
+
"Better comment system. Wordpress post comments and discussion plugin. Allows "
|
1198 |
+
"your visitors discuss, vote for comments and share."
|
1199 |
+
msgstr ""
|
1200 |
+
|
1201 |
+
#. Author of the plugin/theme
|
1202 |
+
msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
|
1203 |
+
msgstr ""
|
1204 |
+
|
1205 |
+
#. Author URI of the plugin/theme
|
1206 |
+
msgid "http://www.gvectors.com/"
|
1207 |
+
msgstr ""
|
manager/class.WpdiscuzDBManager.php
ADDED
@@ -0,0 +1,440 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WpdiscuzDBManager {
|
4 |
+
|
5 |
+
private $db;
|
6 |
+
private $dbprefix;
|
7 |
+
private $users_voted;
|
8 |
+
private $phrases;
|
9 |
+
private $emailNotification;
|
10 |
+
|
11 |
+
function __construct() {
|
12 |
+
global $wpdb;
|
13 |
+
$this->db = $wpdb;
|
14 |
+
$this->dbprefix = $wpdb->prefix;
|
15 |
+
$this->users_voted = $this->dbprefix . 'wc_users_voted';
|
16 |
+
$this->phrases = $this->dbprefix . 'wc_phrases';
|
17 |
+
$this->emailNotification = $this->dbprefix . 'wc_comments_subscription';
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* create table in db on activation if not exists
|
22 |
+
*/
|
23 |
+
public function dbCreateTables() {
|
24 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
25 |
+
if (!$this->isTableExists($this->users_voted)) {
|
26 |
+
$sql = "CREATE TABLE `" . $this->users_voted . "`(`id` INT(11) NOT NULL AUTO_INCREMENT,`user_id` VARCHAR(255) NOT NULL, `comment_id` INT(11) NOT NULL, `vote_type` INT(11) DEFAULT NULL, `is_guest` TINYINT(1) DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `comment_id` (`comment_id`), KEY `vote_type` (`vote_type`), KEY `is_guest` (`is_guest`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
27 |
+
dbDelta($sql);
|
28 |
+
}
|
29 |
+
if (!$this->isTableExists($this->phrases)) {
|
30 |
+
$sql = "CREATE TABLE `" . $this->phrases . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `phrase_key` VARCHAR(255) NOT NULL, `phrase_value` TEXT NOT NULL, PRIMARY KEY (`id`), KEY `phrase_key` (`phrase_key`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
31 |
+
dbDelta($sql);
|
32 |
+
}
|
33 |
+
$this->createEmailNotificationTable();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* check if table exists in database
|
38 |
+
* return true if exists false otherwise
|
39 |
+
*/
|
40 |
+
public function isTableExists($tableName) {
|
41 |
+
return $this->db->get_var("SHOW TABLES LIKE '$tableName'") == $tableName;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* creates subscription table if not exists
|
46 |
+
*/
|
47 |
+
public function createEmailNotificationTable() {
|
48 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
49 |
+
$oldNotificationTableNameV200 = $this->dbprefix . 'wc_email_notfication';
|
50 |
+
$oldNotificationTableNameV214 = $this->dbprefix . 'wc_email_notify';
|
51 |
+
if (!$this->isTableExists($this->emailNotification)) {
|
52 |
+
$sql = "CREATE TABLE `" . $this->emailNotification . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `email` VARCHAR(255) NOT NULL, `subscribtion_id` INT(11) NOT NULL, `post_id` INT(11) NOT NULL, `subscribtion_type` VARCHAR(255) NOT NULL, `activation_key` VARCHAR(255) NOT NULL, `confirm` TINYINT DEFAULT 0, `subscription_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `subscribtion_id` (`subscribtion_id`), KEY `post_id` (`post_id`), KEY `confirm`(`confirm`), UNIQUE KEY `subscribe_unique_index` (`subscribtion_id`,`email`)) ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
|
53 |
+
dbDelta($sql);
|
54 |
+
}
|
55 |
+
|
56 |
+
if ($this->isTableExists($oldNotificationTableNameV200)) {
|
57 |
+
$this->saveNotificationDataV200($oldNotificationTableNameV200);
|
58 |
+
}
|
59 |
+
|
60 |
+
if ($this->isTableExists($oldNotificationTableNameV214)) {
|
61 |
+
$this->saveNotificationDataV214($oldNotificationTableNameV214);
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* save old notification data from notification table v200 into new created table and drop old table
|
67 |
+
*/
|
68 |
+
public function saveNotificationDataV200($oldNotificationTableName) {
|
69 |
+
$sqlPostNotificationData = "SELECT * FROM `" . $oldNotificationTableName . "` WHERE `post_id` > 0;";
|
70 |
+
$sqlCommentNotificationData = "SELECT * FROM `" . $oldNotificationTableName . "` WHERE `comment_id` > 0;";
|
71 |
+
$postNotificationsData = $this->db->get_results($sqlPostNotificationData, ARRAY_A);
|
72 |
+
$commentNotificationsData = $this->db->get_results($sqlCommentNotificationData, ARRAY_A);
|
73 |
+
$insertedPostIds = array();
|
74 |
+
foreach ($postNotificationsData as $pNotificationData) {
|
75 |
+
$email = $pNotificationData['email'];
|
76 |
+
$postId = $pNotificationData['post_id'];
|
77 |
+
$insertedPostIds[] = $postId;
|
78 |
+
$subscribtionType = "post";
|
79 |
+
$activationKey = md5($email . uniqid() . time());
|
80 |
+
$sqlAddOldPostNotification = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $postId, $postId, '$subscribtionType', '$activationKey', '1');";
|
81 |
+
$this->db->query($sqlAddOldPostNotification);
|
82 |
+
}
|
83 |
+
|
84 |
+
foreach ($commentNotificationsData as $cNotificationData) {
|
85 |
+
$email = $cNotificationData['email'];
|
86 |
+
$commentId = $cNotificationData['comment_id'];
|
87 |
+
$comment = get_comment($commentId);
|
88 |
+
if (!$this->wc_has_comment_notification($comment->comment_post_ID, $commentId, $email)) {
|
89 |
+
$subscribtionType = "comment";
|
90 |
+
$activationKey = md5($email . uniqid() . time());
|
91 |
+
$sqlAddOldPostNotification = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $commentId, $comment->comment_post_ID, '$subscribtionType', '$activationKey', '1');";
|
92 |
+
$this->db->query($sqlAddOldPostNotification);
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
$sqlDropOldNotificationTable = "DROP TABLE `" . $oldNotificationTableName . "`;";
|
97 |
+
$this->db->query($sqlDropOldNotificationTable);
|
98 |
+
}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* save old notification data from notification table v214 into new created table and drop old table
|
102 |
+
*/
|
103 |
+
public function saveNotificationDataV214($oldNotificationTableNameV214) {
|
104 |
+
$sqlPostNotificationData = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) SELECT `email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, '1' FROM " . $oldNotificationTableNameV214 . ";";
|
105 |
+
$this->db->query($sqlPostNotificationData);
|
106 |
+
$sqlDropOldNotificationTable = "DROP TABLE `" . $oldNotificationTableNameV214 . "`;";
|
107 |
+
$this->db->query($sqlDropOldNotificationTable);
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* add vote type
|
112 |
+
*/
|
113 |
+
public function addVoteType($userId, $commentId, $voteType, $isUserLoggedIn) {
|
114 |
+
$sql = $this->db->prepare("INSERT INTO `" . $this->users_voted . "`(`user_id`, `comment_id`, `vote_type`,`is_guest`)VALUES(%s,%d,%d,%d);", $userId, $commentId, $voteType, $isUserLoggedIn);
|
115 |
+
return $this->db->query($sql);
|
116 |
+
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* update vote type
|
120 |
+
*/
|
121 |
+
public function updateVoteType($user_id, $comment_id, $vote_type) {
|
122 |
+
$sql = $this->db->prepare("UPDATE `" . $this->users_voted . "` SET `vote_type` = %d WHERE `user_id` = %s AND `comment_id` = %d", $vote_type, $user_id, $comment_id);
|
123 |
+
return $this->db->query($sql);
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* check if the user is already voted on comment or not by user id and comment id
|
128 |
+
*/
|
129 |
+
public function isUserVoted($user_id, $comment_id) {
|
130 |
+
$sql = $this->db->prepare("SELECT `vote_type` FROM `" . $this->users_voted . "` WHERE `user_id` = %s AND `comment_id` = %d;", $user_id, $comment_id);
|
131 |
+
return $this->db->get_var($sql);
|
132 |
+
}
|
133 |
+
|
134 |
+
/**
|
135 |
+
* update phrases
|
136 |
+
*/
|
137 |
+
public function updatePhrases($phrases) {
|
138 |
+
if ($phrases) {
|
139 |
+
foreach ($phrases as $phrase_key => $phrase_value) {
|
140 |
+
|
141 |
+
if (is_array($phrase_value) && array_key_exists(WpdiscuzHelper::$datetime, $phrase_value)) {
|
142 |
+
$phrase_value = $phrase_value[WpdiscuzHelper::$datetime][0];
|
143 |
+
}
|
144 |
+
if ($this->isPhraseExists($phrase_key)) {
|
145 |
+
$sql = $this->db->prepare("UPDATE `" . $this->phrases . "` SET `phrase_value` = %s WHERE `phrase_key` = %s;", str_replace('"', '"', $phrase_value), $phrase_key);
|
146 |
+
} else {
|
147 |
+
$sql = $this->db->prepare("INSERT INTO `" . $this->phrases . "`(`phrase_key`, `phrase_value`)VALUES(%s, %s);", $phrase_key, str_replace('"', '"', $phrase_value));
|
148 |
+
}
|
149 |
+
$this->db->query($sql);
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
|
154 |
+
/**
|
155 |
+
* checks if the phrase key exists in database
|
156 |
+
*/
|
157 |
+
public function isPhraseExists($phrase_key) {
|
158 |
+
$sql = $this->db->prepare("SELECT `phrase_key` FROM `" . $this->phrases . "` WHERE `phrase_key` LIKE %s", $phrase_key);
|
159 |
+
return $this->db->get_var($sql);
|
160 |
+
}
|
161 |
+
|
162 |
+
/**
|
163 |
+
* get phrases from db
|
164 |
+
*/
|
165 |
+
public function getPhrases() {
|
166 |
+
$sql = "SELECT `phrase_key`, `phrase_value` FROM `" . $this->phrases . "`;";
|
167 |
+
$phrases = $this->db->get_results($sql, ARRAY_A);
|
168 |
+
$tmp_phrases = array();
|
169 |
+
foreach ($phrases as $phrase) {
|
170 |
+
$tmp_phrases[$phrase['phrase_key']] = WpdiscuzHelper::initPhraseKeyValue($phrase);
|
171 |
+
}
|
172 |
+
return $tmp_phrases;
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
* get last comment id from database
|
177 |
+
* current post last comment id if post id was passed
|
178 |
+
*/
|
179 |
+
public function getLastCommentId($postId = 0) {
|
180 |
+
if ($postId) {
|
181 |
+
return $this->db->get_var($this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = 1 ORDER BY `comment_ID` DESC LIMIT 1;", $postId));
|
182 |
+
} else {
|
183 |
+
return $this->db->get_var("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` ORDER BY `comment_ID` DESC LIMIT 1;");
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
/**
|
188 |
+
* retrives new comment ids from database for current post
|
189 |
+
*/
|
190 |
+
public function getNewCommentIds($postId, $loadLastCommentId, $email, $ordering, $notIn = '') {
|
191 |
+
$notInQuery = $notIn ? "AND `comment_ID` NOT IN($notIn)" : '';
|
192 |
+
$sqlCommentIds = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_ID` > %d AND `comment_author_email` != %s AND `comment_approved` = 1 $notInQuery ORDER BY `comment_date_gmt` $ordering;", $postId, $loadLastCommentId, $email);
|
193 |
+
return $this->matrixToArray($this->db->get_results($sqlCommentIds, ARRAY_N));
|
194 |
+
}
|
195 |
+
|
196 |
+
public function getAuthorNewReplies($visibleComments, $loadLastCommentId, $email){
|
197 |
+
$sqlCommentIds = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_parent` IN (SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_author_email` = %s AND `comment_ID` IN ($visibleComments)) AND `comment_approved` = 1 AND `comment_ID` > %d AND `comment_author_email` != %s ", $email, $loadLastCommentId, $email);
|
198 |
+
return $this->matrixToArray($this->db->get_results($sqlCommentIds, ARRAY_N));
|
199 |
+
}
|
200 |
+
|
201 |
+
/**
|
202 |
+
* @param type $postId the current post id
|
203 |
+
* @return type int, all comments count for current post
|
204 |
+
*/
|
205 |
+
public function getCommentsCount($postId) {
|
206 |
+
$sqlCommentsCount = $this->db->prepare("SELECT count(*) FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = 1;", $postId);
|
207 |
+
return $this->db->get_var($sqlCommentsCount);
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* get current post parent comments by wordpress settings
|
212 |
+
*/
|
213 |
+
public function getPostParentComments($args) {
|
214 |
+
$commentParent = $args['is_threaded'] ? 'AND `comment_parent` = 0' : '';
|
215 |
+
if ($args['limit'] == 0) {
|
216 |
+
$allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
|
217 |
+
$sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = '1' $commentParent ORDER BY `comment_date_gmt` {$args['order']} LIMIT %d OFFSET %d", $args['post_id'], $allParentCounts, $args['viewed_comment_count']);
|
218 |
+
} else if ($args['last_parent_id']) {
|
219 |
+
$operator = ($args['order'] == 'asc') ? '>' : '<';
|
220 |
+
$sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = '1' $commentParent AND `comment_ID` $operator %d ORDER BY `comment_date_gmt` {$args['order']} LIMIT %d", $args['post_id'], $args['last_parent_id'], $args['limit']);
|
221 |
+
} else {
|
222 |
+
$sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d AND `comment_approved` = '1' $commentParent ORDER BY `comment_date_gmt` {$args['order']} LIMIT %d", $args['post_id'], $args['limit']);
|
223 |
+
}
|
224 |
+
|
225 |
+
$commentIds = $this->db->get_results($sqlComments, ARRAY_N);
|
226 |
+
return $this->matrixToArray($commentIds);
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* get comment list ordered by date or comments votes
|
231 |
+
*/
|
232 |
+
public function getCommentList(&$args) {
|
233 |
+
if ($args['orderby'] == 'meta_value_num') {
|
234 |
+
$parentIds = $this->getPostVotedCommentIds($args);
|
235 |
+
} else {
|
236 |
+
$parentIds = $this->getPostParentComments($args);
|
237 |
+
}
|
238 |
+
$args['comment__in'] = $parentIds;
|
239 |
+
}
|
240 |
+
|
241 |
+
/**
|
242 |
+
* get post most voted comments
|
243 |
+
* @param type $args['post_id'] the current post id
|
244 |
+
* @param type $args['order'] data ordering asc / desc
|
245 |
+
* @param type $args['limit'] how many rows select
|
246 |
+
* @param type $args['offset'] rows offset
|
247 |
+
* @return type array of comments
|
248 |
+
*/
|
249 |
+
public function getPostVotedCommentIds($args) {
|
250 |
+
$commentParent = $args['is_threaded'] ? 'AND `c`.`comment_parent` = 0' : '';
|
251 |
+
if ($args['limit']) {
|
252 |
+
$sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` INNER JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` WHERE `cm`.`meta_key` = 'wpdiscuz_votes' AND `c`.`comment_post_ID` = %d AND `c`.`comment_approved` = 1 $commentParent ORDER BY (`cm`.`meta_value` + 0) {$args['order']}, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'], $args['limit'], $args['offset']);
|
253 |
+
} else {
|
254 |
+
$allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
|
255 |
+
$sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` INNER JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` WHERE `cm`.`meta_key` = 'wpdiscuz_votes' AND `c`.`comment_post_ID` = %d AND `c`.`comment_approved` = 1 $commentParent ORDER BY (`cm`.`meta_value` + 0) {$args['order']}, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'],$allParentCounts,$args['viewed_comment_count']);
|
256 |
+
}
|
257 |
+
$postVotedCommentIds = $this->db->get_results($sqlPostVotedCommentIds, ARRAY_N);
|
258 |
+
return $this->matrixToArray($postVotedCommentIds);
|
259 |
+
}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* @return type array of comment ids
|
263 |
+
*/
|
264 |
+
public function getVotedCommentIds() {
|
265 |
+
$sqlVotedCommentIds = "SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` INNER JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` WHERE `cm`.`meta_key` = 'wpdiscuz_votes' AND `c`.`comment_approved` = 1 AND `c`.`comment_parent` = 0;";
|
266 |
+
$votedCommentIds = $this->db->get_results($sqlVotedCommentIds, ARRAY_N);
|
267 |
+
return $this->matrixToArray($votedCommentIds);
|
268 |
+
}
|
269 |
+
|
270 |
+
/**
|
271 |
+
* get all parent comments
|
272 |
+
*/
|
273 |
+
public function getAllComments($limit, $offset) {
|
274 |
+
$sql_comments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` LIMIT %d OFFSET %d", $limit, $offset);
|
275 |
+
$comments_id = $this->db->get_results($sql_comments, ARRAY_N);
|
276 |
+
return $this->matrixToArray($comments_id);
|
277 |
+
}
|
278 |
+
|
279 |
+
public function getAllParentCommentCount($postId = 0, $isThreaded = 1) {
|
280 |
+
$commentParent = $isThreaded ? '`comment_parent` = 0' : '1';
|
281 |
+
if ($postId) {
|
282 |
+
$sql_comments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE $commentParent AND `comment_post_ID` = %d AND `comment_approved` = 1", $postId);
|
283 |
+
} else {
|
284 |
+
$sql_comments = "SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE $commentParent";
|
285 |
+
}
|
286 |
+
$parentComments = $this->db->get_results($sql_comments, ARRAY_N);
|
287 |
+
return $this->matrixToArray($parentComments);
|
288 |
+
}
|
289 |
+
|
290 |
+
/**
|
291 |
+
* get first level comments by parent comment id
|
292 |
+
*/
|
293 |
+
public function getCommentsByParentId($comment_id) {
|
294 |
+
$sql_comments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_parent` = %d", $comment_id);
|
295 |
+
$comments_id = $this->db->get_results($sql_comments, ARRAY_N);
|
296 |
+
return $this->matrixToArray($comments_id);
|
297 |
+
}
|
298 |
+
|
299 |
+
/**
|
300 |
+
* checks if curret comment already is in meta
|
301 |
+
* return comment id if true false otherwise
|
302 |
+
*/
|
303 |
+
public function isCommentInMeta($commentId) {
|
304 |
+
$query = $this->db->prepare("SELECT `comment_id` FROM `" . $this->dbprefix . "commentmeta` WHERE `meta_key` LIKE %s AND `comment_id` = %d;", WpdiscuzCore::META_KEY_CHILDREN, $commentId);
|
305 |
+
return $this->db->query($query);
|
306 |
+
}
|
307 |
+
|
308 |
+
/**
|
309 |
+
* get meta rows containing comment id
|
310 |
+
*/
|
311 |
+
public function getRowsContainingCommentId($commentId, $parentId = 0) {
|
312 |
+
if ($parentId) {
|
313 |
+
$query = $this->db->prepare("SELECT `comment_id`, `meta_value` FROM `" . $this->dbprefix . "commentmeta` WHERE `meta_value` REGEXP '(,|^)%d,' AND `comment_id` = %d;", $commentId, $parentId);
|
314 |
+
} else {
|
315 |
+
$query = $this->db->prepare("SELECT `comment_id`, `meta_value` FROM `" . $this->dbprefix . "commentmeta` WHERE `meta_value` REGEXP '(,|^)%d,';", $commentId);
|
316 |
+
}
|
317 |
+
$rows = $this->db->get_results($query, ARRAY_A);
|
318 |
+
return $rows;
|
319 |
+
}
|
320 |
+
|
321 |
+
/**
|
322 |
+
* get count by parent comment id
|
323 |
+
*/
|
324 |
+
public function getCommentsCountByParentId($comment_id) {
|
325 |
+
$sql_comments = $this->db->prepare("SELECT COUNT(`comment_ID`) FROM `" . $this->dbprefix . "comments` WHERE `comment_approved` = 1 AND `comment_parent` = %d", $comment_id);
|
326 |
+
return $this->db->get_var($sql_comments);
|
327 |
+
}
|
328 |
+
|
329 |
+
public function addEmailNotification($id, $postID, $email, $subscriptionType, $confirm = 0) {
|
330 |
+
if ($subscriptionType != WpdiscuzCore::SUBSCRIPTION_COMMENT) {
|
331 |
+
$this->deleteCommentNotifications($id, $email);
|
332 |
+
}
|
333 |
+
$activationKey = md5($email . uniqid() . time());
|
334 |
+
$sql = $this->db->prepare("INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`,`confirm`) VALUES(%s, %d, %d, %s, %s, %d);", $email, $id, $postID, $subscriptionType, $activationKey,$confirm);
|
335 |
+
$this->db->query($sql);
|
336 |
+
return $this->db->insert_id ? array('id'=>$this->db->insert_id, 'activation_key' => $activationKey) : false;
|
337 |
+
}
|
338 |
+
|
339 |
+
public function getPostNewCommentNotification($post_id, $email) {
|
340 |
+
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->emailNotification . "` WHERE `subscribtion_type` = %s AND `confirm` = 1 AND `post_id` = %d AND `email` != %s;", WpdiscuzCore::SUBSCRIPTION_POST, $post_id, $email);
|
341 |
+
return $this->db->get_results($sql, ARRAY_A);
|
342 |
+
}
|
343 |
+
|
344 |
+
public function getAllNewCommentNotification($post_id, $email) {
|
345 |
+
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->emailNotification . "` WHERE `subscribtion_type` = %s AND `confirm` = 1 AND `post_id` = %d AND `email` != %s;", WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT, $post_id, $email);
|
346 |
+
return $this->db->get_results($sql, ARRAY_A);
|
347 |
+
}
|
348 |
+
|
349 |
+
public function getNewReplyNotification($comment_id, $email) {
|
350 |
+
$sql = $this->db->prepare("SELECT `id`,`email`,`activation_key` FROM `" . $this->emailNotification . "` WHERE `subscribtion_type` = %s AND `confirm` = 1 AND `subscribtion_id` = %d AND `email` != %s;", WpdiscuzCore::SUBSCRIPTION_COMMENT, $comment_id, $email);
|
351 |
+
return $this->db->get_results($sql, ARRAY_A);
|
352 |
+
}
|
353 |
+
|
354 |
+
public function hasSubscription($post_id, $email) {
|
355 |
+
$sql = $this->db->prepare("SELECT `subscribtion_type` as `type`, `confirm` FROM `" . $this->emailNotification . "` WHERE `post_id` = %d AND `email` = %s;", $post_id, $email);
|
356 |
+
$result = $this->db->get_row($sql, ARRAY_A);
|
357 |
+
return $result;
|
358 |
+
}
|
359 |
+
|
360 |
+
/**
|
361 |
+
* check if user subscription is confirmed or not
|
362 |
+
*/
|
363 |
+
public function isSubscriptionConfirmed($post_id, $email) {
|
364 |
+
$sqlIsSubscriptionConfirmed = $this->db->prepare("SELECT `confirm` FROM `" . $this->emailNotification . "` WHERE `subscribtion_type` IN(%s, %s, %s) AND `subscribtion_id` = %d AND `email` = %s;", WpdiscuzCore::SUBSCRIPTION_POST, WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT, WpdiscuzCore::SUBSCRIPTION_COMMENT, $post_id, $email);
|
365 |
+
return $this->db->get_var($sqlIsSubscriptionConfirmed);
|
366 |
+
}
|
367 |
+
|
368 |
+
/**
|
369 |
+
* delete comment thread subscribtions if new subscribtion type is post
|
370 |
+
*/
|
371 |
+
public function deleteCommentNotifications($post_id, $email) {
|
372 |
+
$sql_delete_comment_notifications = $this->db->prepare("DELETE FROM `" . $this->emailNotification . "` WHERE `subscribtion_type` != %s AND `post_id` = %d AND `email` LIKE %s;", WpdiscuzCore::SUBSCRIPTION_POST, $post_id, $email);
|
373 |
+
$this->db->query($sql_delete_comment_notifications);
|
374 |
+
}
|
375 |
+
|
376 |
+
/**
|
377 |
+
* create unsubscribe link
|
378 |
+
*/
|
379 |
+
public function unsubscribeLink($postID, $email) {
|
380 |
+
global $wp_rewrite;
|
381 |
+
$sql_subscriber_data = $this->db->prepare("SELECT `id`, `post_id`, `activation_key` FROM `" . $this->emailNotification . "` WHERE `post_id` = %d AND `email` LIKE %s", $postID, $email);
|
382 |
+
$wc_unsubscribe = $this->db->get_row($sql_subscriber_data, ARRAY_A);
|
383 |
+
$post_id = $wc_unsubscribe['post_id'];
|
384 |
+
$wc_unsubscribe_link = !$wp_rewrite->using_permalinks() ? get_permalink($post_id) . "&" : get_permalink($post_id) . "?";
|
385 |
+
$wc_unsubscribe_link .= "subscribeAnchor&wpdiscuzSubscribeID=" . $wc_unsubscribe['id'] . "&key=" . $wc_unsubscribe['activation_key'] . '&#wc_unsubscribe_message';
|
386 |
+
return $wc_unsubscribe_link;
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* generate confirm link
|
391 |
+
*/
|
392 |
+
public function confirmLink($postID, $email) {
|
393 |
+
global $wp_rewrite;
|
394 |
+
$sql_subscriber_data = $this->db->prepare("SELECT `id`, `activation_key` FROM `" . $this->emailNotification . "` WHERE `post_id` = %d AND `email` LIKE %s ", $postID, $email);
|
395 |
+
$wc_confirm = $this->db->get_row($sql_subscriber_data, ARRAY_A);
|
396 |
+
$wc_confirm_link = !$wp_rewrite->using_permalinks() ? get_permalink($postID) . "&" : get_permalink($postID) . "?";
|
397 |
+
$wc_confirm_link .= "subscribeAnchor&wpdiscuzConfirmID=" . $wc_confirm['id'] . "&wpdiscuzConfirmKey=" . $wc_confirm['activation_key'] . '&wpDiscuzComfirm=yes&#wc_unsubscribe_message';
|
398 |
+
return $wc_confirm_link;
|
399 |
+
}
|
400 |
+
|
401 |
+
/**
|
402 |
+
* Confirm post or comment subscribtion
|
403 |
+
*/
|
404 |
+
public function notificationConfirm($subscribe_id, $key) {
|
405 |
+
$sql_confirm = $this->db->prepare("UPDATE `" . $this->emailNotification . "` SET `confirm` = 1 WHERE `id` = %d AND `activation_key` LIKE %s;", $subscribe_id, $key);
|
406 |
+
return $this->db->query($sql_confirm);
|
407 |
+
}
|
408 |
+
|
409 |
+
/**
|
410 |
+
* delete subscribtion
|
411 |
+
*/
|
412 |
+
public function unsubscribe($id, $activation_key) {
|
413 |
+
$sql_unsubscribe = $this->db->prepare("DELETE FROM `" . $this->emailNotification . "` WHERE `id` = %d AND `activation_key` LIKE %s", $id, $activation_key);
|
414 |
+
return $this->db->query($sql_unsubscribe);
|
415 |
+
}
|
416 |
+
|
417 |
+
public function alterPhrasesTable() {
|
418 |
+
$sql_alter = "ALTER TABLE `" . $this->phrases . "` MODIFY `phrase_value` TEXT NOT NULL;";
|
419 |
+
$this->db->query($sql_alter);
|
420 |
+
}
|
421 |
+
|
422 |
+
public function alterVotingTable() {
|
423 |
+
$sql_alter = "ALTER TABLE `" . $this->users_voted . "` MODIFY `user_id` VARCHAR(255) NOT NULL, ADD COLUMN `is_guest` TINYINT(1) DEFAULT 0, ADD INDEX `is_guest` (`is_guest`);";
|
424 |
+
$this->db->query($sql_alter);
|
425 |
+
}
|
426 |
+
|
427 |
+
public function alterNotificationTable() {
|
428 |
+
$sql_alter = "ALTER TABLE `".$this->emailNotification."` ADD UNIQUE KEY `subscribe_unique_index` (`subscribtion_id`,`email`);";
|
429 |
+
$this->db->query($sql_alter);
|
430 |
+
}
|
431 |
+
|
432 |
+
private function matrixToArray($comments_id) {
|
433 |
+
$ids = array();
|
434 |
+
foreach ($comments_id as $comment) {
|
435 |
+
$ids[] = $comment[0];
|
436 |
+
}
|
437 |
+
return $ids;
|
438 |
+
}
|
439 |
+
|
440 |
+
}
|
options/class.WpdiscuzOptions.php
ADDED
@@ -0,0 +1,468 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WpdiscuzOptions {
|
4 |
+
|
5 |
+
private $optionsSerialized;
|
6 |
+
private $dbManager;
|
7 |
+
private $postTypes;
|
8 |
+
private $blogRoles;
|
9 |
+
private $shareButtons;
|
10 |
+
|
11 |
+
public function __construct($optionsSerialized, $dbManager) {
|
12 |
+
$this->dbManager = $dbManager;
|
13 |
+
$this->optionsSerialized = $optionsSerialized;
|
14 |
+
$this->initShareButtons();
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Builds options page
|
19 |
+
*/
|
20 |
+
public function mainOptionsForm() {
|
21 |
+
$defaultPostTypes = get_post_types('', 'names');
|
22 |
+
foreach ($defaultPostTypes as $postType) {
|
23 |
+
if ($postType != 'revision' && $postType != 'nav_menu_item') {
|
24 |
+
$this->postTypes[] = $postType;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
$this->blogRoles['post_author'] = '#00B38F';
|
28 |
+
$blogRoles = get_editable_roles();
|
29 |
+
foreach ($blogRoles as $roleName => $roleInfo) {
|
30 |
+
$this->blogRoles[$roleName] = '#00B38F';
|
31 |
+
}
|
32 |
+
$this->blogRoles['guest'] = '#00B38F';
|
33 |
+
|
34 |
+
if (isset($_POST['wc_submit_options'])) {
|
35 |
+
|
36 |
+
if (function_exists('current_user_can') && !current_user_can('manage_options')) {
|
37 |
+
die(_e('Hacker?', 'wpdiscuz'));
|
38 |
+
}
|
39 |
+
|
40 |
+
if (function_exists('check_admin_referer')) {
|
41 |
+
check_admin_referer('wc_options_form');
|
42 |
+
}
|
43 |
+
|
44 |
+
$this->optionsSerialized->postTypes = isset($_POST['wc_post_types']) ? $_POST['wc_post_types'] : array();
|
45 |
+
$this->optionsSerialized->commentListUpdateType = isset($_POST['wc_comment_list_update_type']) ? $_POST['wc_comment_list_update_type'] : 0;
|
46 |
+
$this->optionsSerialized->commentListUpdateTimer = isset($_POST['wc_comment_list_update_timer']) ? $_POST['wc_comment_list_update_timer'] : 30;
|
47 |
+
$this->optionsSerialized->liveUpdateGuests = isset($_POST['wc_live_update_guests']) ? $_POST['wc_live_update_guests'] : 0;
|
48 |
+
$this->optionsSerialized->commentEditableTime = isset($_POST['wc_comment_editable_time']) ? $_POST['wc_comment_editable_time'] : 900;
|
49 |
+
$this->optionsSerialized->redirectPage = isset($_POST['wpdiscuz_redirect_page']) ? $_POST['wpdiscuz_redirect_page'] : 0;
|
50 |
+
$this->optionsSerialized->isGuestCanVote = isset($_POST['wc_is_guest_can_vote']) ? $_POST['wc_is_guest_can_vote'] : 0;
|
51 |
+
$this->optionsSerialized->loadAllComments = isset($_POST['wc_load_all_comments']) ? $_POST['wc_load_all_comments'] : 0;
|
52 |
+
$this->optionsSerialized->votingButtonsShowHide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
|
53 |
+
$this->optionsSerialized->shareButtons = isset($_POST['wpdiscuz_share_buttons']) ? $_POST['wpdiscuz_share_buttons'] : array();
|
54 |
+
$this->optionsSerialized->captchaShowHide = isset($_POST['wc_captcha_show_hide']) ? $_POST['wc_captcha_show_hide'] : 0;
|
55 |
+
$this->optionsSerialized->captchaShowHideForMembers = isset($_POST['wc_captcha_show_hide_for_members']) ? $_POST['wc_captcha_show_hide_for_members'] : 0;
|
56 |
+
$this->optionsSerialized->weburlShowHide = isset($_POST['wc_weburl_show_hide']) ? $_POST['wc_weburl_show_hide'] : 0;
|
57 |
+
$this->optionsSerialized->headerTextShowHide = isset($_POST['wc_header_text_show_hide']) ? $_POST['wc_header_text_show_hide'] : 0;
|
58 |
+
$this->optionsSerialized->isNameFieldRequired = isset($_POST['wc_is_name_field_required']) ? $_POST['wc_is_name_field_required'] : 0;
|
59 |
+
$this->optionsSerialized->isEmailFieldRequired = isset($_POST['wc_is_email_field_required']) ? $_POST['wc_is_email_field_required'] : 0;
|
60 |
+
$this->optionsSerialized->showHideLoggedInUsername = isset($_POST['wc_show_hide_loggedin_username']) ? $_POST['wc_show_hide_loggedin_username'] : 0;
|
61 |
+
$this->optionsSerialized->replyButtonGuestsShowHide = isset($_POST['wc_reply_button_guests_show_hide']) ? $_POST['wc_reply_button_guests_show_hide'] : 0;
|
62 |
+
$this->optionsSerialized->replyButtonMembersShowHide = isset($_POST['wc_reply_button_members_show_hide']) ? $_POST['wc_reply_button_members_show_hide'] : 0;
|
63 |
+
$this->optionsSerialized->authorTitlesShowHide = isset($_POST['wc_author_titles_show_hide']) ? $_POST['wc_author_titles_show_hide'] : 0;
|
64 |
+
$this->optionsSerialized->simpleCommentDate = isset($_POST['wc_simple_comment_date']) ? $_POST['wc_simple_comment_date'] : 0;
|
65 |
+
$this->optionsSerialized->showSubscriptionBar = isset($_POST['show_subscription_bar']) ? $_POST['show_subscription_bar'] : 0;
|
66 |
+
$this->optionsSerialized->showHideReplyCheckbox = isset($_POST['wc_show_hide_reply_checkbox']) ? $_POST['wc_show_hide_reply_checkbox'] : 0;
|
67 |
+
$this->optionsSerialized->showSortingButtons = isset($_POST['show_sorting_buttons']) ? $_POST['show_sorting_buttons'] : 0;
|
68 |
+
$this->optionsSerialized->usePostmaticForCommentNotification = isset($_POST['wc_use_postmatic_for_comment_notification']) ? $_POST['wc_use_postmatic_for_comment_notification'] : 0;
|
69 |
+
$this->optionsSerialized->formBGColor = isset($_POST['wc_form_bg_color']) ? $_POST['wc_form_bg_color'] : '#f9f9f9';
|
70 |
+
$this->optionsSerialized->commentTextSize = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
|
71 |
+
$this->optionsSerialized->commentBGColor = isset($_POST['wc_comment_bg_color']) ? $_POST['wc_comment_bg_color'] : '#fefefe';
|
72 |
+
$this->optionsSerialized->replyBGColor = isset($_POST['wc_reply_bg_color']) ? $_POST['wc_reply_bg_color'] : '#f8f8f8';
|
73 |
+
$this->optionsSerialized->commentTextColor = isset($_POST['wc_comment_text_color']) ? $_POST['wc_comment_text_color'] : '#555';
|
74 |
+
$this->optionsSerialized->primaryColor = isset($_POST['wc_comment_username_color']) ? $_POST['wc_comment_username_color'] : '#00B38F';
|
75 |
+
$this->optionsSerialized->blogRoles = isset($_POST['wc_blog_roles']) ? wp_parse_args($_POST['wc_blog_roles'], $this->blogRoles) : $this->blogRoles;
|
76 |
+
$this->optionsSerialized->voteReplyColor = isset($_POST['wc_vote_reply_color']) ? $_POST['wc_vote_reply_color'] : '#666666';
|
77 |
+
$this->optionsSerialized->inputBorderColor = isset($_POST['wc_input_border_color']) ? $_POST['wc_input_border_color'] : '#d9d9d9';
|
78 |
+
$this->optionsSerialized->newLoadedCommentBGColor = isset($_POST['wc_new_loaded_comment_bg_color']) ? $_POST['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
|
79 |
+
$this->optionsSerialized->customCss = isset($_POST['wc_custom_css']) ? $_POST['wc_custom_css'] : '.comments-area{width:auto; margin: 0 auto;}';
|
80 |
+
$this->optionsSerialized->showPluginPoweredByLink = isset($_POST['wc_show_plugin_powerid_by']) ? $_POST['wc_show_plugin_powerid_by'] : 0;
|
81 |
+
$this->optionsSerialized->isUsePoMo = isset($_POST['wc_is_use_po_mo']) ? $_POST['wc_is_use_po_mo'] : 0;
|
82 |
+
$this->optionsSerialized->disableMemberConfirm = isset($_POST['wc_disable_member_confirm']) ? $_POST['wc_disable_member_confirm'] : 0;
|
83 |
+
$this->optionsSerialized->commentTextMinLength = (isset($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) > 0) ? intval($_POST['wc_comment_text_min_length']) : 1;
|
84 |
+
$this->optionsSerialized->commentTextMaxLength = (isset($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) > 0) ? intval($_POST['wc_comment_text_max_length']) : '';
|
85 |
+
$this->optionsSerialized->updateOptions();
|
86 |
+
}
|
87 |
+
?>
|
88 |
+
|
89 |
+
<div class="wrap wpdiscuz_options_page">
|
90 |
+
<div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
|
91 |
+
<img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>"/>
|
92 |
+
</div>
|
93 |
+
<h2 style="padding-bottom:20px; padding-top:15px;"><?php _e('wpDiscuz General Settings', 'wpdiscuz'); ?></h2>
|
94 |
+
<br style="clear:both" />
|
95 |
+
<link rel="stylesheet" href="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.bxslider.css" type="text/css" />
|
96 |
+
<script src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.min.js"></script>
|
97 |
+
<script src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.bxslider.js"></script>
|
98 |
+
<table width="100%" border="0" cellspacing="1" class="widefat">
|
99 |
+
<tr>
|
100 |
+
<td style="padding:10px; padding-left:0px; vertical-align:top; width:500px;">
|
101 |
+
<div class="slider">
|
102 |
+
<ul class="bxslider">
|
103 |
+
<li><a href="https://wordpress.org/plugins/woodiscuz-woocommerce-comments/screenshots/"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/3.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
104 |
+
<li><a href="https://wordpress.org/plugins/woocommerce-category-slider/screenshots/"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/5.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
105 |
+
<li><a href="https://wordpress.org/plugins/woocommerce-pdf-print/"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/4.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
106 |
+
<li><a href="https://wordpress.org/plugins/advanced-content-pagination/screenshots/"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/1.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
107 |
+
<li><a href="https://wordpress.org/plugins/author-and-post-statistic-widgets/"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/2.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
108 |
+
</ul>
|
109 |
+
</div>
|
110 |
+
<div style="clear:both"></div>
|
111 |
+
</td>
|
112 |
+
<td valign="top" style="padding:20px;">
|
113 |
+
<table width="100%" border="0" cellspacing="1" class="widefat">
|
114 |
+
<thead>
|
115 |
+
<tr>
|
116 |
+
<th style="font-size:14px; background-color:#FEFCE7"> Information</th>
|
117 |
+
</tr>
|
118 |
+
</thead>
|
119 |
+
<tr valign="top">
|
120 |
+
<td style="background:#FFF; text-align:left; font-size:13px;">
|
121 |
+
wpDiscuz is also available for WooCommerce. The WooCommerce Comments plugin name is <a href="https://wordpress.org/plugins/woodiscuz-woocommerce-comments/" style="color:#993399; text-decoration:underline;"><strong>WooDiscuz</strong></a>. It adds a new "Discussion" Tab on product page and allows your customers ask Pre-Sale Questions and discuss about your products.
|
122 |
+
</td>
|
123 |
+
</tr>
|
124 |
+
</table><br />
|
125 |
+
<table width="100%" border="0" cellspacing="1" class="widefat">
|
126 |
+
<thead>
|
127 |
+
<tr>
|
128 |
+
<th style="font-size:16px; background-color:#FEFCE7;"><strong>Like wpDiscuz?</strong> <br /><span style="font-size:15px">We really need your reviews!</span></th>
|
129 |
+
</tr>
|
130 |
+
</thead>
|
131 |
+
<tr valign="top">
|
132 |
+
<td style="background:#FFF; text-align:left; font-size:13px;">
|
133 |
+
We do our best to make wpDiscuz the best self-hosted comment plugin for Wordpress. Thousands users are currently satisfied with wpDiscuz but only about 1% of them give us 5 start rating.
|
134 |
+
However we have a very few users who for some very specific reasons are not satisfied and they are very active in decreasing wpDiscuz rating.
|
135 |
+
Please help us keep plugin rating high, encouraging us to develop and maintain this plugin. Take a one minute to leave <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5" title="Go to wpDiscuz Reviews section on Wordpress.org"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/gc/5s.png" border="0" align="absmiddle" /></a> star review on <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5">Wordpress.org</a>. Thank You!
|
136 |
+
<hr style="border-style:dotted;" />
|
137 |
+
<div style="width:200px; float:right;">
|
138 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
139 |
+
<input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="UC44WQM5XJFPA"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
140 |
+
</form>
|
141 |
+
</div>
|
142 |
+
We spend as much of my spare time as possible working on wpDiscuz and any donation is appreciated. Donations play a crucial role in supporting Free and Open Source Software projects.
|
143 |
+
</td>
|
144 |
+
</tr>
|
145 |
+
</table>
|
146 |
+
</td>
|
147 |
+
</tr>
|
148 |
+
</table>
|
149 |
+
<script>
|
150 |
+
$('.bxslider').bxSlider({
|
151 |
+
mode: 'fade',
|
152 |
+
captions: false,
|
153 |
+
auto: true
|
154 |
+
});
|
155 |
+
</script>
|
156 |
+
<br />
|
157 |
+
<?php
|
158 |
+
if (isset($_GET['wpdiscuz_reset_options']) && $_GET['wpdiscuz_reset_options'] == 1 && current_user_can('manage_options')) {
|
159 |
+
delete_option(WpdiscuzCore::OPTION_SLUG_OPTIONS);
|
160 |
+
$this->optionsSerialized->postTypes = array('post');
|
161 |
+
$this->optionsSerialized->shareButtons = array('fb', 'twitter', 'google');
|
162 |
+
$this->optionsSerialized->addOptions();
|
163 |
+
$this->optionsSerialized->initOptions(get_option(WpdiscuzCore::OPTION_SLUG_OPTIONS));
|
164 |
+
$this->optionsSerialized->blogRoles['post_author'] = '#00B38F';
|
165 |
+
$blogRoles = get_editable_roles();
|
166 |
+
foreach ($blogRoles as $roleName => $roleInfo) {
|
167 |
+
$this->optionsSerialized->blogRoles[$roleName] = '#00B38F';
|
168 |
+
}
|
169 |
+
$this->optionsSerialized->blogRoles['guest'] = '#00B38F';
|
170 |
+
$this->optionsSerialized->showPluginPoweredByLink = 1;
|
171 |
+
$this->optionsSerialized->updateOptions();
|
172 |
+
}
|
173 |
+
?>
|
174 |
+
|
175 |
+
<form action="<?php echo admin_url(); ?>edit-comments.php?page=wpdiscuz_options_page" method="post" name="wpdiscuz_options_page" class="wc-main-settings-form wc-form">
|
176 |
+
<?php
|
177 |
+
if (function_exists('wp_nonce_field')) {
|
178 |
+
wp_nonce_field('wc_options_form');
|
179 |
+
}
|
180 |
+
?>
|
181 |
+
<h2> </h2>
|
182 |
+
<div id="optionsTab">
|
183 |
+
<ul class="resp-tabs-list options_tab_id">
|
184 |
+
<li><?php _e('General settings', 'wpdiscuz'); ?></li>
|
185 |
+
<li><?php _e('Live Update', 'wpdiscuz'); ?></li>
|
186 |
+
<li><?php _e('Show/Hide Components', 'wpdiscuz'); ?></li>
|
187 |
+
<li><?php _e('Email Subscription', 'wpdiscuz'); ?> <?php if (class_exists('Prompt_Comment_Form_Handling')): ?> <?php _e('and Postmatic', 'wpdiscuz'); ?> <?php endif; ?></li>
|
188 |
+
<li><?php _e('Background and Colors', 'wpdiscuz'); ?></li>
|
189 |
+
<li><?php _e('Social Login', 'wpdiscuz'); ?></li>
|
190 |
+
<li><?php _e('Comments Optimization', 'wpdiscuz'); ?></li>
|
191 |
+
</ul>
|
192 |
+
<div class="resp-tabs-container options_tab_id">
|
193 |
+
<?php
|
194 |
+
include 'options-layouts/settings-general.php';
|
195 |
+
include 'options-layouts/settings-live-update.php';
|
196 |
+
include 'options-layouts/settings-show-hide.php';
|
197 |
+
include 'options-layouts/settings-subscription.php';
|
198 |
+
include 'options-layouts/settings-style.php';
|
199 |
+
include 'options-layouts/settings-social.php';
|
200 |
+
include 'options-layouts/settings-synch-comments.php';
|
201 |
+
?>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
<script type="text/javascript">
|
205 |
+
jQuery(document).ready(function ($) {
|
206 |
+
var width = 0;
|
207 |
+
var optionsTabsType = 'default';
|
208 |
+
$('#optionsTab ul.resp-tabs-list.options_tab_id li').each(function () {
|
209 |
+
width += $(this).outerWidth(true);
|
210 |
+
});
|
211 |
+
|
212 |
+
if (width > $('#optionsTab').innerWidth()) {
|
213 |
+
optionsTabsType = 'vertical';
|
214 |
+
}
|
215 |
+
|
216 |
+
var url = '<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/'); ?>';
|
217 |
+
$('.wpdiscuz-share-buttons').each(function () {
|
218 |
+
setBG($(this));
|
219 |
+
});
|
220 |
+
$('.wpdiscuz-share-buttons').click(function () {
|
221 |
+
setBG($(this));
|
222 |
+
});
|
223 |
+
function setBG(field) {
|
224 |
+
if ($('.wc_share_button', field).is(':checked')) {
|
225 |
+
$(field).css('background', 'url("' + url + $('.wc_share_button', field).val() + '-18x18-orig.png")');
|
226 |
+
} else {
|
227 |
+
$(field).css('background', 'url("' + url + $('.wc_share_button', field).val() + '-18x18.png")');
|
228 |
+
}
|
229 |
+
}
|
230 |
+
//Horizontal Tab
|
231 |
+
$('#optionsTab').easyResponsiveTabs({
|
232 |
+
type: optionsTabsType, //Types: default, vertical, accordion
|
233 |
+
width: 'auto', //auto or any width like 600px
|
234 |
+
fit: true, // 100% fit in a container
|
235 |
+
tabidentify: 'options_tab_id' // The tab groups identifier
|
236 |
+
});
|
237 |
+
$(document).delegate('.options_tab_id .resp-tab-item', 'click', function () {
|
238 |
+
var activeTabIndex = $('.resp-tabs-list.options_tab_id li.resp-tab-active').index();
|
239 |
+
$.cookie('optionsActiveTabIndex', activeTabIndex, {expires: 30});
|
240 |
+
});
|
241 |
+
if (location.href.indexOf('#optionsTab7') === -1) {
|
242 |
+
var savedIndex = $.cookie('optionsActiveTabIndex') >= 0 ? $.cookie('optionsActiveTabIndex') : 0;
|
243 |
+
$('.resp-tabs-list.options_tab_id li').removeClass('resp-tab-active');
|
244 |
+
$('.resp-tabs-container.options_tab_id > div').removeClass('resp-tab-content-active');
|
245 |
+
$('.resp-tabs-container.options_tab_id > div').css('display', 'none');
|
246 |
+
$('.resp-tabs-list.options_tab_id li').eq(savedIndex).addClass('resp-tab-active');
|
247 |
+
$('.resp-tabs-container.options_tab_id > div').eq(savedIndex).addClass('resp-tab-content-active');
|
248 |
+
$('.resp-tabs-container.options_tab_id > div').eq(savedIndex).css('display', 'block');
|
249 |
+
}
|
250 |
+
});
|
251 |
+
</script>
|
252 |
+
<table class="form-table wc-form-table">
|
253 |
+
<tbody>
|
254 |
+
<tr valign="top">
|
255 |
+
<td colspan="4">
|
256 |
+
<p class="submit">
|
257 |
+
<a style="float: left;" class="button button-secondary" href="<?php echo admin_url(); ?>edit-comments.php?page=wpdiscuz_options_page&wpdiscuz_reset_options=1"><?php _e('Reset Options', 'wpdiscuz'); ?></a>
|
258 |
+
<input style="float: right;" type="submit" class="button button-primary" name="wc_submit_options" value="<?php _e('Save Changes', 'wpdiscuz'); ?>" />
|
259 |
+
</p>
|
260 |
+
</td>
|
261 |
+
</tr>
|
262 |
+
</tbody>
|
263 |
+
</table>
|
264 |
+
<input type="hidden" name="action" value="update" />
|
265 |
+
</form>
|
266 |
+
</div>
|
267 |
+
<?php
|
268 |
+
}
|
269 |
+
|
270 |
+
public function phrasesOptionsForm() {
|
271 |
+
if (isset($_POST['wc_submit_phrases'])) {
|
272 |
+
if (function_exists('current_user_can') && !current_user_can('manage_options')) {
|
273 |
+
die(_e('Hacker?', 'wpdiscuz'));
|
274 |
+
}
|
275 |
+
if (function_exists('check_admin_referer')) {
|
276 |
+
check_admin_referer('wc_phrases_form');
|
277 |
+
}
|
278 |
+
$this->optionsSerialized->phrases['wc_leave_a_reply_text'] = $_POST['wc_leave_a_reply_text'];
|
279 |
+
$this->optionsSerialized->phrases['wc_be_the_first_text'] = $_POST['wc_be_the_first_text'];
|
280 |
+
$this->optionsSerialized->phrases['wc_header_text'] = $_POST['wc_header_text'];
|
281 |
+
$this->optionsSerialized->phrases['wc_header_text_plural'] = $_POST['wc_header_text_plural'];
|
282 |
+
$this->optionsSerialized->phrases['wc_header_on_text'] = $_POST['wc_header_on_text'];
|
283 |
+
$this->optionsSerialized->phrases['wc_comment_start_text'] = $_POST['wc_comment_start_text'];
|
284 |
+
$this->optionsSerialized->phrases['wc_comment_join_text'] = $_POST['wc_comment_join_text'];
|
285 |
+
$this->optionsSerialized->phrases['wc_email_text'] = $_POST['wc_email_text'];
|
286 |
+
$this->optionsSerialized->phrases['wc_name_text'] = $_POST['wc_name_text'];
|
287 |
+
$this->optionsSerialized->phrases['wc_website_text'] = $_POST['wc_website_text'];
|
288 |
+
$this->optionsSerialized->phrases['wc_captcha_text'] = $_POST['wc_captcha_text'];
|
289 |
+
$this->optionsSerialized->phrases['wc_submit_text'] = $_POST['wc_submit_text'];
|
290 |
+
$this->optionsSerialized->phrases['wc_notify_of'] = $_POST['wc_notify_of'];
|
291 |
+
$this->optionsSerialized->phrases['wc_notify_on_new_comment'] = $_POST['wc_notify_on_new_comment'];
|
292 |
+
$this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
|
293 |
+
$this->optionsSerialized->phrases['wc_notify_on_new_reply'] = $_POST['wc_notify_on_new_reply'];
|
294 |
+
$this->optionsSerialized->phrases['wc_sort_by'] = $_POST['wc_sort_by'];
|
295 |
+
$this->optionsSerialized->phrases['wc_newest'] = $_POST['wc_newest'];
|
296 |
+
$this->optionsSerialized->phrases['wc_oldest'] = $_POST['wc_oldest'];
|
297 |
+
$this->optionsSerialized->phrases['wc_most_voted'] = $_POST['wc_most_voted'];
|
298 |
+
$this->optionsSerialized->phrases['wc_load_more_submit_text'] = $_POST['wc_load_more_submit_text'];
|
299 |
+
$this->optionsSerialized->phrases['wc_load_rest_comments_submit_text'] = $_POST['wc_load_rest_comments_submit_text'];
|
300 |
+
$this->optionsSerialized->phrases['wc_reply_text'] = $_POST['wc_reply_text'];
|
301 |
+
$this->optionsSerialized->phrases['wc_share_text'] = $_POST['wc_share_text'];
|
302 |
+
$this->optionsSerialized->phrases['wc_edit_text'] = $_POST['wc_edit_text'];
|
303 |
+
$this->optionsSerialized->phrases['wc_share_facebook'] = $_POST['wc_share_facebook'];
|
304 |
+
$this->optionsSerialized->phrases['wc_share_twitter'] = $_POST['wc_share_twitter'];
|
305 |
+
$this->optionsSerialized->phrases['wc_share_google'] = $_POST['wc_share_google'];
|
306 |
+
$this->optionsSerialized->phrases['wc_share_vk'] = $_POST['wc_share_vk'];
|
307 |
+
$this->optionsSerialized->phrases['wc_share_ok'] = $_POST['wc_share_ok'];
|
308 |
+
$this->optionsSerialized->phrases['wc_hide_replies_text'] = $_POST['wc_hide_replies_text'];
|
309 |
+
$this->optionsSerialized->phrases['wc_show_replies_text'] = $_POST['wc_show_replies_text'];
|
310 |
+
$this->optionsSerialized->phrases['wc_user_title_guest_text'] = $_POST['wc_user_title_guest_text'];
|
311 |
+
$this->optionsSerialized->phrases['wc_user_title_member_text'] = $_POST['wc_user_title_member_text'];
|
312 |
+
$this->optionsSerialized->phrases['wc_user_title_author_text'] = $_POST['wc_user_title_author_text'];
|
313 |
+
$this->optionsSerialized->phrases['wc_user_title_admin_text'] = $_POST['wc_user_title_admin_text'];
|
314 |
+
$this->optionsSerialized->phrases['wc_email_subject'] = $_POST['wc_email_subject'];
|
315 |
+
$this->optionsSerialized->phrases['wc_email_message'] = $_POST['wc_email_message'];
|
316 |
+
$this->optionsSerialized->phrases['wc_new_reply_email_subject'] = $_POST['wc_new_reply_email_subject'];
|
317 |
+
$this->optionsSerialized->phrases['wc_new_reply_email_message'] = $_POST['wc_new_reply_email_message'];
|
318 |
+
$this->optionsSerialized->phrases['wc_subscribed_on_comment'] = $_POST['wc_subscribed_on_comment'];
|
319 |
+
$this->optionsSerialized->phrases['wc_subscribed_on_all_comment'] = $_POST['wc_subscribed_on_all_comment'];
|
320 |
+
$this->optionsSerialized->phrases['wc_subscribed_on_post'] = $_POST['wc_subscribed_on_post'];
|
321 |
+
$this->optionsSerialized->phrases['wc_unsubscribe'] = $_POST['wc_unsubscribe'];
|
322 |
+
$this->optionsSerialized->phrases['wc_ignore_subscription'] = $_POST['wc_ignore_subscription'];
|
323 |
+
$this->optionsSerialized->phrases['wc_unsubscribe_message'] = $_POST['wc_unsubscribe_message'];
|
324 |
+
$this->optionsSerialized->phrases['wc_subscribe_message'] = $_POST['wc_subscribe_message'];
|
325 |
+
$this->optionsSerialized->phrases['wc_confirm_email'] = $_POST['wc_confirm_email'];
|
326 |
+
$this->optionsSerialized->phrases['wc_comfirm_success_message'] = $_POST['wc_comfirm_success_message'];
|
327 |
+
$this->optionsSerialized->phrases['wc_confirm_email_subject'] = $_POST['wc_confirm_email_subject'];
|
328 |
+
$this->optionsSerialized->phrases['wc_confirm_email_message'] = $_POST['wc_confirm_email_message'];
|
329 |
+
$this->optionsSerialized->phrases['wc_error_empty_text'] = $_POST['wc_error_empty_text'];
|
330 |
+
$this->optionsSerialized->phrases['wc_error_email_text'] = $_POST['wc_error_email_text'];
|
331 |
+
$this->optionsSerialized->phrases['wc_error_url_text'] = $_POST['wc_error_url_text'];
|
332 |
+
$this->optionsSerialized->phrases['wc_year_text']['datetime'][0] = $_POST['wc_year_text'];
|
333 |
+
$this->optionsSerialized->phrases['wc_year_text_plural']['datetime'][0] = $_POST['wc_year_text_plural'];
|
334 |
+
$this->optionsSerialized->phrases['wc_month_text']['datetime'][0] = $_POST['wc_month_text'];
|
335 |
+
$this->optionsSerialized->phrases['wc_month_text_plural']['datetime'][0] = $_POST['wc_month_text_plural'];
|
336 |
+
$this->optionsSerialized->phrases['wc_day_text']['datetime'][0] = $_POST['wc_day_text'];
|
337 |
+
$this->optionsSerialized->phrases['wc_day_text_plural']['datetime'][0] = $_POST['wc_day_text_plural'];
|
338 |
+
$this->optionsSerialized->phrases['wc_hour_text']['datetime'][0] = $_POST['wc_hour_text'];
|
339 |
+
$this->optionsSerialized->phrases['wc_hour_text_plural']['datetime'][0] = $_POST['wc_hour_text_plural'];
|
340 |
+
$this->optionsSerialized->phrases['wc_minute_text']['datetime'][0] = $_POST['wc_minute_text'];
|
341 |
+
$this->optionsSerialized->phrases['wc_minute_text_plural']['datetime'][0] = $_POST['wc_minute_text_plural'];
|
342 |
+
$this->optionsSerialized->phrases['wc_second_text']['datetime'][0] = $_POST['wc_second_text'];
|
343 |
+
$this->optionsSerialized->phrases['wc_second_text_plural']['datetime'][0] = $_POST['wc_second_text_plural'];
|
344 |
+
$this->optionsSerialized->phrases['wc_right_now_text'] = $_POST['wc_right_now_text'];
|
345 |
+
$this->optionsSerialized->phrases['wc_ago_text'] = $_POST['wc_ago_text'];
|
346 |
+
$this->optionsSerialized->phrases['wc_posted_today_text'] = $_POST['wc_posted_today_text'];
|
347 |
+
$this->optionsSerialized->phrases['wc_you_must_be_text'] = $_POST['wc_you_must_be_text'];
|
348 |
+
$this->optionsSerialized->phrases['wc_logged_in_as'] = $_POST['wc_logged_in_as'];
|
349 |
+
$this->optionsSerialized->phrases['wc_log_out'] = $_POST['wc_log_out'];
|
350 |
+
$this->optionsSerialized->phrases['wc_logged_in_text'] = $_POST['wc_logged_in_text'];
|
351 |
+
$this->optionsSerialized->phrases['wc_to_post_comment_text'] = $_POST['wc_to_post_comment_text'];
|
352 |
+
$this->optionsSerialized->phrases['wc_vote_counted'] = $_POST['wc_vote_counted'];
|
353 |
+
$this->optionsSerialized->phrases['wc_vote_up'] = $_POST['wc_vote_up'];
|
354 |
+
$this->optionsSerialized->phrases['wc_vote_down'] = $_POST['wc_vote_down'];
|
355 |
+
$this->optionsSerialized->phrases['wc_held_for_moderate'] = $_POST['wc_held_for_moderate'];
|
356 |
+
$this->optionsSerialized->phrases['wc_vote_only_one_time'] = $_POST['wc_vote_only_one_time'];
|
357 |
+
$this->optionsSerialized->phrases['wc_voting_error'] = $_POST['wc_voting_error'];
|
358 |
+
$this->optionsSerialized->phrases['wc_self_vote'] = $_POST['wc_self_vote'];
|
359 |
+
$this->optionsSerialized->phrases['wc_deny_voting_from_same_ip'] = $_POST['wc_deny_voting_from_same_ip'];
|
360 |
+
$this->optionsSerialized->phrases['wc_login_to_vote'] = $_POST['wc_login_to_vote'];
|
361 |
+
$this->optionsSerialized->phrases['wc_invalid_captcha'] = $_POST['wc_invalid_captcha'];
|
362 |
+
$this->optionsSerialized->phrases['wc_invalid_field'] = $_POST['wc_invalid_field'];
|
363 |
+
$this->optionsSerialized->phrases['wc_new_comment_button_text'] = $_POST['wc_new_comment_button_text'];
|
364 |
+
$this->optionsSerialized->phrases['wc_new_comments_button_text'] = $_POST['wc_new_comments_button_text'];
|
365 |
+
$this->optionsSerialized->phrases['wc_new_reply_button_text'] = $_POST['wc_new_reply_button_text'];
|
366 |
+
$this->optionsSerialized->phrases['wc_new_replies_button_text'] = $_POST['wc_new_replies_button_text'];
|
367 |
+
$this->optionsSerialized->phrases['wc_new_comments_text'] = $_POST['wc_new_comments_text'];
|
368 |
+
$this->optionsSerialized->phrases['wc_comment_not_updated'] = $_POST['wc_comment_not_updated'];
|
369 |
+
$this->optionsSerialized->phrases['wc_comment_edit_not_possible'] = $_POST['wc_comment_edit_not_possible'];
|
370 |
+
$this->optionsSerialized->phrases['wc_comment_not_edited'] = $_POST['wc_comment_not_edited'];
|
371 |
+
$this->optionsSerialized->phrases['wc_comment_edit_save_button'] = $_POST['wc_comment_edit_save_button'];
|
372 |
+
$this->optionsSerialized->phrases['wc_comment_edit_cancel_button'] = $_POST['wc_comment_edit_cancel_button'];
|
373 |
+
$this->optionsSerialized->phrases['wc_msg_comment_text_min_length'] = $_POST['wc_msg_comment_text_min_length'];
|
374 |
+
$this->optionsSerialized->phrases['wc_msg_comment_text_max_length'] = $_POST['wc_msg_comment_text_max_length'];
|
375 |
+
$this->optionsSerialized->phrases['wc_msg_captcha_expired'] = $_POST['wc_msg_captcha_expired'];
|
376 |
+
$this->optionsSerialized->phrases['wc_msg_required_fields'] = $_POST['wc_msg_required_fields'];
|
377 |
+
$this->optionsSerialized->phrases['wc_connect_with'] = $_POST['wc_connect_with'];
|
378 |
+
$this->optionsSerialized->phrases['wc_subscribed_to'] = $_POST['wc_subscribed_to'];
|
379 |
+
$this->dbManager->updatePhrases($this->optionsSerialized->phrases);
|
380 |
+
}
|
381 |
+
$this->optionsSerialized->initPhrasesOnLoad();
|
382 |
+
?>
|
383 |
+
<div class="wrap wpdiscuz_options_page">
|
384 |
+
<div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
|
385 |
+
<img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>" style="height:43px;"/>
|
386 |
+
</div>
|
387 |
+
<h2 style="padding-bottom:20px; padding-top:15px;"><?php _e('WpDiscuz Front-end Phrases', 'wpdiscuz'); ?></h2>
|
388 |
+
<br style="clear:both" />
|
389 |
+
<form action="<?php echo admin_url(); ?>edit-comments.php?page=wpdiscuz_phrases_page" method="post" name="wpdiscuz_phrases_page" class="wc-phrases-settings-form wc-form">
|
390 |
+
<?php
|
391 |
+
if (function_exists('wp_nonce_field')) {
|
392 |
+
wp_nonce_field('wc_phrases_form');
|
393 |
+
}
|
394 |
+
?>
|
395 |
+
<div id="phrasesTab">
|
396 |
+
<ul class="resp-tabs-list phrases_tab_id">
|
397 |
+
<li><?php _e('General', 'wpdiscuz'); ?></li>
|
398 |
+
<li><?php _e('Form', 'wpdiscuz'); ?></li>
|
399 |
+
<li><?php _e('Comment', 'wpdiscuz'); ?></li>
|
400 |
+
<li><?php _e('Date/Time', 'wpdiscuz'); ?></li>
|
401 |
+
<li><?php _e('Email', 'wpdiscuz'); ?></li>
|
402 |
+
<li><?php _e('Notification', 'wpdiscuz'); ?></li>
|
403 |
+
</ul>
|
404 |
+
<div class="resp-tabs-container phrases_tab_id">
|
405 |
+
<?php include 'phrases-layouts/phrases-general.php'; ?>
|
406 |
+
<?php include 'phrases-layouts/phrases-form.php'; ?>
|
407 |
+
<?php include 'phrases-layouts/phrases-comment.php'; ?>
|
408 |
+
<?php include 'phrases-layouts/phrases-datetime.php'; ?>
|
409 |
+
<?php include 'phrases-layouts/phrases-email.php'; ?>
|
410 |
+
<?php include 'phrases-layouts/phrases-notification.php'; ?>
|
411 |
+
</div>
|
412 |
+
</div>
|
413 |
+
<script type="text/javascript">
|
414 |
+
jQuery(document).ready(function ($) {
|
415 |
+
var width = 0;
|
416 |
+
var phrasesTabsType = 'default';
|
417 |
+
$('#phrasesTab ul.resp-tabs-list.phrases_tab_id li').each(function () {
|
418 |
+
width += $(this).outerWidth(true);
|
419 |
+
});
|
420 |
+
|
421 |
+
if (width > $('#phrasesTab').innerWidth()) {
|
422 |
+
phrasesTabsType = 'vertical';
|
423 |
+
}
|
424 |
+
$('#phrasesTab').easyResponsiveTabs({
|
425 |
+
type: 'default', //Types: default, vertical, accordion
|
426 |
+
width: 'auto', //auto or any width like 600px
|
427 |
+
fit: true, // 100% fit in a container
|
428 |
+
tabidentify: 'phrases_tab_id' // The tab groups identifier
|
429 |
+
});
|
430 |
+
$(document).delegate('.phrases_tab_id .resp-tab-item', 'click', function () {
|
431 |
+
var activeTabIndex = $('.resp-tabs-list.phrases_tab_id li.resp-tab-active').index();
|
432 |
+
$.cookie('phrasesActiveTabIndex', activeTabIndex, {expires: 30});
|
433 |
+
});
|
434 |
+
var savedIndex = $.cookie('phrasesActiveTabIndex') >= 0 ? $.cookie('phrasesActiveTabIndex') : 0;
|
435 |
+
$('.resp-tabs-list.phrases_tab_id li').removeClass('resp-tab-active');
|
436 |
+
$('.resp-tabs-container.phrases_tab_id > div').removeClass('resp-tab-content-active');
|
437 |
+
$('.resp-tabs-container.phrases_tab_id > div').css('display', 'none');
|
438 |
+
$('.resp-tabs-list.phrases_tab_id li').eq(savedIndex).addClass('resp-tab-active');
|
439 |
+
$('.resp-tabs-container.phrases_tab_id > div').eq(savedIndex).addClass('resp-tab-content-active');
|
440 |
+
$('.resp-tabs-container.phrases_tab_id > div').eq(savedIndex).css('display', 'block');
|
441 |
+
});
|
442 |
+
</script>
|
443 |
+
<table class="form-table wc-form-table">
|
444 |
+
<tbody>
|
445 |
+
<tr valign="top">
|
446 |
+
<td colspan="4">
|
447 |
+
<p class="submit">
|
448 |
+
<input type="submit" class="button button-primary" name="wc_submit_phrases" value="<?php _e('Save Changes', 'wpdiscuz'); ?>" />
|
449 |
+
</p>
|
450 |
+
</td>
|
451 |
+
</tr>
|
452 |
+
<input type="hidden" name="action" value="update" />
|
453 |
+
</tbody>
|
454 |
+
</table>
|
455 |
+
</form>
|
456 |
+
</div>
|
457 |
+
<?php
|
458 |
+
}
|
459 |
+
|
460 |
+
public function initShareButtons() {
|
461 |
+
$this->shareButtons[] = 'fb';
|
462 |
+
$this->shareButtons[] = 'twitter';
|
463 |
+
$this->shareButtons[] = 'google';
|
464 |
+
$this->shareButtons[] = 'vk';
|
465 |
+
$this->shareButtons[] = 'ok';
|
466 |
+
}
|
467 |
+
|
468 |
+
}
|
options/class.WpdiscuzOptionsSerialized.php
ADDED
@@ -0,0 +1,677 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WpdiscuzOptionsSerialized {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Type - Checkbox array
|
7 |
+
* Available Values - Checked/Unchecked
|
8 |
+
* Description - On which post types display comment form
|
9 |
+
* Default Value - Post
|
10 |
+
*/
|
11 |
+
public $postTypes = array('post');
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Type - Radio Button
|
15 |
+
* Available Values - Disabled / Always updtae / Update if has new comments
|
16 |
+
* Description - Updates comments list via ajax to show new comments
|
17 |
+
* Default Value - Disabled
|
18 |
+
*/
|
19 |
+
public $commentListUpdateType;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Type - Dropdown menu
|
23 |
+
* Available Values - 10s, 20s, 30s, 60s(1 minute), 180s(3 minutes), 300s(5 minutes), 600s(10 minutes)
|
24 |
+
* Description - Updates comments list every ... seconds
|
25 |
+
* Default Value - Comment list update timer value
|
26 |
+
*/
|
27 |
+
public $commentListUpdateTimer;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Type - Checkbox
|
31 |
+
* Available Values - Checked/Unchecked
|
32 |
+
* Description - Allow guests to vote on comments
|
33 |
+
* Default Value - Checked
|
34 |
+
*/
|
35 |
+
public $liveUpdateGuests;
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Type - Dropdown menu
|
39 |
+
* Available Values - Not Allow(0), 900s(15 minutes) 1800s(30 minutes), 3600s(1 hour), 10800s(3 hours), 86400(24 hours)
|
40 |
+
* Description - Allow commnet editing after comment subimt
|
41 |
+
* Default Value - Editable comment time value
|
42 |
+
*/
|
43 |
+
public $commentEditableTime;
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Type - Dropdown menu
|
47 |
+
* Available Values - list of pages (ids)
|
48 |
+
* Description - Redirect first commenter to the selected page
|
49 |
+
* Default Value - 0
|
50 |
+
*/
|
51 |
+
public $redirectPage;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Type - Checkbox
|
55 |
+
* Available Values - Checked/Unchecked
|
56 |
+
* Description - Allow guests to vote on comments
|
57 |
+
* Default Value - Checked
|
58 |
+
*/
|
59 |
+
public $isGuestCanVote;
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Type - Checkbox
|
63 |
+
* Available Values - Checked/Unchecked
|
64 |
+
* Description - Load all comments on click load more button
|
65 |
+
* Default Value - Unchecked
|
66 |
+
*/
|
67 |
+
public $loadAllComments;
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Type - Checkbox
|
71 |
+
* Available Values - Checked/Unchecked
|
72 |
+
* Description - Show/Hide Voting buttons
|
73 |
+
* Default Value - Unchecked
|
74 |
+
*/
|
75 |
+
public $votingButtonsShowHide;
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Type - Checkbox array
|
79 |
+
* Available Values - Checked/Unchecked
|
80 |
+
* Description - Show/Hide Share Buttons
|
81 |
+
* Default Value - fb, g+, tw, vk, ok
|
82 |
+
*/
|
83 |
+
public $shareButtons = array('fb', 'twitter', 'google');
|
84 |
+
|
85 |
+
/*
|
86 |
+
* Type - Checkbox
|
87 |
+
* Available Values - Checked/Unchecked
|
88 |
+
* Description - Show/Hide the CAPTCHA field
|
89 |
+
* Default Value - Unchecked
|
90 |
+
*/
|
91 |
+
public $captchaShowHide;
|
92 |
+
|
93 |
+
/*
|
94 |
+
* Type - Checkbox
|
95 |
+
* Available Values - Checked/Unchecked
|
96 |
+
* Description - Show the CAPTCHA field for logged in users
|
97 |
+
* Default Value - Unchecked
|
98 |
+
*/
|
99 |
+
public $captchaShowHideForMembers;
|
100 |
+
|
101 |
+
/*
|
102 |
+
* Type - Checkbox
|
103 |
+
* Available Values - Checked/Unchecked
|
104 |
+
* Description - Show/Hide the Web URL field
|
105 |
+
* Default Value - Unchecked
|
106 |
+
*/
|
107 |
+
public $weburlShowHide;
|
108 |
+
|
109 |
+
/*
|
110 |
+
* Type - Checkbox
|
111 |
+
* Available Values - Checked/Unchecked
|
112 |
+
* Description - Show/Hide header text
|
113 |
+
* Default Value - Unchecked
|
114 |
+
*/
|
115 |
+
public $headerTextShowHide;
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Type - Checkbox
|
119 |
+
* Available Values - Checked/Unchecked
|
120 |
+
* Description - If checked user must fill this field
|
121 |
+
* Default Value - Checked
|
122 |
+
*/
|
123 |
+
public $isNameFieldRequired;
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Type - Checkbox
|
127 |
+
* Available Values - Checked/Unchecked
|
128 |
+
* Description - If checked user must fill this field
|
129 |
+
* Default Value - Checked
|
130 |
+
*/
|
131 |
+
public $isEmailFieldRequired;
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Type - Checkbox
|
135 |
+
* Available Values - Checked/Unchecked
|
136 |
+
* Description - If checked show logged-in user name top of the main form
|
137 |
+
* Default Value - Checked
|
138 |
+
*/
|
139 |
+
public $showHideLoggedInUsername;
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Type - Checkbox
|
143 |
+
* Available Values - Checked/Unchecked
|
144 |
+
* Description - Show/Hide Reply button for Guests
|
145 |
+
* Default Value - Unchecked
|
146 |
+
*/
|
147 |
+
public $replyButtonGuestsShowHide;
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Type - Checkbox
|
151 |
+
* Available Values - Checked/Unchecked
|
152 |
+
* Description - Show/Hide Reply button for Customers
|
153 |
+
* Default Value - Unchecked
|
154 |
+
*/
|
155 |
+
public $replyButtonMembersShowHide;
|
156 |
+
|
157 |
+
/**
|
158 |
+
* Type - Checkbox
|
159 |
+
* Available Values - Checked/Unchecked
|
160 |
+
* Description - Show/Hide Author Titles
|
161 |
+
* Default Value - Unchecked
|
162 |
+
*/
|
163 |
+
public $authorTitlesShowHide;
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Type - Checkbox
|
167 |
+
* Available Values - Checked/Unchecked
|
168 |
+
* Description - Comment date format - 20-01-2015
|
169 |
+
* Default Value - Checked
|
170 |
+
*/
|
171 |
+
public $simpleCommentDate;
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Type - Checkbox
|
175 |
+
* Available Values - Checked/Unchecked
|
176 |
+
* Description - Show all new reply notification checkbox below the form
|
177 |
+
* Default Value - Checked
|
178 |
+
*/
|
179 |
+
public $showSubscriptionBar;
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Type - Checkbox
|
183 |
+
* Available Values - Checked/Unchecked
|
184 |
+
* Description - Show new reply notification checkbox below the form
|
185 |
+
* Default Value - Checked
|
186 |
+
*/
|
187 |
+
public $showHideReplyCheckbox;
|
188 |
+
|
189 |
+
/**
|
190 |
+
* Type - Checkbox
|
191 |
+
* Available Values - Checked/Unchecked
|
192 |
+
* Description - Show/Hide comment sorting by votes on front-end
|
193 |
+
* Default Value - Unchecked
|
194 |
+
*/
|
195 |
+
public $showSortingButtons;
|
196 |
+
|
197 |
+
/**
|
198 |
+
* Type - Checkbox
|
199 |
+
* Available Values - Checked/Unchecked
|
200 |
+
* Description - Use Postmatic plugin for comment notification
|
201 |
+
* Default Value - Unchecked
|
202 |
+
*/
|
203 |
+
public $usePostmaticForCommentNotification;
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Type - Select
|
207 |
+
* Available Values - 12px-16px
|
208 |
+
* Description - Comment Text Size
|
209 |
+
* Default Value - 14px
|
210 |
+
*/
|
211 |
+
public $commentTextSize;
|
212 |
+
|
213 |
+
/**
|
214 |
+
* Type - Input
|
215 |
+
* Available Values - color codes
|
216 |
+
* Description - Form Background Color
|
217 |
+
* Default Value - #F9F9F9
|
218 |
+
*/
|
219 |
+
public $formBGColor;
|
220 |
+
|
221 |
+
/**
|
222 |
+
* Type - Input
|
223 |
+
* Available Values - color codes
|
224 |
+
* Description - Comment Background Color
|
225 |
+
* Default Value - #FEFEFE
|
226 |
+
*/
|
227 |
+
public $commentBGColor;
|
228 |
+
|
229 |
+
/**
|
230 |
+
* Type - Input
|
231 |
+
* Available Values - color codes
|
232 |
+
* Description - Reply Background Color
|
233 |
+
* Default Value - #F8F8F8
|
234 |
+
*/
|
235 |
+
public $replyBGColor;
|
236 |
+
|
237 |
+
/**
|
238 |
+
* Type - Input
|
239 |
+
* Available Values - color codes
|
240 |
+
* Description - Comment Text Color
|
241 |
+
* Default Value - #555
|
242 |
+
*/
|
243 |
+
public $commentTextColor;
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Type - Input
|
247 |
+
* Available Values - color codes
|
248 |
+
* Description - Comment Username Color
|
249 |
+
* Default Value - #00B38F
|
250 |
+
*/
|
251 |
+
public $primaryColor;
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Type - Input
|
255 |
+
* Available Values - color codes
|
256 |
+
* Description - Colors for blog users by roles
|
257 |
+
* Default Value - #00B38F
|
258 |
+
*/
|
259 |
+
public $blogRoles;
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Type - Input
|
263 |
+
* Available Values - color codes
|
264 |
+
* Description - Vote, Reply, Share, Edit - text colors
|
265 |
+
* Default Value - #666666
|
266 |
+
*/
|
267 |
+
public $voteReplyColor;
|
268 |
+
|
269 |
+
/**
|
270 |
+
* Type - Input
|
271 |
+
* Available Values - color codes
|
272 |
+
* Description - Form imput border olor
|
273 |
+
* Default Value - #D9D9D9
|
274 |
+
*/
|
275 |
+
public $inputBorderColor;
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Type - Input
|
279 |
+
* Available Values - color codes
|
280 |
+
* Description - New Comments background color
|
281 |
+
* Default Value - #FFFAD6
|
282 |
+
*/
|
283 |
+
public $newLoadedCommentBGColor;
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Type - Textarea
|
287 |
+
* Available Values - custom css code
|
288 |
+
* Description - Custom css code
|
289 |
+
* Default Value -
|
290 |
+
*/
|
291 |
+
public $customCss;
|
292 |
+
|
293 |
+
/**
|
294 |
+
* Type - HTML elements array
|
295 |
+
* Available Values - Text
|
296 |
+
* Description - Phrases for form elements texts
|
297 |
+
* Default Value -
|
298 |
+
*/
|
299 |
+
public $phrases;
|
300 |
+
|
301 |
+
/**
|
302 |
+
* helper class for database operations
|
303 |
+
*/
|
304 |
+
public $dbManager;
|
305 |
+
|
306 |
+
/**
|
307 |
+
* Type - Checkbox
|
308 |
+
* Available Values - Checked/Unchecked
|
309 |
+
* Description - Hide plugin powerid by information
|
310 |
+
* Default Value - Unchecked
|
311 |
+
*/
|
312 |
+
public $showPluginPoweredByLink;
|
313 |
+
|
314 |
+
/**
|
315 |
+
* Type - Checkbox
|
316 |
+
* Available Values - Checked/Unchecked
|
317 |
+
* Description - Use .PO/.MO files
|
318 |
+
* Default Value - Unchecked
|
319 |
+
*/
|
320 |
+
public $isUsePoMo;
|
321 |
+
|
322 |
+
/**
|
323 |
+
* Type - Checkbox
|
324 |
+
* Available Values - Checked/Unchecked
|
325 |
+
* Description - Disable confirmation email for members
|
326 |
+
* Default Value - Unchecked
|
327 |
+
*/
|
328 |
+
public $disableMemberConfirm;
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Type - Input
|
332 |
+
* Available Values - Integer (comment text min length)
|
333 |
+
* Description - Define comment text min length
|
334 |
+
* Default Value - 1 characters
|
335 |
+
*/
|
336 |
+
public $commentTextMinLength;
|
337 |
+
|
338 |
+
/**
|
339 |
+
* Type - Input
|
340 |
+
* Available Values - Integer (comment text length)
|
341 |
+
* Description - Define comment text max length (leave blank for unlimit length)
|
342 |
+
* Default Value - Unlimit
|
343 |
+
*/
|
344 |
+
public $commentTextMaxLength;
|
345 |
+
public $wordpressCommentRegistration;
|
346 |
+
public $wordpressDateFormat;
|
347 |
+
public $wordpressTimeFormat;
|
348 |
+
public $wordpressThreadComments;
|
349 |
+
public $wordpressThreadCommentsDepth;
|
350 |
+
public $wordpressIsPaginate;
|
351 |
+
public $wordpressCommentOrder;
|
352 |
+
public $wordpressDefaultCommentsPage;
|
353 |
+
public $wordpressCommentPerPage;
|
354 |
+
public $wordpressShowAvatars;
|
355 |
+
|
356 |
+
function __construct($dbmanager) {
|
357 |
+
$this->dbManager = $dbmanager;
|
358 |
+
$this->initPhrases();
|
359 |
+
$this->addOptions();
|
360 |
+
$this->initOptions(get_option(WpdiscuzCore::OPTION_SLUG_OPTIONS));
|
361 |
+
$this->wordpressCommentRegistration = get_option('comment_registration');
|
362 |
+
$this->wordpressDateFormat = get_option('date_format');
|
363 |
+
$this->wordpressTimeFormat = get_option('time_format');
|
364 |
+
$this->wordpressThreadComments = get_option('thread_comments');
|
365 |
+
$this->wordpressThreadCommentsDepth = get_option('thread_comments_depth');
|
366 |
+
$this->wordpressIsPaginate = get_option('page_comments');
|
367 |
+
$this->wordpressCommentOrder = get_option('comment_order');
|
368 |
+
$this->wordpressCommentPerPage = get_option('comments_per_page');
|
369 |
+
$this->wordpressShowAvatars = get_option('show_avatars');
|
370 |
+
$this->wordpressDefaultCommentsPage = get_option('default_comments_page');
|
371 |
+
add_action('plugins_loaded', array(&$this, 'initPhrasesOnLoad'), 2126);
|
372 |
+
}
|
373 |
+
|
374 |
+
public function initOptions($serialize_options) {
|
375 |
+
$options = maybe_unserialize($serialize_options);
|
376 |
+
$this->postTypes = isset($options['wc_post_types']) ? $options['wc_post_types'] : array('post');
|
377 |
+
$this->commentListUpdateType = isset($options['wc_comment_list_update_type']) ? $options['wc_comment_list_update_type'] : 0;
|
378 |
+
$this->commentListUpdateTimer = isset($options['wc_comment_list_update_timer']) ? $options['wc_comment_list_update_timer'] : 30;
|
379 |
+
$this->liveUpdateGuests = isset($options['wc_live_update_guests']) ? $options['wc_live_update_guests'] : 1;
|
380 |
+
$this->commentEditableTime = isset($options['wc_comment_editable_time']) ? $options['wc_comment_editable_time'] : 900;
|
381 |
+
$this->redirectPage = isset($options['wpdiscuz_redirect_page']) ? $options['wpdiscuz_redirect_page'] : 0;
|
382 |
+
$this->isGuestCanVote = isset($options['wc_is_guest_can_vote']) ? $options['wc_is_guest_can_vote'] : 0;
|
383 |
+
$this->loadAllComments = isset($options['wc_load_all_comments']) ? $options['wc_load_all_comments'] : 0;
|
384 |
+
$this->votingButtonsShowHide = isset($options['wc_voting_buttons_show_hide']) ? $options['wc_voting_buttons_show_hide'] : 0;
|
385 |
+
$this->shareButtons = isset($options['wpdiscuz_share_buttons']) ? $options['wpdiscuz_share_buttons'] : array('fb', 'twitter', 'google');
|
386 |
+
$this->captchaShowHide = isset($options['wc_captcha_show_hide']) ? $options['wc_captcha_show_hide'] : 0;
|
387 |
+
$this->captchaShowHideForMembers = isset($options['wc_captcha_show_hide_for_members']) ? $options['wc_captcha_show_hide_for_members'] : 0;
|
388 |
+
$this->weburlShowHide = isset($options['wc_weburl_show_hide']) ? $options['wc_weburl_show_hide'] : 0;
|
389 |
+
$this->headerTextShowHide = isset($options['wc_header_text_show_hide']) ? $options['wc_header_text_show_hide'] : 0;
|
390 |
+
$this->isNameFieldRequired = isset($options['wc_is_name_field_required']) ? $options['wc_is_name_field_required'] : 0;
|
391 |
+
$this->isEmailFieldRequired = isset($options['wc_is_email_field_required']) ? $options['wc_is_email_field_required'] : 0;
|
392 |
+
$this->showHideLoggedInUsername = isset($options['wc_show_hide_loggedin_username']) ? $options['wc_show_hide_loggedin_username'] : 0;
|
393 |
+
$this->replyButtonGuestsShowHide = isset($options['wc_reply_button_guests_show_hide']) ? $options['wc_reply_button_guests_show_hide'] : 0;
|
394 |
+
$this->replyButtonMembersShowHide = isset($options['wc_reply_button_members_show_hide']) ? $options['wc_reply_button_members_show_hide'] : 0;
|
395 |
+
$this->authorTitlesShowHide = isset($options['wc_author_titles_show_hide']) ? $options['wc_author_titles_show_hide'] : 0;
|
396 |
+
$this->simpleCommentDate = isset($options['wc_simple_comment_date']) ? $options['wc_simple_comment_date'] : 0;
|
397 |
+
$this->showSubscriptionBar = isset($options['show_subscription_bar']) ? $options['show_subscription_bar'] : 1;
|
398 |
+
$this->showHideReplyCheckbox = isset($options['wc_show_hide_reply_checkbox']) ? $options['wc_show_hide_reply_checkbox'] : 0;
|
399 |
+
$this->showSortingButtons = isset($options['show_sorting_buttons']) ? $options['show_sorting_buttons'] : 1;
|
400 |
+
$this->usePostmaticForCommentNotification = isset($options['wc_use_postmatic_for_comment_notification']) ? $options['wc_use_postmatic_for_comment_notification'] : 0;
|
401 |
+
$this->commentTextSize = isset($options['wc_comment_text_size']) ? $options['wc_comment_text_size'] : '14px';
|
402 |
+
$this->formBGColor = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#F9F9F9';
|
403 |
+
$this->commentBGColor = isset($options['wc_comment_bg_color']) ? $options['wc_comment_bg_color'] : '#FEFEFE';
|
404 |
+
$this->replyBGColor = isset($options['wc_reply_bg_color']) ? $options['wc_reply_bg_color'] : '#F8F8F8';
|
405 |
+
$this->commentTextColor = isset($options['wc_comment_text_color']) ? $options['wc_comment_text_color'] : '#555';
|
406 |
+
$this->primaryColor = isset($options['wc_comment_username_color']) ? $options['wc_comment_username_color'] : '#00B38F';
|
407 |
+
$this->blogRoles = isset($options['wc_blog_roles']) ? $options['wc_blog_roles'] : array();
|
408 |
+
$this->voteReplyColor = isset($options['wc_vote_reply_color']) ? $options['wc_vote_reply_color'] : '#666666';
|
409 |
+
$this->inputBorderColor = isset($options['wc_input_border_color']) ? $options['wc_input_border_color'] : "#D9D9D9";
|
410 |
+
$this->newLoadedCommentBGColor = isset($options['wc_new_loaded_comment_bg_color']) ? $options['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
|
411 |
+
$this->customCss = isset($options['wc_custom_css']) ? $options['wc_custom_css'] : '.comments-area{width:auto; margin: 0 auto;}';
|
412 |
+
$this->showPluginPoweredByLink = isset($options['wc_show_plugin_powerid_by']) ? $options['wc_show_plugin_powerid_by'] : 0;
|
413 |
+
$this->isUsePoMo = isset($options['wc_is_use_po_mo']) ? $options['wc_is_use_po_mo'] : 0;
|
414 |
+
$this->disableMemberConfirm = isset($options['wc_disable_member_confirm']) ? $options['wc_disable_member_confirm'] : 1;
|
415 |
+
$this->commentTextMinLength = isset($options['wc_comment_text_min_length']) ? $options['wc_comment_text_min_length'] : 1;
|
416 |
+
$this->commentTextMaxLength = isset($options['wc_comment_text_max_length']) ? $options['wc_comment_text_max_length'] : '';
|
417 |
+
}
|
418 |
+
|
419 |
+
/**
|
420 |
+
* initialize default phrases
|
421 |
+
*/
|
422 |
+
public function initPhrases() {
|
423 |
+
$this->phrases = array(
|
424 |
+
'wc_leave_a_reply_text' => __('Leave a Reply', 'wpdiscuz'),
|
425 |
+
'wc_be_the_first_text' => __('Be the First to Comment!', 'wpdiscuz'),
|
426 |
+
'wc_header_text' => __('Comment', 'wpdiscuz'),
|
427 |
+
'wc_header_text_plural' => __('Comments', 'wpdiscuz'), // PLURAL
|
428 |
+
'wc_header_on_text' => __('on', 'wpdiscuz'),
|
429 |
+
'wc_comment_start_text' => __('Start the discussion', 'wpdiscuz'),
|
430 |
+
'wc_comment_join_text' => __('Join the discussion', 'wpdiscuz'),
|
431 |
+
'wc_email_text' => __('Email', 'wpdiscuz'),
|
432 |
+
'wc_name_text' => __('Name', 'wpdiscuz'),
|
433 |
+
'wc_website_text' => __('WebSite URL', 'wpdiscuz'),
|
434 |
+
'wc_captcha_text' => __('Please insert the code above to comment', 'wpdiscuz'),
|
435 |
+
'wc_submit_text' => __('Post Comment', 'wpdiscuz'),
|
436 |
+
'wc_notify_of' => __('Notify of', 'wpdiscuz'),
|
437 |
+
'wc_notify_on_new_comment' => __('new follow-up comments', 'wpdiscuz'),
|
438 |
+
'wc_notify_on_all_new_reply' => __('new replies to my comments', 'wpdiscuz'),
|
439 |
+
'wc_notify_on_new_reply' => __('Notify of new replies to this comment', 'wpdiscuz'),
|
440 |
+
'wc_sort_by' => __('Sort by', 'wpdiscuz'),
|
441 |
+
'wc_newest' => __('newest', 'wpdiscuz'),
|
442 |
+
'wc_oldest' => __('oldest', 'wpdiscuz'),
|
443 |
+
'wc_most_voted' => __('most voted', 'wpdiscuz'),
|
444 |
+
'wc_load_more_submit_text' => __('Load More Comments', 'wpdiscuz'),
|
445 |
+
'wc_load_rest_comments_submit_text' => __('Load Rest of Comments', 'wpdiscuz'),
|
446 |
+
'wc_reply_text' => __('Reply', 'wpdiscuz'),
|
447 |
+
'wc_share_text' => __('Share', 'wpdiscuz'),
|
448 |
+
'wc_edit_text' => __('Edit', 'wpdiscuz'),
|
449 |
+
'wc_share_facebook' => __('Share On Facebook', 'wpdiscuz'),
|
450 |
+
'wc_share_twitter' => __('Share On Twitter', 'wpdiscuz'),
|
451 |
+
'wc_share_google' => __('Share On Google', 'wpdiscuz'),
|
452 |
+
'wc_share_vk' => __('Share On VKontakte', 'wpdiscuz'),
|
453 |
+
'wc_share_ok' => __('Share On Odnoklassniki', 'wpdiscuz'),
|
454 |
+
'wc_hide_replies_text' => __('Hide Replies', 'wpdiscuz'),
|
455 |
+
'wc_show_replies_text' => __('Show Replies', 'wpdiscuz'),
|
456 |
+
'wc_user_title_guest_text' => __('Guest', 'wpdiscuz'),
|
457 |
+
'wc_user_title_member_text' => __('Member', 'wpdiscuz'),
|
458 |
+
'wc_user_title_author_text' => __('Author', 'wpdiscuz'),
|
459 |
+
'wc_user_title_admin_text' => __('Admin', 'wpdiscuz'),
|
460 |
+
'wc_email_subject' => __('New Comment', 'wpdiscuz'),
|
461 |
+
'wc_email_message' => __('New comment on the discussion section you\'ve been interested in', 'wpdiscuz'),
|
462 |
+
'wc_new_reply_email_subject' => __('New Reply', 'wpdiscuz'),
|
463 |
+
'wc_new_reply_email_message' => __('New reply on the discussion section you\'ve been interested in', 'wpdiscuz'),
|
464 |
+
'wc_subscribed_on_comment' => __('You\'re subscribed for new replies on this comment', 'wpdiscuz'),
|
465 |
+
'wc_subscribed_on_all_comment' => __('You\'re subscribed for new replies on all your comments', 'wpdiscuz'),
|
466 |
+
'wc_subscribed_on_post' => __('You\'re subscribed for new follow-up comments on this post', 'wpdiscuz'),
|
467 |
+
'wc_unsubscribe' => __('Unsubscribe', 'wpdiscuz'),
|
468 |
+
'wc_ignore_subscription' => __('Cancel subscription', 'wpdiscuz'),
|
469 |
+
'wc_unsubscribe_message' => __('You\'ve successfully unsubscribed.', 'wpdiscuz'),
|
470 |
+
'wc_subscribe_message' => __('You\'ve successfully subscribed.', 'wpdiscuz'),
|
471 |
+
'wc_confirm_email' => __('Confirm your subscription', 'wpdiscuz'),
|
472 |
+
'wc_comfirm_success_message' => __('You\'ve successfully confirmed your subscription.', 'wpdiscuz'),
|
473 |
+
'wc_confirm_email_subject' => __('Subscribe Confirmation', 'wpdiscuz'),
|
474 |
+
'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.', 'wpdiscuz'),
|
475 |
+
'wc_error_empty_text' => __('please fill out this field to comment', 'wpdiscuz'),
|
476 |
+
'wc_error_email_text' => __('email address is invalid', 'wpdiscuz'),
|
477 |
+
'wc_error_url_text' => __('url is invalid', 'wpdiscuz'),
|
478 |
+
'wc_year_text' => array('datetime' => array(__('year', 'wpdiscuz'), 1)),
|
479 |
+
'wc_year_text_plural' => array('datetime' => array(__('years', 'wpdiscuz'), 1)), // PLURAL
|
480 |
+
'wc_month_text' => array('datetime' => array(__('month', 'wpdiscuz'), 2)),
|
481 |
+
'wc_month_text_plural' => array('datetime' => array(__('months', 'wpdiscuz'), 2)), // PLURAL
|
482 |
+
'wc_day_text' => array('datetime' => array(__('day', 'wpdiscuz'), 3)),
|
483 |
+
'wc_day_text_plural' => array('datetime' => array(__('days', 'wpdiscuz'), 3)), // PLURAL
|
484 |
+
'wc_hour_text' => array('datetime' => array(__('hour', 'wpdiscuz'), 4)),
|
485 |
+
'wc_hour_text_plural' => array('datetime' => array(__('hours', 'wpdiscuz'), 4)), // PLURAL
|
486 |
+
'wc_minute_text' => array('datetime' => array(__('minute', 'wpdiscuz'), 5)),
|
487 |
+
'wc_minute_text_plural' => array('datetime' => array(__('minutes', 'wpdiscuz'), 5)), // PLURAL
|
488 |
+
'wc_second_text' => array('datetime' => array(__('second', 'wpdiscuz'), 6)),
|
489 |
+
'wc_second_text_plural' => array('datetime' => array(__('seconds', 'wpdiscuz'), 6)), // PLURAL
|
490 |
+
'wc_right_now_text' => __('right now', 'wpdiscuz'),
|
491 |
+
'wc_ago_text' => __('ago', 'wpdiscuz'),
|
492 |
+
'wc_posted_today_text' => __('Today', 'wpdiscuz'),
|
493 |
+
'wc_you_must_be_text' => __('You must be', 'wpdiscuz'),
|
494 |
+
'wc_logged_in_as' => __('You are logged in as', 'wpdiscuz'),
|
495 |
+
'wc_log_out' => __('Log out', 'wpdiscuz'),
|
496 |
+
'wc_logged_in_text' => __('logged in', 'wpdiscuz'),
|
497 |
+
'wc_to_post_comment_text' => __('to post a comment.', 'wpdiscuz'),
|
498 |
+
'wc_vote_up' => __('Vote Up', 'wpdiscuz'),
|
499 |
+
'wc_vote_down' => __('Vote Down', 'wpdiscuz'),
|
500 |
+
'wc_vote_counted' => __('Vote Counted', 'wpdiscuz'),
|
501 |
+
'wc_vote_only_one_time' => __("You've already voted for this comment", 'wpdiscuz'),
|
502 |
+
'wc_voting_error' => __('Voting Error', 'wpdiscuz'),
|
503 |
+
'wc_login_to_vote' => __('You Must Be Logged In To Vote', 'wpdiscuz'),
|
504 |
+
'wc_self_vote' => __('You cannot vote for your comment', 'wpdiscuz'),
|
505 |
+
'wc_deny_voting_from_same_ip' => __('You are not allowed to vote for this comment', 'wpdiscuz'),
|
506 |
+
'wc_invalid_captcha' => __('Invalid Captcha Code', 'wpdiscuz'),
|
507 |
+
'wc_invalid_field' => __('Some of field value is invalid', 'wpdiscuz'),
|
508 |
+
'wc_new_comment_button_text' => __('new comment', 'wpdiscuz'),
|
509 |
+
'wc_new_comments_button_text' => __('new comments', 'wpdiscuz'), // PLURAL
|
510 |
+
'wc_held_for_moderate' => __('Comment awaiting moderation', 'wpdiscuz'),
|
511 |
+
'wc_new_reply_button_text' => __('new reply on your comment', 'wpdiscuz'),
|
512 |
+
'wc_new_replies_button_text' => __('new replies on your comments', 'wpdiscuz'), // PLURAL
|
513 |
+
'wc_new_comments_text' => __('New', 'wpdiscuz'),
|
514 |
+
'wc_comment_not_updated' => __('Sorry, the comment was not updated', 'wpdiscuz'),
|
515 |
+
'wc_comment_edit_not_possible' => __('Sorry, this comment no longer possible to edit', 'wpdiscuz'),
|
516 |
+
'wc_comment_not_edited' => __('You\'ve not made any changes', 'wpdiscuz'),
|
517 |
+
'wc_comment_edit_save_button' => __('Save', 'wpdiscuz'),
|
518 |
+
'wc_comment_edit_cancel_button' => __('Cancel', 'wpdiscuz'),
|
519 |
+
'wc_msg_comment_text_min_length' => __('Comment text is too short (minimum %d% characters)', 'wpdiscuz'),
|
520 |
+
'wc_msg_comment_text_max_length' => __('Comment text is too long (maximum %d% characters allowed)', 'wpdiscuz'),
|
521 |
+
'wc_msg_captcha_expired' => __('The captcha expired', 'wpdiscuz'),
|
522 |
+
'wc_msg_required_fields' => __('Please fill out required fields', 'wpdiscuz'),
|
523 |
+
'wc_connect_with' => __('Connect with', 'wpdiscuz'),
|
524 |
+
'wc_subscribed_to' => __('You\'re subscribed to', 'wpdiscuz'),
|
525 |
+
);
|
526 |
+
}
|
527 |
+
|
528 |
+
public function toArray() {
|
529 |
+
$options = array(
|
530 |
+
'wc_post_types' => $this->postTypes,
|
531 |
+
'wc_comment_list_update_type' => $this->commentListUpdateType,
|
532 |
+
'wc_comment_list_update_timer' => $this->commentListUpdateTimer,
|
533 |
+
'wc_live_update_guests' => $this->liveUpdateGuests,
|
534 |
+
'wc_comment_editable_time' => $this->commentEditableTime,
|
535 |
+
'wpdiscuz_redirect_page' => $this->redirectPage,
|
536 |
+
'wc_is_guest_can_vote' => $this->isGuestCanVote,
|
537 |
+
'wc_load_all_comments' => $this->loadAllComments,
|
538 |
+
'wc_voting_buttons_show_hide' => $this->votingButtonsShowHide,
|
539 |
+
'wpdiscuz_share_buttons' => $this->shareButtons,
|
540 |
+
'wc_captcha_show_hide' => $this->captchaShowHide,
|
541 |
+
'wc_captcha_show_hide_for_members' => $this->captchaShowHideForMembers,
|
542 |
+
'wc_weburl_show_hide' => $this->weburlShowHide,
|
543 |
+
'wc_header_text_show_hide' => $this->headerTextShowHide,
|
544 |
+
'wc_is_name_field_required' => $this->isNameFieldRequired,
|
545 |
+
'wc_is_email_field_required' => $this->isEmailFieldRequired,
|
546 |
+
'wc_show_hide_loggedin_username' => $this->showHideLoggedInUsername,
|
547 |
+
'wc_reply_button_guests_show_hide' => $this->replyButtonGuestsShowHide,
|
548 |
+
'wc_reply_button_members_show_hide' => $this->replyButtonMembersShowHide,
|
549 |
+
'wc_author_titles_show_hide' => $this->authorTitlesShowHide,
|
550 |
+
'wc_simple_comment_date' => $this->simpleCommentDate,
|
551 |
+
'show_subscription_bar' => $this->showSubscriptionBar,
|
552 |
+
'wc_show_hide_reply_checkbox' => $this->showHideReplyCheckbox,
|
553 |
+
'show_sorting_buttons' => $this->showSortingButtons,
|
554 |
+
'wc_use_postmatic_for_comment_notification' => $this->usePostmaticForCommentNotification,
|
555 |
+
'wc_comment_text_size' => $this->commentTextSize,
|
556 |
+
'wc_form_bg_color' => $this->formBGColor,
|
557 |
+
'wc_comment_bg_color' => $this->commentBGColor,
|
558 |
+
'wc_reply_bg_color' => $this->replyBGColor,
|
559 |
+
'wc_comment_text_color' => $this->commentTextColor,
|
560 |
+
'wc_comment_username_color' => $this->primaryColor,
|
561 |
+
'wc_blog_roles' => $this->blogRoles,
|
562 |
+
'wc_vote_reply_color' => $this->voteReplyColor,
|
563 |
+
'wc_input_border_color' => $this->inputBorderColor,
|
564 |
+
'wc_new_loaded_comment_bg_color' => $this->newLoadedCommentBGColor,
|
565 |
+
'wc_custom_css' => $this->customCss,
|
566 |
+
'wc_show_plugin_powerid_by' => $this->showPluginPoweredByLink,
|
567 |
+
'wc_is_use_po_mo' => $this->isUsePoMo,
|
568 |
+
'wc_disable_member_confirm' => $this->disableMemberConfirm,
|
569 |
+
'wc_comment_text_min_length' => $this->commentTextMinLength,
|
570 |
+
'wc_comment_text_max_length' => $this->commentTextMaxLength
|
571 |
+
);
|
572 |
+
return $options;
|
573 |
+
}
|
574 |
+
|
575 |
+
public function updateOptions() {
|
576 |
+
update_option(WpdiscuzCore::OPTION_SLUG_OPTIONS, serialize($this->toArray()));
|
577 |
+
}
|
578 |
+
|
579 |
+
public function addOptions() {
|
580 |
+
$options = array(
|
581 |
+
'wc_post_types' => $this->postTypes,
|
582 |
+
'wc_comment_list_update_type' => '0',
|
583 |
+
'wc_comment_list_update_timer' => '30',
|
584 |
+
'wc_live_update_guests' => '1',
|
585 |
+
'wc_comment_editable_time' => '900',
|
586 |
+
'wpdiscuz_redirect_page' => '0',
|
587 |
+
'wc_is_guest_can_vote' => '1',
|
588 |
+
'wc_load_all_comments' => '0',
|
589 |
+
'wc_voting_buttons_show_hide' => '0',
|
590 |
+
'wpdiscuz_share_buttons' => $this->shareButtons,
|
591 |
+
'wc_captcha_show_hide' => '0',
|
592 |
+
'wc_captcha_show_hide_for_members' => '0',
|
593 |
+
'wc_weburl_show_hide' => '1',
|
594 |
+
'wc_header_text_show_hide' => '0',
|
595 |
+
'wc_avatar_show_hide' => '0',
|
596 |
+
'wc_is_name_field_required' => '1',
|
597 |
+
'wc_is_email_field_required' => '1',
|
598 |
+
'wc_show_hide_loggedin_username' => '1',
|
599 |
+
'wc_reply_button_guests_show_hide' => '0',
|
600 |
+
'wc_reply_button_members_show_hide' => '0',
|
601 |
+
'wc_author_titles_show_hide' => '0',
|
602 |
+
'wc_simple_comment_date' => '0',
|
603 |
+
'show_subscription_bar' => '1',
|
604 |
+
'show_sorting_buttons' => '1',
|
605 |
+
'wc_show_hide_reply_checkbox' => '1',
|
606 |
+
'wc_use_postmatic_for_comment_notification' => '0',
|
607 |
+
'wc_comment_text_size' => '14px',
|
608 |
+
'wc_form_bg_color' => '#F9F9F9',
|
609 |
+
'wc_comment_bg_color' => '#FEFEFE',
|
610 |
+
'wc_reply_bg_color' => '#F8F8F8',
|
611 |
+
'wc_comment_text_color' => '#555',
|
612 |
+
'wc_comment_username_color' => '#00B38F',
|
613 |
+
'wc_blog_roles' => $this->blogRoles,
|
614 |
+
'wc_vote_reply_color' => '#666666',
|
615 |
+
'wc_input_border_color' => '#D9D9D9',
|
616 |
+
'wc_new_loaded_comment_bg_color' => '#FFFAD6',
|
617 |
+
'wc_custom_css' => '.comments-area{width:auto;}',
|
618 |
+
'wc_show_plugin_powerid_by' => '0',
|
619 |
+
'wc_is_use_po_mo' => '0',
|
620 |
+
'wc_disable_member_confirm' => '1',
|
621 |
+
'wc_comment_text_min_length' => 1,
|
622 |
+
'wc_comment_text_max_length' => ''
|
623 |
+
);
|
624 |
+
add_option(WpdiscuzCore::OPTION_SLUG_OPTIONS, serialize($options));
|
625 |
+
}
|
626 |
+
|
627 |
+
public function initPhrasesOnLoad() {
|
628 |
+
if (!$this->isUsePoMo && $this->dbManager->isPhraseExists('wc_leave_a_reply_text')) {
|
629 |
+
$this->phrases = $this->dbManager->getPhrases();
|
630 |
+
} else {
|
631 |
+
$this->initPhrases();
|
632 |
+
}
|
633 |
+
}
|
634 |
+
|
635 |
+
public function getOptionsForJs() {
|
636 |
+
$js_options = array();
|
637 |
+
$js_options['wc_hide_replies_text'] = $this->phrases['wc_hide_replies_text'];
|
638 |
+
$js_options['wc_show_replies_text'] = $this->phrases['wc_show_replies_text'];
|
639 |
+
$js_options['wc_msg_required_fields'] = $this->phrases['wc_msg_required_fields'];
|
640 |
+
$js_options['wc_invalid_field'] = $this->phrases['wc_invalid_field'];
|
641 |
+
$js_options['wc_invalid_captcha'] = $this->phrases['wc_invalid_captcha'];
|
642 |
+
$js_options['wc_error_empty_text'] = $this->phrases['wc_error_empty_text'];
|
643 |
+
$js_options['wc_error_url_text'] = $this->phrases['wc_error_url_text'];
|
644 |
+
$js_options['wc_error_email_text'] = $this->phrases['wc_error_email_text'];
|
645 |
+
$js_options['wc_login_to_vote'] = $this->phrases['wc_login_to_vote'];
|
646 |
+
$js_options['wc_deny_voting_from_same_ip'] = $this->phrases['wc_deny_voting_from_same_ip'];
|
647 |
+
$js_options['wc_self_vote'] = $this->phrases['wc_self_vote'];
|
648 |
+
$js_options['wc_vote_only_one_time'] = $this->phrases['wc_vote_only_one_time'];
|
649 |
+
$js_options['wc_voting_error'] = $this->phrases['wc_voting_error'];
|
650 |
+
$js_options['wc_captcha_show_hide'] = $this->captchaShowHide;
|
651 |
+
$js_options['wc_msg_comment_text_min_length'] = str_replace('%d%', $this->commentTextMinLength, $this->phrases['wc_msg_comment_text_min_length']);
|
652 |
+
$js_options['wc_msg_comment_text_max_length'] = str_replace('%d%', $this->commentTextMaxLength, $this->phrases['wc_msg_comment_text_max_length']);
|
653 |
+
$js_options['wc_held_for_moderate'] = $this->phrases['wc_held_for_moderate'];
|
654 |
+
$js_options['wc_comment_edit_not_possible'] = $this->phrases['wc_comment_edit_not_possible'];
|
655 |
+
$js_options['wc_comment_not_updated'] = $this->phrases['wc_comment_not_updated'];
|
656 |
+
$js_options['wc_comment_not_edited'] = $this->phrases['wc_comment_not_edited'];
|
657 |
+
$js_options['wc_new_comment_button_text'] = $this->phrases['wc_new_comment_button_text'];
|
658 |
+
$js_options['wc_new_comments_button_text'] = $this->phrases['wc_new_comments_button_text'];
|
659 |
+
$js_options['wc_new_reply_button_text'] = $this->phrases['wc_new_reply_button_text'];
|
660 |
+
$js_options['wc_new_replies_button_text'] = $this->phrases['wc_new_replies_button_text'];
|
661 |
+
$js_options['wc_captcha_show_hide_for_members'] = $this->captchaShowHideForMembers;
|
662 |
+
$js_options['is_email_field_required'] = $this->isEmailFieldRequired;
|
663 |
+
$js_options['is_user_logged_in'] = is_user_logged_in();
|
664 |
+
$js_options['main_form_time_out'] = WpdiscuzCore::JS_MAIN_FORM_TIME_OUT;
|
665 |
+
$js_options['secondary_form_time_out'] = WpdiscuzCore::JS_SECONDARY_FORM_TIME_OUT;
|
666 |
+
$js_options['wc_load_all_comments'] = $this->loadAllComments;
|
667 |
+
$js_options['commentListUpdateType'] = $this->commentListUpdateType;
|
668 |
+
$js_options['commentListUpdateTimer'] = $this->commentListUpdateTimer;
|
669 |
+
$js_options['liveUpdateGuests'] = $this->liveUpdateGuests;
|
670 |
+
$js_options['wc_comment_bg_color'] = $this->commentBGColor;
|
671 |
+
$js_options['wc_reply_bg_color'] = $this->replyBGColor;
|
672 |
+
$js_options['wordpress_comment_order'] = $this->wordpressCommentOrder;
|
673 |
+
$js_options['wordpressThreadCommentsDepth'] = $this->wordpressThreadCommentsDepth;
|
674 |
+
return $js_options;
|
675 |
+
}
|
676 |
+
|
677 |
+
}
|
options/options-layouts/settings-general.php
CHANGED
@@ -1,20 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Settings',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row" style="width:55%;">
|
7 |
-
<?php _e('Display comment form for post types:',
|
8 |
</th>
|
9 |
<td>
|
10 |
<?php
|
11 |
-
foreach ($this->
|
12 |
if (!post_type_supports($post_type, 'comments')) {
|
13 |
continue;
|
14 |
}
|
15 |
?>
|
16 |
-
<label for="<?php echo $post_type ?>">
|
17 |
-
<input type="checkbox" <?php checked(in_array($post_type, $this->
|
18 |
<span><?php echo $post_type; ?></span>
|
19 |
</label><br/>
|
20 |
<?php
|
@@ -22,100 +27,53 @@
|
|
22 |
?>
|
23 |
</td>
|
24 |
</tr>
|
25 |
-
|
26 |
-
<tr valign="top">
|
27 |
-
<th scope="row">
|
28 |
-
<?php _e('User Must be registered to comment', WC_Core::$TEXT_DOMAIN); ?>
|
29 |
-
</th>
|
30 |
-
<td>
|
31 |
-
<fieldset>
|
32 |
-
<label title="Yes">
|
33 |
-
<input type="radio" value="1" <?php checked('1' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_yes" />
|
34 |
-
<span>Yes</span>
|
35 |
-
</label>
|
36 |
-
<label title="No">
|
37 |
-
<input type="radio" value="0" <?php checked('0' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_no" />
|
38 |
-
<span>No</span>
|
39 |
-
</label><br>
|
40 |
-
</fieldset>
|
41 |
-
</td>
|
42 |
-
</tr>
|
43 |
-
|
44 |
<tr valign="top">
|
45 |
<th scope="row" style="width:55%">
|
46 |
-
<?php _e('Comment author must fill out name',
|
47 |
</th>
|
48 |
<td>
|
49 |
<label for="wc_is_name_field_required">
|
50 |
-
<input type="checkbox" <?php checked($this->
|
51 |
</label>
|
52 |
</td>
|
53 |
</tr>
|
54 |
-
|
55 |
<tr valign="top">
|
56 |
<th scope="row" style="width:55%">
|
57 |
-
<?php _e('Comment author must fill out email',
|
58 |
</th>
|
59 |
<td>
|
60 |
<label for="wc_is_email_field_required">
|
61 |
-
<input type="checkbox" <?php checked($this->
|
62 |
</label>
|
63 |
</td>
|
64 |
</tr>
|
65 |
-
|
66 |
<tr valign="top">
|
67 |
<th scope="row">
|
68 |
-
<?php _e('
|
69 |
</th>
|
70 |
<td>
|
71 |
-
<
|
72 |
-
<
|
73 |
-
|
74 |
-
<span><?php _e('top of the threads', WC_Core::$TEXT_DOMAIN) ?></span>
|
75 |
-
</label> <br/>
|
76 |
-
<label title="<?php _e('bottom of the threads', WC_Core::$TEXT_DOMAIN) ?>">
|
77 |
-
<input type="radio" value="asc" <?php checked('asc' == $this->wc_options_serialized->wc_comment_list_order); ?> name="wc_comment_list_order" id="wc_comment_list_order" />
|
78 |
-
<span><?php _e('the bottom of the list', WC_Core::$TEXT_DOMAIN) ?></span>
|
79 |
-
</label><br>
|
80 |
-
</fieldset>
|
81 |
</td>
|
82 |
</tr>
|
83 |
-
|
84 |
<tr valign="top">
|
85 |
<th scope="row">
|
86 |
-
<?php _e('Comment
|
87 |
</th>
|
88 |
<td>
|
89 |
-
<label for="
|
90 |
-
<input type="number" value="<?php echo $this->
|
91 |
</label><br/>
|
92 |
</td>
|
93 |
</tr>
|
94 |
-
|
95 |
-
|
96 |
<tr valign="top">
|
97 |
<th scope="row">
|
98 |
-
<label for="
|
99 |
-
</th>
|
100 |
-
<td colspan="3">
|
101 |
-
<select id="wc_comments_max_depth" name="wc_comments_max_depth">
|
102 |
-
<?php $wc_comments_max_depth = isset($this->wc_options_serialized->wc_comments_max_depth) ? $this->wc_options_serialized->wc_comments_max_depth : 3; ?>
|
103 |
-
<option value="1" <?php selected($wc_comments_max_depth, '1'); ?>>1 <?php _e('Level', WC_Core::$TEXT_DOMAIN); ?></option>
|
104 |
-
<option value="2" <?php selected($wc_comments_max_depth, '2'); ?>>2 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
|
105 |
-
<option value="3" <?php selected($wc_comments_max_depth, '3'); ?>>3 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
|
106 |
-
<option value="4" <?php selected($wc_comments_max_depth, '4'); ?>>4 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
|
107 |
-
<option value="5" <?php selected($wc_comments_max_depth, '5'); ?>>5 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
|
108 |
-
</select>
|
109 |
-
</td>
|
110 |
-
</tr>
|
111 |
-
|
112 |
-
<tr valign="top">
|
113 |
-
<th scope="row">
|
114 |
-
<label for="wc_comment_text_size"><?php _e('Comment text size in pixels', WC_Core::$TEXT_DOMAIN); ?></label>
|
115 |
</th>
|
116 |
<td>
|
117 |
<select id="wc_comment_text_size" name="wc_comment_text_size">
|
118 |
-
<?php $wc_comment_text_size = isset($this->
|
119 |
<option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
|
120 |
<option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
|
121 |
<option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
|
@@ -124,93 +82,97 @@
|
|
124 |
</select>
|
125 |
</td>
|
126 |
</tr>
|
127 |
-
|
128 |
-
|
129 |
<tr valign="top">
|
130 |
<th scope="row">
|
131 |
-
<label for="wc_comment_editable_time"><?php _e('Allow comment editing for',
|
132 |
</th>
|
133 |
<td>
|
134 |
<select id="wc_comment_editable_time" name="wc_comment_editable_time">
|
135 |
-
<?php $wc_comment_editable_time = isset($this->
|
136 |
-
<option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Not Allow',
|
137 |
-
<option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes',
|
138 |
-
<option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes',
|
139 |
-
<option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour',
|
140 |
-
<option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours',
|
141 |
-
<option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours',
|
|
|
142 |
</select>
|
143 |
</td>
|
144 |
</tr>
|
145 |
-
|
146 |
<tr valign="top">
|
147 |
<th scope="row">
|
148 |
-
<?php _e('Redirect first commenter to',
|
149 |
</th>
|
150 |
<td>
|
151 |
<?php
|
152 |
wp_dropdown_pages(array(
|
153 |
'name' => 'wpdiscuz_redirect_page',
|
154 |
-
'selected' => isset($this->
|
155 |
'show_option_none' => __('Do not redirect'),
|
156 |
'option_none_value' => 0
|
157 |
));
|
158 |
?>
|
159 |
</td>
|
160 |
</tr>
|
161 |
-
|
162 |
<tr valign="top">
|
163 |
<th scope="row">
|
164 |
-
<?php _e('Allow guests to vote on comments',
|
165 |
</th>
|
166 |
<td>
|
167 |
<label for="wc_is_guest_can_vote">
|
168 |
-
<input type="checkbox" <?php checked($this->
|
169 |
</label>
|
170 |
</td>
|
171 |
</tr>
|
172 |
<tr valign="top">
|
173 |
<th scope="row">
|
174 |
-
<?php _e('Load rest of all comments on clicking the [Load More Comments] button',
|
175 |
</th>
|
176 |
<td>
|
177 |
<label for="wc_load_all_comments">
|
178 |
-
<input type="checkbox" <?php checked($this->
|
179 |
</label>
|
180 |
</td>
|
181 |
</tr>
|
182 |
-
|
183 |
<tr valign="top">
|
184 |
<th scope="row">
|
185 |
-
<?php _e('Use WordPress Date/Time format',
|
186 |
-
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.',
|
187 |
</th>
|
188 |
<td>
|
189 |
<label for="wc_simple_comment_date">
|
190 |
-
<input type="checkbox" <?php checked($this->
|
191 |
<span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
|
192 |
<?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
|
193 |
-
<?php _e('Current Wordpress date/time format',
|
194 |
</label>
|
195 |
</td>
|
196 |
</tr>
|
197 |
-
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
<tr valign="top">
|
200 |
<th scope="row" >
|
201 |
<label for="wc_show_plugin_powerid_by">
|
202 |
-
<?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use',
|
203 |
</label>
|
204 |
-
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.',
|
205 |
</th>
|
206 |
<td colspan="3">
|
207 |
<label for="wc_show_plugin_powerid_by">
|
208 |
-
<input type="checkbox" <?php checked($this->
|
209 |
-
<span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"><?php _e('Thank you!',
|
210 |
</label>
|
211 |
</td>
|
212 |
</tr>
|
213 |
-
|
214 |
</tbody>
|
215 |
</table>
|
216 |
</div>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Settings', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row" style="width:55%;">
|
12 |
+
<?php _e('Display comment form for post types:', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td>
|
15 |
<?php
|
16 |
+
foreach ($this->postTypes as $post_type) {
|
17 |
if (!post_type_supports($post_type, 'comments')) {
|
18 |
continue;
|
19 |
}
|
20 |
?>
|
21 |
+
<label for="wc_type_<?php echo $post_type; ?>">
|
22 |
+
<input type="checkbox" <?php checked(in_array($post_type, $this->optionsSerialized->postTypes)); ?> value="<?php echo $post_type; ?>" name="wc_post_types[]" id="wc_type_<?php echo $post_type; ?>" />
|
23 |
<span><?php echo $post_type; ?></span>
|
24 |
</label><br/>
|
25 |
<?php
|
27 |
?>
|
28 |
</td>
|
29 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
<tr valign="top">
|
31 |
<th scope="row" style="width:55%">
|
32 |
+
<?php _e('Comment author must fill out name', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td>
|
35 |
<label for="wc_is_name_field_required">
|
36 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->isNameFieldRequired == 1) ?> value="1" name="wc_is_name_field_required" id="wc_is_name_field_required" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
|
|
40 |
<tr valign="top">
|
41 |
<th scope="row" style="width:55%">
|
42 |
+
<?php _e('Comment author must fill out email', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td>
|
45 |
<label for="wc_is_email_field_required">
|
46 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->isEmailFieldRequired == 1) ?> value="1" name="wc_is_email_field_required" id="wc_is_email_field_required" />
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
|
|
50 |
<tr valign="top">
|
51 |
<th scope="row">
|
52 |
+
<?php _e('Comment text min length', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td>
|
55 |
+
<label for="wc_comment_text_min_length">
|
56 |
+
<input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMinLength) ? $this->optionsSerialized->commentTextMinLength : 10; ?>" name="wc_comment_text_min_length" id="wc_comment_text_min_length" />
|
57 |
+
</label><br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
</td>
|
59 |
</tr>
|
|
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Comment text max length', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
<td>
|
65 |
+
<label for="wc_comment_text_max_length">
|
66 |
+
<input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMaxLength) ? $this->optionsSerialized->commentTextMaxLength : ''; ?>" name="wc_comment_text_max_length" id="wc_comment_text_max_length" />
|
67 |
</label><br/>
|
68 |
</td>
|
69 |
</tr>
|
|
|
|
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
+
<label for="wc_comment_text_size"><?php _e('Comment text size in pixels', 'wpdiscuz'); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
</th>
|
74 |
<td>
|
75 |
<select id="wc_comment_text_size" name="wc_comment_text_size">
|
76 |
+
<?php $wc_comment_text_size = isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>
|
77 |
<option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
|
78 |
<option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
|
79 |
<option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
|
82 |
</select>
|
83 |
</td>
|
84 |
</tr>
|
|
|
|
|
85 |
<tr valign="top">
|
86 |
<th scope="row">
|
87 |
+
<label for="wc_comment_editable_time"><?php _e('Allow comment editing for', 'wpdiscuz'); ?></label>
|
88 |
</th>
|
89 |
<td>
|
90 |
<select id="wc_comment_editable_time" name="wc_comment_editable_time">
|
91 |
+
<?php $wc_comment_editable_time = isset($this->optionsSerialized->commentEditableTime) ? $this->optionsSerialized->commentEditableTime : 0; ?>
|
92 |
+
<option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Not Allow', 'wpdiscuz'); ?></option>
|
93 |
+
<option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes', 'wpdiscuz'); ?></option>
|
94 |
+
<option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes', 'wpdiscuz'); ?></option>
|
95 |
+
<option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour', 'wpdiscuz'); ?></option>
|
96 |
+
<option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours', 'wpdiscuz'); ?></option>
|
97 |
+
<option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours', 'wpdiscuz'); ?></option>
|
98 |
+
<option value="unlimit" <?php selected($wc_comment_editable_time, 'unlimit'); ?>><?php _e('Unlimit', 'wpdiscuz'); ?></option>
|
99 |
</select>
|
100 |
</td>
|
101 |
</tr>
|
|
|
102 |
<tr valign="top">
|
103 |
<th scope="row">
|
104 |
+
<?php _e('Redirect first commenter to', 'wpdiscuz'); ?>
|
105 |
</th>
|
106 |
<td>
|
107 |
<?php
|
108 |
wp_dropdown_pages(array(
|
109 |
'name' => 'wpdiscuz_redirect_page',
|
110 |
+
'selected' => isset($this->optionsSerialized->redirectPage) ? $this->optionsSerialized->redirectPage : 0,
|
111 |
'show_option_none' => __('Do not redirect'),
|
112 |
'option_none_value' => 0
|
113 |
));
|
114 |
?>
|
115 |
</td>
|
116 |
</tr>
|
|
|
117 |
<tr valign="top">
|
118 |
<th scope="row">
|
119 |
+
<?php _e('Allow guests to vote on comments', 'wpdiscuz'); ?>
|
120 |
</th>
|
121 |
<td>
|
122 |
<label for="wc_is_guest_can_vote">
|
123 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->isGuestCanVote == 1) ?> value="1" name="wc_is_guest_can_vote" id="wc_is_guest_can_vote" />
|
124 |
</label>
|
125 |
</td>
|
126 |
</tr>
|
127 |
<tr valign="top">
|
128 |
<th scope="row">
|
129 |
+
<?php _e('Load rest of all comments on clicking the [Load More Comments] button', 'wpdiscuz'); ?>
|
130 |
</th>
|
131 |
<td>
|
132 |
<label for="wc_load_all_comments">
|
133 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->loadAllComments == 1) ?> value="1" name="wc_load_all_comments" id="wc_load_all_comments" />
|
134 |
</label>
|
135 |
</td>
|
136 |
</tr>
|
|
|
137 |
<tr valign="top">
|
138 |
<th scope="row">
|
139 |
+
<?php _e('Use WordPress Date/Time format', 'wpdiscuz'); ?>
|
140 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.', 'wpdiscuz'); ?></p>
|
141 |
</th>
|
142 |
<td>
|
143 |
<label for="wc_simple_comment_date">
|
144 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->simpleCommentDate == 1) ?> value="1" name="wc_simple_comment_date" id="wc_simple_comment_date" />
|
145 |
<span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
|
146 |
<?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
|
147 |
+
<?php _e('Current Wordpress date/time format', 'wpdiscuz'); ?></span>
|
148 |
</label>
|
149 |
</td>
|
150 |
</tr>
|
151 |
+
<tr valign="top">
|
152 |
+
<th scope="row" >
|
153 |
+
<?php _e('Use Plugin .PO/.MO files', 'wpdiscuz'); ?>
|
154 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz phrase system allows you to translate all front-end phrases. However if you have a multi-language website it\'ll not allow you to add more than one language translation. The only way to get it is the plugin translation files (.PO / .MO). If wpDiscuz has the languages you need you should check this option to disable phrase system and it\'ll automatically translate all phrases based on language files according to current language.', 'wpdiscuz'); ?></p>
|
155 |
+
</th>
|
156 |
+
<td colspan="3">
|
157 |
+
<label for="wc_is_use_po_mo">
|
158 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->isUsePoMo == 1) ?> value="1" name="wc_is_use_po_mo" id="wc_is_use_po_mo" />
|
159 |
+
</label>
|
160 |
+
</td>
|
161 |
+
</tr>
|
162 |
<tr valign="top">
|
163 |
<th scope="row" >
|
164 |
<label for="wc_show_plugin_powerid_by">
|
165 |
+
<?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use', 'wpdiscuz'); ?>
|
166 |
</label>
|
167 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.', 'wpdiscuz'); ?></p>
|
168 |
</th>
|
169 |
<td colspan="3">
|
170 |
<label for="wc_show_plugin_powerid_by">
|
171 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->showPluginPoweredByLink == 1) ?> value="1" name="wc_show_plugin_powerid_by" id="wc_show_plugin_powerid_by" />
|
172 |
+
<span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"><?php _e('Thank you!', 'wpdiscuz'); ?></span>
|
173 |
</label>
|
174 |
</td>
|
175 |
</tr>
|
|
|
176 |
</tbody>
|
177 |
</table>
|
178 |
</div>
|
options/options-layouts/settings-live-update.php
CHANGED
@@ -1,50 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Live Update',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
-
|
6 |
<tr valign="top">
|
7 |
<th scope="row" style="width:55%;">
|
8 |
-
<?php _e('Live update options',
|
9 |
-
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"
|
10 |
</th>
|
11 |
<td>
|
12 |
<fieldset class="wc_comment_list_update_type">
|
13 |
-
<?php $wc_comment_list_update_type = isset($this->
|
14 |
-
<label title="<?php _e('Never update',
|
15 |
<input type="radio" value="0" <?php checked('0' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_never" />
|
16 |
-
<span><?php _e('Turn off "Live Update" function',
|
17 |
</label> <br/>
|
18 |
-
<label title="<?php _e('Show new comment/reply buttons to update manualy',
|
19 |
<input type="radio" value="2" <?php checked('2' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_new" />
|
20 |
-
<span><?php _e('Always check for new comments and show update buttons',
|
21 |
</label><br>
|
22 |
-
<label title="<?php _e('Always update',
|
23 |
<input type="radio" value="1" <?php checked('1' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_always" />
|
24 |
-
<span><?php _e('Always check for new comments and update automatically',
|
25 |
</label> <br/>
|
26 |
</fieldset>
|
27 |
</td>
|
28 |
</tr>
|
29 |
-
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
-
<label for="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</th>
|
34 |
<td>
|
35 |
<select id="wc_comment_list_update_timer" name="wc_comment_list_update_timer">
|
36 |
-
<?php $wc_comment_list_update_timer = isset($this->
|
37 |
-
<option value="10" <?php selected($wc_comment_list_update_timer, '10'); ?>>10 <?php _e('Seconds',
|
38 |
-
<option value="20" <?php selected($wc_comment_list_update_timer, '20'); ?>>20 <?php _e('Seconds',
|
39 |
-
<option value="30" <?php selected($wc_comment_list_update_timer, '30'); ?>>30 <?php _e('Seconds',
|
40 |
-
<option value="60" <?php selected($wc_comment_list_update_timer, '60'); ?>>1 <?php _e('Minute',
|
41 |
-
<option value="180" <?php selected($wc_comment_list_update_timer, '180'); ?>>3 <?php _e('Minutes',
|
42 |
-
<option value="300" <?php selected($wc_comment_list_update_timer, '300'); ?>>5 <?php _e('Minutes',
|
43 |
-
<option value="600" <?php selected($wc_comment_list_update_timer, '600'); ?>>10 <?php _e('Minutes',
|
44 |
</select>
|
45 |
</td>
|
46 |
</tr>
|
47 |
-
|
48 |
</tbody>
|
49 |
</table>
|
50 |
</div>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Live Update', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
|
|
10 |
<tr valign="top">
|
11 |
<th scope="row" style="width:55%;">
|
12 |
+
<?php _e('Live update options', 'wpdiscuz'); ?>
|
13 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz 3 live update is very smart and doesn\'t overload your server even if you\'re on Shared hosting plan and even your website is very active. However we recommend to monitor your server resources if you\'re on a Shared hosting plan. There are some very weak hosting plans which may not be able to perform very frequently live update requests. If you found some issue you can set the option below 30 seconds or more.', 'wpdiscuz'); ?></p>
|
14 |
</th>
|
15 |
<td>
|
16 |
<fieldset class="wc_comment_list_update_type">
|
17 |
+
<?php $wc_comment_list_update_type = isset($this->optionsSerialized->commentListUpdateType) ? $this->optionsSerialized->commentListUpdateType : 1; ?>
|
18 |
+
<label title="<?php _e('Never update', 'wpdiscuz') ?>">
|
19 |
<input type="radio" value="0" <?php checked('0' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_never" />
|
20 |
+
<span><?php _e('Turn off "Live Update" function', 'wpdiscuz') ?></span>
|
21 |
</label> <br/>
|
22 |
+
<label title="<?php _e('Show new comment/reply buttons to update manualy', 'wpdiscuz') ?>">
|
23 |
<input type="radio" value="2" <?php checked('2' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_new" />
|
24 |
+
<span><?php _e('Always check for new comments and show update buttons', 'wpdiscuz') ?></span>
|
25 |
</label><br>
|
26 |
+
<label title="<?php _e('Always update', 'wpdiscuz') ?>">
|
27 |
<input type="radio" value="1" <?php checked('1' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_always" />
|
28 |
+
<span><?php _e('Always check for new comments and update automatically', 'wpdiscuz') ?></span>
|
29 |
</label> <br/>
|
30 |
</fieldset>
|
31 |
</td>
|
32 |
</tr>
|
|
|
33 |
<tr valign="top">
|
34 |
<th scope="row">
|
35 |
+
<label for="wc_live_update_guests"><?php _e('Disable live update for guests', 'wpdiscuz'); ?></label>
|
36 |
+
</th>
|
37 |
+
<td>
|
38 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->liveUpdateGuests == 1) ?> value="1" name="wc_live_update_guests" id="wc_live_update_guests" />
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
<tr valign="top">
|
42 |
+
<th scope="row">
|
43 |
+
<label for="wc_comment_list_update_timer"><?php _e('Update comment list every', 'wpdiscuz'); ?></label>
|
44 |
</th>
|
45 |
<td>
|
46 |
<select id="wc_comment_list_update_timer" name="wc_comment_list_update_timer">
|
47 |
+
<?php $wc_comment_list_update_timer = isset($this->optionsSerialized->commentListUpdateTimer) ? $this->optionsSerialized->commentListUpdateTimer : 30; ?>
|
48 |
+
<option value="10" <?php selected($wc_comment_list_update_timer, '10'); ?>>10 <?php _e('Seconds', 'wpdiscuz'); ?></option>
|
49 |
+
<option value="20" <?php selected($wc_comment_list_update_timer, '20'); ?>>20 <?php _e('Seconds', 'wpdiscuz'); ?></option>
|
50 |
+
<option value="30" <?php selected($wc_comment_list_update_timer, '30'); ?>>30 <?php _e('Seconds', 'wpdiscuz'); ?></option>
|
51 |
+
<option value="60" <?php selected($wc_comment_list_update_timer, '60'); ?>>1 <?php _e('Minute', 'wpdiscuz'); ?></option>
|
52 |
+
<option value="180" <?php selected($wc_comment_list_update_timer, '180'); ?>>3 <?php _e('Minutes', 'wpdiscuz'); ?></option>
|
53 |
+
<option value="300" <?php selected($wc_comment_list_update_timer, '300'); ?>>5 <?php _e('Minutes', 'wpdiscuz'); ?></option>
|
54 |
+
<option value="600" <?php selected($wc_comment_list_update_timer, '600'); ?>>10 <?php _e('Minutes', 'wpdiscuz'); ?></option>
|
55 |
</select>
|
56 |
</td>
|
57 |
</tr>
|
|
|
58 |
</tbody>
|
59 |
</table>
|
60 |
</div>
|
options/options-layouts/settings-show-hide.php
CHANGED
@@ -1,84 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Show/Hide Components',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row" style="width:55%">
|
7 |
-
<?php _e('Show logged-in user name and logout link on top of main form',
|
8 |
</th>
|
9 |
<td>
|
10 |
<label for="wc_show_hide_loggedin_username">
|
11 |
-
<input type="checkbox" <?php checked($this->
|
12 |
</label>
|
13 |
</td>
|
14 |
</tr>
|
15 |
<tr valign="top">
|
16 |
<th scope="row">
|
17 |
-
<?php _e('Hide Reply button for Guests',
|
18 |
</th>
|
19 |
<td>
|
20 |
<label for="wc_reply_button_guests_show_hide">
|
21 |
-
<input type="checkbox" <?php checked($this->
|
22 |
</label>
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr valign="top">
|
26 |
<th scope="row">
|
27 |
-
<?php _e('Hide Reply button for Members',
|
28 |
</th>
|
29 |
<td>
|
30 |
<label for="wc_reply_button_members_show_hide">
|
31 |
-
<input type="checkbox" <?php checked($this->
|
32 |
</label>
|
33 |
</td>
|
34 |
</tr>
|
35 |
<tr valign="top">
|
36 |
<th scope="row">
|
37 |
-
<?php _e('Hide
|
38 |
</th>
|
39 |
<td>
|
40 |
<label for="wc_author_titles_show_hide">
|
41 |
-
<input type="checkbox" <?php checked($this->
|
42 |
</label>
|
43 |
</td>
|
44 |
</tr>
|
45 |
<tr valign="top">
|
46 |
<th scope="row">
|
47 |
-
<?php _e('Hide Voting buttons',
|
48 |
</th>
|
49 |
<td>
|
50 |
<label for="wc_voting_buttons_show_hide">
|
51 |
-
<input type="checkbox" <?php checked($this->
|
52 |
</label>
|
53 |
</td>
|
54 |
</tr>
|
55 |
<tr valign="top">
|
56 |
<th scope="row">
|
57 |
-
<?php _e('
|
58 |
</th>
|
59 |
-
<td>
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
</td>
|
64 |
</tr>
|
65 |
<tr valign="top">
|
66 |
<th scope="row">
|
67 |
-
<?php _e('Hide the CAPTCHA field',
|
68 |
</th>
|
69 |
<td>
|
70 |
<label for="wc_captcha_show_hide">
|
71 |
-
<input type="checkbox" <?php checked($this->
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
</th>
|
79 |
<td>
|
80 |
<label for="wc_weburl_show_hide">
|
81 |
-
<input type="checkbox" <?php checked($this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
</label>
|
83 |
</td>
|
84 |
</tr>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Show/Hide Components', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row" style="width:55%">
|
12 |
+
<?php _e('Show logged-in user name and logout link on top of main form', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td>
|
15 |
<label for="wc_show_hide_loggedin_username">
|
16 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->showHideLoggedInUsername == 1) ?> value="1" name="wc_show_hide_loggedin_username" id="wc_show_hide_loggedin_username" />
|
17 |
</label>
|
18 |
</td>
|
19 |
</tr>
|
20 |
<tr valign="top">
|
21 |
<th scope="row">
|
22 |
+
<?php _e('Hide Reply button for Guests', 'wpdiscuz'); ?>
|
23 |
</th>
|
24 |
<td>
|
25 |
<label for="wc_reply_button_guests_show_hide">
|
26 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->replyButtonGuestsShowHide == 1) ?> value="1" name="wc_reply_button_guests_show_hide" id="wc_reply_button_guests_show_hide" />
|
27 |
</label>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
+
<?php _e('Hide Reply button for Members', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td>
|
35 |
<label for="wc_reply_button_members_show_hide">
|
36 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->replyButtonMembersShowHide == 1) ?> value="1" name="wc_reply_button_members_show_hide" id="wc_reply_button_members_show_hide" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
40 |
<tr valign="top">
|
41 |
<th scope="row">
|
42 |
+
<?php _e('Hide Commenter Labels', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td>
|
45 |
<label for="wc_author_titles_show_hide">
|
46 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->authorTitlesShowHide == 1) ?> value="1" name="wc_author_titles_show_hide" id="wc_author_titles_show_hide" />
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
50 |
<tr valign="top">
|
51 |
<th scope="row">
|
52 |
+
<?php _e('Hide Voting buttons', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td>
|
55 |
<label for="wc_voting_buttons_show_hide">
|
56 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->votingButtonsShowHide == 1) ?> value="1" name="wc_voting_buttons_show_hide" id="wc_voting_buttons_show_hide" />
|
57 |
</label>
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Show Share Buttons', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
+
<td>
|
65 |
+
<?php
|
66 |
+
$shareButtons = $this->shareButtons;
|
67 |
+
foreach ($shareButtons as $btn) {
|
68 |
+
$checked = in_array($btn, $this->optionsSerialized->shareButtons) ? 'checked="checked"' : '';
|
69 |
+
?>
|
70 |
+
<label class="wpdiscuz-share-buttons share-button-<?php echo $btn; ?>" for="wc_share_button_<?php echo $btn; ?>">
|
71 |
+
<input type="checkbox" <?php echo $checked ?> value="<?php echo $btn; ?>" name="wpdiscuz_share_buttons[]" id="wc_share_button_<?php echo $btn; ?>" class="wc_share_button" />
|
72 |
+
</label>
|
73 |
+
<?php
|
74 |
+
}
|
75 |
+
?>
|
76 |
</td>
|
77 |
</tr>
|
78 |
<tr valign="top">
|
79 |
<th scope="row">
|
80 |
+
<?php _e('Hide the CAPTCHA field for guests', 'wpdiscuz'); ?>
|
81 |
</th>
|
82 |
<td>
|
83 |
<label for="wc_captcha_show_hide">
|
84 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->captchaShowHide == 1) ?> value="1" name="wc_captcha_show_hide" id="wc_captcha_show_hide" />
|
85 |
+
</label>
|
86 |
+
</td>
|
87 |
+
</tr>
|
88 |
+
<?php if (!$this->optionsSerialized->captchaShowHide) { ?>
|
89 |
+
<tr valign="top">
|
90 |
+
<th scope="row">
|
91 |
+
<?php _e('Show the CAPTCHA field for logged in users', 'wpdiscuz'); ?>
|
92 |
+
</th>
|
93 |
+
<td>
|
94 |
+
<label for="wc_captcha_show_hide_for_members">
|
95 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->captchaShowHideForMembers == 1) ?> value="1" name="wc_captcha_show_hide_for_members" id="wc_captcha_show_hide_for_members" />
|
96 |
+
</label>
|
97 |
+
</td>
|
98 |
+
</tr>
|
99 |
+
<?php } ?>
|
100 |
+
<tr valign="top">
|
101 |
+
<th scope="row">
|
102 |
+
<?php _e('Show the Website URL field', 'wpdiscuz'); ?>
|
103 |
</th>
|
104 |
<td>
|
105 |
<label for="wc_weburl_show_hide">
|
106 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->weburlShowHide == 1) ?> value="1" name="wc_weburl_show_hide" id="wc_weburl_show_hide" />
|
107 |
+
</label>
|
108 |
+
</td>
|
109 |
+
</tr>
|
110 |
+
<tr valign="top">
|
111 |
+
<th scope="row">
|
112 |
+
<?php _e('Hide header text', 'wpdiscuz'); ?>
|
113 |
+
</th>
|
114 |
+
<td>
|
115 |
+
<label for="wc_header_text_show_hide">
|
116 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->headerTextShowHide == 1) ?> value="1" name="wc_header_text_show_hide" id="wc_header_text_show_hide" />
|
117 |
+
</label>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr valign="top">
|
121 |
+
<th scope="row">
|
122 |
+
<?php _e('Show sorting buttons', 'wpdiscuz'); ?>
|
123 |
+
</th>
|
124 |
+
<td>
|
125 |
+
<label for="show_sorting_buttons">
|
126 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->showSortingButtons == 1) ?> value="1" name="show_sorting_buttons" id="show_sorting_buttons" />
|
127 |
</label>
|
128 |
</td>
|
129 |
</tr>
|
options/options-layouts/settings-social.php
CHANGED
@@ -1,53 +1,69 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
2 |
/* 1. WordPress Social Login
|
3 |
2. Social Login
|
4 |
3 Super Socializer
|
5 |
4. Social Connect
|
6 |
-
5. uLogin
|
7 |
*/
|
8 |
add_thickbox();
|
9 |
if (function_exists('wsl_render_auth_widget_in_comment_form')) {
|
10 |
$wc_social_plugin = '<tr valign="top"><td>WordPress Social Login</td><td><a href="options-general.php?page=wordpress-social-login" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
11 |
} else if (function_exists('the_champ_login_button')) {
|
12 |
-
$wc_social_plugin = '<tr valign="top"><td>Super Socializer</td><td><a href="admin.php?page=
|
13 |
} else if (function_exists('sc_render_comment_form_social_connect')) {
|
14 |
$wc_social_plugin = '<tr valign="top"><td>Social Connect</td><td><a href="options-general.php?page=social-connect-id" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
15 |
-
} else {
|
|
|
|
|
16 |
$plugins_directory = ABSPATH . 'wp-content/plugins/';
|
17 |
// wordpress social login
|
18 |
if (file_exists($plugins_directory . 'wordpress-social-login/')) {
|
19 |
-
$wc_wordpress_social_login_text = __('Activate',
|
20 |
-
$wc_wordpress_social_login_link = '
|
21 |
$wc_wordpress_social_login_thickbox = '';
|
22 |
} else {
|
23 |
-
$wc_wordpress_social_login_text = __('View details/Install',
|
24 |
$wc_wordpress_social_login_link = 'plugin-install.php?tab=plugin-information&plugin=wordpress-social-login&TB_iframe=true&width=772&height=342';
|
25 |
$wc_wordpress_social_login_thickbox = 'thickbox';
|
26 |
}
|
27 |
// super socializer
|
28 |
if (file_exists($plugins_directory . 'super-socializer/')) {
|
29 |
-
$wc_super_socializer_text = __('Activate',
|
30 |
-
$wc_super_socializer_link = '
|
31 |
$wc_super_socializer_thickbox = '';
|
32 |
} else {
|
33 |
-
$wc_super_socializer_text = __('View details/Install',
|
34 |
$wc_super_socializer_link = 'plugin-install.php?tab=plugin-information&plugin=super-socializer&TB_iframe=true&width=772&height=342';
|
35 |
$wc_super_socializer_thickbox = 'thickbox';
|
36 |
}
|
37 |
// social connect
|
38 |
if (file_exists($plugins_directory . 'social-connect/')) {
|
39 |
-
$wc_social_connect_text = __('Activate',
|
40 |
-
$wc_social_connect_link = '
|
41 |
$wc_social_connect_thickbox = '';
|
42 |
} else {
|
43 |
-
$wc_social_connect_text = __('View details/Install',
|
44 |
$wc_social_connect_link = 'plugin-install.php?tab=plugin-information&plugin=social-connect&TB_iframe=true&width=772&height=342';
|
45 |
$wc_social_connect_thickbox = 'thickbox';
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
$wc_social_plugin = '<tr valign="top"><td>WordPress Social Login</td><td><a href="' . $wc_wordpress_social_login_link . '" class="button button-primary ' . $wc_wordpress_social_login_thickbox . '">' . $wc_wordpress_social_login_text . '</a></td></tr>';
|
49 |
$wc_social_plugin .= '<tr valign="top"><td>Super Socializer</td><td><a href="' . $wc_super_socializer_link . '" class="button button-primary ' . $wc_super_socializer_thickbox . '">' . $wc_super_socializer_text . '</a></td></tr>';
|
50 |
$wc_social_plugin .= '<tr valign="top"><td>Social Connect</td><td><a href="' . $wc_social_connect_link . '" class="button button-primary ' . $wc_social_connect_thickbox . '">' . $wc_social_connect_text . '</a></td></tr>';
|
|
|
51 |
}
|
52 |
|
53 |
if (isset($_GET['wc_social_action'])) {
|
@@ -60,7 +76,7 @@ if (isset($_GET['wc_social_action'])) {
|
|
60 |
$wc_social_plugin_file = 'wordpress-social-login/wp-social-login.php';
|
61 |
break;
|
62 |
case 'super-socializer':
|
63 |
-
$wc_activation_redirect_url = 'admin.php?page=
|
64 |
$wc_social_plugin_file = 'super-socializer/super_socializer.php';
|
65 |
break;
|
66 |
case 'social-connect':
|
@@ -72,8 +88,8 @@ if (isset($_GET['wc_social_action'])) {
|
|
72 |
}
|
73 |
?>
|
74 |
<div>
|
75 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Social Login',
|
76 |
-
<p style="padding-bottom:10px; padding-left:10px;"
|
77 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
78 |
<tbody>
|
79 |
<?php echo $wc_social_plugin; ?>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
/* 1. WordPress Social Login
|
6 |
2. Social Login
|
7 |
3 Super Socializer
|
8 |
4. Social Connect
|
|
|
9 |
*/
|
10 |
add_thickbox();
|
11 |
if (function_exists('wsl_render_auth_widget_in_comment_form')) {
|
12 |
$wc_social_plugin = '<tr valign="top"><td>WordPress Social Login</td><td><a href="options-general.php?page=wordpress-social-login" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
13 |
} else if (function_exists('the_champ_login_button')) {
|
14 |
+
$wc_social_plugin = '<tr valign="top"><td>Super Socializer</td><td><a href="admin.php?page=super-socializer" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
15 |
} else if (function_exists('sc_render_comment_form_social_connect')) {
|
16 |
$wc_social_plugin = '<tr valign="top"><td>Social Connect</td><td><a href="options-general.php?page=social-connect-id" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
17 |
+
} else if (function_exists('oa_social_login_render_login_form_comments')) {
|
18 |
+
$wc_social_plugin = '<tr valign="top"><td>Social Login</td><td><a href="admin.php?page=oa_social_login_setup" class="button button-primary">' . __('Settings', 'default') . '</a></td></tr>';
|
19 |
+
}else {
|
20 |
$plugins_directory = ABSPATH . 'wp-content/plugins/';
|
21 |
// wordpress social login
|
22 |
if (file_exists($plugins_directory . 'wordpress-social-login/')) {
|
23 |
+
$wc_wordpress_social_login_text = __('Activate', 'wpdiscuz');
|
24 |
+
$wc_wordpress_social_login_link = 'edit-comments.php?page=wpdiscuz_options_page&wc_social_action=wordpress-social-login';
|
25 |
$wc_wordpress_social_login_thickbox = '';
|
26 |
} else {
|
27 |
+
$wc_wordpress_social_login_text = __('View details/Install', 'wpdiscuz');
|
28 |
$wc_wordpress_social_login_link = 'plugin-install.php?tab=plugin-information&plugin=wordpress-social-login&TB_iframe=true&width=772&height=342';
|
29 |
$wc_wordpress_social_login_thickbox = 'thickbox';
|
30 |
}
|
31 |
// super socializer
|
32 |
if (file_exists($plugins_directory . 'super-socializer/')) {
|
33 |
+
$wc_super_socializer_text = __('Activate', 'wpdiscuz');
|
34 |
+
$wc_super_socializer_link = 'edit-comments.php?page=wpdiscuz_options_page&wc_social_action=super-socializer';
|
35 |
$wc_super_socializer_thickbox = '';
|
36 |
} else {
|
37 |
+
$wc_super_socializer_text = __('View details/Install', 'wpdiscuz');
|
38 |
$wc_super_socializer_link = 'plugin-install.php?tab=plugin-information&plugin=super-socializer&TB_iframe=true&width=772&height=342';
|
39 |
$wc_super_socializer_thickbox = 'thickbox';
|
40 |
}
|
41 |
// social connect
|
42 |
if (file_exists($plugins_directory . 'social-connect/')) {
|
43 |
+
$wc_social_connect_text = __('Activate', 'wpdiscuz');
|
44 |
+
$wc_social_connect_link = 'edit-comments.php?page=wpdiscuz_options_page&wc_social_action=social-connect';
|
45 |
$wc_social_connect_thickbox = '';
|
46 |
} else {
|
47 |
+
$wc_social_connect_text = __('View details/Install', 'wpdiscuz');
|
48 |
$wc_social_connect_link = 'plugin-install.php?tab=plugin-information&plugin=social-connect&TB_iframe=true&width=772&height=342';
|
49 |
$wc_social_connect_thickbox = 'thickbox';
|
50 |
}
|
51 |
|
52 |
+
// social login
|
53 |
+
if (file_exists($plugins_directory . 'oa-social-login/')) {
|
54 |
+
$wc_oa_social_login_text = __('Activate', 'wpdiscuz');
|
55 |
+
$wc_oa_social_login_link = 'edit-comments.php?page=wpdiscuz_options_page&wc_social_action=oa-social-login';
|
56 |
+
$wc_oa_social_login_thickbox = '';
|
57 |
+
} else {
|
58 |
+
$wc_oa_social_login_text = __('View details/Install', 'wpdiscuz');
|
59 |
+
$wc_oa_social_login_link = 'plugin-install.php?tab=plugin-information&plugin=oa-social-login&TB_iframe=true&width=772&height=342';
|
60 |
+
$wc_oa_social_login_thickbox = 'thickbox';
|
61 |
+
}
|
62 |
+
|
63 |
$wc_social_plugin = '<tr valign="top"><td>WordPress Social Login</td><td><a href="' . $wc_wordpress_social_login_link . '" class="button button-primary ' . $wc_wordpress_social_login_thickbox . '">' . $wc_wordpress_social_login_text . '</a></td></tr>';
|
64 |
$wc_social_plugin .= '<tr valign="top"><td>Super Socializer</td><td><a href="' . $wc_super_socializer_link . '" class="button button-primary ' . $wc_super_socializer_thickbox . '">' . $wc_super_socializer_text . '</a></td></tr>';
|
65 |
$wc_social_plugin .= '<tr valign="top"><td>Social Connect</td><td><a href="' . $wc_social_connect_link . '" class="button button-primary ' . $wc_social_connect_thickbox . '">' . $wc_social_connect_text . '</a></td></tr>';
|
66 |
+
$wc_social_plugin .= '<tr valign="top"><td>Social Login</td><td><a href="' . $wc_oa_social_login_link . '" class="button button-primary ' . $wc_oa_social_login_thickbox . '">' . $wc_oa_social_login_text . '</a></td></tr>';
|
67 |
}
|
68 |
|
69 |
if (isset($_GET['wc_social_action'])) {
|
76 |
$wc_social_plugin_file = 'wordpress-social-login/wp-social-login.php';
|
77 |
break;
|
78 |
case 'super-socializer':
|
79 |
+
$wc_activation_redirect_url = 'admin.php?page=super-socializer';
|
80 |
$wc_social_plugin_file = 'super-socializer/super_socializer.php';
|
81 |
break;
|
82 |
case 'social-connect':
|
88 |
}
|
89 |
?>
|
90 |
<div>
|
91 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Social Login', 'wpdiscuz'); ?> </h2>
|
92 |
+
<p style="padding-bottom:10px; padding-left:10px;"><?php _e('You can use one of these most popular Social Login Plugins to allow your visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, OK and lots of other social network service accounts. All social login buttons will be fully integrated with wpDiscuz comment forms.', 'wpdiscuz'); ?> </p>
|
93 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
94 |
<tbody>
|
95 |
<?php echo $wc_social_plugin; ?>
|
options/options-layouts/settings-style.php
CHANGED
@@ -1,208 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Background and Colors',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
-
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row" style="width:55%;">
|
7 |
-
<
|
8 |
</th>
|
9 |
-
<td
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<td class="picker_img_cell">
|
14 |
-
<a href="#wc_openModal6">
|
15 |
-
<img class="wc_colorpicker_img6" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
16 |
-
</a>
|
17 |
-
</td>
|
18 |
-
<td class="color_picker">
|
19 |
-
<div id="wc_openModal6" class="modalDialog">
|
20 |
-
<div id="wc_box6">
|
21 |
-
<a href="#close" title="Close" class="close">X</a>
|
22 |
-
<h2>Color Picker</h2>
|
23 |
-
<p id="wc_colorpickerHolder6"></p>
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
</td>
|
27 |
</tr>
|
28 |
-
|
29 |
<tr valign="top">
|
30 |
<th scope="row">
|
31 |
-
<
|
32 |
</th>
|
33 |
-
<td
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
<td class="picker_img_cell">
|
38 |
-
<a href="#wc_openModal1">
|
39 |
-
<img class="wc_colorpicker_img1" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
40 |
-
</a>
|
41 |
-
</td>
|
42 |
-
<td class="color_picker">
|
43 |
-
<div id="wc_openModal1" class="modalDialog">
|
44 |
-
<div id="wc_box1">
|
45 |
-
<a href="#close" title="Close" class="close">X</a>
|
46 |
-
<h2>Color Picker</h2>
|
47 |
-
<p id="wc_colorpickerHolder1"></p>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
</td>
|
51 |
</tr>
|
52 |
-
|
53 |
<tr valign="top">
|
54 |
<th scope="row">
|
55 |
-
<
|
56 |
</th>
|
57 |
<td>
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
<td class="picker_img_cell">
|
62 |
-
<a href="#wc_openModal2">
|
63 |
-
<img class="wc_colorpicker_img2" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
64 |
-
</a>
|
65 |
-
</td>
|
66 |
-
<td class="color_picker">
|
67 |
-
<div id="wc_openModal2" class="modalDialog">
|
68 |
-
<div id="wc_box2">
|
69 |
-
<a href="#close" title="Close" class="close">X</a>
|
70 |
-
<h2>Color Picker</h2>
|
71 |
-
<p id="wc_colorpickerHolder2"></p>
|
72 |
-
</div>
|
73 |
-
</div>
|
74 |
-
</td>
|
75 |
</tr>
|
76 |
-
|
77 |
<tr valign="top">
|
78 |
<th scope="row">
|
79 |
-
<
|
80 |
</th>
|
81 |
<td>
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
<td class="picker_img_cell">
|
86 |
-
<a href="#wc_openModal3">
|
87 |
-
<img class="wc_colorpicker_img3" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
88 |
-
</a>
|
89 |
-
</td>
|
90 |
-
<td class="color_picker">
|
91 |
-
<div id="wc_openModal3" class="modalDialog">
|
92 |
-
<div id="wc_box3">
|
93 |
-
<a href="#close" title="Close" class="close">X</a>
|
94 |
-
<h2>Color Picker</h2>
|
95 |
-
<p id="wc_colorpickerHolder3"></p>
|
96 |
-
</div>
|
97 |
-
</div>
|
98 |
</td>
|
99 |
</tr>
|
100 |
-
|
101 |
-
|
102 |
<tr valign="top">
|
103 |
<th scope="row">
|
104 |
-
<
|
105 |
</th>
|
106 |
<td>
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
<td class="picker_img_cell">
|
111 |
-
<a href="#wc_openModal4">
|
112 |
-
<img class="wc_colorpicker_img4" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
113 |
-
</a>
|
114 |
-
</td>
|
115 |
-
<td class="color_picker">
|
116 |
-
<div id="wc_openModal4" class="modalDialog">
|
117 |
-
<div id="wc_box4">
|
118 |
-
<a href="#close" title="Close" class="close">X</a>
|
119 |
-
<h2>Color Picker</h2>
|
120 |
-
<p id="wc_colorpickerHolder4"></p>
|
121 |
-
</div>
|
122 |
-
</div>
|
123 |
</td>
|
124 |
</tr>
|
125 |
-
|
126 |
-
|
127 |
<tr valign="top">
|
128 |
<th scope="row">
|
129 |
-
<
|
130 |
</th>
|
131 |
<td>
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
<td class="picker_img_cell">
|
136 |
-
<a href="#wc_openModal5">
|
137 |
-
<img class="wc_colorpicker_img5" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
138 |
-
</a>
|
139 |
-
</td>
|
140 |
-
<td class="color_picker">
|
141 |
-
<div id="wc_openModal5" class="modalDialog">
|
142 |
-
<div id="wc_box5">
|
143 |
-
<a href="#close" title="Close" class="close">X</a>
|
144 |
-
<h2>Color Picker</h2>
|
145 |
-
<p id="wc_colorpickerHolder5"></p>
|
146 |
-
</div>
|
147 |
-
</div>
|
148 |
</td>
|
149 |
</tr>
|
150 |
<tr valign="top">
|
151 |
<th scope="row">
|
152 |
-
<
|
153 |
</th>
|
154 |
<td>
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
<td class="picker_img_cell">
|
159 |
-
<a href="#wc_openModal8">
|
160 |
-
<img class="wc_colorpicker_img8" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
161 |
-
</a>
|
162 |
-
</td>
|
163 |
-
<td class="color_picker">
|
164 |
-
<div id="wc_openModal8" class="modalDialog">
|
165 |
-
<div id="wc_box8">
|
166 |
-
<a href="#close" title="Close" class="close">X</a>
|
167 |
-
<h2>Color Picker</h2>
|
168 |
-
<p id="wc_colorpickerHolder8"></p>
|
169 |
-
</div>
|
170 |
-
</div>
|
171 |
</td>
|
172 |
</tr>
|
173 |
<tr valign="top">
|
174 |
<th scope="row">
|
175 |
-
<
|
176 |
</th>
|
177 |
<td>
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
<td class="picker_img_cell">
|
182 |
-
<a href="#wc_openModal7">
|
183 |
-
<img class="wc_colorpicker_img7" src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/img/colorpicker_icon_22.png'); ?>" />
|
184 |
-
</a>
|
185 |
-
</td>
|
186 |
-
<td class="color_picker">
|
187 |
-
<div id="wc_openModal7" class="modalDialog">
|
188 |
-
<div id="wc_box7">
|
189 |
-
<a href="#close" title="Close" class="close">X</a>
|
190 |
-
<h2>Color Picker</h2>
|
191 |
-
<p id="wc_colorpickerHolder7"></p>
|
192 |
-
</div>
|
193 |
-
</div>
|
194 |
</td>
|
195 |
</tr>
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
<tr valign="top">
|
198 |
<th scope="row">
|
199 |
-
<
|
200 |
</th>
|
201 |
<td>
|
202 |
-
<textarea cols="50" rows="10" class="regular-text" id="wc_custom_css" name="wc_custom_css" placeholder=""><?php echo stripslashes($this->
|
203 |
</td>
|
204 |
-
</tr>
|
205 |
-
|
206 |
</tbody>
|
207 |
</table>
|
208 |
</div>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Background and Colors', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
+
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row" style="width:55%;">
|
12 |
+
<span class="wpdiscuz-option-title"><?php _e('Comment Form Background Color', 'wpdiscuz'); ?></span>
|
13 |
</th>
|
14 |
+
<td>
|
15 |
+
<?php $formBGColor = isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#F9F9F9'; ?>
|
16 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $formBGColor; ?>" id="wc_form_bg_color" name="wc_form_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
17 |
+
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</tr>
|
|
|
19 |
<tr valign="top">
|
20 |
<th scope="row">
|
21 |
+
<span class="wpdiscuz-option-title"><?php _e('Comment Background Color', 'wpdiscuz'); ?></span>
|
22 |
</th>
|
23 |
+
<td>
|
24 |
+
<?php $commentBGColor = isset($this->optionsSerialized->commentBGColor) ? $this->optionsSerialized->commentBGColor : '#FEFEFE'; ?>
|
25 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $commentBGColor; ?>" id="wc_comment_bg_color" name="wc_comment_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</td>
|
27 |
</tr>
|
|
|
28 |
<tr valign="top">
|
29 |
<th scope="row">
|
30 |
+
<span class="wpdiscuz-option-title"><?php _e('Reply Background Color', 'wpdiscuz'); ?></span>
|
31 |
</th>
|
32 |
<td>
|
33 |
+
<?php $replyBGColor = isset($this->optionsSerialized->replyBGColor) ? $this->optionsSerialized->replyBGColor : '#F8F8F8'; ?>
|
34 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $replyBGColor; ?>" id="wc_reply_bg_color" name="wc_reply_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
35 |
+
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
</tr>
|
|
|
37 |
<tr valign="top">
|
38 |
<th scope="row">
|
39 |
+
<span class="wpdiscuz-option-title"><?php _e('Comment Text Color', 'wpdiscuz'); ?></span>
|
40 |
</th>
|
41 |
<td>
|
42 |
+
<?php $commentTextColor = isset($this->optionsSerialized->commentTextColor) ? $this->optionsSerialized->commentTextColor : '#555555'; ?>
|
43 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $commentTextColor; ?>" id="wc_comment_text_color" name="wc_comment_text_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
</td>
|
45 |
</tr>
|
|
|
|
|
46 |
<tr valign="top">
|
47 |
<th scope="row">
|
48 |
+
<span class="wpdiscuz-option-title"><?php _e('Vote, Reply, Share, Edit links text colors', 'wpdiscuz'); ?></span>
|
49 |
</th>
|
50 |
<td>
|
51 |
+
<?php $voteReplyColor = isset($this->optionsSerialized->voteReplyColor) ? $this->optionsSerialized->voteReplyColor : '#666666'; ?>
|
52 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $voteReplyColor; ?>" id="wc_vote_reply_color" name="wc_vote_reply_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
</td>
|
54 |
</tr>
|
|
|
|
|
55 |
<tr valign="top">
|
56 |
<th scope="row">
|
57 |
+
<span class="wpdiscuz-option-title"><?php _e('Comment form fields border color', 'wpdiscuz'); ?></span>
|
58 |
</th>
|
59 |
<td>
|
60 |
+
<?php $inputBorderColor = isset($this->optionsSerialized->inputBorderColor) ? $this->optionsSerialized->inputBorderColor : '#D9D9D9'; ?>
|
61 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $inputBorderColor; ?>" id="wc_input_border_color" name="wc_input_border_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
</td>
|
63 |
</tr>
|
64 |
<tr valign="top">
|
65 |
<th scope="row">
|
66 |
+
<span class="wpdiscuz-option-title"><?php _e('New loaded comments\' background color', 'wpdiscuz'); ?></span>
|
67 |
</th>
|
68 |
<td>
|
69 |
+
<?php $newLoadedCommentBGColor = isset($this->optionsSerialized->newLoadedCommentBGColor) ? $this->optionsSerialized->newLoadedCommentBGColor : '#FEFEFE'; ?>
|
70 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $newLoadedCommentBGColor; ?>" id="wc_new_loaded_comment_bg_color" name="wc_new_loaded_comment_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
</td>
|
72 |
</tr>
|
73 |
<tr valign="top">
|
74 |
<th scope="row">
|
75 |
+
<span class="wpdiscuz-option-title"><?php _e('Primary Color', 'wpdiscuz'); ?></span>
|
76 |
</th>
|
77 |
<td>
|
78 |
+
<?php $primaryColor = isset($this->optionsSerialized->primaryColor) ? $this->optionsSerialized->primaryColor : '#00B38F'; ?>
|
79 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $primaryColor; ?>" id="wc_comment_username_color" name="wc_comment_username_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
</td>
|
81 |
</tr>
|
82 |
+
<?php
|
83 |
+
$wpdiscuzRoles = $this->blogRoles;
|
84 |
+
foreach ($wpdiscuzRoles as $roleName => $color) {
|
85 |
+
$blogRoleColor = isset($this->optionsSerialized->blogRoles[$roleName]) ? $this->optionsSerialized->blogRoles[$roleName] : '#00B38F';
|
86 |
+
?>
|
87 |
+
<tr valign="top">
|
88 |
+
<th scope="row">
|
89 |
+
<span class="wpdiscuz-option-title"><?php echo '<span style="font-weight:bold;color:' . $blogRoleColor . ';">' . ucfirst(str_replace('_',' ',$roleName)) . '</span> ' . __('label color', 'wpdiscuz'); ?></span>
|
90 |
+
</th>
|
91 |
+
<td>
|
92 |
+
<input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $blogRoleColor; ?>" id="wc_blog_roles_<?php echo $roleName; ?>" name="wc_blog_roles[<?php echo $roleName; ?>]" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
|
93 |
+
</td>
|
94 |
+
</tr>
|
95 |
+
<?php
|
96 |
+
}
|
97 |
+
?>
|
98 |
<tr valign="top">
|
99 |
<th scope="row">
|
100 |
+
<span class="wpdiscuz-option-title"><?php _e('Custom CSS Code', 'wpdiscuz'); ?></span>
|
101 |
</th>
|
102 |
<td>
|
103 |
+
<textarea cols="50" rows="10" class="regular-text" id="wc_custom_css" name="wc_custom_css" placeholder=""><?php echo stripslashes($this->optionsSerialized->customCss); ?></textarea>
|
104 |
</td>
|
105 |
+
</tr>
|
|
|
106 |
</tbody>
|
107 |
</table>
|
108 |
</div>
|
options/options-layouts/settings-subscription.php
CHANGED
@@ -1,53 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Email Subscription Settings',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row" style="width:55%;">
|
7 |
-
<span><?php _e('
|
8 |
-
<span style="line-height:22px;"><?php _e('Show
|
9 |
-
<
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
</label>
|
25 |
-
</td>
|
26 |
-
</tr>
|
27 |
-
<?php if (class_exists('Prompt_Comment_Form_Handling')) { ?>
|
28 |
-
<tr valign="top">
|
29 |
-
<th scope="row">
|
30 |
-
<?php _e('Use Postmatic for subscriptions and commenting by email', WC_Core::$TEXT_DOMAIN); ?>
|
31 |
-
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Postmatic allows your users subscribe to comments. Instead of just being notified, they add a reply right from their inbox.', WC_Core::$TEXT_DOMAIN); ?></p>
|
32 |
-
</th>
|
33 |
-
<td>
|
34 |
-
<label for="wc_use_postmatic_for_comment_notification">
|
35 |
-
<input type="checkbox" <?php checked($this->wc_options_serialized->wc_use_postmatic_for_comment_notification == 1) ?> value="1" name="wc_use_postmatic_for_comment_notification" id="wc_use_postmatic_for_comment_notification" />
|
36 |
-
</label>
|
37 |
-
</td>
|
38 |
</tr>
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
51 |
</tbody>
|
52 |
</table>
|
53 |
</div>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Email Subscription Settings', 'wpdiscuz'); ?> </h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row" style="width:55%;">
|
12 |
+
<label for="wc_disable_member_confirm" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Disable subscription confirmation for registered users', 'wpdiscuz'); ?></span></label><br />
|
13 |
+
<label for="show_subscription_bar" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Show comment subscription bar', 'wpdiscuz'); ?></span></label><br />
|
14 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
|
15 |
+
<?php _e('This bar provides two subscription options: notify of "new follow-up comments" and "new replies to my comments"', 'wpdiscuz') ?>
|
16 |
+
</p>
|
17 |
+
<label for="wc_show_hide_reply_checkbox" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Show "Notify of new replies to this comment"', 'wpdiscuz'); ?></span></label><br />
|
18 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
|
19 |
+
<?php _e('wpDiscuz is the only comment plugin which allows you to subscribe to certain comment replies. This option is located above [Post Comment] button in comment form. You can disable this subscription way by unchecking this option.', 'wpdiscuz') ?>
|
20 |
+
</p>
|
21 |
+
</th>
|
22 |
+
<td>
|
23 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->disableMemberConfirm == 1) ?> value="1" name="wc_disable_member_confirm" id="wc_disable_member_confirm" />
|
24 |
+
<br />
|
25 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->showSubscriptionBar == 1) ?> value="1" name="show_subscription_bar" id="show_subscription_bar" />
|
26 |
+
<br /><br /><br />
|
27 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->showHideReplyCheckbox == 1) ?> value="1" name="wc_show_hide_reply_checkbox" id="wc_show_hide_reply_checkbox" />
|
28 |
+
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
</tr>
|
30 |
+
<?php if (class_exists('Prompt_Comment_Form_Handling')) { ?>
|
31 |
+
<tr valign="top">
|
32 |
+
<th scope="row">
|
33 |
+
<?php _e('Use Postmatic for subscriptions and commenting by email', 'wpdiscuz'); ?>
|
34 |
+
<p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Postmatic allows your users subscribe to comments. Instead of just being notified, they add a reply right from their inbox.', 'wpdiscuz'); ?></p>
|
35 |
+
</th>
|
36 |
+
<td>
|
37 |
+
<label for="wc_use_postmatic_for_comment_notification">
|
38 |
+
<input type="checkbox" <?php checked($this->optionsSerialized->usePostmaticForCommentNotification == 1) ?> value="1" name="wc_use_postmatic_for_comment_notification" id="wc_use_postmatic_for_comment_notification" />
|
39 |
+
</label>
|
40 |
+
</td>
|
41 |
+
</tr>
|
42 |
+
<?php } ?>
|
43 |
</tbody>
|
44 |
</table>
|
45 |
</div>
|
options/options-layouts/settings-synch-comments.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
+
<style>.wpdiscuz_progressbar{ background:url(<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/'); ?>assets/img/progressbar.gif) left no-repeat #FFFFFF; box-sizing:border-box; overflow:hidden; font-size:16px; color:#FFFFFF; padding:14px 0px 15px 0px; min-width:50px!important; white-space:nowrap; } </style>
|
7 |
+
<div>
|
8 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Supercharge existing comments', 'wpdiscuz'); ?> </h2>
|
9 |
+
<p style="padding:10px; font-size:13px; font-family:Verdana, Arial, Helvetica, sans-serif;">
|
10 |
+
<?php _e("wpDiscuz 3.0 and all future 3.x versions have been named as Supercharged.
|
11 |
+
It's super fast and perfectly optimized. wpDiscuz 3 version is dozens of times faster than 1.x and 2.x versions.
|
12 |
+
The Supercharged version supports millions of comments per post, so the number of comments doesn't matter anymore.
|
13 |
+
You can use wpDiscuz for extremely large and active websites without any worry. <br />
|
14 |
+
To start using this crazy machine you should do one-time data optimization of existing comments.
|
15 |
+
All new comments will be automatically optimized. Just click on [Supercharge my comments] button and wait for 100% result.
|
16 |
+
<span style='color:#0091CD'>Please be patient. The duration of this process depends on number of your website comments. It may take minutes if you have more than 1000 comments.</span>
|
17 |
+
This process doesn't affect any data, it doesn't re-store comments in different tables, it just collects comments thread hierarchy and relationship information.<br />", 'wpdiscuz'); ?>
|
18 |
+
</p>
|
19 |
+
<div style="margin:20px 0px 30px 0px;">
|
20 |
+
<div style="max-width:400px; float:left; padding:10px; margin-right:20px;">
|
21 |
+
<?php
|
22 |
+
$realLastCommentId = $this->dbManager->getLastCommentId();
|
23 |
+
$disabled = $realLastCommentId ? '' : 'disabled="disabled"';
|
24 |
+
?>
|
25 |
+
<input id="wpdiscuz_synch_comments_count" value="25" style="width:80px;" type="number" placeholder="<?php _e('Default value is 25', 'wpdiscuz'); ?>" name="wpdiscuz_synch_comments_count"/>
|
26 |
+
<button <?php echo $disabled; ?> type="button" class="button button-primary" style="background:#4793C8;" id="wpdiscuz_synch_comments"><?php _e('Supercharge My Comments', 'wpdiscuz'); ?></button>
|
27 |
+
<br />
|
28 |
+
<span style="font-size:11px; color:#666666;"><?php _e("Number of comment threads (parent comments) per request", 'wpdiscuz'); ?></span>
|
29 |
+
</div>
|
30 |
+
<div style="min-width:354px; float:left; border-radius:4px; border:#CCCCCC 1px solid;">
|
31 |
+
<div id="wpdiscuz_progressbar_wrapper" class="wrap" style="max-width:354px; height:50px; width:100%; margin:0px;"></div>
|
32 |
+
</div>
|
33 |
+
<div style="clear:both;"></div>
|
34 |
+
</div>
|
35 |
+
<span style="font-size:12px; color:#666666;"> <?php _e("Note: after each deactivation of wpDiscuz, it may ask you to optimize existing comments again. It needs to make sure, that all comments, which have been added during deactivation period are also optimized.", 'wpdiscuz'); ?></span>
|
36 |
+
</div>
|
options/phrases-layout/phrases-form.php
DELETED
@@ -1,159 +0,0 @@
|
|
1 |
-
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Form Template Phrases', WC_Core::$TEXT_DOMAIN); ?></h2>
|
3 |
-
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
-
<tbody>
|
5 |
-
<tr valign="top">
|
6 |
-
<th scope="row">
|
7 |
-
<?php _e('Comment Field Start', WC_Core::$TEXT_DOMAIN); ?>
|
8 |
-
</th>
|
9 |
-
<td colspan="3">
|
10 |
-
<label for="wc_comment_start_text">
|
11 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_comment_start_text']; ?>" name="wc_comment_start_text" id="wc_comment_start_text" />
|
12 |
-
</label>
|
13 |
-
</td>
|
14 |
-
</tr>
|
15 |
-
<tr valign="top">
|
16 |
-
<th scope="row">
|
17 |
-
<?php _e('Comment Field Join', WC_Core::$TEXT_DOMAIN); ?>
|
18 |
-
</th>
|
19 |
-
<td colspan="3">
|
20 |
-
<label for="wc_comment_join_text">
|
21 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_comment_join_text']; ?>" name="wc_comment_join_text" id="wc_comment_join_text" />
|
22 |
-
</label>
|
23 |
-
</td>
|
24 |
-
</tr>
|
25 |
-
<tr valign="top">
|
26 |
-
<th scope="row">
|
27 |
-
<?php _e('Email Field', WC_Core::$TEXT_DOMAIN); ?>
|
28 |
-
</th>
|
29 |
-
<td colspan="3">
|
30 |
-
<label for="wc_email_text">
|
31 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_email_text']; ?>" name="wc_email_text" id="wc_email_text" />
|
32 |
-
</label>
|
33 |
-
</td>
|
34 |
-
</tr>
|
35 |
-
<tr valign="top">
|
36 |
-
<th scope="row">
|
37 |
-
<?php _e('Name Field', WC_Core::$TEXT_DOMAIN); ?>
|
38 |
-
</th>
|
39 |
-
<td colspan="3">
|
40 |
-
<label for="wc_name_text">
|
41 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_name_text']; ?>" name="wc_name_text" id="wc_name_text" />
|
42 |
-
</label>
|
43 |
-
</td>
|
44 |
-
</tr>
|
45 |
-
<tr valign="top">
|
46 |
-
<th scope="row">
|
47 |
-
<?php _e('WebSite URL Field', WC_Core::$TEXT_DOMAIN); ?>
|
48 |
-
</th>
|
49 |
-
<td colspan="3">
|
50 |
-
<label for="wc_website_text">
|
51 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_website_text']; ?>" name="wc_website_text" id="wc_website_text" />
|
52 |
-
</label>
|
53 |
-
</td>
|
54 |
-
</tr>
|
55 |
-
<tr valign="top">
|
56 |
-
<th scope="row">
|
57 |
-
<?php _e('CAPTCHA Field', WC_Core::$TEXT_DOMAIN); ?>
|
58 |
-
</th>
|
59 |
-
<td colspan="3">
|
60 |
-
<label for="wc_captcha_text">
|
61 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_captcha_text']; ?>" name="wc_captcha_text" id="wc_email_text" />
|
62 |
-
</label>
|
63 |
-
</td>
|
64 |
-
</tr>
|
65 |
-
<tr valign="top">
|
66 |
-
<th scope="row">
|
67 |
-
<?php _e('Submit Button', WC_Core::$TEXT_DOMAIN); ?>
|
68 |
-
</th>
|
69 |
-
<td colspan="3">
|
70 |
-
<label for="wc_submit_text">
|
71 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_submit_text']; ?>" name="wc_submit_text" id="wc_submit_text" />
|
72 |
-
</label>
|
73 |
-
</td>
|
74 |
-
</tr>
|
75 |
-
<tr valign="top">
|
76 |
-
<th scope="row">
|
77 |
-
<?php _e('Manage Subscriptions', WC_Core::$TEXT_DOMAIN); ?>
|
78 |
-
</th>
|
79 |
-
<td colspan="3">
|
80 |
-
<label for="wc_manage_subscribtions">
|
81 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_manage_subscribtions']) ? $this->wc_options_serialized->wc_phrases['wc_manage_subscribtions'] : __('Manage Subscriptions', WC_Core::$TEXT_DOMAIN); ?>" name="wc_manage_subscribtions" id="wc_manage_subscribtions" />
|
82 |
-
</label>
|
83 |
-
</td>
|
84 |
-
</tr>
|
85 |
-
<tr valign="top">
|
86 |
-
<th scope="row">
|
87 |
-
<?php _e('Notify "None"', WC_Core::$TEXT_DOMAIN); ?>
|
88 |
-
</th>
|
89 |
-
<td colspan="3">
|
90 |
-
<label for="wc_notify_none">
|
91 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_notify_none']) ? $this->wc_options_serialized->wc_phrases['wc_notify_none'] : __('None', WC_Core::$TEXT_DOMAIN); ?>" name="wc_notify_none" id="wc_notify_none" />
|
92 |
-
</label>
|
93 |
-
</td>
|
94 |
-
</tr>
|
95 |
-
<tr valign="top">
|
96 |
-
<th scope="row">
|
97 |
-
<?php _e('Notify on new comments (checkbox)', WC_Core::$TEXT_DOMAIN); ?>
|
98 |
-
</th>
|
99 |
-
<td colspan="3">
|
100 |
-
<label for="wc_notify_on_new_comment">
|
101 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_notify_on_new_comment']) ? $this->wc_options_serialized->wc_phrases['wc_notify_on_new_comment'] : __('Notify of all new follow-up comments', WC_Core::$TEXT_DOMAIN); ?>" name="wc_notify_on_new_comment" id="wc_notify_on_new_comment" />
|
102 |
-
</label>
|
103 |
-
</td>
|
104 |
-
</tr>
|
105 |
-
|
106 |
-
<tr valign="top">
|
107 |
-
<th scope="row">
|
108 |
-
<?php _e('Notify on all new replies (checkbox)', WC_Core::$TEXT_DOMAIN); ?>
|
109 |
-
</th>
|
110 |
-
<td colspan="3">
|
111 |
-
<label for="wc_notify_on_all_new_reply">
|
112 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply']) ? $this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] : __('Notify of new replies to all my comments', WC_Core::$TEXT_DOMAIN); ?>" name="wc_notify_on_all_new_reply" id="wc_notify_on_all_new_reply" />
|
113 |
-
</label>
|
114 |
-
</td>
|
115 |
-
</tr>
|
116 |
-
|
117 |
-
<tr valign="top">
|
118 |
-
<th scope="row">
|
119 |
-
<?php _e('Notify on new replies (checkbox)', WC_Core::$TEXT_DOMAIN); ?>
|
120 |
-
</th>
|
121 |
-
<td colspan="3">
|
122 |
-
<label for="wc_notify_on_new_reply">
|
123 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply']) ? $this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] : __('Notify of new replies to this comment', WC_Core::$TEXT_DOMAIN); ?>" name="wc_notify_on_new_reply" id="wc_notify_on_new_reply" />
|
124 |
-
</label>
|
125 |
-
</td>
|
126 |
-
</tr>
|
127 |
-
<tr valign="top">
|
128 |
-
<th scope="row">
|
129 |
-
<?php _e('Subscribed on this comment replies', WC_Core::$TEXT_DOMAIN); ?>
|
130 |
-
</th>
|
131 |
-
<td colspan="3">
|
132 |
-
<label for="wc_subscribed_on_comment">
|
133 |
-
<textarea name="wc_subscribed_on_comment" id="wc_subscribed_on_comment"><?php echo $this->wc_options_serialized->wc_phrases['wc_subscribed_on_comment']; ?></textarea>
|
134 |
-
</label>
|
135 |
-
</td>
|
136 |
-
</tr>
|
137 |
-
<tr valign="top">
|
138 |
-
<th scope="row">
|
139 |
-
<?php _e('Subscribed on all your comments replies', WC_Core::$TEXT_DOMAIN); ?>
|
140 |
-
</th>
|
141 |
-
<td colspan="3">
|
142 |
-
<label for="wc_subscribed_on_all_comment">
|
143 |
-
<textarea name="wc_subscribed_on_all_comment" id="wc_subscribed_on_all_comment"><?php echo $this->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment']; ?></textarea>
|
144 |
-
</label>
|
145 |
-
</td>
|
146 |
-
</tr>
|
147 |
-
<tr valign="top">
|
148 |
-
<th scope="row">
|
149 |
-
<?php _e('Subscribed on this post', WC_Core::$TEXT_DOMAIN); ?>
|
150 |
-
</th>
|
151 |
-
<td colspan="3">
|
152 |
-
<label for="wc_subscribed_on_post">
|
153 |
-
<textarea name="wc_subscribed_on_post" id="wc_subscribed_on_post"><?php echo $this->wc_options_serialized->wc_phrases['wc_subscribed_on_post']; ?></textarea>
|
154 |
-
</label>
|
155 |
-
</td>
|
156 |
-
</tr>
|
157 |
-
</tbody>
|
158 |
-
</table>
|
159 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options/phrases-layout/phrases-notification.php
DELETED
@@ -1,219 +0,0 @@
|
|
1 |
-
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Notification Phrases', WC_Core::$TEXT_DOMAIN); ?></h2>
|
3 |
-
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
-
<tbody>
|
5 |
-
<tr valign="top">
|
6 |
-
<th scope="row">
|
7 |
-
<?php _e('You\'ve successfully unsubscribed.', WC_Core::$TEXT_DOMAIN); ?>
|
8 |
-
</th>
|
9 |
-
<td colspan="3">
|
10 |
-
<label for="wc_unsubscribe_message">
|
11 |
-
<textarea name="wc_unsubscribe_message" id="wc_unsubscribe_message"><?php echo $this->wc_options_serialized->wc_phrases['wc_unsubscribe_message']; ?></textarea>
|
12 |
-
</label>
|
13 |
-
</td>
|
14 |
-
</tr>
|
15 |
-
|
16 |
-
<tr valign="top">
|
17 |
-
<th scope="row">
|
18 |
-
<?php _e('Error message for empty field', WC_Core::$TEXT_DOMAIN); ?>
|
19 |
-
</th>
|
20 |
-
<td colspan="3">
|
21 |
-
<label for="wc_error_empty_text">
|
22 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>" name="wc_error_empty_text" id="wc_error_empty_text" />
|
23 |
-
</label>
|
24 |
-
</td>
|
25 |
-
</tr>
|
26 |
-
<tr valign="top">
|
27 |
-
<th scope="row">
|
28 |
-
<?php _e('Error message for invalid email field', WC_Core::$TEXT_DOMAIN); ?>
|
29 |
-
</th>
|
30 |
-
<td colspan="3">
|
31 |
-
<label for="wc_error_email_text">
|
32 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>" name="wc_error_email_text" id="wc_error_email_text" />
|
33 |
-
</label>
|
34 |
-
</td>
|
35 |
-
</tr>
|
36 |
-
<tr valign="top">
|
37 |
-
<th scope="row">
|
38 |
-
<?php _e('Error message for invalid website url field', WC_Core::$TEXT_DOMAIN); ?>
|
39 |
-
</th>
|
40 |
-
<td colspan="3">
|
41 |
-
<label for="wc_error_url_text">
|
42 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_error_url_text']; ?>" name="wc_error_url_text" id="wc_error_url_text" />
|
43 |
-
</label>
|
44 |
-
</td>
|
45 |
-
</tr>
|
46 |
-
<tr valign="top">
|
47 |
-
<th scope="row">
|
48 |
-
<?php _e('You must be', WC_Core::$TEXT_DOMAIN); ?>
|
49 |
-
</th>
|
50 |
-
<td colspan="3">
|
51 |
-
<label for="wc_you_must_be_text">
|
52 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_you_must_be_text']; ?>" name="wc_you_must_be_text" id="wc_you_must_be_text" />
|
53 |
-
</label>
|
54 |
-
</td>
|
55 |
-
</tr>
|
56 |
-
<tr valign="top">
|
57 |
-
<th scope="row">
|
58 |
-
<?php _e('Logged in as', WC_Core::$TEXT_DOMAIN); ?>
|
59 |
-
</th>
|
60 |
-
<td colspan="3">
|
61 |
-
<label for="wc_logged_in_as">
|
62 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_logged_in_as']; ?>" name="wc_logged_in_as" id="wc_logged_in_as" />
|
63 |
-
</label>
|
64 |
-
</td>
|
65 |
-
</tr>
|
66 |
-
<tr valign="top">
|
67 |
-
<th scope="row">
|
68 |
-
<?php _e('Log out', WC_Core::$TEXT_DOMAIN); ?>
|
69 |
-
</th>
|
70 |
-
<td colspan="3">
|
71 |
-
<label for="wc_log_out">
|
72 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_log_out']; ?>" name="wc_log_out" id="wc_log_out" />
|
73 |
-
</label>
|
74 |
-
</td>
|
75 |
-
</tr>
|
76 |
-
<tr valign="top">
|
77 |
-
<th scope="row">
|
78 |
-
<?php _e('Logged In', WC_Core::$TEXT_DOMAIN); ?>
|
79 |
-
</th>
|
80 |
-
<td colspan="3">
|
81 |
-
<label for="wc_logged_in_text">
|
82 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_logged_in_text']; ?>" name="wc_logged_in_text" id="wc_logged_in_text" />
|
83 |
-
</label>
|
84 |
-
</td>
|
85 |
-
</tr>
|
86 |
-
<tr valign="top">
|
87 |
-
<th scope="row">
|
88 |
-
<?php _e('To post a comment', WC_Core::$TEXT_DOMAIN); ?>
|
89 |
-
</th>
|
90 |
-
<td colspan="3">
|
91 |
-
<label for="wc_to_post_comment_text">
|
92 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_to_post_comment_text']; ?>" name="wc_to_post_comment_text" id="wc_to_post_comment_text" />
|
93 |
-
</label>
|
94 |
-
</td>
|
95 |
-
</tr>
|
96 |
-
<tr valign="top">
|
97 |
-
<th scope="row">
|
98 |
-
<?php _e('Vote Counted', WC_Core::$TEXT_DOMAIN); ?>
|
99 |
-
</th>
|
100 |
-
<td colspan="3">
|
101 |
-
<label for="wc_vote_counted">
|
102 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_vote_counted']; ?>" name="wc_vote_counted" id="wc_vote_counted" />
|
103 |
-
</label>
|
104 |
-
</td>
|
105 |
-
</tr>
|
106 |
-
<tr valign="top">
|
107 |
-
<th scope="row">
|
108 |
-
<?php _e('You can vote only 1 time', WC_Core::$TEXT_DOMAIN); ?>
|
109 |
-
</th>
|
110 |
-
<td colspan="3">
|
111 |
-
<label for="wc_vote_only_one_time">
|
112 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time']; ?>" name="wc_vote_only_one_time" id="wc_vote_only_one_time" />
|
113 |
-
</label>
|
114 |
-
</td>
|
115 |
-
</tr>
|
116 |
-
<tr valign="top">
|
117 |
-
<th scope="row">
|
118 |
-
<?php _e('Voting Error', WC_Core::$TEXT_DOMAIN); ?>
|
119 |
-
</th>
|
120 |
-
<td colspan="3">
|
121 |
-
<label for="wc_voting_error">
|
122 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_voting_error']; ?>" name="wc_voting_error" id="wc_voting_error" />
|
123 |
-
</label>
|
124 |
-
</td>
|
125 |
-
</tr>
|
126 |
-
<tr valign="top">
|
127 |
-
<th scope="row">
|
128 |
-
<?php _e('Login To Vote', WC_Core::$TEXT_DOMAIN); ?>
|
129 |
-
</th>
|
130 |
-
<td colspan="3">
|
131 |
-
<label for="wc_login_to_vote">
|
132 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_login_to_vote']; ?>" name="wc_login_to_vote" id="wc_login_to_vote" />
|
133 |
-
</label>
|
134 |
-
</td>
|
135 |
-
</tr>
|
136 |
-
<tr valign="top">
|
137 |
-
<th scope="row">
|
138 |
-
<?php _e('You Cannot Vote On Your Comment', WC_Core::$TEXT_DOMAIN); ?>
|
139 |
-
</th>
|
140 |
-
<td colspan="3">
|
141 |
-
<label for="wc_self_vote">
|
142 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_self_vote']; ?>" name="wc_self_vote" id="wc_self_vote" />
|
143 |
-
</label>
|
144 |
-
</td>
|
145 |
-
</tr>
|
146 |
-
<tr valign="top">
|
147 |
-
<th scope="row">
|
148 |
-
<?php _e('You are not allowed to vote for this comment (Voting from same IP)', WC_Core::$TEXT_DOMAIN); ?>
|
149 |
-
</th>
|
150 |
-
<td colspan="3">
|
151 |
-
<label for="wc_deny_voting_from_same_ip">
|
152 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip']) ? $this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip'] : 'You are not allowed to vote for this comment'; ?>" name="wc_deny_voting_from_same_ip" id="wc_deny_voting_from_same_ip" />
|
153 |
-
</label>
|
154 |
-
</td>
|
155 |
-
</tr>
|
156 |
-
<tr valign="top">
|
157 |
-
<th scope="row">
|
158 |
-
<?php _e('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN); ?>
|
159 |
-
</th>
|
160 |
-
<td colspan="3">
|
161 |
-
<label for="wc_invalid_captcha">
|
162 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_invalid_captcha']; ?>" name="wc_invalid_captcha" id="wc_invalid_captcha" />
|
163 |
-
</label>
|
164 |
-
</td>
|
165 |
-
</tr>
|
166 |
-
<tr valign="top">
|
167 |
-
<th scope="row">
|
168 |
-
<?php _e('Some of field value is invalid', WC_Core::$TEXT_DOMAIN); ?>
|
169 |
-
</th>
|
170 |
-
<td colspan="3">
|
171 |
-
<label for="wc_invalid_field">
|
172 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>" name="wc_invalid_field" id="wc_invalid_field" />
|
173 |
-
</label>
|
174 |
-
</td>
|
175 |
-
</tr>
|
176 |
-
<tr valign="top">
|
177 |
-
<th scope="row">
|
178 |
-
<?php _e('Comment waiting moderation', WC_Core::$TEXT_DOMAIN); ?>
|
179 |
-
</th>
|
180 |
-
<td colspan="3">
|
181 |
-
<label for="wc_held_for_moderate">
|
182 |
-
<input type="text" value="<?php echo $this->wc_options_serialized->wc_phrases['wc_held_for_moderate']; ?>" name="wc_held_for_moderate" id="wc_held_for_moderate" />
|
183 |
-
</label>
|
184 |
-
</td>
|
185 |
-
</tr>
|
186 |
-
<tr valign="top">
|
187 |
-
<th scope="row">
|
188 |
-
<?php _e('Message if comment was not updated', WC_Core::$TEXT_DOMAIN); ?>
|
189 |
-
</th>
|
190 |
-
<td colspan="3">
|
191 |
-
<label for="wc_comment_not_updated">
|
192 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_comment_not_updated']) ? $this->wc_options_serialized->wc_phrases['wc_comment_not_updated'] : __('Sorry, the comment was not updated', 'wpdisucz'); ?>" name="wc_comment_not_updated" id="wc_comment_not_updated" />
|
193 |
-
</label>
|
194 |
-
</td>
|
195 |
-
</tr>
|
196 |
-
<tr valign="top">
|
197 |
-
<th scope="row">
|
198 |
-
<?php _e('Message if comment no longer possible to edit', WC_Core::$TEXT_DOMAIN); ?>
|
199 |
-
</th>
|
200 |
-
<td colspan="3">
|
201 |
-
<label for="wc_comment_edit_not_possible">
|
202 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_comment_edit_not_possible']) ? $this->wc_options_serialized->wc_phrases['wc_comment_edit_not_possible'] : __('Sorry, this comment no longer possible to edit', 'wpdisucz'); ?>" name="wc_comment_edit_not_possible" id="wc_comment_edit_not_possible" />
|
203 |
-
</label>
|
204 |
-
</td>
|
205 |
-
</tr>
|
206 |
-
|
207 |
-
<tr valign="top">
|
208 |
-
<th scope="row">
|
209 |
-
<?php _e('Message if comment text not changed', WC_Core::$TEXT_DOMAIN); ?>
|
210 |
-
</th>
|
211 |
-
<td colspan="3">
|
212 |
-
<label for="wc_comment_not_edited">
|
213 |
-
<input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_comment_not_edited']) ? $this->wc_options_serialized->wc_phrases['wc_comment_not_edited'] : __('TYou\'ve not made any changes', 'wpdisucz'); ?>" name="wc_comment_not_edited" id="wc_comment_not_edited" />
|
214 |
-
</label>
|
215 |
-
</td>
|
216 |
-
</tr>
|
217 |
-
</tbody>
|
218 |
-
</table>
|
219 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options/{phrases-layout → phrases-layouts}/phrases-comment.php
RENAMED
@@ -1,184 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Comment Template Phrases',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row">
|
7 |
-
<?php _e('Reply',
|
8 |
</th>
|
9 |
<td colspan="3">
|
10 |
<label for="wc_reply_text">
|
11 |
-
<input type="text" value="<?php echo $this->
|
12 |
</label>
|
13 |
</td>
|
14 |
</tr>
|
15 |
<tr valign="top">
|
16 |
<th scope="row">
|
17 |
-
<?php _e('Share',
|
18 |
</th>
|
19 |
<td colspan="3">
|
20 |
<label for="wc_share_text">
|
21 |
-
<input type="text" value="<?php echo $this->
|
22 |
</label>
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr valign="top">
|
26 |
<th scope="row">
|
27 |
-
<?php _e('Edit',
|
28 |
</th>
|
29 |
<td colspan="3">
|
30 |
<label for="wc_edit_text">
|
31 |
-
<input type="text" value="<?php echo $this->
|
32 |
</label>
|
33 |
</td>
|
34 |
</tr>
|
35 |
<tr valign="top">
|
36 |
<th scope="row">
|
37 |
-
<?php _e('Share On Facebook',
|
38 |
</th>
|
39 |
<td colspan="3">
|
40 |
<label for="wc_share_facebook">
|
41 |
-
<input type="text" value="<?php echo $this->
|
42 |
</label>
|
43 |
</td>
|
44 |
</tr>
|
45 |
<tr valign="top" >
|
46 |
<th scope="row">
|
47 |
-
<?php _e('Share On Twitter',
|
48 |
</th>
|
49 |
<td colspan="3">
|
50 |
<label for="wc_share_twitter">
|
51 |
-
<input type="text" value="<?php echo $this->
|
52 |
</label>
|
53 |
</td>
|
54 |
</tr>
|
55 |
<tr valign="top">
|
56 |
<th scope="row">
|
57 |
-
<?php _e('Share On Google',
|
58 |
</th>
|
59 |
<td colspan="3">
|
60 |
<label for="wc_share_google">
|
61 |
-
<input type="text" value="<?php echo $this->
|
62 |
</label>
|
63 |
</td>
|
64 |
</tr>
|
65 |
<tr valign="top">
|
66 |
<th scope="row">
|
67 |
-
<?php _e('Share On
|
68 |
</th>
|
69 |
<td colspan="3">
|
70 |
<label for="wc_share_vk">
|
71 |
-
<input type="text" value="<?php echo $this->
|
72 |
</label>
|
73 |
</td>
|
74 |
</tr>
|
75 |
<tr valign="top">
|
76 |
<th scope="row">
|
77 |
-
<?php _e('Share On Odnoklassniki',
|
78 |
</th>
|
79 |
<td colspan="3">
|
80 |
<label for="wc_share_ok">
|
81 |
-
<input type="text" value="<?php echo $this->
|
82 |
</label>
|
83 |
</td>
|
84 |
</tr>
|
85 |
<tr valign="top" >
|
86 |
<th scope="row">
|
87 |
-
<?php _e('Hide Replies',
|
88 |
</th>
|
89 |
<td colspan="3">
|
90 |
<label for="wc_hide_replies_text">
|
91 |
-
<input type="text" value="<?php echo $this->
|
92 |
</label>
|
93 |
</td>
|
94 |
</tr>
|
95 |
<tr valign="top">
|
96 |
<th scope="row">
|
97 |
-
<?php _e('Show Replies',
|
98 |
</th>
|
99 |
<td colspan="3">
|
100 |
<label for="wc_show_replies_text">
|
101 |
-
<input type="text" value="<?php echo $this->
|
102 |
</label>
|
103 |
</td>
|
104 |
</tr>
|
105 |
<tr valign="top">
|
106 |
<th scope="row">
|
107 |
-
<?php _e('Title For Guests',
|
108 |
</th>
|
109 |
<td colspan="3">
|
110 |
<label for="wc_user_title_guest_text">
|
111 |
-
<input type="text" value="<?php echo $this->
|
112 |
</label>
|
113 |
</td>
|
114 |
</tr>
|
115 |
<tr valign="top">
|
116 |
<th scope="row">
|
117 |
-
<?php _e('Title For Members',
|
118 |
</th>
|
119 |
<td colspan="3">
|
120 |
<label for="wc_user_title_member_text">
|
121 |
-
<input type="text" value="<?php echo $this->
|
122 |
</label>
|
123 |
</td>
|
124 |
</tr>
|
125 |
<tr valign="top">
|
126 |
<th scope="row">
|
127 |
-
<?php _e('Title For Authors',
|
128 |
</th>
|
129 |
<td colspan="3">
|
130 |
<label for="wc_user_title_author_text">
|
131 |
-
<input type="text" value="<?php echo $this->
|
132 |
</label>
|
133 |
</td>
|
134 |
</tr>
|
135 |
<tr valign="top">
|
136 |
<th scope="row">
|
137 |
-
<?php _e('Title For Admins',
|
138 |
</th>
|
139 |
<td colspan="3">
|
140 |
<label for="wc_user_title_admin_text">
|
141 |
-
<input type="text" value="<?php echo $this->
|
142 |
</label>
|
143 |
</td>
|
144 |
</tr>
|
145 |
<tr valign="top">
|
146 |
<th scope="row">
|
147 |
-
<?php _e('Vote Up',
|
148 |
</th>
|
149 |
<td colspan="3">
|
150 |
<label for="wc_vote_up">
|
151 |
-
<input type="text" value="<?php echo $this->
|
152 |
</label>
|
153 |
</td>
|
154 |
</tr>
|
155 |
<tr valign="top">
|
156 |
<th scope="row">
|
157 |
-
<?php _e('Vote Down',
|
158 |
</th>
|
159 |
<td colspan="3">
|
160 |
<label for="wc_vote_down">
|
161 |
-
<input type="text" value="<?php echo $this->
|
162 |
</label>
|
163 |
</td>
|
164 |
</tr>
|
165 |
<tr valign="top">
|
166 |
<th scope="row">
|
167 |
-
<?php _e('Save edited comment button text',
|
168 |
</th>
|
169 |
<td colspan="3">
|
170 |
<label for="wc_comment_edit_save_button">
|
171 |
-
<input type="text" value="<?php echo isset($this->
|
172 |
</label>
|
173 |
</td>
|
174 |
</tr>
|
175 |
<tr valign="top">
|
176 |
<th scope="row">
|
177 |
-
<?php _e('Cancel comment editing button text',
|
178 |
</th>
|
179 |
<td colspan="3">
|
180 |
<label for="wc_comment_edit_cancel_button">
|
181 |
-
<input type="text" value="<?php echo isset($this->
|
182 |
</label>
|
183 |
</td>
|
184 |
</tr>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Comment Template Phrases', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row">
|
12 |
+
<?php _e('Reply', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td colspan="3">
|
15 |
<label for="wc_reply_text">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_reply_text']; ?>" name="wc_reply_text" id="wc_submit_text" />
|
17 |
</label>
|
18 |
</td>
|
19 |
</tr>
|
20 |
<tr valign="top">
|
21 |
<th scope="row">
|
22 |
+
<?php _e('Share', 'wpdiscuz'); ?>
|
23 |
</th>
|
24 |
<td colspan="3">
|
25 |
<label for="wc_share_text">
|
26 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_text']; ?>" name="wc_share_text" id="wc_share_text" />
|
27 |
</label>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
+
<?php _e('Edit', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td colspan="3">
|
35 |
<label for="wc_edit_text">
|
36 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_edit_text']; ?>" name="wc_edit_text" id="wc_edit_text" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
40 |
<tr valign="top">
|
41 |
<th scope="row">
|
42 |
+
<?php _e('Share On Facebook', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td colspan="3">
|
45 |
<label for="wc_share_facebook">
|
46 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_facebook']; ?>" name="wc_share_facebook" id="wc_share_facebook" />
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
50 |
<tr valign="top" >
|
51 |
<th scope="row">
|
52 |
+
<?php _e('Share On Twitter', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td colspan="3">
|
55 |
<label for="wc_share_twitter">
|
56 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_twitter']; ?>" name="wc_share_twitter" id="wc_share_twitter" />
|
57 |
</label>
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Share On Google', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
<td colspan="3">
|
65 |
<label for="wc_share_google">
|
66 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_google']; ?>" name="wc_share_google" id="wc_share_google" />
|
67 |
</label>
|
68 |
</td>
|
69 |
</tr>
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
+
<?php _e('Share On VKontakte', 'wpdiscuz'); ?>
|
73 |
</th>
|
74 |
<td colspan="3">
|
75 |
<label for="wc_share_vk">
|
76 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_vk']; ?>" name="wc_share_vk" id="wc_share_vk" />
|
77 |
</label>
|
78 |
</td>
|
79 |
</tr>
|
80 |
<tr valign="top">
|
81 |
<th scope="row">
|
82 |
+
<?php _e('Share On Odnoklassniki', 'wpdiscuz'); ?>
|
83 |
</th>
|
84 |
<td colspan="3">
|
85 |
<label for="wc_share_ok">
|
86 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_share_ok']; ?>" name="wc_share_ok" id="wc_share_ok" />
|
87 |
</label>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr valign="top" >
|
91 |
<th scope="row">
|
92 |
+
<?php _e('Hide Replies', 'wpdiscuz'); ?>
|
93 |
</th>
|
94 |
<td colspan="3">
|
95 |
<label for="wc_hide_replies_text">
|
96 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_hide_replies_text']; ?>" name="wc_hide_replies_text" id="wc_hide_replies_text" />
|
97 |
</label>
|
98 |
</td>
|
99 |
</tr>
|
100 |
<tr valign="top">
|
101 |
<th scope="row">
|
102 |
+
<?php _e('Show Replies', 'wpdiscuz'); ?>
|
103 |
</th>
|
104 |
<td colspan="3">
|
105 |
<label for="wc_show_replies_text">
|
106 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_show_replies_text']; ?>" name="wc_show_replies_text" id="wc_show_replies_text" />
|
107 |
</label>
|
108 |
</td>
|
109 |
</tr>
|
110 |
<tr valign="top">
|
111 |
<th scope="row">
|
112 |
+
<?php _e('Title For Guests', 'wpdiscuz'); ?>
|
113 |
</th>
|
114 |
<td colspan="3">
|
115 |
<label for="wc_user_title_guest_text">
|
116 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_user_title_guest_text']; ?>" name="wc_user_title_guest_text" id="wc_user_title_guest_text" />
|
117 |
</label>
|
118 |
</td>
|
119 |
</tr>
|
120 |
<tr valign="top">
|
121 |
<th scope="row">
|
122 |
+
<?php _e('Title For Members', 'wpdiscuz'); ?>
|
123 |
</th>
|
124 |
<td colspan="3">
|
125 |
<label for="wc_user_title_member_text">
|
126 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_user_title_member_text']; ?>" name="wc_user_title_member_text" id="wc_user_title_member_text" />
|
127 |
</label>
|
128 |
</td>
|
129 |
</tr>
|
130 |
<tr valign="top">
|
131 |
<th scope="row">
|
132 |
+
<?php _e('Title For Authors', 'wpdiscuz'); ?>
|
133 |
</th>
|
134 |
<td colspan="3">
|
135 |
<label for="wc_user_title_author_text">
|
136 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_user_title_author_text']; ?>" name="wc_user_title_author_text" id="wc_user_title_author_text" />
|
137 |
</label>
|
138 |
</td>
|
139 |
</tr>
|
140 |
<tr valign="top">
|
141 |
<th scope="row">
|
142 |
+
<?php _e('Title For Admins', 'wpdiscuz'); ?>
|
143 |
</th>
|
144 |
<td colspan="3">
|
145 |
<label for="wc_user_title_admin_text">
|
146 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_user_title_admin_text']; ?>" name="wc_user_title_admin_text" id="wc_user_title_admin_text" />
|
147 |
</label>
|
148 |
</td>
|
149 |
</tr>
|
150 |
<tr valign="top">
|
151 |
<th scope="row">
|
152 |
+
<?php _e('Vote Up', 'wpdiscuz'); ?>
|
153 |
</th>
|
154 |
<td colspan="3">
|
155 |
<label for="wc_vote_up">
|
156 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_vote_up']; ?>" name="wc_vote_up" id="wc_vote_up" />
|
157 |
</label>
|
158 |
</td>
|
159 |
</tr>
|
160 |
<tr valign="top">
|
161 |
<th scope="row">
|
162 |
+
<?php _e('Vote Down', 'wpdiscuz'); ?>
|
163 |
</th>
|
164 |
<td colspan="3">
|
165 |
<label for="wc_vote_down">
|
166 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_vote_down']; ?>" name="wc_vote_down" id="wc_vote_down" />
|
167 |
</label>
|
168 |
</td>
|
169 |
</tr>
|
170 |
<tr valign="top">
|
171 |
<th scope="row">
|
172 |
+
<?php _e('Save edited comment button text', 'wpdiscuz'); ?>
|
173 |
</th>
|
174 |
<td colspan="3">
|
175 |
<label for="wc_comment_edit_save_button">
|
176 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_comment_edit_save_button']) ? $this->optionsSerialized->phrases['wc_comment_edit_save_button'] : __('Save', 'wpdisucz'); ?>" name="wc_comment_edit_save_button" id="wc_comment_edit_save_button" />
|
177 |
</label>
|
178 |
</td>
|
179 |
</tr>
|
180 |
<tr valign="top">
|
181 |
<th scope="row">
|
182 |
+
<?php _e('Cancel comment editing button text', 'wpdiscuz'); ?>
|
183 |
</th>
|
184 |
<td colspan="3">
|
185 |
<label for="wc_comment_edit_cancel_button">
|
186 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_comment_edit_cancel_button']) ? $this->optionsSerialized->phrases['wc_comment_edit_cancel_button'] : __('Cancel', 'wpdisucz'); ?>" name="wc_comment_edit_cancel_button" id="wc_comment_edit_cancel_button" />
|
187 |
</label>
|
188 |
</td>
|
189 |
</tr>
|
options/{phrases-layout → phrases-layouts}/phrases-datetime.php
RENAMED
@@ -1,167 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Date/Time Phrases',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row">
|
7 |
-
<?php _e('Year',
|
8 |
</th>
|
9 |
<td colspan="3">
|
10 |
<label for="wc_year_text">
|
11 |
-
<input type="text" value="<?php echo $this->
|
12 |
</label>
|
13 |
</td>
|
14 |
</tr>
|
15 |
-
|
16 |
<tr valign="top">
|
17 |
<th scope="row">
|
18 |
-
<?php _e('Years (Plural Form)',
|
19 |
</th>
|
20 |
<td colspan="3">
|
21 |
<label for="wc_year_text_plural">
|
22 |
-
<input type="text" value="<?php echo isset($this->
|
23 |
</label>
|
24 |
</td>
|
25 |
</tr>
|
26 |
-
|
27 |
<tr valign="top">
|
28 |
<th scope="row">
|
29 |
-
<?php _e('Month',
|
30 |
</th>
|
31 |
<td colspan="3">
|
32 |
<label for="wc_month_text">
|
33 |
-
<input type="text" value="<?php echo $this->
|
34 |
</label>
|
35 |
</td>
|
36 |
</tr>
|
37 |
-
|
38 |
<tr valign="top">
|
39 |
<th scope="row">
|
40 |
-
<?php _e('Months (Plural Form)',
|
41 |
</th>
|
42 |
<td colspan="3">
|
43 |
<label for="wc_month_text_plural">
|
44 |
-
<input type="text" value="<?php echo $this->
|
45 |
</label>
|
46 |
</td>
|
47 |
</tr>
|
48 |
-
|
49 |
<tr valign="top">
|
50 |
<th scope="row">
|
51 |
-
<?php _e('Day',
|
52 |
</th>
|
53 |
<td colspan="3">
|
54 |
<label for="wc_day_text">
|
55 |
-
<input type="text" value="<?php echo $this->
|
56 |
</label>
|
57 |
</td>
|
58 |
</tr>
|
59 |
-
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
-
<?php _e('Days (Plural Form)',
|
63 |
</th>
|
64 |
<td colspan="3">
|
65 |
<label for="wc_day_text_plural">
|
66 |
-
<input type="text" value="<?php echo $this->
|
67 |
</label>
|
68 |
</td>
|
69 |
</tr>
|
70 |
-
|
71 |
<tr valign="top">
|
72 |
<th scope="row">
|
73 |
-
<?php _e('Hour',
|
74 |
</th>
|
75 |
<td colspan="3">
|
76 |
<label for="wc_hour_text">
|
77 |
-
<input type="text" value="<?php echo $this->
|
78 |
</label>
|
79 |
</td>
|
80 |
</tr>
|
81 |
-
|
82 |
<tr valign="top">
|
83 |
<th scope="row">
|
84 |
-
<?php _e('Hours (Plural Form)',
|
85 |
</th>
|
86 |
<td colspan="3">
|
87 |
<label for="wc_hour_text_plural">
|
88 |
-
<input type="text" value="<?php echo $this->
|
89 |
</label>
|
90 |
</td>
|
91 |
</tr>
|
92 |
-
|
93 |
<tr valign="top">
|
94 |
<th scope="row">
|
95 |
-
<?php _e('Minute',
|
96 |
</th>
|
97 |
<td colspan="3">
|
98 |
<label for="wc_minute_text">
|
99 |
-
<input type="text" value="<?php echo $this->
|
100 |
</label>
|
101 |
</td>
|
102 |
</tr>
|
103 |
-
|
104 |
<tr valign="top">
|
105 |
<th scope="row">
|
106 |
-
<?php _e('Minutes (Plural Form)',
|
107 |
</th>
|
108 |
<td colspan="3">
|
109 |
<label for="wc_minute_text_plural">
|
110 |
-
<input type="text" value="<?php echo $this->
|
111 |
</label>
|
112 |
</td>
|
113 |
</tr>
|
114 |
-
|
115 |
<tr valign="top">
|
116 |
<th scope="row">
|
117 |
-
<?php _e('Second',
|
118 |
</th>
|
119 |
<td colspan="3">
|
120 |
<label for="wc_second_text">
|
121 |
-
<input type="text" value="<?php echo $this->
|
122 |
</label>
|
123 |
</td>
|
124 |
</tr>
|
125 |
-
|
126 |
<tr valign="top">
|
127 |
<th scope="row">
|
128 |
-
<?php _e('Seconds (Plural Form)',
|
129 |
</th>
|
130 |
<td colspan="3">
|
131 |
<label for="wc_second_text_plural">
|
132 |
-
<input type="text" value="<?php echo $this->
|
133 |
</label>
|
134 |
</td>
|
135 |
</tr>
|
136 |
<tr valign="top">
|
137 |
<th scope="row">
|
138 |
-
<?php _e('Commented "right now" text',
|
139 |
</th>
|
140 |
<td colspan="3">
|
141 |
<label for="wc_right_now_text">
|
142 |
-
<input type="text" value="<?php echo $this->
|
143 |
</label>
|
144 |
</td>
|
145 |
</tr>
|
146 |
-
|
147 |
<tr valign="top">
|
148 |
<th scope="row">
|
149 |
-
<?php _e('Ago text',
|
150 |
</th>
|
151 |
<td colspan="3">
|
152 |
<label for="wc_ago_text">
|
153 |
-
<input type="text" value="<?php echo $this->
|
154 |
</label>
|
155 |
</td>
|
156 |
</tr>
|
157 |
-
|
158 |
<tr valign="top">
|
159 |
<th scope="row">
|
160 |
-
<?php _e('"Today" text',
|
161 |
</th>
|
162 |
<td colspan="3">
|
163 |
<label for="wc_posted_today_text">
|
164 |
-
<input type="text" value="<?php echo isset($this->
|
165 |
</label>
|
166 |
</td>
|
167 |
</tr>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Date/Time Phrases', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row">
|
12 |
+
<?php _e('Year', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td colspan="3">
|
15 |
<label for="wc_year_text">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_year_text']['datetime'][0]; ?>" name="wc_year_text" id="wc_year_text" />
|
17 |
</label>
|
18 |
</td>
|
19 |
</tr>
|
|
|
20 |
<tr valign="top">
|
21 |
<th scope="row">
|
22 |
+
<?php _e('Years (Plural Form)', 'wpdiscuz'); ?>
|
23 |
</th>
|
24 |
<td colspan="3">
|
25 |
<label for="wc_year_text_plural">
|
26 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_year_text_plural']['datetime'][0]) ? $this->optionsSerialized->phrases['wc_year_text_plural']['datetime'][0] : __('Years', 'wpdiscuz'); ?>" name="wc_year_text_plural" id="wc_year_text_plural" />
|
27 |
</label>
|
28 |
</td>
|
29 |
</tr>
|
|
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
+
<?php _e('Month', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td colspan="3">
|
35 |
<label for="wc_month_text">
|
36 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_month_text']['datetime'][0]; ?>" name="wc_month_text" id="wc_month_text" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
|
|
40 |
<tr valign="top">
|
41 |
<th scope="row">
|
42 |
+
<?php _e('Months (Plural Form)', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td colspan="3">
|
45 |
<label for="wc_month_text_plural">
|
46 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_month_text_plural']['datetime'][0]; ?>" name="wc_month_text_plural" id="wc_month_text_plural" />
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
|
|
50 |
<tr valign="top">
|
51 |
<th scope="row">
|
52 |
+
<?php _e('Day', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td colspan="3">
|
55 |
<label for="wc_day_text">
|
56 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_day_text']['datetime'][0]; ?>" name="wc_day_text" id="wc_day_text" />
|
57 |
</label>
|
58 |
</td>
|
59 |
</tr>
|
|
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Days (Plural Form)', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
<td colspan="3">
|
65 |
<label for="wc_day_text_plural">
|
66 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_day_text_plural']['datetime'][0]; ?>" name="wc_day_text_plural" id="wc_day_text_plural" />
|
67 |
</label>
|
68 |
</td>
|
69 |
</tr>
|
|
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
+
<?php _e('Hour', 'wpdiscuz'); ?>
|
73 |
</th>
|
74 |
<td colspan="3">
|
75 |
<label for="wc_hour_text">
|
76 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_hour_text']['datetime'][0]; ?>" name="wc_hour_text" id="wc_hour_text" />
|
77 |
</label>
|
78 |
</td>
|
79 |
</tr>
|
|
|
80 |
<tr valign="top">
|
81 |
<th scope="row">
|
82 |
+
<?php _e('Hours (Plural Form)', 'wpdiscuz'); ?>
|
83 |
</th>
|
84 |
<td colspan="3">
|
85 |
<label for="wc_hour_text_plural">
|
86 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_hour_text_plural']['datetime'][0]; ?>" name="wc_hour_text_plural" id="wc_hour_text_plural" />
|
87 |
</label>
|
88 |
</td>
|
89 |
</tr>
|
|
|
90 |
<tr valign="top">
|
91 |
<th scope="row">
|
92 |
+
<?php _e('Minute', 'wpdiscuz'); ?>
|
93 |
</th>
|
94 |
<td colspan="3">
|
95 |
<label for="wc_minute_text">
|
96 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_minute_text']['datetime'][0]; ?>" name="wc_minute_text" id="wc_minute_text" />
|
97 |
</label>
|
98 |
</td>
|
99 |
</tr>
|
|
|
100 |
<tr valign="top">
|
101 |
<th scope="row">
|
102 |
+
<?php _e('Minutes (Plural Form)', 'wpdiscuz'); ?>
|
103 |
</th>
|
104 |
<td colspan="3">
|
105 |
<label for="wc_minute_text_plural">
|
106 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_minute_text_plural']['datetime'][0]; ?>" name="wc_minute_text_plural" id="wc_minute_text_plural" />
|
107 |
</label>
|
108 |
</td>
|
109 |
</tr>
|
|
|
110 |
<tr valign="top">
|
111 |
<th scope="row">
|
112 |
+
<?php _e('Second', 'wpdiscuz'); ?>
|
113 |
</th>
|
114 |
<td colspan="3">
|
115 |
<label for="wc_second_text">
|
116 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_second_text']['datetime'][0]; ?>" name="wc_second_text" id="wc_second_text" />
|
117 |
</label>
|
118 |
</td>
|
119 |
</tr>
|
|
|
120 |
<tr valign="top">
|
121 |
<th scope="row">
|
122 |
+
<?php _e('Seconds (Plural Form)', 'wpdiscuz'); ?>
|
123 |
</th>
|
124 |
<td colspan="3">
|
125 |
<label for="wc_second_text_plural">
|
126 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_second_text_plural']['datetime'][0]; ?>" name="wc_second_text_plural" id="wc_second_text_plural" />
|
127 |
</label>
|
128 |
</td>
|
129 |
</tr>
|
130 |
<tr valign="top">
|
131 |
<th scope="row">
|
132 |
+
<?php _e('Commented "right now" text', 'wpdiscuz'); ?>
|
133 |
</th>
|
134 |
<td colspan="3">
|
135 |
<label for="wc_right_now_text">
|
136 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_right_now_text']; ?>" name="wc_right_now_text" id="wc_right_now_text" />
|
137 |
</label>
|
138 |
</td>
|
139 |
</tr>
|
|
|
140 |
<tr valign="top">
|
141 |
<th scope="row">
|
142 |
+
<?php _e('Ago text', 'wpdiscuz'); ?>
|
143 |
</th>
|
144 |
<td colspan="3">
|
145 |
<label for="wc_ago_text">
|
146 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_ago_text']; ?>" name="wc_ago_text" id="wc_ago_text" />
|
147 |
</label>
|
148 |
</td>
|
149 |
</tr>
|
|
|
150 |
<tr valign="top">
|
151 |
<th scope="row">
|
152 |
+
<?php _e('"Today" text', 'wpdiscuz'); ?>
|
153 |
</th>
|
154 |
<td colspan="3">
|
155 |
<label for="wc_posted_today_text">
|
156 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_posted_today_text']) ? $this->optionsSerialized->phrases['wc_posted_today_text'] : __('Today', 'wpdiscuz'); ?>" name="wc_posted_today_text" id="wc_posted_today_text" placeholder="<?php _e('Today', 'wpdiscuz'); ?> 9:26 PM"/>
|
157 |
</label>
|
158 |
</td>
|
159 |
</tr>
|
options/{phrases-layout → phrases-layouts}/phrases-email.php
RENAMED
@@ -1,113 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Email Template Phrases',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row">
|
7 |
-
<?php _e('Email Subject',
|
8 |
</th>
|
9 |
<td colspan="3">
|
10 |
<label for="wc_email_subject">
|
11 |
-
<input type="text" value="<?php echo $this->
|
12 |
</label>
|
13 |
</td>
|
14 |
</tr>
|
15 |
-
|
16 |
<tr valign="top">
|
17 |
<th scope="row">
|
18 |
-
<?php _e('Email Message',
|
19 |
</th>
|
20 |
<td colspan="3">
|
21 |
<label for="wc_email_message">
|
22 |
-
<textarea name="wc_email_message" id="wc_email_message"><?php echo $this->
|
23 |
</label>
|
24 |
</td>
|
25 |
</tr>
|
26 |
-
|
27 |
<tr valign="top">
|
28 |
<th scope="row">
|
29 |
-
<?php _e('New Reply Subject',
|
30 |
</th>
|
31 |
<td colspan="3">
|
32 |
<label for="wc_new_reply_email_subject">
|
33 |
-
<input type="text" value="<?php echo isset($this->
|
34 |
</label>
|
35 |
</td>
|
36 |
</tr>
|
37 |
-
|
38 |
<tr valign="top">
|
39 |
<th scope="row">
|
40 |
-
<?php _e('New Reply Message',
|
41 |
</th>
|
42 |
<td colspan="3">
|
43 |
<label for="wc_new_reply_email_message">
|
44 |
-
<textarea name="wc_new_reply_email_message" id="wc_new_reply_email_message"><?php echo $this->
|
45 |
</label>
|
46 |
</td>
|
47 |
</tr>
|
48 |
<tr valign="top">
|
49 |
<th scope="row">
|
50 |
-
<?php _e('Unsubscribe',
|
51 |
</th>
|
52 |
<td colspan="3">
|
53 |
<label for="wc_unsubscribe">
|
54 |
-
<input type="text" name="wc_unsubscribe" id="wc_unsubscribe" class="wc_unsubscribe" value="<?php echo $this->
|
55 |
</label>
|
56 |
</td>
|
57 |
</tr>
|
58 |
-
|
59 |
<tr valign="top">
|
60 |
<th scope="row">
|
61 |
-
<?php _e('Ignore Subscription',
|
62 |
</th>
|
63 |
<td colspan="3">
|
64 |
<label for="wc_ignore_subscription">
|
65 |
-
<input type="text" name="wc_ignore_subscription" id="wc_ignore_subscription" class="wc_ignore_subscription" value="<?php echo isset($this->
|
66 |
</label>
|
67 |
</td>
|
68 |
</tr>
|
69 |
-
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
-
<?php _e('Confirm your
|
73 |
</th>
|
74 |
<td colspan="3">
|
75 |
<label for="wc_confirm_email">
|
76 |
-
<input type="text" name="wc_confirm_email" id="wc_confirm_email" class="wc_confirm_email" value="<?php echo isset($this->
|
77 |
</label>
|
78 |
</td>
|
79 |
</tr>
|
80 |
<tr valign="top">
|
81 |
<th scope="row">
|
82 |
-
<?php _e('You\'ve successfully confirmed your subscription.',
|
83 |
</th>
|
84 |
<td colspan="3">
|
85 |
<label for="wc_comfirm_success_message">
|
86 |
-
<textarea name="wc_comfirm_success_message" id="wc_comfirm_success_message"><?php echo isset($this->
|
87 |
</label>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr valign="top">
|
91 |
<th scope="row">
|
92 |
-
<?php _e('Subscribe Confirmation Email Subject',
|
93 |
</th>
|
94 |
<td colspan="3">
|
95 |
<label for="wc_confirm_email_subject">
|
96 |
-
<input type="text" name="wc_confirm_email_subject" id="wc_confirm_email_subject" class="wc_confirm_email_subject" value="<?php echo isset($this->
|
97 |
</label>
|
98 |
</td>
|
99 |
</tr>
|
100 |
-
|
101 |
<tr valign="top">
|
102 |
<th scope="row">
|
103 |
-
<?php _e('Subscribe Confirmation Email Content',
|
104 |
</th>
|
105 |
<td colspan="3">
|
106 |
<label for="wc_confirm_email_message">
|
107 |
-
<textarea name="wc_confirm_email_message" id="wc_confirm_email_message"><?php echo isset($this->
|
108 |
</label>
|
109 |
</td>
|
110 |
</tr>
|
111 |
</tbody>
|
112 |
</table>
|
113 |
-
</div>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Email Template Phrases', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row">
|
12 |
+
<?php _e('Email Subject', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td colspan="3">
|
15 |
<label for="wc_email_subject">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_email_subject']; ?>" name="wc_email_subject" id="wc_email_subject" />
|
17 |
</label>
|
18 |
</td>
|
19 |
</tr>
|
|
|
20 |
<tr valign="top">
|
21 |
<th scope="row">
|
22 |
+
<?php _e('Email Message', 'wpdiscuz'); ?>
|
23 |
</th>
|
24 |
<td colspan="3">
|
25 |
<label for="wc_email_message">
|
26 |
+
<textarea name="wc_email_message" id="wc_email_message"><?php echo $this->optionsSerialized->phrases['wc_email_message']; ?></textarea>
|
27 |
</label>
|
28 |
</td>
|
29 |
</tr>
|
|
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
+
<?php _e('New Reply Subject', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td colspan="3">
|
35 |
<label for="wc_new_reply_email_subject">
|
36 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_reply_email_subject']) ? $this->optionsSerialized->phrases['wc_new_reply_email_subject'] : _e('New Reply', 'wpdiscuz'); ?>" name="wc_new_reply_email_subject" id="wc_new_reply_email_subject" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
|
|
40 |
<tr valign="top">
|
41 |
<th scope="row">
|
42 |
+
<?php _e('New Reply Message', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td colspan="3">
|
45 |
<label for="wc_new_reply_email_message">
|
46 |
+
<textarea name="wc_new_reply_email_message" id="wc_new_reply_email_message"><?php echo $this->optionsSerialized->phrases['wc_new_reply_email_message']; ?></textarea>
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
50 |
<tr valign="top">
|
51 |
<th scope="row">
|
52 |
+
<?php _e('Unsubscribe', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td colspan="3">
|
55 |
<label for="wc_unsubscribe">
|
56 |
+
<input type="text" name="wc_unsubscribe" id="wc_unsubscribe" class="wc_unsubscribe" value="<?php echo $this->optionsSerialized->phrases['wc_unsubscribe']; ?>" placeholder="<?php echo _e('Unsubscribe', 'wpdiscuz'); ?>"/>
|
57 |
</label>
|
58 |
</td>
|
59 |
</tr>
|
|
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Ignore Subscription', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
<td colspan="3">
|
65 |
<label for="wc_ignore_subscription">
|
66 |
+
<input type="text" name="wc_ignore_subscription" id="wc_ignore_subscription" class="wc_ignore_subscription" value="<?php echo isset($this->optionsSerialized->phrases['wc_ignore_subscription']) ? $this->optionsSerialized->phrases['wc_ignore_subscription'] : __('Cancel subscription', 'wpdiscuz'); ?>" placeholder="<?php echo _e('Ignore Subscription', 'wpdiscuz'); ?>"/>
|
67 |
</label>
|
68 |
</td>
|
69 |
</tr>
|
|
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
+
<?php _e('Confirm your subscription', 'wpdiscuz'); ?>
|
73 |
</th>
|
74 |
<td colspan="3">
|
75 |
<label for="wc_confirm_email">
|
76 |
+
<input type="text" name="wc_confirm_email" id="wc_confirm_email" class="wc_confirm_email" value="<?php echo isset($this->optionsSerialized->phrases['wc_confirm_email']) ? $this->optionsSerialized->phrases['wc_confirm_email'] : __('Confirm your subscription', 'wpdiscuz'); ?>" placeholder="<?php echo _e('Confirm your subscription', 'wpdiscuz'); ?>"/>
|
77 |
</label>
|
78 |
</td>
|
79 |
</tr>
|
80 |
<tr valign="top">
|
81 |
<th scope="row">
|
82 |
+
<?php _e('You\'ve successfully confirmed your subscription.', 'wpdiscuz'); ?>
|
83 |
</th>
|
84 |
<td colspan="3">
|
85 |
<label for="wc_comfirm_success_message">
|
86 |
+
<textarea name="wc_comfirm_success_message" id="wc_comfirm_success_message"><?php echo isset($this->optionsSerialized->phrases['wc_comfirm_success_message']) ? $this->optionsSerialized->phrases['wc_comfirm_success_message'] : __('You\'ve successfully confirmed your subscription.', 'wpdiscuz'); ?></textarea>
|
87 |
</label>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr valign="top">
|
91 |
<th scope="row">
|
92 |
+
<?php _e('Subscribe Confirmation Email Subject', 'wpdiscuz'); ?>
|
93 |
</th>
|
94 |
<td colspan="3">
|
95 |
<label for="wc_confirm_email_subject">
|
96 |
+
<input type="text" name="wc_confirm_email_subject" id="wc_confirm_email_subject" class="wc_confirm_email_subject" value="<?php echo isset($this->optionsSerialized->phrases['wc_confirm_email_subject']) ? $this->optionsSerialized->phrases['wc_confirm_email_subject'] : __('Subscribe Confirmation', 'wpdiscuz'); ?>" placeholder="<?php echo _e('Subscribe Confirmation', 'wpdiscuz'); ?>"/>
|
97 |
</label>
|
98 |
</td>
|
99 |
</tr>
|
|
|
100 |
<tr valign="top">
|
101 |
<th scope="row">
|
102 |
+
<?php _e('Subscribe Confirmation Email Content', 'wpdiscuz'); ?>
|
103 |
</th>
|
104 |
<td colspan="3">
|
105 |
<label for="wc_confirm_email_message">
|
106 |
+
<textarea name="wc_confirm_email_message" id="wc_confirm_email_message"><?php echo isset($this->optionsSerialized->phrases['wc_confirm_email_message']) ? $this->optionsSerialized->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.', 'wpdiscuz'); ?></textarea>
|
107 |
</label>
|
108 |
</td>
|
109 |
</tr>
|
110 |
</tbody>
|
111 |
</table>
|
112 |
+
</div>
|
options/phrases-layouts/phrases-form.php
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
+
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Form Template Phrases', 'wpdiscuz'); ?></h2>
|
8 |
+
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
+
<tbody>
|
10 |
+
<tr valign="top">
|
11 |
+
<th scope="row">
|
12 |
+
<?php _e('Comment Field Start', 'wpdiscuz'); ?>
|
13 |
+
</th>
|
14 |
+
<td colspan="3">
|
15 |
+
<label for="wc_comment_start_text">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_comment_start_text']; ?>" name="wc_comment_start_text" id="wc_comment_start_text" />
|
17 |
+
</label>
|
18 |
+
</td>
|
19 |
+
</tr>
|
20 |
+
<tr valign="top">
|
21 |
+
<th scope="row">
|
22 |
+
<?php _e('Comment Field Join', 'wpdiscuz'); ?>
|
23 |
+
</th>
|
24 |
+
<td colspan="3">
|
25 |
+
<label for="wc_comment_join_text">
|
26 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_comment_join_text']; ?>" name="wc_comment_join_text" id="wc_comment_join_text" />
|
27 |
+
</label>
|
28 |
+
</td>
|
29 |
+
</tr>
|
30 |
+
<tr valign="top">
|
31 |
+
<th scope="row">
|
32 |
+
<?php _e('Email Field', 'wpdiscuz'); ?>
|
33 |
+
</th>
|
34 |
+
<td colspan="3">
|
35 |
+
<label for="wc_email_text">
|
36 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_email_text']; ?>" name="wc_email_text" id="wc_email_text" />
|
37 |
+
</label>
|
38 |
+
</td>
|
39 |
+
</tr>
|
40 |
+
<tr valign="top">
|
41 |
+
<th scope="row">
|
42 |
+
<?php _e('Name Field', 'wpdiscuz'); ?>
|
43 |
+
</th>
|
44 |
+
<td colspan="3">
|
45 |
+
<label for="wc_name_text">
|
46 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_name_text']; ?>" name="wc_name_text" id="wc_name_text" />
|
47 |
+
</label>
|
48 |
+
</td>
|
49 |
+
</tr>
|
50 |
+
<tr valign="top">
|
51 |
+
<th scope="row">
|
52 |
+
<?php _e('WebSite URL Field', 'wpdiscuz'); ?>
|
53 |
+
</th>
|
54 |
+
<td colspan="3">
|
55 |
+
<label for="wc_website_text">
|
56 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_website_text']; ?>" name="wc_website_text" id="wc_website_text" />
|
57 |
+
</label>
|
58 |
+
</td>
|
59 |
+
</tr>
|
60 |
+
<tr valign="top">
|
61 |
+
<th scope="row">
|
62 |
+
<?php _e('CAPTCHA Field', 'wpdiscuz'); ?>
|
63 |
+
</th>
|
64 |
+
<td colspan="3">
|
65 |
+
<label for="wc_captcha_text">
|
66 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_captcha_text']; ?>" name="wc_captcha_text" id="wc_email_text" />
|
67 |
+
</label>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<tr valign="top">
|
71 |
+
<th scope="row">
|
72 |
+
<?php _e('Submit Button', 'wpdiscuz'); ?>
|
73 |
+
</th>
|
74 |
+
<td colspan="3">
|
75 |
+
<label for="wc_submit_text">
|
76 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_submit_text']; ?>" name="wc_submit_text" id="wc_submit_text" />
|
77 |
+
</label>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
<tr valign="top">
|
81 |
+
<th scope="row">
|
82 |
+
<?php _e('Notify of', 'wpdiscuz'); ?>
|
83 |
+
</th>
|
84 |
+
<td colspan="3">
|
85 |
+
<label for="wc_notify_of">
|
86 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_of']) ? $this->optionsSerialized->phrases['wc_notify_of'] : __('Notify of', 'wpdiscuz'); ?>" name="wc_notify_of" id="wc_notify_of" />
|
87 |
+
</label>
|
88 |
+
</td>
|
89 |
+
</tr>
|
90 |
+
<tr valign="top">
|
91 |
+
<th scope="row">
|
92 |
+
<?php _e('Notify on new comments', 'wpdiscuz'); ?>
|
93 |
+
</th>
|
94 |
+
<td colspan="3">
|
95 |
+
<label for="wc_notify_on_new_comment">
|
96 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_new_comment']) ? $this->optionsSerialized->phrases['wc_notify_on_new_comment'] : __('new follow-up comments', 'wpdiscuz'); ?>" name="wc_notify_on_new_comment" id="wc_notify_on_new_comment" />
|
97 |
+
</label>
|
98 |
+
</td>
|
99 |
+
</tr>
|
100 |
+
<tr valign="top">
|
101 |
+
<th scope="row">
|
102 |
+
<?php _e('Notify on all new replies', 'wpdiscuz'); ?>
|
103 |
+
</th>
|
104 |
+
<td colspan="3">
|
105 |
+
<label for="wc_notify_on_all_new_reply">
|
106 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_all_new_reply']) ? $this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] : __('new replies to all my comments', 'wpdiscuz'); ?>" name="wc_notify_on_all_new_reply" id="wc_notify_on_all_new_reply" />
|
107 |
+
</label>
|
108 |
+
</td>
|
109 |
+
</tr>
|
110 |
+
<tr valign="top">
|
111 |
+
<th scope="row">
|
112 |
+
<?php _e('Notify on new replies (checkbox)', 'wpdiscuz'); ?>
|
113 |
+
</th>
|
114 |
+
<td colspan="3">
|
115 |
+
<label for="wc_notify_on_new_reply">
|
116 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_new_reply']) ? $this->optionsSerialized->phrases['wc_notify_on_new_reply'] : __('Notify of new replies to this comment', 'wpdiscuz'); ?>" name="wc_notify_on_new_reply" id="wc_notify_on_new_reply" />
|
117 |
+
</label>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr valign="top">
|
121 |
+
<th scope="row">
|
122 |
+
<?php _e('Sort by', 'wpdiscuz'); ?>
|
123 |
+
</th>
|
124 |
+
<td colspan="3">
|
125 |
+
<label for="wc_sort_by">
|
126 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_sort_by']) ? $this->optionsSerialized->phrases['wc_sort_by'] : __('Sort by', 'wpdiscuz'); ?>" name="wc_sort_by" id="wc_sort_by" />
|
127 |
+
</label>
|
128 |
+
</td>
|
129 |
+
</tr>
|
130 |
+
<tr valign="top">
|
131 |
+
<th scope="row">
|
132 |
+
<?php _e('newest', 'wpdiscuz'); ?>
|
133 |
+
</th>
|
134 |
+
<td colspan="3">
|
135 |
+
<label for="wc_newest">
|
136 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_newest']) ? $this->optionsSerialized->phrases['wc_newest'] : __('newest', 'wpdiscuz'); ?>" name="wc_newest" id="wc_newest" />
|
137 |
+
</label>
|
138 |
+
</td>
|
139 |
+
</tr>
|
140 |
+
<tr valign="top">
|
141 |
+
<th scope="row">
|
142 |
+
<?php _e('oldest', 'wpdiscuz'); ?>
|
143 |
+
</th>
|
144 |
+
<td colspan="3">
|
145 |
+
<label for="wc_oldest">
|
146 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_oldest']) ? $this->optionsSerialized->phrases['wc_oldest'] : __('oldest', 'wpdiscuz'); ?>" name="wc_oldest" id="wc_oldest" />
|
147 |
+
</label>
|
148 |
+
</td>
|
149 |
+
</tr>
|
150 |
+
<tr valign="top">
|
151 |
+
<th scope="row">
|
152 |
+
<?php _e('most voted', 'wpdiscuz'); ?>
|
153 |
+
</th>
|
154 |
+
<td colspan="3">
|
155 |
+
<label for="wc_most_voted">
|
156 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_most_voted']) ? $this->optionsSerialized->phrases['wc_most_voted'] : __('most voted', 'wpdiscuz'); ?>" name="wc_most_voted" id="wc_most_voted" />
|
157 |
+
</label>
|
158 |
+
</td>
|
159 |
+
</tr>
|
160 |
+
<tr valign="top">
|
161 |
+
<th scope="row">
|
162 |
+
<?php _e('Subscribed on this comment replies', 'wpdiscuz'); ?>
|
163 |
+
</th>
|
164 |
+
<td colspan="3">
|
165 |
+
<label for="wc_subscribed_on_comment">
|
166 |
+
<textarea name="wc_subscribed_on_comment" id="wc_subscribed_on_comment"><?php echo $this->optionsSerialized->phrases['wc_subscribed_on_comment']; ?></textarea>
|
167 |
+
</label>
|
168 |
+
</td>
|
169 |
+
</tr>
|
170 |
+
<tr valign="top">
|
171 |
+
<th scope="row">
|
172 |
+
<?php _e('Subscribed on all your comments replies', 'wpdiscuz'); ?>
|
173 |
+
</th>
|
174 |
+
<td colspan="3">
|
175 |
+
<label for="wc_subscribed_on_all_comment">
|
176 |
+
<textarea name="wc_subscribed_on_all_comment" id="wc_subscribed_on_all_comment"><?php echo $this->optionsSerialized->phrases['wc_subscribed_on_all_comment']; ?></textarea>
|
177 |
+
</label>
|
178 |
+
</td>
|
179 |
+
</tr>
|
180 |
+
<tr valign="top">
|
181 |
+
<th scope="row">
|
182 |
+
<?php _e('Subscribed on this post', 'wpdiscuz'); ?>
|
183 |
+
</th>
|
184 |
+
<td colspan="3">
|
185 |
+
<label for="wc_subscribed_on_post">
|
186 |
+
<textarea name="wc_subscribed_on_post" id="wc_subscribed_on_post"><?php echo $this->optionsSerialized->phrases['wc_subscribed_on_post']; ?></textarea>
|
187 |
+
</label>
|
188 |
+
</td>
|
189 |
+
</tr>
|
190 |
+
<tr valign="top">
|
191 |
+
<th scope="row">
|
192 |
+
<?php _e('Connect with', 'wpdiscuz'); ?>
|
193 |
+
</th>
|
194 |
+
<td colspan="3">
|
195 |
+
<label for="wc_connect_with">
|
196 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_connect_with']) ? $this->optionsSerialized->phrases['wc_connect_with'] : __('Connect with', 'wpdiscuz'); ?>" name="wc_connect_with" id="wc_connect_with" />
|
197 |
+
</label>
|
198 |
+
</td>
|
199 |
+
</tr>
|
200 |
+
</tbody>
|
201 |
+
</table>
|
202 |
+
</div>
|
options/{phrases-layout → phrases-layouts}/phrases-general.php
RENAMED
@@ -1,124 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
-
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Phrases',
|
3 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
4 |
<tbody>
|
5 |
<tr valign="top">
|
6 |
<th scope="row">
|
7 |
-
<?php _e('Leave a Reply',
|
8 |
</th>
|
9 |
<td colspan="3">
|
10 |
<label for="wc_leave_a_reply_text">
|
11 |
-
<input type="text" value="<?php echo $this->
|
12 |
</label>
|
13 |
</td>
|
14 |
</tr>
|
15 |
<tr valign="top">
|
16 |
<th scope="row">
|
17 |
-
<?php _e('Be the first to comment',
|
18 |
</th>
|
19 |
<td colspan="3">
|
20 |
<label for="wc_be_the_first_text">
|
21 |
-
<input type="text" value="<?php echo $this->
|
22 |
</label>
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr valign="top">
|
26 |
<th scope="row">
|
27 |
-
<?php _e('Comment',
|
28 |
</th>
|
29 |
<td colspan="3">
|
30 |
<label for="wc_header_text">
|
31 |
-
<input type="text" value="<?php echo $this->
|
32 |
</label>
|
33 |
</td>
|
34 |
</tr>
|
35 |
<tr valign="top">
|
36 |
<th scope="row">
|
37 |
-
<?php _e('Comment (Plural Form)',
|
38 |
</th>
|
39 |
<td colspan="3">
|
40 |
<label for="wc_header_text_plural">
|
41 |
-
<input type="text" value="<?php echo $this->
|
42 |
</label>
|
43 |
</td>
|
44 |
</tr>
|
45 |
<tr valign="top">
|
46 |
<th scope="row">
|
47 |
-
<?php _e('On',
|
48 |
</th>
|
49 |
<td colspan="3">
|
50 |
<label for="wc_header_on_text">
|
51 |
-
<input type="text" value="<?php echo $this->
|
52 |
</label>
|
53 |
</td>
|
54 |
</tr>
|
55 |
<tr valign="top">
|
56 |
<th scope="row">
|
57 |
-
<?php _e('Load More Button',
|
58 |
</th>
|
59 |
<td colspan="3">
|
60 |
<label for="wc_load_more_submit_text">
|
61 |
-
<input type="text" value="<?php echo $this->
|
62 |
</label>
|
63 |
</td>
|
64 |
</tr>
|
65 |
<tr valign="top">
|
66 |
<th scope="row">
|
67 |
-
<?php _e('Load Rest of Comments',
|
68 |
</th>
|
69 |
<td colspan="3">
|
70 |
<label for="wc_load_rest_comments_submit_text">
|
71 |
-
<input type="text" value="<?php echo isset($this->
|
72 |
</label>
|
73 |
</td>
|
74 |
</tr>
|
75 |
<tr valign="top">
|
76 |
<th scope="row">
|
77 |
-
<?php _e('Button text if has new comment',
|
78 |
</th>
|
79 |
<td colspan="3">
|
80 |
<label for="wc_new_comment_button_text">
|
81 |
-
<input type="text" value="<?php echo isset($this->
|
82 |
</label>
|
83 |
</td>
|
84 |
</tr>
|
85 |
<tr valign="top">
|
86 |
<th scope="row">
|
87 |
-
<?php _e('Button text if has new comments (Plural Form)',
|
88 |
</th>
|
89 |
<td colspan="3">
|
90 |
<label for="wc_new_comments_button_text">
|
91 |
-
<input type="text" value="<?php echo isset($this->
|
92 |
</label>
|
93 |
</td>
|
94 |
</tr>
|
95 |
<tr valign="top">
|
96 |
<th scope="row">
|
97 |
-
<?php _e('Button text if has new reply',
|
98 |
</th>
|
99 |
<td colspan="3">
|
100 |
<label for="wc_new_reply_button_text">
|
101 |
-
<input type="text" value="<?php echo isset($this->
|
102 |
</label>
|
103 |
</td>
|
104 |
</tr>
|
105 |
<tr valign="top">
|
106 |
<th scope="row">
|
107 |
-
<?php _e('Button text if has new replies (Plural Form)',
|
108 |
</th>
|
109 |
<td colspan="3">
|
110 |
<label for="wc_new_replies_button_text">
|
111 |
-
<input type="text" value="<?php echo isset($this->
|
112 |
</label>
|
113 |
</td>
|
114 |
</tr>
|
115 |
<tr valign="top">
|
116 |
<th scope="row">
|
117 |
-
<?php _e('Text on load more button if has new comment(s)',
|
118 |
</th>
|
119 |
<td colspan="3">
|
120 |
<label for="wc_new_comments_text">
|
121 |
-
<input type="text" value="<?php echo isset($this->
|
122 |
</label>
|
123 |
</td>
|
124 |
</tr>
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Phrases', 'wpdiscuz'); ?></h2>
|
8 |
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
<tbody>
|
10 |
<tr valign="top">
|
11 |
<th scope="row">
|
12 |
+
<?php _e('Leave a Reply', 'wpdiscuz'); ?>
|
13 |
</th>
|
14 |
<td colspan="3">
|
15 |
<label for="wc_leave_a_reply_text">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_leave_a_reply_text']; ?>" name="wc_leave_a_reply_text" id="wc_leave_a_reply_text" />
|
17 |
</label>
|
18 |
</td>
|
19 |
</tr>
|
20 |
<tr valign="top">
|
21 |
<th scope="row">
|
22 |
+
<?php _e('Be the first to comment', 'wpdiscuz'); ?>
|
23 |
</th>
|
24 |
<td colspan="3">
|
25 |
<label for="wc_be_the_first_text">
|
26 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_be_the_first_text']; ?>" name="wc_be_the_first_text" id="wc_be_the_first_text" />
|
27 |
</label>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr valign="top">
|
31 |
<th scope="row">
|
32 |
+
<?php _e('Comment', 'wpdiscuz'); ?>
|
33 |
</th>
|
34 |
<td colspan="3">
|
35 |
<label for="wc_header_text">
|
36 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_header_text']; ?>" name="wc_header_text" id="wc_header_text" />
|
37 |
</label>
|
38 |
</td>
|
39 |
</tr>
|
40 |
<tr valign="top">
|
41 |
<th scope="row">
|
42 |
+
<?php _e('Comment (Plural Form)', 'wpdiscuz'); ?>
|
43 |
</th>
|
44 |
<td colspan="3">
|
45 |
<label for="wc_header_text_plural">
|
46 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_header_text_plural']; ?>" name="wc_header_text_plural" id="wc_header_text_plural" />
|
47 |
</label>
|
48 |
</td>
|
49 |
</tr>
|
50 |
<tr valign="top">
|
51 |
<th scope="row">
|
52 |
+
<?php _e('On', 'wpdiscuz'); ?>
|
53 |
</th>
|
54 |
<td colspan="3">
|
55 |
<label for="wc_header_on_text">
|
56 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_header_on_text']; ?>" name="wc_header_on_text" id="wc_header_on_text" />
|
57 |
</label>
|
58 |
</td>
|
59 |
</tr>
|
60 |
<tr valign="top">
|
61 |
<th scope="row">
|
62 |
+
<?php _e('Load More Button', 'wpdiscuz'); ?>
|
63 |
</th>
|
64 |
<td colspan="3">
|
65 |
<label for="wc_load_more_submit_text">
|
66 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_load_more_submit_text']; ?>" name="wc_load_more_submit_text" id="wc_load_more_submit_text" />
|
67 |
</label>
|
68 |
</td>
|
69 |
</tr>
|
70 |
<tr valign="top">
|
71 |
<th scope="row">
|
72 |
+
<?php _e('Load Rest of Comments', 'wpdiscuz'); ?>
|
73 |
</th>
|
74 |
<td colspan="3">
|
75 |
<label for="wc_load_rest_comments_submit_text">
|
76 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_load_rest_comments_submit_text']) ? $this->optionsSerialized->phrases['wc_load_rest_comments_submit_text'] : 'Load Rest of Comments'; ?>" name="wc_load_rest_comments_submit_text" id="wc_load_rest_comments_submit_text" />
|
77 |
</label>
|
78 |
</td>
|
79 |
</tr>
|
80 |
<tr valign="top">
|
81 |
<th scope="row">
|
82 |
+
<?php _e('Button text if has new comment', 'wpdiscuz'); ?>
|
83 |
</th>
|
84 |
<td colspan="3">
|
85 |
<label for="wc_new_comment_button_text">
|
86 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_comment_button_text']) ? $this->optionsSerialized->phrases['wc_new_comment_button_text'] : __('New Comment', 'wpdisucz'); ?>" name="wc_new_comment_button_text" id="wc_new_comment_button_text" placeholder="<?php _e("New Comment", "wpdiscuz"); ?>"/>
|
87 |
</label>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr valign="top">
|
91 |
<th scope="row">
|
92 |
+
<?php _e('Button text if has new comments (Plural Form)', 'wpdiscuz'); ?>
|
93 |
</th>
|
94 |
<td colspan="3">
|
95 |
<label for="wc_new_comments_button_text">
|
96 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_comments_button_text']) ? $this->optionsSerialized->phrases['wc_new_comments_button_text'] : __('New Comments', 'wpdisucz'); ?>" name="wc_new_comments_button_text" id="wc_new_comments_button_text" placeholder="<?php _e("New Comments", "wpdiscuz"); ?>"/>
|
97 |
</label>
|
98 |
</td>
|
99 |
</tr>
|
100 |
<tr valign="top">
|
101 |
<th scope="row">
|
102 |
+
<?php _e('Button text if has new reply', 'wpdiscuz'); ?>
|
103 |
</th>
|
104 |
<td colspan="3">
|
105 |
<label for="wc_new_reply_button_text">
|
106 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_reply_button_text']) ? $this->optionsSerialized->phrases['wc_new_reply_button_text'] : __('New Reply', 'wpdisucz'); ?>" name="wc_new_reply_button_text" id="wc_new_reply_button_text" placeholder="<?php _e("New Reply", "wpdiscuz"); ?>"/>
|
107 |
</label>
|
108 |
</td>
|
109 |
</tr>
|
110 |
<tr valign="top">
|
111 |
<th scope="row">
|
112 |
+
<?php _e('Button text if has new replies (Plural Form)', 'wpdiscuz'); ?>
|
113 |
</th>
|
114 |
<td colspan="3">
|
115 |
<label for="wc_new_replies_button_text">
|
116 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_replies_button_text']) ? $this->optionsSerialized->phrases['wc_new_replies_button_text'] : __('New Replies', 'wpdisucz'); ?>" name="wc_new_replies_button_text" id="wc_new_replies_button_text" placeholder="<?php _e("New Replies", "wpdiscuz"); ?>"/>
|
117 |
</label>
|
118 |
</td>
|
119 |
</tr>
|
120 |
<tr valign="top">
|
121 |
<th scope="row">
|
122 |
+
<?php _e('Text on load more button if has new comment(s)', 'wpdiscuz'); ?>
|
123 |
</th>
|
124 |
<td colspan="3">
|
125 |
<label for="wc_new_comments_text">
|
126 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_new_comments_text']) ? $this->optionsSerialized->phrases['wc_new_comments_text'] : __('New', 'wpdisucz'); ?>" name="wc_new_comments_text" id="wc_new_comments_text" />
|
127 |
</label>
|
128 |
</td>
|
129 |
</tr>
|
options/phrases-layouts/phrases-notification.php
ADDED
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
?>
|
6 |
+
<div>
|
7 |
+
<h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Notification Phrases', 'wpdiscuz'); ?></h2>
|
8 |
+
<table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
|
9 |
+
<tbody>
|
10 |
+
<tr valign="top">
|
11 |
+
<th scope="row">
|
12 |
+
<?php _e("You\'re subscribed to", 'wpdiscuz'); ?>
|
13 |
+
</th>
|
14 |
+
<td colspan="3">
|
15 |
+
<label for="wc_subscribed_to">
|
16 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_subscribed_to']; ?>" name="wc_subscribed_to" id="wc_subscribed_to" />
|
17 |
+
</label>
|
18 |
+
</td>
|
19 |
+
</tr>
|
20 |
+
<tr valign="top">
|
21 |
+
<th scope="row">
|
22 |
+
<?php _e('You\'ve successfully subscribed.', 'wpdiscuz'); ?>
|
23 |
+
</th>
|
24 |
+
<td colspan="3">
|
25 |
+
<label for="wc_subscribe_message">
|
26 |
+
<textarea name="wc_subscribe_message" id="wc_subscribe_message"><?php echo $this->optionsSerialized->phrases['wc_subscribe_message']; ?></textarea>
|
27 |
+
</label>
|
28 |
+
</td>
|
29 |
+
</tr>
|
30 |
+
<tr valign="top">
|
31 |
+
<th scope="row">
|
32 |
+
<?php _e('You\'ve successfully unsubscribed.', 'wpdiscuz'); ?>
|
33 |
+
</th>
|
34 |
+
<td colspan="3">
|
35 |
+
<label for="wc_unsubscribe_message">
|
36 |
+
<textarea name="wc_unsubscribe_message" id="wc_unsubscribe_message"><?php echo $this->optionsSerialized->phrases['wc_unsubscribe_message']; ?></textarea>
|
37 |
+
</label>
|
38 |
+
</td>
|
39 |
+
</tr>
|
40 |
+
<tr valign="top">
|
41 |
+
<th scope="row">
|
42 |
+
<?php _e('Error message for empty field', 'wpdiscuz'); ?>
|
43 |
+
</th>
|
44 |
+
<td colspan="3">
|
45 |
+
<label for="wc_error_empty_text">
|
46 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_error_empty_text']; ?>" name="wc_error_empty_text" id="wc_error_empty_text" />
|
47 |
+
</label>
|
48 |
+
</td>
|
49 |
+
</tr>
|
50 |
+
<tr valign="top">
|
51 |
+
<th scope="row">
|
52 |
+
<?php _e('Error message for invalid email field', 'wpdiscuz'); ?>
|
53 |
+
</th>
|
54 |
+
<td colspan="3">
|
55 |
+
<label for="wc_error_email_text">
|
56 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_error_email_text']; ?>" name="wc_error_email_text" id="wc_error_email_text" />
|
57 |
+
</label>
|
58 |
+
</td>
|
59 |
+
</tr>
|
60 |
+
<tr valign="top">
|
61 |
+
<th scope="row">
|
62 |
+
<?php _e('Error message for invalid website url field', 'wpdiscuz'); ?>
|
63 |
+
</th>
|
64 |
+
<td colspan="3">
|
65 |
+
<label for="wc_error_url_text">
|
66 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_error_url_text']; ?>" name="wc_error_url_text" id="wc_error_url_text" />
|
67 |
+
</label>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<tr valign="top">
|
71 |
+
<th scope="row">
|
72 |
+
<?php _e('You must be', 'wpdiscuz'); ?>
|
73 |
+
</th>
|
74 |
+
<td colspan="3">
|
75 |
+
<label for="wc_you_must_be_text">
|
76 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_you_must_be_text']; ?>" name="wc_you_must_be_text" id="wc_you_must_be_text" />
|
77 |
+
</label>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
<tr valign="top">
|
81 |
+
<th scope="row">
|
82 |
+
<?php _e('Logged in as', 'wpdiscuz'); ?>
|
83 |
+
</th>
|
84 |
+
<td colspan="3">
|
85 |
+
<label for="wc_logged_in_as">
|
86 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_logged_in_as']; ?>" name="wc_logged_in_as" id="wc_logged_in_as" />
|
87 |
+
</label>
|
88 |
+
</td>
|
89 |
+
</tr>
|
90 |
+
<tr valign="top">
|
91 |
+
<th scope="row">
|
92 |
+
<?php _e('Log out', 'wpdiscuz'); ?>
|
93 |
+
</th>
|
94 |
+
<td colspan="3">
|
95 |
+
<label for="wc_log_out">
|
96 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_log_out']; ?>" name="wc_log_out" id="wc_log_out" />
|
97 |
+
</label>
|
98 |
+
</td>
|
99 |
+
</tr>
|
100 |
+
<tr valign="top">
|
101 |
+
<th scope="row">
|
102 |
+
<?php _e('Logged In', 'wpdiscuz'); ?>
|
103 |
+
</th>
|
104 |
+
<td colspan="3">
|
105 |
+
<label for="wc_logged_in_text">
|
106 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_logged_in_text']; ?>" name="wc_logged_in_text" id="wc_logged_in_text" />
|
107 |
+
</label>
|
108 |
+
</td>
|
109 |
+
</tr>
|
110 |
+
<tr valign="top">
|
111 |
+
<th scope="row">
|
112 |
+
<?php _e('To post a comment', 'wpdiscuz'); ?>
|
113 |
+
</th>
|
114 |
+
<td colspan="3">
|
115 |
+
<label for="wc_to_post_comment_text">
|
116 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_to_post_comment_text']; ?>" name="wc_to_post_comment_text" id="wc_to_post_comment_text" />
|
117 |
+
</label>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr valign="top">
|
121 |
+
<th scope="row">
|
122 |
+
<?php _e('Vote Counted', 'wpdiscuz'); ?>
|
123 |
+
</th>
|
124 |
+
<td colspan="3">
|
125 |
+
<label for="wc_vote_counted">
|
126 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_vote_counted']; ?>" name="wc_vote_counted" id="wc_vote_counted" />
|
127 |
+
</label>
|
128 |
+
</td>
|
129 |
+
</tr>
|
130 |
+
<tr valign="top">
|
131 |
+
<th scope="row">
|
132 |
+
<?php _e('You can vote only 1 time', 'wpdiscuz'); ?>
|
133 |
+
</th>
|
134 |
+
<td colspan="3">
|
135 |
+
<label for="wc_vote_only_one_time">
|
136 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_vote_only_one_time']; ?>" name="wc_vote_only_one_time" id="wc_vote_only_one_time" />
|
137 |
+
</label>
|
138 |
+
</td>
|
139 |
+
</tr>
|
140 |
+
<tr valign="top">
|
141 |
+
<th scope="row">
|
142 |
+
<?php _e('Voting Error', 'wpdiscuz'); ?>
|
143 |
+
</th>
|
144 |
+
<td colspan="3">
|
145 |
+
<label for="wc_voting_error">
|
146 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_voting_error']; ?>" name="wc_voting_error" id="wc_voting_error" />
|
147 |
+
</label>
|
148 |
+
</td>
|
149 |
+
</tr>
|
150 |
+
<tr valign="top">
|
151 |
+
<th scope="row">
|
152 |
+
<?php _e('Login To Vote', 'wpdiscuz'); ?>
|
153 |
+
</th>
|
154 |
+
<td colspan="3">
|
155 |
+
<label for="wc_login_to_vote">
|
156 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_login_to_vote']; ?>" name="wc_login_to_vote" id="wc_login_to_vote" />
|
157 |
+
</label>
|
158 |
+
</td>
|
159 |
+
</tr>
|
160 |
+
<tr valign="top">
|
161 |
+
<th scope="row">
|
162 |
+
<?php _e('You Cannot Vote On Your Comment', 'wpdiscuz'); ?>
|
163 |
+
</th>
|
164 |
+
<td colspan="3">
|
165 |
+
<label for="wc_self_vote">
|
166 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_self_vote']; ?>" name="wc_self_vote" id="wc_self_vote" />
|
167 |
+
</label>
|
168 |
+
</td>
|
169 |
+
</tr>
|
170 |
+
<tr valign="top">
|
171 |
+
<th scope="row">
|
172 |
+
<?php _e('You are not allowed to vote for this comment (Voting from same IP)', 'wpdiscuz'); ?>
|
173 |
+
</th>
|
174 |
+
<td colspan="3">
|
175 |
+
<label for="wc_deny_voting_from_same_ip">
|
176 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_deny_voting_from_same_ip']) ? $this->optionsSerialized->phrases['wc_deny_voting_from_same_ip'] : 'You are not allowed to vote for this comment'; ?>" name="wc_deny_voting_from_same_ip" id="wc_deny_voting_from_same_ip" />
|
177 |
+
</label>
|
178 |
+
</td>
|
179 |
+
</tr>
|
180 |
+
<tr valign="top">
|
181 |
+
<th scope="row">
|
182 |
+
<?php _e('Invalid Captcha Code', 'wpdiscuz'); ?>
|
183 |
+
</th>
|
184 |
+
<td colspan="3">
|
185 |
+
<label for="wc_invalid_captcha">
|
186 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_invalid_captcha']; ?>" name="wc_invalid_captcha" id="wc_invalid_captcha" />
|
187 |
+
</label>
|
188 |
+
</td>
|
189 |
+
</tr>
|
190 |
+
<tr valign="top">
|
191 |
+
<th scope="row">
|
192 |
+
<?php _e('Some of field value is invalid', 'wpdiscuz'); ?>
|
193 |
+
</th>
|
194 |
+
<td colspan="3">
|
195 |
+
<label for="wc_invalid_field">
|
196 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_invalid_field']; ?>" name="wc_invalid_field" id="wc_invalid_field" />
|
197 |
+
</label>
|
198 |
+
</td>
|
199 |
+
</tr>
|
200 |
+
<tr valign="top">
|
201 |
+
<th scope="row">
|
202 |
+
<?php _e('Comment waiting moderation', 'wpdiscuz'); ?>
|
203 |
+
</th>
|
204 |
+
<td colspan="3">
|
205 |
+
<label for="wc_held_for_moderate">
|
206 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_held_for_moderate']; ?>" name="wc_held_for_moderate" id="wc_held_for_moderate" />
|
207 |
+
</label>
|
208 |
+
</td>
|
209 |
+
</tr>
|
210 |
+
<tr valign="top">
|
211 |
+
<th scope="row">
|
212 |
+
<?php _e('Message if comment content length is too short', 'wpdiscuz'); ?>
|
213 |
+
</th>
|
214 |
+
<td colspan="3">
|
215 |
+
<label for="wc_msg_comment_text_min_length">
|
216 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_msg_comment_text_min_length']; ?>" name="wc_msg_comment_text_min_length" id="wc_msg_comment_text_min_length" />
|
217 |
+
</label>
|
218 |
+
</td>
|
219 |
+
</tr>
|
220 |
+
<tr valign="top">
|
221 |
+
<th scope="row">
|
222 |
+
<?php _e('Message if comment content length is too long', 'wpdiscuz'); ?>
|
223 |
+
</th>
|
224 |
+
<td colspan="3">
|
225 |
+
<label for="wc_msg_comment_text_max_length">
|
226 |
+
<input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_msg_comment_text_max_length']; ?>" name="wc_msg_comment_text_max_length" id="wc_msg_comment_text_max_length" />
|
227 |
+
</label>
|
228 |
+
</td>
|
229 |
+
</tr>
|
230 |
+
<tr valign="top">
|
231 |
+
<th scope="row">
|
232 |
+
<?php _e('Message if comment was not updated', 'wpdiscuz'); ?>
|
233 |
+
</th>
|
234 |
+
<td colspan="3">
|
235 |
+
<label for="wc_comment_not_updated">
|
236 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_comment_not_updated']) ? $this->optionsSerialized->phrases['wc_comment_not_updated'] : __('Sorry, the comment was not updated', 'wpdisucz'); ?>" name="wc_comment_not_updated" id="wc_comment_not_updated" />
|
237 |
+
</label>
|
238 |
+
</td>
|
239 |
+
</tr>
|
240 |
+
<tr valign="top">
|
241 |
+
<th scope="row">
|
242 |
+
<?php _e('Message if comment no longer possible to edit', 'wpdiscuz'); ?>
|
243 |
+
</th>
|
244 |
+
<td colspan="3">
|
245 |
+
<label for="wc_comment_edit_not_possible">
|
246 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_comment_edit_not_possible']) ? $this->optionsSerialized->phrases['wc_comment_edit_not_possible'] : __('Sorry, this comment no longer possible to edit', 'wpdisucz'); ?>" name="wc_comment_edit_not_possible" id="wc_comment_edit_not_possible" />
|
247 |
+
</label>
|
248 |
+
</td>
|
249 |
+
</tr>
|
250 |
+
<tr valign="top">
|
251 |
+
<th scope="row">
|
252 |
+
<?php _e('Message if comment text not changed', 'wpdiscuz'); ?>
|
253 |
+
</th>
|
254 |
+
<td colspan="3">
|
255 |
+
<label for="wc_comment_not_edited">
|
256 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_comment_not_edited']) ? $this->optionsSerialized->phrases['wc_comment_not_edited'] : __('TYou\'ve not made any changes', 'wpdisucz'); ?>" name="wc_comment_not_edited" id="wc_comment_not_edited" />
|
257 |
+
</label>
|
258 |
+
</td>
|
259 |
+
</tr>
|
260 |
+
<tr valign="top">
|
261 |
+
<th scope="row">
|
262 |
+
<?php _e('The captcha expired', 'wpdiscuz'); ?>
|
263 |
+
</th>
|
264 |
+
<td colspan="3">
|
265 |
+
<label for="wc_msg_captcha_expired">
|
266 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_msg_captcha_expired']) ? $this->optionsSerialized->phrases['wc_msg_captcha_expired'] : __('The captcha expired', 'wpdisucz'); ?>" name="wc_msg_captcha_expired" id="wc_msg_captcha_expired" />
|
267 |
+
</label>
|
268 |
+
</td>
|
269 |
+
</tr>
|
270 |
+
<tr valign="top">
|
271 |
+
<th scope="row">
|
272 |
+
<?php _e('Please fill out required fields', 'wpdiscuz'); ?>
|
273 |
+
</th>
|
274 |
+
<td colspan="3">
|
275 |
+
<label for="wc_msg_required_fields">
|
276 |
+
<input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_msg_required_fields']) ? $this->optionsSerialized->phrases['wc_msg_required_fields'] : __('Please fill out required fields', 'wpdisucz'); ?>" name="wc_msg_required_fields" id="wc_msg_required_fields" />
|
277 |
+
</label>
|
278 |
+
</td>
|
279 |
+
</tr>
|
280 |
+
</tbody>
|
281 |
+
</table>
|
282 |
+
</div>
|
options/wc-options-serialize.php
DELETED
@@ -1,574 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WC_Options_Serialize {
|
4 |
-
|
5 |
-
public $wc_options_slug = 'wc_options';
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Type - Checkbox array
|
9 |
-
* Available Values - Checked/Unchecked
|
10 |
-
* Description - On which post types display comment form
|
11 |
-
* Default Value - Post
|
12 |
-
*/
|
13 |
-
public $wc_post_types = array('post');
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Type - Radio Button
|
17 |
-
* Available Values - Top / Bottom
|
18 |
-
* Description - Comment list order
|
19 |
-
* Default Value - Top
|
20 |
-
*/
|
21 |
-
public $wc_comment_list_order;
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Type - Radio Button
|
25 |
-
* Available Values - Always updtae / Update if has new comments
|
26 |
-
* Description - Updates comments list via ajax to show new comments
|
27 |
-
* Default Value - Update if has new comments
|
28 |
-
*/
|
29 |
-
public $wc_comment_list_update_type;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Type - Dropdown menu
|
33 |
-
* Available Values - 10s, 20s, 30s, 60s(1 minute), 180s(3 minutes), 300s(5 minutes), 600s(10 minutes)
|
34 |
-
* Description - Updates comments list every ... seconds
|
35 |
-
* Default Value - Comment list update timer value
|
36 |
-
*/
|
37 |
-
public $wc_comment_list_update_timer;
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Type - Dropdown menu
|
41 |
-
* Available Values - Not Allow(0), 900s(15 minutes) 1800s(30 minutes), 3600s(1 hour), 10800s(3 hours), 86400(24 hours)
|
42 |
-
* Description - Allow commnet editing after comment subimt
|
43 |
-
* Default Value - Editable comment time value
|
44 |
-
*/
|
45 |
-
public $wc_comment_editable_time;
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Type - Dropdown menu
|
49 |
-
* Available Values - list of pages (ids)
|
50 |
-
* Description - Redirect first commenter to the selected page
|
51 |
-
* Default Value - 0
|
52 |
-
*/
|
53 |
-
public $wpdiscuz_redirect_page;
|
54 |
-
|
55 |
-
/**
|
56 |
-
* Type - Checkbox
|
57 |
-
* Available Values - Checked/Unchecked
|
58 |
-
* Description - Allow guests to vote on comments
|
59 |
-
* Default Value - Checked
|
60 |
-
*/
|
61 |
-
public $wc_is_guest_can_vote;
|
62 |
-
|
63 |
-
/**
|
64 |
-
* Type - Checkbox
|
65 |
-
* Available Values - Checked/Unchecked
|
66 |
-
* Description - Load all comments on click load more button
|
67 |
-
* Default Value - Unchecked
|
68 |
-
*/
|
69 |
-
public $wc_load_all_comments;
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Type - Checkbox
|
73 |
-
* Available Values - Checked/Unchecked
|
74 |
-
* Description - Show/Hide Voting buttons
|
75 |
-
* Default Value - Unchecked
|
76 |
-
*/
|
77 |
-
public $wc_voting_buttons_show_hide;
|
78 |
-
|
79 |
-
/**
|
80 |
-
* Type - Checkbox
|
81 |
-
* Available Values - Checked/Unchecked
|
82 |
-
* Description - Show/Hide Share Buttons
|
83 |
-
* Default Value - Unchecked
|
84 |
-
*/
|
85 |
-
public $wc_share_buttons_show_hide;
|
86 |
-
|
87 |
-
/*
|
88 |
-
* Type - Checkbox
|
89 |
-
* Available Values - Checked/Unchecked
|
90 |
-
* Description - Show/Hide the CAPTCHA field
|
91 |
-
* Default Value - Unchecked
|
92 |
-
*/
|
93 |
-
public $wc_captcha_show_hide;
|
94 |
-
|
95 |
-
/*
|
96 |
-
* Type - Checkbox
|
97 |
-
* Available Values - Checked/Unchecked
|
98 |
-
* Description - Show/Hide the Web URL field
|
99 |
-
* Default Value - Unchecked
|
100 |
-
*/
|
101 |
-
public $wc_weburl_show_hide;
|
102 |
-
|
103 |
-
/**
|
104 |
-
* Type - Radiobutton
|
105 |
-
* Available Values - Yes/No
|
106 |
-
* Description - User Must be registered to comment
|
107 |
-
* (If this option is set “Yes”, the comment form will be hidden,
|
108 |
-
* instead of the form there will be a link to registration page.)
|
109 |
-
* Default Value - No
|
110 |
-
*/
|
111 |
-
public $wc_user_must_be_registered;
|
112 |
-
|
113 |
-
/**
|
114 |
-
* Type - Checkbox
|
115 |
-
* Available Values - Checked/Unchecked
|
116 |
-
* Description - If checked user must fill this field
|
117 |
-
* Default Value - Checked
|
118 |
-
*/
|
119 |
-
public $wc_is_name_field_required;
|
120 |
-
|
121 |
-
/**
|
122 |
-
* Type - Checkbox
|
123 |
-
* Available Values - Checked/Unchecked
|
124 |
-
* Description - If checked user must fill this field
|
125 |
-
* Default Value - Checked
|
126 |
-
*/
|
127 |
-
public $wc_is_email_field_required;
|
128 |
-
|
129 |
-
/**
|
130 |
-
* Type - Checkbox
|
131 |
-
* Available Values - Checked/Unchecked
|
132 |
-
* Description - If checked show logged-in user name top of the main form
|
133 |
-
* Default Value - Checked
|
134 |
-
*/
|
135 |
-
public $wc_show_hide_loggedin_username;
|
136 |
-
|
137 |
-
/**
|
138 |
-
* Type - Checkbox
|
139 |
-
* Available Values - Checked/Unchecked
|
140 |
-
* Description - Show/Hide Reply button for Guests
|
141 |
-
* Default Value - Unchecked
|
142 |
-
*/
|
143 |
-
public $wc_reply_button_guests_show_hide;
|
144 |
-
|
145 |
-
/**
|
146 |
-
* Type - Checkbox
|
147 |
-
* Available Values - Checked/Unchecked
|
148 |
-
* Description - Show/Hide Reply button for Customers
|
149 |
-
* Default Value - Unchecked
|
150 |
-
*/
|
151 |
-
public $wc_reply_button_members_show_hide;
|
152 |
-
|
153 |
-
/**
|
154 |
-
* Type - Checkbox
|
155 |
-
* Available Values - Checked/Unchecked
|
156 |
-
* Description - Show/Hide Author Titles
|
157 |
-
* Default Value - Unchecked
|
158 |
-
*/
|
159 |
-
public $wc_author_titles_show_hide;
|
160 |
-
|
161 |
-
/**
|
162 |
-
* Type - Input
|
163 |
-
* Available Values - Integer
|
164 |
-
* Description - Comment count per click
|
165 |
-
* Default Value - 5
|
166 |
-
*/
|
167 |
-
public $wc_comment_count;
|
168 |
-
|
169 |
-
/**
|
170 |
-
* Type - Dropdown menu
|
171 |
-
* Available Values - 1, 2, 3, 4, 5
|
172 |
-
* Description - Define comments depth value in comment list
|
173 |
-
* Default Value - 2
|
174 |
-
*/
|
175 |
-
public $wc_comments_max_depth;
|
176 |
-
|
177 |
-
/**
|
178 |
-
* Type - Checkbox
|
179 |
-
* Available Values - Checked/Unchecked
|
180 |
-
* Description - Comment date format - 20-01-2015
|
181 |
-
* Default Value - Checked
|
182 |
-
*/
|
183 |
-
public $wc_simple_comment_date;
|
184 |
-
|
185 |
-
/**
|
186 |
-
* Type - Checkbox
|
187 |
-
* Available Values - Checked/Unchecked
|
188 |
-
* Description - Set comment forms email notification checkboxes checked by default
|
189 |
-
* Default Value - Unchecked
|
190 |
-
*/
|
191 |
-
public $wc_comment_reply_checkboxes_default_checked;
|
192 |
-
|
193 |
-
/**
|
194 |
-
* Type - Checkbox
|
195 |
-
* Available Values - Checked/Unchecked
|
196 |
-
* Description - Show new comment notification checkbox below the form
|
197 |
-
* Default Value - Checked
|
198 |
-
*/
|
199 |
-
public $wc_show_hide_comment_checkbox;
|
200 |
-
|
201 |
-
/**
|
202 |
-
* Type - Checkbox
|
203 |
-
* Available Values - Checked/Unchecked
|
204 |
-
* Description - Show all new reply notification checkbox below the form
|
205 |
-
* Default Value - Checked
|
206 |
-
*/
|
207 |
-
public $wc_show_hide_all_reply_checkbox;
|
208 |
-
|
209 |
-
/**
|
210 |
-
* Type - Checkbox
|
211 |
-
* Available Values - Checked/Unchecked
|
212 |
-
* Description - Show new reply notification checkbox below the form
|
213 |
-
* Default Value - Checked
|
214 |
-
*/
|
215 |
-
public $wc_show_hide_reply_checkbox;
|
216 |
-
|
217 |
-
/**
|
218 |
-
* Type - Checkbox
|
219 |
-
* Available Values - Checked/Unchecked
|
220 |
-
* Description - Use Postmatic plugin for comment notification
|
221 |
-
* Default Value - Unchecked
|
222 |
-
*/
|
223 |
-
public $wc_use_postmatic_for_comment_notification;
|
224 |
-
|
225 |
-
/**
|
226 |
-
* Type - Select
|
227 |
-
* Available Values - 12px-16px
|
228 |
-
* Description - Comment Text Size
|
229 |
-
* Default Value - 14px
|
230 |
-
*/
|
231 |
-
public $wc_comment_text_size;
|
232 |
-
|
233 |
-
/**
|
234 |
-
* Type - Input
|
235 |
-
* Available Values - color codes
|
236 |
-
* Description - Form Background Color
|
237 |
-
* Default Value - #F9F9F9
|
238 |
-
*/
|
239 |
-
public $wc_form_bg_color;
|
240 |
-
|
241 |
-
/**
|
242 |
-
* Type - Input
|
243 |
-
* Available Values - color codes
|
244 |
-
* Description - Comment Background Color
|
245 |
-
* Default Value - #fefefe
|
246 |
-
*/
|
247 |
-
public $wc_comment_bg_color;
|
248 |
-
|
249 |
-
/**
|
250 |
-
* Type - Input
|
251 |
-
* Available Values - color codes
|
252 |
-
* Description - Reply Background Color
|
253 |
-
* Default Value - #f8f8f8
|
254 |
-
*/
|
255 |
-
public $wc_reply_bg_color;
|
256 |
-
|
257 |
-
/**
|
258 |
-
* Type - Input
|
259 |
-
* Available Values - color codes
|
260 |
-
* Description - Comment Text Color
|
261 |
-
* Default Value - #555
|
262 |
-
*/
|
263 |
-
public $wc_comment_text_color;
|
264 |
-
|
265 |
-
/**
|
266 |
-
* Type - Input
|
267 |
-
* Available Values - color codes
|
268 |
-
* Description - Author title Color, Author title label color
|
269 |
-
* Default Value - #ad74a2
|
270 |
-
*/
|
271 |
-
public $wc_author_title_color;
|
272 |
-
|
273 |
-
/**
|
274 |
-
* Type - Input
|
275 |
-
* Available Values - color codes
|
276 |
-
* Description - Vote, Reply, Share, Edit - text colors
|
277 |
-
* Default Value - #666666
|
278 |
-
*/
|
279 |
-
public $wc_vote_reply_color;
|
280 |
-
|
281 |
-
/**
|
282 |
-
* Type - Input
|
283 |
-
* Available Values - color codes
|
284 |
-
* Description - Form imput border olor
|
285 |
-
* Default Value - #d9d9d9
|
286 |
-
*/
|
287 |
-
public $wc_input_border_color;
|
288 |
-
|
289 |
-
/**
|
290 |
-
* Type - Input
|
291 |
-
* Available Values - color codes
|
292 |
-
* Description - New Comments background color
|
293 |
-
* Default Value - #fefefe
|
294 |
-
*/
|
295 |
-
public $wc_new_loaded_comment_bg_color;
|
296 |
-
|
297 |
-
/**
|
298 |
-
* Type - Textarea
|
299 |
-
* Available Values - custom css code
|
300 |
-
* Description - Custom css code
|
301 |
-
* Default Value -
|
302 |
-
*/
|
303 |
-
public $wc_custom_css;
|
304 |
-
|
305 |
-
/**
|
306 |
-
* Type - HTML elements array
|
307 |
-
* Available Values - Text
|
308 |
-
* Description - Phrases for form elements texts
|
309 |
-
* Default Value -
|
310 |
-
*/
|
311 |
-
public $wc_phrases;
|
312 |
-
|
313 |
-
/**
|
314 |
-
* helper class for database operations
|
315 |
-
*/
|
316 |
-
public $wc_db_helper;
|
317 |
-
|
318 |
-
/**
|
319 |
-
* Type - Checkbox
|
320 |
-
* Available Values - Checked/Unchecked
|
321 |
-
* Description - Hide plugin powerid by information
|
322 |
-
* Default Value - Unchecked
|
323 |
-
*/
|
324 |
-
public $wc_show_plugin_powerid_by;
|
325 |
-
|
326 |
-
function __construct($wc_db_helper) {
|
327 |
-
$this->wc_db_helper = $wc_db_helper;
|
328 |
-
$this->init_phrases();
|
329 |
-
$this->add_options();
|
330 |
-
$this->init_options(get_option($this->wc_options_slug));
|
331 |
-
add_action('plugins_loaded', array(&$this, 'init_phrases_on_load'), 2126);
|
332 |
-
}
|
333 |
-
|
334 |
-
public function init_options($serialize_options) {
|
335 |
-
$options = unserialize($serialize_options);
|
336 |
-
$this->wc_post_types = $options['wc_post_types'];
|
337 |
-
$this->wc_comment_list_order = isset($options['wc_comment_list_order']) ? $options['wc_comment_list_order'] : 'desc';
|
338 |
-
$this->wc_comment_list_update_type = isset($options['wc_comment_list_update_type']) ? $options['wc_comment_list_update_type'] : 0;
|
339 |
-
$this->wc_comment_list_update_timer = isset($options['wc_comment_list_update_timer']) ? $options['wc_comment_list_update_timer'] : 30;
|
340 |
-
$this->wc_comment_editable_time = isset($options['wc_comment_editable_time']) ? $options['wc_comment_editable_time'] : 900;
|
341 |
-
$this->wpdiscuz_redirect_page = isset($options['wpdiscuz_redirect_page']) ? $options['wpdiscuz_redirect_page'] : 0;
|
342 |
-
$this->wc_is_guest_can_vote = isset($options['wc_is_guest_can_vote']) ? $options['wc_is_guest_can_vote'] : 0;
|
343 |
-
$this->wc_load_all_comments = isset($options['wc_load_all_comments']) ? $options['wc_load_all_comments'] : 0;
|
344 |
-
$this->wc_voting_buttons_show_hide = $options['wc_voting_buttons_show_hide'];
|
345 |
-
$this->wc_share_buttons_show_hide = $options['wc_share_buttons_show_hide'];
|
346 |
-
$this->wc_captcha_show_hide = $options['wc_captcha_show_hide'];
|
347 |
-
$this->wc_weburl_show_hide = isset($options['wc_weburl_show_hide']) ? $options['wc_weburl_show_hide'] : 0;
|
348 |
-
$this->wc_user_must_be_registered = $options['wc_user_must_be_registered'];
|
349 |
-
$this->wc_is_name_field_required = isset($options['wc_is_name_field_required']) ? $options['wc_is_name_field_required'] : 0;
|
350 |
-
$this->wc_is_email_field_required = isset($options['wc_is_email_field_required']) ? $options['wc_is_email_field_required'] : 0;
|
351 |
-
$this->wc_show_hide_loggedin_username = isset($options['wc_show_hide_loggedin_username']) ? $options['wc_show_hide_loggedin_username'] : 0;
|
352 |
-
$this->wc_reply_button_guests_show_hide = $options['wc_reply_button_guests_show_hide'];
|
353 |
-
$this->wc_reply_button_members_show_hide = $options['wc_reply_button_members_show_hide'];
|
354 |
-
$this->wc_author_titles_show_hide = $options['wc_author_titles_show_hide'];
|
355 |
-
$this->wc_comment_count = $options['wc_comment_count'];
|
356 |
-
$this->wc_comments_max_depth = isset($options['wc_comments_max_depth']) ? $options['wc_comments_max_depth'] : 2;
|
357 |
-
$this->wc_simple_comment_date = isset($options['wc_simple_comment_date']) ? $options['wc_simple_comment_date'] : 0;
|
358 |
-
$this->wc_comment_reply_checkboxes_default_checked = isset($options['wc_comment_reply_checkboxes_default_checked']) ? $options['wc_comment_reply_checkboxes_default_checked'] : 0;
|
359 |
-
$this->wc_show_hide_comment_checkbox = isset($options['wc_show_hide_comment_checkbox']) ? $options['wc_show_hide_comment_checkbox'] : 0;
|
360 |
-
$this->wc_show_hide_all_reply_checkbox = isset($options['wc_show_hide_all_reply_checkbox']) ? $options['wc_show_hide_all_reply_checkbox'] : 0;
|
361 |
-
$this->wc_show_hide_reply_checkbox = isset($options['wc_show_hide_reply_checkbox']) ? $options['wc_show_hide_reply_checkbox'] : 0;
|
362 |
-
$this->wc_use_postmatic_for_comment_notification = isset($options['wc_use_postmatic_for_comment_notification']) ? $options['wc_use_postmatic_for_comment_notification'] : 0;
|
363 |
-
$this->wc_comment_text_size = isset($options['wc_comment_text_size']) ? $options['wc_comment_text_size'] : '14px';
|
364 |
-
$this->wc_form_bg_color = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#f9f9f9';
|
365 |
-
$this->wc_comment_bg_color = $options['wc_comment_bg_color'];
|
366 |
-
$this->wc_reply_bg_color = $options['wc_reply_bg_color'];
|
367 |
-
$this->wc_comment_text_color = $options['wc_comment_text_color'];
|
368 |
-
$this->wc_author_title_color = $options['wc_author_title_color'];
|
369 |
-
$this->wc_vote_reply_color = $options['wc_vote_reply_color'];
|
370 |
-
$this->wc_input_border_color = isset($options['wc_input_border_color']) ? $options['wc_input_border_color'] : "#d9d9d9";
|
371 |
-
$this->wc_new_loaded_comment_bg_color = isset($options['wc_new_loaded_comment_bg_color']) ? $options['wc_new_loaded_comment_bg_color'] : "rgb(255,250,214)";
|
372 |
-
$this->wc_custom_css = isset($options['wc_custom_css']) ? $options['wc_custom_css'] : '.comments-area{width:auto; margin: 0 auto;}';
|
373 |
-
$this->wc_show_plugin_powerid_by = isset($options['wc_show_plugin_powerid_by']) ? $options['wc_show_plugin_powerid_by'] : 0;
|
374 |
-
}
|
375 |
-
|
376 |
-
/**
|
377 |
-
* initialize default phrases
|
378 |
-
*/
|
379 |
-
public function init_phrases() {
|
380 |
-
$this->wc_phrases = array(
|
381 |
-
'wc_leave_a_reply_text' => __('Leave a Reply', WC_Core::$TEXT_DOMAIN),
|
382 |
-
'wc_be_the_first_text' => __('Be the First to Comment!', WC_Core::$TEXT_DOMAIN),
|
383 |
-
'wc_header_text' => __('Comment', WC_Core::$TEXT_DOMAIN),
|
384 |
-
'wc_header_text_plural' => __('Comments', WC_Core::$TEXT_DOMAIN), // PLURAL
|
385 |
-
'wc_header_on_text' => __('on', WC_Core::$TEXT_DOMAIN),
|
386 |
-
'wc_comment_start_text' => __('Start the discussion', WC_Core::$TEXT_DOMAIN),
|
387 |
-
'wc_comment_join_text' => __('Join the discussion', WC_Core::$TEXT_DOMAIN),
|
388 |
-
'wc_email_text' => __('Email', WC_Core::$TEXT_DOMAIN),
|
389 |
-
'wc_name_text' => __('Name', WC_Core::$TEXT_DOMAIN),
|
390 |
-
'wc_website_text' => __('WebSite URL', WC_Core::$TEXT_DOMAIN),
|
391 |
-
'wc_captcha_text' => __('Please insert the code above to comment', WC_Core::$TEXT_DOMAIN),
|
392 |
-
'wc_submit_text' => __('Post Comment', WC_Core::$TEXT_DOMAIN),
|
393 |
-
'wc_manage_subscribtions' => __('Manage Subscriptions', WC_Core::$TEXT_DOMAIN),
|
394 |
-
'wc_notify_none' => __('None', WC_Core::$TEXT_DOMAIN),
|
395 |
-
'wc_notify_on_new_comment' => __('Notify of all new follow-up comments', WC_Core::$TEXT_DOMAIN),
|
396 |
-
'wc_notify_on_all_new_reply' => __('Notify of new replies to all my comments', WC_Core::$TEXT_DOMAIN),
|
397 |
-
'wc_notify_on_new_reply' => __('Notify of new replies to this comment', WC_Core::$TEXT_DOMAIN),
|
398 |
-
'wc_load_more_submit_text' => __('Load More Comments', WC_Core::$TEXT_DOMAIN),
|
399 |
-
'wc_load_rest_comments_submit_text' => __('Load Rest of Comments', WC_Core::$TEXT_DOMAIN),
|
400 |
-
'wc_reply_text' => __('Reply', WC_Core::$TEXT_DOMAIN),
|
401 |
-
'wc_share_text' => __('Share', WC_Core::$TEXT_DOMAIN),
|
402 |
-
'wc_edit_text' => __('Edit', WC_Core::$TEXT_DOMAIN),
|
403 |
-
'wc_share_facebook' => __('Share On Facebook', WC_Core::$TEXT_DOMAIN),
|
404 |
-
'wc_share_twitter' => __('Share On Twitter', WC_Core::$TEXT_DOMAIN),
|
405 |
-
'wc_share_google' => __('Share On Google', WC_Core::$TEXT_DOMAIN),
|
406 |
-
'wc_share_vk' => __('Share On vKontakte', WC_Core::$TEXT_DOMAIN),
|
407 |
-
'wc_share_ok' => __('Share On Odnoklassniki', WC_Core::$TEXT_DOMAIN),
|
408 |
-
'wc_hide_replies_text' => __('Hide Replies', WC_Core::$TEXT_DOMAIN),
|
409 |
-
'wc_show_replies_text' => __('Show Replies', WC_Core::$TEXT_DOMAIN),
|
410 |
-
'wc_user_title_guest_text' => __('Guest', WC_Core::$TEXT_DOMAIN),
|
411 |
-
'wc_user_title_member_text' => __('Member', WC_Core::$TEXT_DOMAIN),
|
412 |
-
'wc_user_title_author_text' => __('Author', WC_Core::$TEXT_DOMAIN),
|
413 |
-
'wc_user_title_admin_text' => __('Admin', WC_Core::$TEXT_DOMAIN),
|
414 |
-
'wc_email_subject' => __('New Comment', WC_Core::$TEXT_DOMAIN),
|
415 |
-
'wc_email_message' => __('New comment on the discussion section you\'ve been interested in', WC_Core::$TEXT_DOMAIN),
|
416 |
-
'wc_new_reply_email_subject' => __('New Reply', WC_Core::$TEXT_DOMAIN),
|
417 |
-
'wc_new_reply_email_message' => __('New reply on the discussion section you\'ve been interested in', WC_Core::$TEXT_DOMAIN),
|
418 |
-
'wc_subscribed_on_comment' => __('You\'re subscribed for new replies on this comment', WC_Core::$TEXT_DOMAIN),
|
419 |
-
'wc_subscribed_on_all_comment' => __('You\'re subscribed for new replies on all your comments', WC_Core::$TEXT_DOMAIN),
|
420 |
-
'wc_subscribed_on_post' => __('You\'re subscribed for new follow-up comments on this post', WC_Core::$TEXT_DOMAIN),
|
421 |
-
'wc_unsubscribe' => __('Unsubscribe', WC_Core::$TEXT_DOMAIN),
|
422 |
-
'wc_ignore_subscription' => __('Ignore Subscription', WC_Core::$TEXT_DOMAIN),
|
423 |
-
'wc_unsubscribe_message' => __('You\'ve successfully unsubscribed.', WC_Core::$TEXT_DOMAIN),
|
424 |
-
'wc_confirm_email' => __('Confirm your subscribtion', WC_Core::$TEXT_DOMAIN),
|
425 |
-
'wc_comfirm_success_message' => __('You\'ve successfully confirmed your subscription.', WC_Core::$TEXT_DOMAIN),
|
426 |
-
'wc_confirm_email_subject' => __('Subscribe Confirmation', WC_Core::$TEXT_DOMAIN),
|
427 |
-
'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),
|
428 |
-
'wc_error_empty_text' => __('please fill out this field to comment', WC_Core::$TEXT_DOMAIN),
|
429 |
-
'wc_error_email_text' => __('email address is invalid', WC_Core::$TEXT_DOMAIN),
|
430 |
-
'wc_error_url_text' => __('url is invalid', WC_Core::$TEXT_DOMAIN),
|
431 |
-
'wc_year_text' => array('datetime' => array(__('year', WC_Core::$TEXT_DOMAIN), 1)),
|
432 |
-
'wc_year_text_plural' => array('datetime' => array(__('years', WC_Core::$TEXT_DOMAIN), 1)), // PLURAL
|
433 |
-
'wc_month_text' => array('datetime' => array(__('month', WC_Core::$TEXT_DOMAIN), 2)),
|
434 |
-
'wc_month_text_plural' => array('datetime' => array(__('months', WC_Core::$TEXT_DOMAIN), 2)), // PLURAL
|
435 |
-
'wc_day_text' => array('datetime' => array(__('day', WC_Core::$TEXT_DOMAIN), 3)),
|
436 |
-
'wc_day_text_plural' => array('datetime' => array(__('days', WC_Core::$TEXT_DOMAIN), 3)), // PLURAL
|
437 |
-
'wc_hour_text' => array('datetime' => array(__('hour', WC_Core::$TEXT_DOMAIN), 4)),
|
438 |
-
'wc_hour_text_plural' => array('datetime' => array(__('hours', WC_Core::$TEXT_DOMAIN), 4)), // PLURAL
|
439 |
-
'wc_minute_text' => array('datetime' => array(__('minute', WC_Core::$TEXT_DOMAIN), 5)),
|
440 |
-
'wc_minute_text_plural' => array('datetime' => array(__('minutes', WC_Core::$TEXT_DOMAIN), 5)), // PLURAL
|
441 |
-
'wc_second_text' => array('datetime' => array(__('second', WC_Core::$TEXT_DOMAIN), 6)),
|
442 |
-
'wc_second_text_plural' => array('datetime' => array(__('seconds', WC_Core::$TEXT_DOMAIN), 6)), // PLURAL
|
443 |
-
'wc_right_now_text' => __('right now', WC_Core::$TEXT_DOMAIN),
|
444 |
-
'wc_ago_text' => __('ago', WC_Core::$TEXT_DOMAIN),
|
445 |
-
'wc_posted_today_text' => __('Today', WC_Core::$TEXT_DOMAIN),
|
446 |
-
'wc_you_must_be_text' => __('You must be', WC_Core::$TEXT_DOMAIN),
|
447 |
-
'wc_logged_in_as' => __('You are logged in as', WC_Core::$TEXT_DOMAIN),
|
448 |
-
'wc_log_out' => __('Log out', WC_Core::$TEXT_DOMAIN),
|
449 |
-
'wc_logged_in_text' => __('logged in', WC_Core::$TEXT_DOMAIN),
|
450 |
-
'wc_to_post_comment_text' => __('to post a comment.', WC_Core::$TEXT_DOMAIN),
|
451 |
-
'wc_vote_up' => __('Vote Up', WC_Core::$TEXT_DOMAIN),
|
452 |
-
'wc_vote_down' => __('Vote Down', WC_Core::$TEXT_DOMAIN),
|
453 |
-
'wc_vote_counted' => __('Vote Counted', WC_Core::$TEXT_DOMAIN),
|
454 |
-
'wc_vote_only_one_time' => __("You've already voted for this comment", WC_Core::$TEXT_DOMAIN),
|
455 |
-
'wc_voting_error' => __('Voting Error', WC_Core::$TEXT_DOMAIN),
|
456 |
-
'wc_login_to_vote' => __('You Must Be Logged In To Vote', WC_Core::$TEXT_DOMAIN),
|
457 |
-
'wc_self_vote' => __('You cannot vote for your comment', WC_Core::$TEXT_DOMAIN),
|
458 |
-
'wc_deny_voting_from_same_ip' => __('You are not allowed to vote for this comment', WC_Core::$TEXT_DOMAIN),
|
459 |
-
'wc_invalid_captcha' => __('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN),
|
460 |
-
'wc_invalid_field' => __('Some of field value is invalid', WC_Core::$TEXT_DOMAIN),
|
461 |
-
'wc_new_comment_button_text' => __('new comment', WC_Core::$TEXT_DOMAIN),
|
462 |
-
'wc_new_comments_button_text' => __('new comments', WC_Core::$TEXT_DOMAIN), // PLURAL
|
463 |
-
'wc_held_for_moderate' => __('Comment awaiting moderation', WC_Core::$TEXT_DOMAIN),
|
464 |
-
'wc_new_reply_button_text' => __('new reply on your comment', WC_Core::$TEXT_DOMAIN),
|
465 |
-
'wc_new_replies_button_text' => __('new replies on your comments', WC_Core::$TEXT_DOMAIN), // PLURAL
|
466 |
-
'wc_new_comments_text' => __('New', WC_Core::$TEXT_DOMAIN),
|
467 |
-
'wc_comment_not_updated' => __('Sorry, the comment was not updated', WC_Core::$TEXT_DOMAIN),
|
468 |
-
'wc_comment_edit_not_possible' => __('Sorry, this comment no longer possible to edit', WC_Core::$TEXT_DOMAIN),
|
469 |
-
'wc_comment_not_edited' => __('You\'ve not made any changes', WC_Core::$TEXT_DOMAIN),
|
470 |
-
'wc_comment_edit_save_button' => __('Save', WC_Core::$TEXT_DOMAIN),
|
471 |
-
'wc_comment_edit_cancel_button' => __('Cancel', WC_Core::$TEXT_DOMAIN),
|
472 |
-
);
|
473 |
-
}
|
474 |
-
|
475 |
-
public function to_array() {
|
476 |
-
$options = array(
|
477 |
-
'wc_post_types' => $this->wc_post_types,
|
478 |
-
'wc_comment_list_order' => $this->wc_comment_list_order,
|
479 |
-
'wc_comment_list_update_type' => $this->wc_comment_list_update_type,
|
480 |
-
'wc_comment_list_update_timer' => $this->wc_comment_list_update_timer,
|
481 |
-
'wc_comment_editable_time' => $this->wc_comment_editable_time,
|
482 |
-
'wpdiscuz_redirect_page' => $this->wpdiscuz_redirect_page,
|
483 |
-
'wc_is_guest_can_vote' => $this->wc_is_guest_can_vote,
|
484 |
-
'wc_load_all_comments' => $this->wc_load_all_comments,
|
485 |
-
'wc_voting_buttons_show_hide' => $this->wc_voting_buttons_show_hide,
|
486 |
-
'wc_share_buttons_show_hide' => $this->wc_share_buttons_show_hide,
|
487 |
-
'wc_captcha_show_hide' => $this->wc_captcha_show_hide,
|
488 |
-
'wc_weburl_show_hide' => $this->wc_weburl_show_hide,
|
489 |
-
'wc_user_must_be_registered' => $this->wc_user_must_be_registered,
|
490 |
-
'wc_is_name_field_required' => $this->wc_is_name_field_required,
|
491 |
-
'wc_is_email_field_required' => $this->wc_is_email_field_required,
|
492 |
-
'wc_show_hide_loggedin_username' => $this->wc_show_hide_loggedin_username,
|
493 |
-
'wc_reply_button_guests_show_hide' => $this->wc_reply_button_guests_show_hide,
|
494 |
-
'wc_reply_button_members_show_hide' => $this->wc_reply_button_members_show_hide,
|
495 |
-
'wc_author_titles_show_hide' => $this->wc_author_titles_show_hide,
|
496 |
-
'wc_comment_count' => $this->wc_comment_count,
|
497 |
-
'wc_comments_max_depth' => $this->wc_comments_max_depth,
|
498 |
-
'wc_simple_comment_date' => $this->wc_simple_comment_date,
|
499 |
-
'wc_comment_reply_checkboxes_default_checked' => $this->wc_comment_reply_checkboxes_default_checked,
|
500 |
-
'wc_show_hide_comment_checkbox' => $this->wc_show_hide_comment_checkbox,
|
501 |
-
'wc_show_hide_all_reply_checkbox' => $this->wc_show_hide_all_reply_checkbox,
|
502 |
-
'wc_show_hide_reply_checkbox' => $this->wc_show_hide_reply_checkbox,
|
503 |
-
'wc_use_postmatic_for_comment_notification' => $this->wc_use_postmatic_for_comment_notification,
|
504 |
-
'wc_comment_text_size' => $this->wc_comment_text_size,
|
505 |
-
'wc_form_bg_color' => $this->wc_form_bg_color,
|
506 |
-
'wc_comment_bg_color' => $this->wc_comment_bg_color,
|
507 |
-
'wc_reply_bg_color' => $this->wc_reply_bg_color,
|
508 |
-
'wc_comment_text_color' => $this->wc_comment_text_color,
|
509 |
-
'wc_author_title_color' => $this->wc_author_title_color,
|
510 |
-
'wc_vote_reply_color' => $this->wc_vote_reply_color,
|
511 |
-
'wc_input_border_color' => $this->wc_input_border_color,
|
512 |
-
'wc_new_loaded_comment_bg_color' => $this->wc_new_loaded_comment_bg_color,
|
513 |
-
'wc_custom_css' => $this->wc_custom_css,
|
514 |
-
'wc_show_plugin_powerid_by' => $this->wc_show_plugin_powerid_by
|
515 |
-
);
|
516 |
-
|
517 |
-
return $options;
|
518 |
-
}
|
519 |
-
|
520 |
-
public function update_options() {
|
521 |
-
update_option($this->wc_options_slug, serialize($this->to_array()));
|
522 |
-
}
|
523 |
-
|
524 |
-
public function add_options() {
|
525 |
-
$options = array(
|
526 |
-
'wc_post_types' => $this->wc_post_types,
|
527 |
-
'wc_comment_list_order' => 'desc',
|
528 |
-
'wc_comment_list_update_type' => '0',
|
529 |
-
'wc_comment_list_update_timer' => '30',
|
530 |
-
'wc_comment_editable_time' => '900',
|
531 |
-
'wpdiscuz_redirect_page' => '0',
|
532 |
-
'wc_is_guest_can_vote' => '1',
|
533 |
-
'wc_load_all_comments' => '0',
|
534 |
-
'wc_voting_buttons_show_hide' => '0',
|
535 |
-
'wc_share_buttons_show_hide' => '0',
|
536 |
-
'wc_captcha_show_hide' => '0',
|
537 |
-
'wc_weburl_show_hide' => '1',
|
538 |
-
'wc_user_must_be_registered' => '0',
|
539 |
-
'wc_is_name_field_required' => '1',
|
540 |
-
'wc_is_email_field_required' => '1',
|
541 |
-
'wc_show_hide_loggedin_username' => '1',
|
542 |
-
'wc_reply_button_guests_show_hide' => '0',
|
543 |
-
'wc_reply_button_members_show_hide' => '0',
|
544 |
-
'wc_author_titles_show_hide' => '0',
|
545 |
-
'wc_comment_count' => '5',
|
546 |
-
'wc_comments_max_depth' => '3',
|
547 |
-
'wc_simple_comment_date' => '0',
|
548 |
-
'wc_comment_reply_checkboxes_default_checked' => '0',
|
549 |
-
'wc_show_hide_comment_checkbox' => '1',
|
550 |
-
'wc_show_hide_all_reply_checkbox' => '1',
|
551 |
-
'wc_show_hide_reply_checkbox' => '1',
|
552 |
-
'wc_use_postmatic_for_comment_notification' => '0',
|
553 |
-
'wc_comment_text_size' => '14px',
|
554 |
-
'wc_form_bg_color' => '#f9f9f9',
|
555 |
-
'wc_comment_bg_color' => '#fefefe',
|
556 |
-
'wc_reply_bg_color' => '#f8f8f8',
|
557 |
-
'wc_comment_text_color' => '#555',
|
558 |
-
'wc_author_title_color' => '#00B38F',
|
559 |
-
'wc_vote_reply_color' => '#666666',
|
560 |
-
'wc_input_border_color' => '#d9d9d9',
|
561 |
-
'wc_new_loaded_comment_bg_color' => 'rgb(255,250,214)',
|
562 |
-
'wc_custom_css' => '.comments-area{width:auto;}',
|
563 |
-
'wc_show_plugin_powerid_by' => '0'
|
564 |
-
);
|
565 |
-
add_option($this->wc_options_slug, serialize($options));
|
566 |
-
}
|
567 |
-
|
568 |
-
public function init_phrases_on_load() {
|
569 |
-
if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
|
570 |
-
$this->wc_phrases = $this->wc_db_helper->get_phrases();
|
571 |
-
}
|
572 |
-
}
|
573 |
-
|
574 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options/wc-options.php
DELETED
@@ -1,394 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class WC_Options {
|
3 |
-
|
4 |
-
public $wc_options_serialized;
|
5 |
-
public $wc_db_helper;
|
6 |
-
private $wc_post_types;
|
7 |
-
|
8 |
-
public function __construct($wc_options_serialized, $wc_db_helper) {
|
9 |
-
$this->wc_db_helper = $wc_db_helper;
|
10 |
-
$this->wc_options_serialized = $wc_options_serialized;
|
11 |
-
}
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Builds options page
|
15 |
-
*/
|
16 |
-
public function main_options_form() {
|
17 |
-
|
18 |
-
$default_post_types = get_post_types('', 'names');
|
19 |
-
foreach ($default_post_types as $post_type) {
|
20 |
-
if ($post_type != 'revision' && $post_type != 'nav_menu_item') {
|
21 |
-
$this->wc_post_types[] = $post_type;
|
22 |
-
}
|
23 |
-
}
|
24 |
-
|
25 |
-
if (isset($_POST['wc_submit_options'])) {
|
26 |
-
|
27 |
-
if (function_exists('current_user_can') && !current_user_can('manage_options')) {
|
28 |
-
die(_e('Hacker?', WC_Core::$TEXT_DOMAIN));
|
29 |
-
}
|
30 |
-
|
31 |
-
if (function_exists('check_admin_referer')) {
|
32 |
-
check_admin_referer('wc_options_form');
|
33 |
-
}
|
34 |
-
|
35 |
-
$this->wc_options_serialized->wc_post_types = isset($_POST['wc_post_types']) ? $_POST['wc_post_types'] : array();
|
36 |
-
$this->wc_options_serialized->wc_comment_list_order = isset($_POST['wc_comment_list_order']) ? $_POST['wc_comment_list_order'] : 'desc';
|
37 |
-
$this->wc_options_serialized->wc_comment_list_update_type = isset($_POST['wc_comment_list_update_type']) ? $_POST['wc_comment_list_update_type'] : 0;
|
38 |
-
$this->wc_options_serialized->wc_comment_list_update_timer = isset($_POST['wc_comment_list_update_timer']) ? $_POST['wc_comment_list_update_timer'] : 30;
|
39 |
-
$this->wc_options_serialized->wc_comment_editable_time = isset($_POST['wc_comment_editable_time']) ? $_POST['wc_comment_editable_time'] : 900;
|
40 |
-
$this->wc_options_serialized->wpdiscuz_redirect_page = isset($_POST['wpdiscuz_redirect_page']) ? $_POST['wpdiscuz_redirect_page'] : 0;
|
41 |
-
$this->wc_options_serialized->wc_is_guest_can_vote = isset($_POST['wc_is_guest_can_vote']) ? $_POST['wc_is_guest_can_vote'] : 0;
|
42 |
-
$this->wc_options_serialized->wc_load_all_comments = isset($_POST['wc_load_all_comments']) ? $_POST['wc_load_all_comments'] : 0;
|
43 |
-
$this->wc_options_serialized->wc_voting_buttons_show_hide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
|
44 |
-
$this->wc_options_serialized->wc_share_buttons_show_hide = isset($_POST['wc_share_buttons_show_hide']) ? $_POST['wc_share_buttons_show_hide'] : 0;
|
45 |
-
$this->wc_options_serialized->wc_captcha_show_hide = isset($_POST['wc_captcha_show_hide']) ? $_POST['wc_captcha_show_hide'] : 0;
|
46 |
-
$this->wc_options_serialized->wc_weburl_show_hide = isset($_POST['wc_weburl_show_hide']) ? $_POST['wc_weburl_show_hide'] : 0;
|
47 |
-
$this->wc_options_serialized->wc_user_must_be_registered = isset($_POST['wc_user_must_be_registered']) ? $_POST['wc_user_must_be_registered'] : 0;
|
48 |
-
$this->wc_options_serialized->wc_is_name_field_required = isset($_POST['wc_is_name_field_required']) ? $_POST['wc_is_name_field_required'] : 0;
|
49 |
-
$this->wc_options_serialized->wc_is_email_field_required = isset($_POST['wc_is_email_field_required']) ? $_POST['wc_is_email_field_required'] : 0;
|
50 |
-
$this->wc_options_serialized->wc_show_hide_loggedin_username = isset($_POST['wc_show_hide_loggedin_username']) ? $_POST['wc_show_hide_loggedin_username'] : 0;
|
51 |
-
$this->wc_options_serialized->wc_reply_button_guests_show_hide = isset($_POST['wc_reply_button_guests_show_hide']) ? $_POST['wc_reply_button_guests_show_hide'] : 0;
|
52 |
-
$this->wc_options_serialized->wc_reply_button_members_show_hide = isset($_POST['wc_reply_button_members_show_hide']) ? $_POST['wc_reply_button_members_show_hide'] : 0;
|
53 |
-
$this->wc_options_serialized->wc_author_titles_show_hide = isset($_POST['wc_author_titles_show_hide']) ? $_POST['wc_author_titles_show_hide'] : 0;
|
54 |
-
$this->wc_options_serialized->wc_comment_count = isset($_POST['wc_comment_count']) ? $_POST['wc_comment_count'] : 10;
|
55 |
-
$this->wc_options_serialized->wc_comments_max_depth = isset($_POST['wc_comments_max_depth']) ? $_POST['wc_comments_max_depth'] : 2;
|
56 |
-
$this->wc_options_serialized->wc_simple_comment_date = isset($_POST['wc_simple_comment_date']) ? $_POST['wc_simple_comment_date'] : 0;
|
57 |
-
$this->wc_options_serialized->wc_comment_reply_checkboxes_default_checked = isset($_POST['wc_comment_reply_checkboxes_default_checked']) ? $_POST['wc_comment_reply_checkboxes_default_checked'] : 0;
|
58 |
-
$this->wc_options_serialized->wc_show_hide_comment_checkbox = isset($_POST['wc_show_hide_comment_checkbox']) ? $_POST['wc_show_hide_comment_checkbox'] : 0;
|
59 |
-
$this->wc_options_serialized->wc_show_hide_all_reply_checkbox = isset($_POST['wc_show_hide_all_reply_checkbox']) ? $_POST['wc_show_hide_all_reply_checkbox'] : 0;
|
60 |
-
$this->wc_options_serialized->wc_show_hide_reply_checkbox = isset($_POST['wc_show_hide_reply_checkbox']) ? $_POST['wc_show_hide_reply_checkbox'] : 0;
|
61 |
-
$this->wc_options_serialized->wc_use_postmatic_for_comment_notification = isset($_POST['wc_use_postmatic_for_comment_notification']) ? $_POST['wc_use_postmatic_for_comment_notification'] : 0;
|
62 |
-
$this->wc_options_serialized->wc_form_bg_color = isset($_POST['wc_form_bg_color']) ? $_POST['wc_form_bg_color'] : '#f9f9f9';
|
63 |
-
$this->wc_options_serialized->wc_comment_text_size = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
|
64 |
-
$this->wc_options_serialized->wc_comment_bg_color = isset($_POST['wc_comment_bg_color']) ? $_POST['wc_comment_bg_color'] : '#fefefe';
|
65 |
-
$this->wc_options_serialized->wc_reply_bg_color = isset($_POST['wc_reply_bg_color']) ? $_POST['wc_reply_bg_color'] : '#f8f8f8';
|
66 |
-
$this->wc_options_serialized->wc_comment_text_color = isset($_POST['wc_comment_text_color']) ? $_POST['wc_comment_text_color'] : '#555';
|
67 |
-
$this->wc_options_serialized->wc_author_title_color = isset($_POST['wc_author_title_color']) ? $_POST['wc_author_title_color'] : '#00B38F';
|
68 |
-
$this->wc_options_serialized->wc_vote_reply_color = isset($_POST['wc_vote_reply_color']) ? $_POST['wc_vote_reply_color'] : '#666666';
|
69 |
-
$this->wc_options_serialized->wc_input_border_color = isset($_POST['wc_input_border_color']) ? $_POST['wc_input_border_color'] : '#d9d9d9';
|
70 |
-
$this->wc_options_serialized->wc_new_loaded_comment_bg_color = isset($_POST['wc_new_loaded_comment_bg_color']) ? $_POST['wc_new_loaded_comment_bg_color'] : 'rgb(254,254,254)';
|
71 |
-
$this->wc_options_serialized->wc_custom_css = isset($_POST['wc_custom_css']) ? $_POST['wc_custom_css'] : '.comments-area{width:auto; margin: 0 auto;}';
|
72 |
-
$this->wc_options_serialized->wc_show_plugin_powerid_by = isset($_POST['wc_show_plugin_powerid_by']) ? $_POST['wc_show_plugin_powerid_by'] : 0;
|
73 |
-
|
74 |
-
$this->wc_options_serialized->update_options();
|
75 |
-
}
|
76 |
-
?>
|
77 |
-
|
78 |
-
<div class="wrap wpdiscuz_options_page">
|
79 |
-
|
80 |
-
<div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
|
81 |
-
<img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/plugin-icon/plugin-icon-48.png'); ?>"/>
|
82 |
-
</div>
|
83 |
-
<h2 style="padding-bottom:20px; padding-top:15px;"><?php _e('wpDiscuz General Settings', WC_Core::$TEXT_DOMAIN); ?></h2>
|
84 |
-
<br style="clear:both" />
|
85 |
-
|
86 |
-
|
87 |
-
<link rel="stylesheet" href="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.bxslider.css" type="text/css" />
|
88 |
-
<script src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.min.js"></script>
|
89 |
-
<script src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>bxslider/jquery.bxslider.js"></script>
|
90 |
-
<table width="100%" border="0" cellspacing="1" class="widefat">
|
91 |
-
<tr>
|
92 |
-
<td style="padding:10px; padding-left:0px; vertical-align:top; width:500px;">
|
93 |
-
<div class="slider">
|
94 |
-
<ul class="bxslider">
|
95 |
-
<li><a href="https://wordpress.org/plugins/woodiscuz-woocommerce-comments/screenshots/"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/3.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
96 |
-
<li><a href="https://wordpress.org/plugins/woocommerce-category-slider/screenshots/"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/5.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
97 |
-
<li><a href="https://wordpress.org/plugins/woocommerce-pdf-print/"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/4.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
98 |
-
<li><a href="https://wordpress.org/plugins/advanced-content-pagination/screenshots/"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/1.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
99 |
-
<li><a href="https://wordpress.org/plugins/author-and-post-statistic-widgets/"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/2.png" title="Free Download from Wordpress.org" style="padding:0px 0px 20px 20px;" /></a></li>
|
100 |
-
</ul>
|
101 |
-
</div>
|
102 |
-
<div style="clear:both"></div>
|
103 |
-
</td>
|
104 |
-
<td valign="top" style="padding:20px;">
|
105 |
-
|
106 |
-
<table width="100%" border="0" cellspacing="1" class="widefat">
|
107 |
-
<thead>
|
108 |
-
<tr>
|
109 |
-
<th style="font-size:14px; background-color:#FEFCE7"> Information</th>
|
110 |
-
</tr>
|
111 |
-
</thead>
|
112 |
-
<tr valign="top">
|
113 |
-
<td style="background:#FFF; text-align:left; font-size:13px;">
|
114 |
-
wpDiscuz is alsow available for WooCommerce. The WooCommerce Comments plugin name is <a href="https://wordpress.org/plugins/woodiscuz-woocommerce-comments/" style="color:#993399; text-decoration:underline;"><strong>WooDiscuz</strong></a>. It adds a new "Discussion" Tab on product page and allows your customers ask Pre-Sale Questions and discuss about your products.
|
115 |
-
</td>
|
116 |
-
</tr>
|
117 |
-
</table><br />
|
118 |
-
|
119 |
-
<table width="100%" border="0" cellspacing="1" class="widefat">
|
120 |
-
<thead>
|
121 |
-
<tr>
|
122 |
-
<th style="font-size:16px; background-color:#FEFCE7;"><strong>Like wpDiscuz?</strong> <br /><span style="font-size:15px">We really need your reviews!</span></th>
|
123 |
-
</tr>
|
124 |
-
</thead>
|
125 |
-
<tr valign="top">
|
126 |
-
<td style="background:#FFF; text-align:left; font-size:13px;">
|
127 |
-
We do our best to make wpDiscuz the best self-hosted comment plugin for Wordpress. Thousands users are currently satisfied with wpDiscuz but only about 1% of them give us 5 start rating.
|
128 |
-
However we have a very few users who for some very specific reasons are not satisfied and they are very active in decreasing wpDiscuz rating.
|
129 |
-
Please help us keep plugin rating high, encouraging us to develop and maintain this plugin. Take a one minute to leave <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5" title="Go to wpDiscuz Reviews section on Wordpress.org"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/5s.png" border="0" align="absmiddle" /></a> star review on <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5">Wordpress.org</a>
|
130 |
-
<hr style="border-style:dotted;" />
|
131 |
-
<div style="width:200px; float:right;">
|
132 |
-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
133 |
-
<input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="UC44WQM5XJFPA"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
134 |
-
</form>
|
135 |
-
</div>
|
136 |
-
We spend as much of my spare time as possible working on wpDiscuz and any donation is appreciated. Donations play a crucial role in supporting Free and Open Source Software projects.
|
137 |
-
</td>
|
138 |
-
</tr>
|
139 |
-
</table>
|
140 |
-
|
141 |
-
</td>
|
142 |
-
</tr>
|
143 |
-
</table>
|
144 |
-
<script>
|
145 |
-
$('.bxslider').bxSlider({
|
146 |
-
mode: 'fade',
|
147 |
-
captions: false,
|
148 |
-
auto: true
|
149 |
-
});
|
150 |
-
</script>
|
151 |
-
<br />
|
152 |
-
|
153 |
-
<?php
|
154 |
-
if (isset($_GET['wpdiscuz_reset_options']) && $_GET['wpdiscuz_reset_options'] == 1 && current_user_can('manage_options')) {
|
155 |
-
delete_option($this->wc_options_serialized->wc_options_slug);
|
156 |
-
$this->wc_options_serialized->wc_post_types = array('post');
|
157 |
-
$this->wc_options_serialized->add_options();
|
158 |
-
$this->wc_options_serialized->init_options(get_option($this->wc_options_serialized->wc_options_slug));
|
159 |
-
$this->wc_options_serialized->wc_show_plugin_powerid_by = 1;
|
160 |
-
$this->wc_options_serialized->update_options();
|
161 |
-
}
|
162 |
-
?>
|
163 |
-
|
164 |
-
<form action="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_options_page&updated=true" method="post" name="wpdiscuz_options_page" class="wc-main-settings-form wc-form">
|
165 |
-
<?php
|
166 |
-
if (function_exists('wp_nonce_field')) {
|
167 |
-
wp_nonce_field('wc_options_form');
|
168 |
-
}
|
169 |
-
?>
|
170 |
-
|
171 |
-
<h2> </h2>
|
172 |
-
|
173 |
-
<div id="parentHorizontalTab">
|
174 |
-
<ul class="resp-tabs-list hor_1">
|
175 |
-
<li><?php _e('General settings', WC_Core::$TEXT_DOMAIN); ?></li>
|
176 |
-
<li><?php _e('Live Update', WC_Core::$TEXT_DOMAIN); ?></li>
|
177 |
-
<li><?php _e('Show/Hide Components', WC_Core::$TEXT_DOMAIN); ?></li>
|
178 |
-
<li><?php _e('Email Subscription', WC_Core::$TEXT_DOMAIN); ?> <?php if (class_exists('Prompt_Comment_Form_Handling')): ?> <?php _e('and Postmatic', WC_Core::$TEXT_DOMAIN); ?> <?php endif; ?></li>
|
179 |
-
<li><?php _e('Background and Colors', WC_Core::$TEXT_DOMAIN); ?></li>
|
180 |
-
<li><?php _e('Social Login', WC_Core::$TEXT_DOMAIN); ?></li>
|
181 |
-
</ul>
|
182 |
-
<div class="resp-tabs-container hor_1">
|
183 |
-
<?php
|
184 |
-
include 'options-layouts/settings-general.php';
|
185 |
-
include 'options-layouts/settings-live-update.php';
|
186 |
-
include 'options-layouts/settings-show-hide.php';
|
187 |
-
include 'options-layouts/settings-subscription.php';
|
188 |
-
include 'options-layouts/settings-style.php';
|
189 |
-
include 'options-layouts/settings-social.php';
|
190 |
-
?>
|
191 |
-
</div>
|
192 |
-
</div>
|
193 |
-
<script type="text/javascript">
|
194 |
-
jQuery(document).ready(function ($) {
|
195 |
-
//Horizontal Tab
|
196 |
-
$('#parentHorizontalTab').easyResponsiveTabs({
|
197 |
-
type: 'default', //Types: default, vertical, accordion
|
198 |
-
width: 'auto', //auto or any width like 600px
|
199 |
-
fit: true, // 100% fit in a container
|
200 |
-
tabidentify: 'hor_1', // The tab groups identifier
|
201 |
-
});
|
202 |
-
});
|
203 |
-
</script>
|
204 |
-
<table class="form-table wc-form-table">
|
205 |
-
<tbody>
|
206 |
-
<tr valign="top">
|
207 |
-
<td colspan="4">
|
208 |
-
<p class="submit">
|
209 |
-
<input type="submit" class="button button-primary" name="wc_submit_options" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
|
210 |
-
<a style="float: right;" class="button button-secondary" href="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_options_page&wpdiscuz_reset_options=1"><?php _e('Reset Options', WC_Core::$TEXT_DOMAIN); ?></a>
|
211 |
-
</p>
|
212 |
-
</td>
|
213 |
-
</tr>
|
214 |
-
</tbody>
|
215 |
-
</table>
|
216 |
-
<input type="hidden" name="action" value="update" />
|
217 |
-
</form>
|
218 |
-
</div>
|
219 |
-
|
220 |
-
<?php
|
221 |
-
}
|
222 |
-
|
223 |
-
public function phrases_options_form() {
|
224 |
-
|
225 |
-
if (isset($_POST['wc_submit_phrases'])) {
|
226 |
-
|
227 |
-
if (function_exists('current_user_can') && !current_user_can('manage_options')) {
|
228 |
-
die(_e('Hacker?', WC_Core::$TEXT_DOMAIN));
|
229 |
-
}
|
230 |
-
|
231 |
-
if (function_exists('check_admin_referer')) {
|
232 |
-
check_admin_referer('wc_phrases_form');
|
233 |
-
}
|
234 |
-
|
235 |
-
$this->wc_options_serialized->wc_phrases['wc_leave_a_reply_text'] = $_POST['wc_leave_a_reply_text'];
|
236 |
-
$this->wc_options_serialized->wc_phrases['wc_be_the_first_text'] = $_POST['wc_be_the_first_text'];
|
237 |
-
$this->wc_options_serialized->wc_phrases['wc_header_text'] = $_POST['wc_header_text'];
|
238 |
-
$this->wc_options_serialized->wc_phrases['wc_header_text_plural'] = $_POST['wc_header_text_plural'];
|
239 |
-
$this->wc_options_serialized->wc_phrases['wc_header_on_text'] = $_POST['wc_header_on_text'];
|
240 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_start_text'] = $_POST['wc_comment_start_text'];
|
241 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_join_text'] = $_POST['wc_comment_join_text'];
|
242 |
-
$this->wc_options_serialized->wc_phrases['wc_email_text'] = $_POST['wc_email_text'];
|
243 |
-
$this->wc_options_serialized->wc_phrases['wc_name_text'] = $_POST['wc_name_text'];
|
244 |
-
$this->wc_options_serialized->wc_phrases['wc_website_text'] = $_POST['wc_website_text'];
|
245 |
-
$this->wc_options_serialized->wc_phrases['wc_captcha_text'] = $_POST['wc_captcha_text'];
|
246 |
-
$this->wc_options_serialized->wc_phrases['wc_submit_text'] = $_POST['wc_submit_text'];
|
247 |
-
$this->wc_options_serialized->wc_phrases['wc_manage_subscribtions'] = $_POST['wc_manage_subscribtions'];
|
248 |
-
$this->wc_options_serialized->wc_phrases['wc_notify_none'] = $_POST['wc_notify_none'];
|
249 |
-
$this->wc_options_serialized->wc_phrases['wc_notify_on_new_comment'] = $_POST['wc_notify_on_new_comment'];
|
250 |
-
$this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
|
251 |
-
$this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] = $_POST['wc_notify_on_new_reply'];
|
252 |
-
$this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'] = $_POST['wc_load_more_submit_text'];
|
253 |
-
$this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text'] = $_POST['wc_load_rest_comments_submit_text'];
|
254 |
-
$this->wc_options_serialized->wc_phrases['wc_reply_text'] = $_POST['wc_reply_text'];
|
255 |
-
$this->wc_options_serialized->wc_phrases['wc_share_text'] = $_POST['wc_share_text'];
|
256 |
-
$this->wc_options_serialized->wc_phrases['wc_edit_text'] = $_POST['wc_edit_text'];
|
257 |
-
$this->wc_options_serialized->wc_phrases['wc_share_facebook'] = $_POST['wc_share_facebook'];
|
258 |
-
$this->wc_options_serialized->wc_phrases['wc_share_twitter'] = $_POST['wc_share_twitter'];
|
259 |
-
$this->wc_options_serialized->wc_phrases['wc_share_google'] = $_POST['wc_share_google'];
|
260 |
-
$this->wc_options_serialized->wc_phrases['wc_share_vk'] = $_POST['wc_share_vk'];
|
261 |
-
$this->wc_options_serialized->wc_phrases['wc_share_ok'] = $_POST['wc_share_ok'];
|
262 |
-
$this->wc_options_serialized->wc_phrases['wc_hide_replies_text'] = $_POST['wc_hide_replies_text'];
|
263 |
-
$this->wc_options_serialized->wc_phrases['wc_show_replies_text'] = $_POST['wc_show_replies_text'];
|
264 |
-
$this->wc_options_serialized->wc_phrases['wc_user_title_guest_text'] = $_POST['wc_user_title_guest_text'];
|
265 |
-
$this->wc_options_serialized->wc_phrases['wc_user_title_member_text'] = $_POST['wc_user_title_member_text'];
|
266 |
-
$this->wc_options_serialized->wc_phrases['wc_user_title_author_text'] = $_POST['wc_user_title_author_text'];
|
267 |
-
$this->wc_options_serialized->wc_phrases['wc_user_title_admin_text'] = $_POST['wc_user_title_admin_text'];
|
268 |
-
$this->wc_options_serialized->wc_phrases['wc_email_subject'] = $_POST['wc_email_subject'];
|
269 |
-
$this->wc_options_serialized->wc_phrases['wc_email_message'] = $_POST['wc_email_message'];
|
270 |
-
$this->wc_options_serialized->wc_phrases['wc_new_reply_email_subject'] = $_POST['wc_new_reply_email_subject'];
|
271 |
-
$this->wc_options_serialized->wc_phrases['wc_new_reply_email_message'] = $_POST['wc_new_reply_email_message'];
|
272 |
-
$this->wc_options_serialized->wc_phrases['wc_subscribed_on_comment'] = $_POST['wc_subscribed_on_comment'];
|
273 |
-
$this->wc_options_serialized->wc_phrases['wc_subscribed_on_all_comment'] = $_POST['wc_subscribed_on_all_comment'];
|
274 |
-
$this->wc_options_serialized->wc_phrases['wc_subscribed_on_post'] = $_POST['wc_subscribed_on_post'];
|
275 |
-
$this->wc_options_serialized->wc_phrases['wc_unsubscribe'] = $_POST['wc_unsubscribe'];
|
276 |
-
$this->wc_options_serialized->wc_phrases['wc_ignore_subscription'] = $_POST['wc_ignore_subscription'];
|
277 |
-
$this->wc_options_serialized->wc_phrases['wc_unsubscribe_message'] = $_POST['wc_unsubscribe_message'];
|
278 |
-
$this->wc_options_serialized->wc_phrases['wc_confirm_email'] = $_POST['wc_confirm_email'];
|
279 |
-
$this->wc_options_serialized->wc_phrases['wc_comfirm_success_message'] = $_POST['wc_comfirm_success_message'];
|
280 |
-
$this->wc_options_serialized->wc_phrases['wc_confirm_email_subject'] = $_POST['wc_confirm_email_subject'];
|
281 |
-
$this->wc_options_serialized->wc_phrases['wc_confirm_email_message'] = $_POST['wc_confirm_email_message'];
|
282 |
-
$this->wc_options_serialized->wc_phrases['wc_error_empty_text'] = $_POST['wc_error_empty_text'];
|
283 |
-
$this->wc_options_serialized->wc_phrases['wc_error_email_text'] = $_POST['wc_error_email_text'];
|
284 |
-
$this->wc_options_serialized->wc_phrases['wc_error_url_text'] = $_POST['wc_error_url_text'];
|
285 |
-
$this->wc_options_serialized->wc_phrases['wc_year_text']['datetime'][0] = $_POST['wc_year_text'];
|
286 |
-
$this->wc_options_serialized->wc_phrases['wc_year_text_plural']['datetime'][0] = $_POST['wc_year_text_plural'];
|
287 |
-
$this->wc_options_serialized->wc_phrases['wc_month_text']['datetime'][0] = $_POST['wc_month_text'];
|
288 |
-
$this->wc_options_serialized->wc_phrases['wc_month_text_plural']['datetime'][0] = $_POST['wc_month_text_plural'];
|
289 |
-
$this->wc_options_serialized->wc_phrases['wc_day_text']['datetime'][0] = $_POST['wc_day_text'];
|
290 |
-
$this->wc_options_serialized->wc_phrases['wc_day_text_plural']['datetime'][0] = $_POST['wc_day_text_plural'];
|
291 |
-
$this->wc_options_serialized->wc_phrases['wc_hour_text']['datetime'][0] = $_POST['wc_hour_text'];
|
292 |
-
$this->wc_options_serialized->wc_phrases['wc_hour_text_plural']['datetime'][0] = $_POST['wc_hour_text_plural'];
|
293 |
-
$this->wc_options_serialized->wc_phrases['wc_minute_text']['datetime'][0] = $_POST['wc_minute_text'];
|
294 |
-
$this->wc_options_serialized->wc_phrases['wc_minute_text_plural']['datetime'][0] = $_POST['wc_minute_text_plural'];
|
295 |
-
$this->wc_options_serialized->wc_phrases['wc_second_text']['datetime'][0] = $_POST['wc_second_text'];
|
296 |
-
$this->wc_options_serialized->wc_phrases['wc_second_text_plural']['datetime'][0] = $_POST['wc_second_text_plural'];
|
297 |
-
$this->wc_options_serialized->wc_phrases['wc_right_now_text'] = $_POST['wc_right_now_text'];
|
298 |
-
$this->wc_options_serialized->wc_phrases['wc_ago_text'] = $_POST['wc_ago_text'];
|
299 |
-
$this->wc_options_serialized->wc_phrases['wc_posted_today_text'] = $_POST['wc_posted_today_text'];
|
300 |
-
$this->wc_options_serialized->wc_phrases['wc_you_must_be_text'] = $_POST['wc_you_must_be_text'];
|
301 |
-
$this->wc_options_serialized->wc_phrases['wc_logged_in_as'] = $_POST['wc_logged_in_as'];
|
302 |
-
$this->wc_options_serialized->wc_phrases['wc_log_out'] = $_POST['wc_log_out'];
|
303 |
-
$this->wc_options_serialized->wc_phrases['wc_logged_in_text'] = $_POST['wc_logged_in_text'];
|
304 |
-
$this->wc_options_serialized->wc_phrases['wc_to_post_comment_text'] = $_POST['wc_to_post_comment_text'];
|
305 |
-
$this->wc_options_serialized->wc_phrases['wc_vote_counted'] = $_POST['wc_vote_counted'];
|
306 |
-
$this->wc_options_serialized->wc_phrases['wc_vote_up'] = $_POST['wc_vote_up'];
|
307 |
-
$this->wc_options_serialized->wc_phrases['wc_vote_down'] = $_POST['wc_vote_down'];
|
308 |
-
$this->wc_options_serialized->wc_phrases['wc_held_for_moderate'] = $_POST['wc_held_for_moderate'];
|
309 |
-
$this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'] = $_POST['wc_vote_only_one_time'];
|
310 |
-
$this->wc_options_serialized->wc_phrases['wc_voting_error'] = $_POST['wc_voting_error'];
|
311 |
-
$this->wc_options_serialized->wc_phrases['wc_self_vote'] = $_POST['wc_self_vote'];
|
312 |
-
$this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip'] = $_POST['wc_deny_voting_from_same_ip'];
|
313 |
-
$this->wc_options_serialized->wc_phrases['wc_login_to_vote'] = $_POST['wc_login_to_vote'];
|
314 |
-
$this->wc_options_serialized->wc_phrases['wc_invalid_captcha'] = $_POST['wc_invalid_captcha'];
|
315 |
-
$this->wc_options_serialized->wc_phrases['wc_invalid_field'] = $_POST['wc_invalid_field'];
|
316 |
-
$this->wc_options_serialized->wc_phrases['wc_new_comment_button_text'] = $_POST['wc_new_comment_button_text'];
|
317 |
-
$this->wc_options_serialized->wc_phrases['wc_new_comments_button_text'] = $_POST['wc_new_comments_button_text'];
|
318 |
-
$this->wc_options_serialized->wc_phrases['wc_new_reply_button_text'] = $_POST['wc_new_reply_button_text'];
|
319 |
-
$this->wc_options_serialized->wc_phrases['wc_new_replies_button_text'] = $_POST['wc_new_replies_button_text'];
|
320 |
-
$this->wc_options_serialized->wc_phrases['wc_new_comments_text'] = $_POST['wc_new_comments_text'];
|
321 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_not_updated'] = $_POST['wc_comment_not_updated'];
|
322 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_edit_not_possible'] = $_POST['wc_comment_edit_not_possible'];
|
323 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_not_edited'] = $_POST['wc_comment_not_edited'];
|
324 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_edit_save_button'] = $_POST['wc_comment_edit_save_button'];
|
325 |
-
$this->wc_options_serialized->wc_phrases['wc_comment_edit_cancel_button'] = $_POST['wc_comment_edit_cancel_button'];
|
326 |
-
|
327 |
-
$this->wc_db_helper->update_phrases($this->wc_options_serialized->wc_phrases);
|
328 |
-
}
|
329 |
-
if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
|
330 |
-
$this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
|
331 |
-
}
|
332 |
-
?>
|
333 |
-
<div class="wrap wpdiscuz_options_page">
|
334 |
-
|
335 |
-
<div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
|
336 |
-
<img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/plugin-icon/plugin-icon-48.png'); ?>" style="height:43px;"/>
|
337 |
-
</div>
|
338 |
-
<h2 style="padding-bottom:20px; padding-top:15px;"><?php _e('WpDiscuz Front-end Phrases', WC_Core::$TEXT_DOMAIN); ?></h2>
|
339 |
-
<br style="clear:both" />
|
340 |
-
<form action="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_phrases_page&updated=true" method="post" name="wpdiscuz_phrases_page" class="wc-phrases-settings-form wc-form">
|
341 |
-
<?php
|
342 |
-
if (function_exists('wp_nonce_field')) {
|
343 |
-
wp_nonce_field('wc_phrases_form');
|
344 |
-
}
|
345 |
-
?>
|
346 |
-
<div id="parentHorizontalTab1">
|
347 |
-
<ul class="resp-tabs-list hor_2">
|
348 |
-
<li><?php _e('General', WC_Core::$TEXT_DOMAIN); ?></li>
|
349 |
-
<li><?php _e('Form', WC_Core::$TEXT_DOMAIN); ?></li>
|
350 |
-
<li><?php _e('Comment', WC_Core::$TEXT_DOMAIN); ?></li>
|
351 |
-
<li><?php _e('Date/Time', WC_Core::$TEXT_DOMAIN); ?></li>
|
352 |
-
<li><?php _e('Email', WC_Core::$TEXT_DOMAIN); ?></li>
|
353 |
-
<li><?php _e('Notification', WC_Core::$TEXT_DOMAIN); ?></li>
|
354 |
-
</ul>
|
355 |
-
<div class="resp-tabs-container hor_2">
|
356 |
-
<?php include 'phrases-layout/phrases-general.php'; ?>
|
357 |
-
<?php include 'phrases-layout/phrases-form.php'; ?>
|
358 |
-
<?php include 'phrases-layout/phrases-comment.php'; ?>
|
359 |
-
<?php include 'phrases-layout/phrases-datetime.php'; ?>
|
360 |
-
<?php include 'phrases-layout/phrases-email.php'; ?>
|
361 |
-
<?php include 'phrases-layout/phrases-notification.php'; ?>
|
362 |
-
</div>
|
363 |
-
</div>
|
364 |
-
<script type="text/javascript">
|
365 |
-
jQuery(document).ready(function ($) {
|
366 |
-
//Horizontal Tab
|
367 |
-
$('#parentHorizontalTab1').easyResponsiveTabs({
|
368 |
-
type: 'default', //Types: default, vertical, accordion
|
369 |
-
width: 'auto', //auto or any width like 600px
|
370 |
-
fit: true, // 100% fit in a container
|
371 |
-
tabidentify: 'hor_2', // The tab groups identifier
|
372 |
-
});
|
373 |
-
});
|
374 |
-
</script>
|
375 |
-
<table class="form-table wc-form-table">
|
376 |
-
<tbody>
|
377 |
-
<tr valign="top">
|
378 |
-
<td colspan="4">
|
379 |
-
<p class="submit">
|
380 |
-
<input type="submit" class="button button-primary" name="wc_submit_phrases" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
|
381 |
-
</p>
|
382 |
-
</td>
|
383 |
-
</tr>
|
384 |
-
<input type="hidden" name="action" value="update" />
|
385 |
-
</tbody>
|
386 |
-
</table>
|
387 |
-
</form>
|
388 |
-
|
389 |
-
</div>
|
390 |
-
<?php
|
391 |
-
}
|
392 |
-
|
393 |
-
}
|
394 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,19 +1,20 @@
|
|
1 |
-
=== wpDiscuz -
|
2 |
Contributors: gVectors Team
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
|
4 |
-
Tags: wordpress comments, ajax comments, ajax, live update,
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
New interactive, AJAX comment system.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
New interactive, AJAX comment system.
|
16 |
|
|
|
17 |
|
18 |
**wpDiscuz Features:**
|
19 |
|
@@ -32,8 +33,9 @@ New interactive, AJAX comment system. Responsive comment plugin with Live Update
|
|
32 |
* | Responsive comments form and comment threads design
|
33 |
* | Clean, simple and easy user interface and user experience
|
34 |
* | Live update of new comments with notifier buttons
|
|
|
35 |
* | Anonymous comments ( name and email can be set as not required )
|
36 |
-
* | Social Network Login
|
37 |
* | Multi-level (nested) comment threads, with maximum levels depth setting option
|
38 |
* | Allows to create a new discussion thread and reply to existing comment
|
39 |
* | Ajax button "Load More Comments" instead of simple comments pagination
|
@@ -77,6 +79,8 @@ New interactive, AJAX comment system. Responsive comment plugin with Live Update
|
|
77 |
* | Option to manage reply/share/vote link colors
|
78 |
* | Front-end phrase managing options, you'll be able to translate or change all phrases
|
79 |
|
|
|
|
|
80 |
This comment system is also available for WooCommerce, Plugin name is WooDiscuz:
|
81 |
https://wordpress.org/plugins/woodiscuz-woocommerce-comments/
|
82 |
|
@@ -88,6 +92,8 @@ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz u
|
|
88 |
1. Upload plugin folder to the '/wp-content/plugins/' directory,
|
89 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
90 |
|
|
|
|
|
91 |
== Frequently Asked Questions ==
|
92 |
|
93 |
**IMPORTANT**
|
@@ -99,6 +105,9 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
|
|
99 |
|
100 |
= Q&A =
|
101 |
|
|
|
|
|
|
|
102 |
* QUESTION: Does it fully replace the current comment system? That in this case what happens to old comments?
|
103 |
* ANSWER: wpDiscuz changes default comment system to a new interactive system and shows all old comments, nothing will be lost.
|
104 |
|
@@ -118,18 +127,103 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
|
|
118 |
|
119 |
== Screenshots ==
|
120 |
|
121 |
-
1. wpDiscuz
|
122 |
-
2. wpDiscuz
|
123 |
-
3.
|
124 |
-
4.
|
125 |
-
5.
|
126 |
-
6.
|
127 |
-
7.
|
128 |
-
8. wpDiscuz
|
|
|
129 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
= 2.2.0 =
|
134 |
* Added: Social Network Login:
|
135 |
Facebook, Google, Twitter, Wordpress, Vkontakte, Mail.ru, Yandex, Odnoklassniki, 500px, Windows Live, Yahoo!, LinkedIn, Reddit, Disqus, Tumblr, Stackoverflow, GitHub, Dribbble, Instagram, Foursquare, Steam, Twitch.tv, Mixi, Goodreads, Skyrock, Last.fm, AOL and PixelPin.
|
@@ -142,8 +236,6 @@ Integrated with WordPress Social Login, Super Socializer and Social Connect plug
|
|
142 |
* Fixed Bug: Issues with comment editing
|
143 |
* Fixed Bug: Custom "Phrases" fail to display if apostrophes are used
|
144 |
|
145 |
-
IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.
|
146 |
-
|
147 |
= 2.1.10 =
|
148 |
* Fixed Bug: First comment redirection without setting the destination page
|
149 |
|
@@ -170,7 +262,7 @@ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz u
|
|
170 |
|
171 |
= 2.1.5 =
|
172 |
* Fixed Bug: Problems with email notifications
|
173 |
-
* Fixed Bug: Empty name of
|
174 |
* Added: RTL Support (for right to left languages)
|
175 |
* Added: Option to set form fields border color
|
176 |
* Added: Additional phrases for plural form
|
@@ -196,7 +288,7 @@ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz u
|
|
196 |
* Added : Integration with UserPro - User badges under comment author avatar
|
197 |
* Added : Integration with Postmatic for subscriptions and commenting by email
|
198 |
* Added : Persian (fa_IR) language, thanks to Vahid (VSG24)
|
199 |
-
* Added : Russian (ru_RU) language, thanks to OlafKS
|
200 |
* Added : Close pop-up messages by clicking outside of message-box
|
201 |
* Added : Scroll-down to comment are on clicking comments/replies link
|
202 |
* Added : Filter hooks on email fields
|
1 |
+
=== wpDiscuz - Supercharged native comments ===
|
2 |
Contributors: gVectors Team
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
|
4 |
+
Tags: wordpress comments, ajax comments, ajax, live update, live comments, realtime chat, chat, realtime commenting, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jatpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
|
5 |
+
Requires at least: 3.1
|
6 |
+
Tested up to: 4.3.1
|
7 |
+
Stable tag: 3.0.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens features.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens features. This is the best Disqus alternative, if you want to keep your comments in your database. wpDiscuz also the best alternative to Livefyre, Jatpack and Facebook comments.
|
16 |
|
17 |
+
wpDiscuz 3.0 and all future 3.x versions have been named as Supercharged. It's super fast and perfectly optimized. wpDiscuz 3 version is dozens of times faster than 1.x and 2.x versions. The Supercharged version supports millions of comments per post, so the number of comments doesn't matter anymore. You can use wpDiscuz for extremely large and active websites without any worry.
|
18 |
|
19 |
**wpDiscuz Features:**
|
20 |
|
33 |
* | Responsive comments form and comment threads design
|
34 |
* | Clean, simple and easy user interface and user experience
|
35 |
* | Live update of new comments with notifier buttons
|
36 |
+
* | Comment list sorting by newest, oldest and most voted comments
|
37 |
* | Anonymous comments ( name and email can be set as not required )
|
38 |
+
* | Full integration with Social Network Login plugins (Facebook, Twitter...)
|
39 |
* | Multi-level (nested) comment threads, with maximum levels depth setting option
|
40 |
* | Allows to create a new discussion thread and reply to existing comment
|
41 |
* | Ajax button "Load More Comments" instead of simple comments pagination
|
79 |
* | Option to manage reply/share/vote link colors
|
80 |
* | Front-end phrase managing options, you'll be able to translate or change all phrases
|
81 |
|
82 |
+
wpDiscuz Documentation: http://wpdiscuz.com/wpdiscuz-documentation/
|
83 |
+
|
84 |
This comment system is also available for WooCommerce, Plugin name is WooDiscuz:
|
85 |
https://wordpress.org/plugins/woodiscuz-woocommerce-comments/
|
86 |
|
92 |
1. Upload plugin folder to the '/wp-content/plugins/' directory,
|
93 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
94 |
|
95 |
+
If your're updating from wpDiscuz 1.x or from 2.x you should do one-time data optimization of existing comments. Go to Dashboard > Comments > wpDiscuz Settings > Comments Optimization Tab and click on [Supercharge my comments] button and wait for 100% result. All new comments will be automatically optimized. This process doesn't affect any data, it doesn't re-store comments in different tables, it just collects comments thread hierarchy and relationship information.
|
96 |
+
|
97 |
== Frequently Asked Questions ==
|
98 |
|
99 |
**IMPORTANT**
|
105 |
|
106 |
= Q&A =
|
107 |
|
108 |
+
wpDiscuz Documentation: http://wpdiscuz.com/wpdiscuz-documentation/
|
109 |
+
|
110 |
+
|
111 |
* QUESTION: Does it fully replace the current comment system? That in this case what happens to old comments?
|
112 |
* ANSWER: wpDiscuz changes default comment system to a new interactive system and shows all old comments, nothing will be lost.
|
113 |
|
127 |
|
128 |
== Screenshots ==
|
129 |
|
130 |
+
1. wpDiscuz comment list for non-logged in user Screenshot #1
|
131 |
+
2. wpDiscuz comment list for guests and user role label coloring Screenshot #2
|
132 |
+
3. wpDiscuz ajax comment form with social login buttons Screenshot #3
|
133 |
+
4. Live Update: checks for new comments and shows update buttons #4
|
134 |
+
5. Comment editing #5
|
135 |
+
6. Super responsive on all kind of devices, different layouts on smartphones, tabs and desktop, #6
|
136 |
+
7. wpDiscuz comment form on tab and smartphone #7
|
137 |
+
8. wpDiscuz comment list on tab and smartphone #8
|
138 |
+
9. wpDiscuz Settings #9
|
139 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 3.0.0 Supercharged Comments =
|
144 |
+
|
145 |
+
IMPORTANT: If your're updating from wpDiscuz 1.x or from 2.x you should do one-time data optimization of existing comments. It doesn't load comments if those are not optimized. Please Go to Dashboard > Comments > wpDiscuz Settings > Comments Optimization Tab and click on [Supercharge my comments] button and wait for 100% result. All new comments will be automatically optimized. This process doesn't affect any data, it doesn't re-store comments in different tables, it just collects comments thread hierarchy and relationship information.
|
146 |
+
IMPORTANT: If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
|
147 |
+
|
148 |
+
* Boosted: Supports dozens of thousands comments per post (tested with 50k/per post)
|
149 |
+
* Аccelerated: First page load x10 faster (for >100 comments)
|
150 |
+
* Аccelerated: Load more comments (button) x12 faster (for >100 comments)
|
151 |
+
* Аccelerated: Live Update x20 faster (for >100 new comments)
|
152 |
+
* Аccelerated: Commenting x2 faster
|
153 |
+
* Аccelerated: Voting x2 faster
|
154 |
+
* Optimized: SQL queries are x10 less
|
155 |
+
* Optimized: Memory usage x6 less
|
156 |
+
* Optimized: Better SEO with AJAX crawling technology for Search Engine Bots
|
157 |
+
* Added: Fully CDN and cache compatible
|
158 |
+
* Added: Super responsive on different screen sizes (intuitive multi-layout design)
|
159 |
+
* Added: Comment list sorting buttons (newest, oldest, most voted)
|
160 |
+
* Added: Simple pagination [1][2]..[>]
|
161 |
+
* Added: Separate subscribe to comments/replies bar
|
162 |
+
* Added: Icon to get individual comment URL
|
163 |
+
* Added: 100% integrated with WordPress native comments settings
|
164 |
+
* Added: Option - Comment text min length
|
165 |
+
* Added: Option - Comment text max length
|
166 |
+
* Added: Option - Comment editing for unlimited time
|
167 |
+
* Added: Option - Manage share buttons individually
|
168 |
+
* Added: Option - Manage user role label and username colors individually
|
169 |
+
* Added: Option - Disable subscription confirmation for registered users
|
170 |
+
* Added: Option - Disable live update for guests
|
171 |
+
* Fixed: Lots of bugs...
|
172 |
+
|
173 |
+
More information here: http://wpdiscuz.com/wpdiscuz-3-0-0/
|
174 |
+
|
175 |
+
= 2.2.10 =
|
176 |
+
* Fixed Bug : Manage subscriptions issue
|
177 |
+
|
178 |
+
= 2.2.9 =
|
179 |
+
* Fixed Bug : RTL issues
|
180 |
+
* Added : Compatibility with Super Socializer social comments (tabbed comment systems)
|
181 |
+
* Added : Option to turn on/off loading of wpDiscuz JS and CSS files on home page
|
182 |
+
|
183 |
+
= 2.2.8 =
|
184 |
+
* Added : French (fr_FR) translation, thanks to Eric Malalel
|
185 |
+
* Fixed Bug : You do not have sufficient permissions to access WP Super Socializer setting page
|
186 |
+
* Compatibility : To make "Comments Evolved for WordPress" plugin compatible with wpDiscuz please read this support topic: https://wordpress.org/support/topic/add-compatibility-with-plugin-comments-evolved?replies=7#post-7255442
|
187 |
+
|
188 |
+
= 2.2.7 =
|
189 |
+
* Fixed Bug : Slashes removing issue
|
190 |
+
* Fixed Bug : JavaScript Uncaught TypeError issue
|
191 |
+
|
192 |
+
= 2.2.6 =
|
193 |
+
* Added: Supports "Social Login" Plugin
|
194 |
+
* Added: Redirection to current page after login/logout
|
195 |
+
* Fixed Bug: Super Socializer comment author avatar problem
|
196 |
+
* Fixed Bug: Author website URL rel="nofollow"
|
197 |
+
* Fixed Bug: Other small bugs
|
198 |
+
|
199 |
+
= 2.2.5 =
|
200 |
+
* Fixed Bug: Comment author profile image issue when using Gravatar
|
201 |
+
* Fixed Bug: Conditional php session start (optimized).
|
202 |
+
|
203 |
+
= 2.2.4 =
|
204 |
+
* Fixed Bug: CSS/Layout issue. Breaks some theme layout.
|
205 |
+
|
206 |
+
= 2.2.3 =
|
207 |
+
* Added: Option to hide/show user avatars on comment form and list
|
208 |
+
* Added: Option to hide/show comment form header text
|
209 |
+
* Added: Option to set maximum character limit for comment text
|
210 |
+
* Added: Option to enable .po/.mo translation files for mult-language sites
|
211 |
+
* Added: Allowed new HTML tags (blockquote, ul, ol, li, code, em, abbr...)
|
212 |
+
* Fixed Bug: Avatar duplication on reply form
|
213 |
+
* Fixed Bug: Author display name update when it changed on UM profile page
|
214 |
+
* Fixed Bug: 404 error on clicking subscription confirmation link
|
215 |
+
* Fixed Bug: Email validation issue with .info and other TLD with more than 3 chars
|
216 |
+
|
217 |
+
= 2.2.2 =
|
218 |
+
* Fixed Bug: Some phrases were not translate-able
|
219 |
+
* Fixed Bug: Social Network Avatar display problem
|
220 |
+
* Fixed Bug: Issues with site layout, website field and Facebook login button
|
221 |
+
* Fixed Bug: Error message "URL is invalid" for Website URLs starting with http://
|
222 |
+
* Fixed Bug: Unlimited voting issue for guests
|
223 |
+
|
224 |
+
= 2.2.1 =
|
225 |
+
* Fixed Bug: Front-end Phrases don't suport Special Characters
|
226 |
+
|
227 |
= 2.2.0 =
|
228 |
* Added: Social Network Login:
|
229 |
Facebook, Google, Twitter, Wordpress, Vkontakte, Mail.ru, Yandex, Odnoklassniki, 500px, Windows Live, Yahoo!, LinkedIn, Reddit, Disqus, Tumblr, Stackoverflow, GitHub, Dribbble, Instagram, Foursquare, Steam, Twitch.tv, Mixi, Goodreads, Skyrock, Last.fm, AOL and PixelPin.
|
236 |
* Fixed Bug: Issues with comment editing
|
237 |
* Fixed Bug: Custom "Phrases" fail to display if apostrophes are used
|
238 |
|
|
|
|
|
239 |
= 2.1.10 =
|
240 |
* Fixed Bug: First comment redirection without setting the destination page
|
241 |
|
262 |
|
263 |
= 2.1.5 =
|
264 |
* Fixed Bug: Problems with email notifications
|
265 |
+
* Fixed Bug: Empty name of anonymous comments
|
266 |
* Added: RTL Support (for right to left languages)
|
267 |
* Added: Option to set form fields border color
|
268 |
* Added: Additional phrases for plural form
|
288 |
* Added : Integration with UserPro - User badges under comment author avatar
|
289 |
* Added : Integration with Postmatic for subscriptions and commenting by email
|
290 |
* Added : Persian (fa_IR) language, thanks to Vahid (VSG24)
|
291 |
+
* Added : Russian (ru_RU) language, thanks to OlafKS and Stanislav
|
292 |
* Added : Close pop-up messages by clicking outside of message-box
|
293 |
* Added : Scroll-down to comment are on clicking comments/replies link
|
294 |
* Added : Filter hooks on email fields
|
templates/comment/class.WpdiscuzTemplateBuilder.php
ADDED
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WpdiscuzTemplateBuilder {
|
4 |
+
|
5 |
+
private $helper;
|
6 |
+
private $optimizationHelper;
|
7 |
+
private $dbManager;
|
8 |
+
private $options;
|
9 |
+
private $optionsSerialized;
|
10 |
+
|
11 |
+
function __construct($helper, $optimizationHelper, $dbManager, $options, $optionsSerialized) {
|
12 |
+
$this->helper = $helper;
|
13 |
+
$this->optimizationHelper = $optimizationHelper;
|
14 |
+
$this->dbManager = $dbManager;
|
15 |
+
$this->options = $options;
|
16 |
+
$this->optionsSerialized = $optionsSerialized;
|
17 |
+
add_action('plugins_loaded', array(&$this->optionsSerialized, 'initPhrasesOnLoad'), 2129);
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @param type $comment the current comment object
|
22 |
+
* @param type $args
|
23 |
+
* @return single comment template
|
24 |
+
*/
|
25 |
+
public function getCommentTemplate($comment, $args, $depth) {
|
26 |
+
global $current_user;
|
27 |
+
get_currentuserinfo();
|
28 |
+
$commentContent = wp_kses($comment->comment_content, $this->helper->wc_allowed_tags);
|
29 |
+
$commentContent = $this->helper->makeClickable($commentContent);
|
30 |
+
$commentContent = apply_filters('comment_text', $commentContent, $comment, $args);
|
31 |
+
$commentContent .= $comment->comment_approved == 0 ? '<p class="wc_held_for_moderate">' . $this->optionsSerialized->phrases['wc_held_for_moderate'] . '</p>' : '';
|
32 |
+
$hideAvatarStyle = $this->optionsSerialized->wordpressShowAvatars ? '' : 'style = "margin-left : 0;"';
|
33 |
+
$hideReplyHtml = '';
|
34 |
+
$commentWrapperClass = '';
|
35 |
+
if ($this->optionsSerialized->wordpressIsPaginate && $comment->comment_parent) {
|
36 |
+
$rootComment = $this->optimizationHelper->getCommentRoot($comment->comment_parent);
|
37 |
+
}
|
38 |
+
if (isset($args['new_loaded_class'])) {
|
39 |
+
$commentWrapperClass .= $args['new_loaded_class'] . ' ';
|
40 |
+
$depth = 1;
|
41 |
+
if ($args['isSingle']) {
|
42 |
+
$commentWrapperClass .= ' wpdiscuz_single ';
|
43 |
+
} else {
|
44 |
+
$depth = $this->optimizationHelper->getCommentDepth($comment->comment_ID);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
$user = get_user_by('id', $comment->user_id);
|
48 |
+
$commentAuthorUrl = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url;
|
49 |
+
$commentAuthorUrl = esc_url($commentAuthorUrl, array('http', 'https'));
|
50 |
+
$commentAuthorUrl = apply_filters('get_comment_author_url', $commentAuthorUrl, $comment->comment_ID, $comment);
|
51 |
+
if ($user) {
|
52 |
+
$userInfo = get_userdata($comment->user_id);
|
53 |
+
$commentAuthorUrl = $commentAuthorUrl ? $commentAuthorUrl : $user->user_url;
|
54 |
+
$post = get_post($comment->comment_post_ID);
|
55 |
+
if ($user->ID == $post->post_author) {
|
56 |
+
$authorClass = 'wc-blog-post_author';
|
57 |
+
$author_title = $this->optionsSerialized->phrases['wc_user_title_author_text'];
|
58 |
+
} else {
|
59 |
+
$authorClass = $userInfo->roles ? 'wc-blog-' . $userInfo->roles[0] : 'wc-blog-member';
|
60 |
+
$author_title = $this->optionsSerialized->phrases['wc_user_title_member_text'];
|
61 |
+
}
|
62 |
+
} else {
|
63 |
+
$authorClass = 'wc-blog-guest';
|
64 |
+
$author_title = $this->optionsSerialized->phrases['wc_user_title_guest_text'];
|
65 |
+
}
|
66 |
+
|
67 |
+
if ($this->optionsSerialized->simpleCommentDate) {
|
68 |
+
$dateFormat = $this->optionsSerialized->wordpressDateFormat;
|
69 |
+
$timeFormat = $this->optionsSerialized->wordpressTimeFormat;
|
70 |
+
if (wpdiscuzHelper::isPostedToday($comment)) {
|
71 |
+
$posted_date = $this->optionsSerialized->phrases['wc_posted_today_text'] . ' ' . mysql2date($timeFormat, $comment->comment_date);
|
72 |
+
} else {
|
73 |
+
$posted_date = get_comment_date($dateFormat . ' ' . $timeFormat, $comment->comment_ID);
|
74 |
+
}
|
75 |
+
} else {
|
76 |
+
$posted_date = $this->helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 2);
|
77 |
+
}
|
78 |
+
|
79 |
+
$replyText = $this->optionsSerialized->phrases['wc_reply_text'];
|
80 |
+
$shareText = $this->optionsSerialized->phrases['wc_share_text'];
|
81 |
+
if (isset($rootComment) && $rootComment->comment_approved != 1) {
|
82 |
+
$commentWrapperClass .= 'wc-comment';
|
83 |
+
} else {
|
84 |
+
$commentWrapperClass .= ($comment->comment_parent && $this->optionsSerialized->wordpressThreadComments) && !$args['isSingle'] ? 'wc-comment wc-reply' : 'wc-comment';
|
85 |
+
$hideReplyHtml = '<span class="wc-toggle" style="display:block;">' . $this->optionsSerialized->phrases['wc_hide_replies_text'] . ' ∧' . '</span>';
|
86 |
+
}
|
87 |
+
$voteCount = isset($comment->meta_value) ? $comment->meta_value : 0;
|
88 |
+
$unique_id = $comment->comment_ID . '_' . $comment->comment_parent;
|
89 |
+
|
90 |
+
$authorName = $this->getAuthorName($comment);
|
91 |
+
$profileUrl = $this->getProfileUrl($user);
|
92 |
+
|
93 |
+
if ($profileUrl) {
|
94 |
+
$commentAuthorAvatar = "<a href='$profileUrl'>" . $this->helper->getCommentAuthorAvatar($comment) . "</a>";
|
95 |
+
} else {
|
96 |
+
$commentAuthorAvatar = $this->helper->getCommentAuthorAvatar($comment);
|
97 |
+
}
|
98 |
+
|
99 |
+
if ($commentAuthorUrl) {
|
100 |
+
$authorName = "<a rel='nofollow' href='$commentAuthorUrl'>" . $authorName . "</a>";
|
101 |
+
} else {
|
102 |
+
if ($profileUrl) {
|
103 |
+
$authorName = "<a href='$profileUrl'>" . $authorName . "</a>";
|
104 |
+
}
|
105 |
+
}
|
106 |
+
|
107 |
+
$childCommentsCount = $this->dbManager->getCommentsCountByParentId($comment->comment_ID);
|
108 |
+
|
109 |
+
if (!$this->optionsSerialized->isGuestCanVote && !is_user_logged_in()) {
|
110 |
+
$voteClass = ' wc_tooltipster';
|
111 |
+
$voteTitleText = $this->optionsSerialized->phrases['wc_login_to_vote'];
|
112 |
+
$voteUp = $voteTitleText;
|
113 |
+
$voteDown = $voteTitleText;
|
114 |
+
} else {
|
115 |
+
$voteClass = ' wc_vote wc_tooltipster';
|
116 |
+
$voteUp = $this->optionsSerialized->phrases['wc_vote_up'];
|
117 |
+
$voteDown = $this->optionsSerialized->phrases['wc_vote_down'];
|
118 |
+
}
|
119 |
+
|
120 |
+
$commentContentClass = '';
|
121 |
+
$output = '<div id="wc-comm-' . $unique_id . '" class="' . $commentWrapperClass . ' ' . $authorClass . ' wc_comment_level-' . $depth . '">';
|
122 |
+
if ($this->optionsSerialized->wordpressShowAvatars) {
|
123 |
+
$output .= '<div class="wc-comment-left">' . $commentAuthorAvatar;
|
124 |
+
if (!$this->optionsSerialized->authorTitlesShowHide) {
|
125 |
+
$output .= '<div class="' . $authorClass . ' wc-comment-label">' . $author_title . '</div>';
|
126 |
+
}
|
127 |
+
if (class_exists('userpro_api') && $comment->user_id) {
|
128 |
+
$output .= userpro_show_badges($comment->user_id, $inline = true);
|
129 |
+
}
|
130 |
+
$output .= '</div>';
|
131 |
+
}
|
132 |
+
$commentLink = get_comment_link($comment);
|
133 |
+
$output .= '<div id="comment-' . $comment->comment_ID . '" class="wc-comment-right ' . $commentContentClass . '" ' . $hideAvatarStyle . '>';
|
134 |
+
$output .= '<div class="wc-comment-header"><div class="wc-comment-author">' . $authorName . '</div><div class="wc-comment-link"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/icon-link.gif') . '" class="wc-comment-img-link" title="<input type="text" class="wc-comment-link-input" value="' . $commentLink . '" />" /></div><div class="wc-comment-date">' . $posted_date . '</div><div style="clear:right"></div></div>';
|
135 |
+
$output .= '<div class="wc-comment-text">' . $commentContent . '</div>';
|
136 |
+
if ($comment->comment_approved == '1') {
|
137 |
+
$output .= '<div class="wc-comment-footer">';
|
138 |
+
if (!$this->optionsSerialized->votingButtonsShowHide) {
|
139 |
+
$output .= '<div class="wc-vote-result">' . $voteCount . '</div>';
|
140 |
+
$output .= ' <span class="wc-vote-link wc-up ' . $voteClass . '" title="' . $voteUp . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/thumbs-up.png') . '" align="absmiddle" class="wc-vote-img-up" /></span> | <span class="wc-vote-link wc-down ' . $voteClass . '" title="' . $voteDown . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/thumbs-down.png') . '" align="absmiddle" class="wc-vote-img-down" /></span> ';
|
141 |
+
}
|
142 |
+
|
143 |
+
if (comments_open($comment->comment_post_ID) && $this->optionsSerialized->wordpressThreadComments) {
|
144 |
+
if ($this->optionsSerialized->wordpressCommentRegistration) {
|
145 |
+
if (!$this->optionsSerialized->replyButtonMembersShowHide && is_user_logged_in()) {
|
146 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
147 |
+
} else if (in_array('administrator', $current_user->roles)) {
|
148 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
149 |
+
}
|
150 |
+
} else {
|
151 |
+
if (!$this->optionsSerialized->replyButtonMembersShowHide && !$this->optionsSerialized->replyButtonGuestsShowHide) {
|
152 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
153 |
+
} else if (!$this->optionsSerialized->replyButtonMembersShowHide && is_user_logged_in()) {
|
154 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
155 |
+
} else if (!$this->optionsSerialized->replyButtonGuestsShowHide && !is_user_logged_in()) {
|
156 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
157 |
+
} else if (in_array('administrator', $current_user->roles)) {
|
158 |
+
$output .= ' <span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> ';
|
159 |
+
}
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
+
if ($this->optionsSerialized->shareButtons) {
|
164 |
+
$output .= '- <span class="wc-share-link" title="' . $shareText . '">' . $shareText . '</span> ';
|
165 |
+
|
166 |
+
$twitt_content = strip_tags($commentContent) . ' ' . $commentLink;
|
167 |
+
|
168 |
+
$output .= '<span class="share_buttons_box">';
|
169 |
+
$output .= in_array('fb', $this->optionsSerialized->shareButtons) ? '<a target="_blank" href="http://www.facebook.com/sharer.php" title="' . $this->optionsSerialized->phrases['wc_share_facebook'] . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/fb-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/fb-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/fb-18x18.png') . '\'"/></a> ' : '';
|
170 |
+
$output .= in_array('twitter', $this->optionsSerialized->shareButtons) ? '<a target="_blank" href="https://twitter.com/home?status=' . $twitt_content . '" title="' . $this->optionsSerialized->phrases['wc_share_twitter'] . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/twitter-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/twitter-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/twitter-18x18.png') . '\'"/></a> ' : '';
|
171 |
+
$output .= in_array('google', $this->optionsSerialized->shareButtons) ? '<a target="_blank" href="https://plus.google.com/share?url=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->optionsSerialized->phrases['wc_share_google'] . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/google-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/google-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/google-18x18.png') . '\'"/></a> ' : '';
|
172 |
+
$output .= in_array('vk', $this->optionsSerialized->shareButtons) ? '<a target="_blank" href="http://vk.com/share.php?url=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->optionsSerialized->phrases['wc_share_vk'] . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/vk-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/vk-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/vk-18x18.png') . '\'"/></a> ' : '';
|
173 |
+
$output .= in_array('ok', $this->optionsSerialized->shareButtons) ? '<a target="_blank" href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=' . get_permalink($comment->comment_post_ID) . '" title="' . $this->optionsSerialized->phrases['wc_share_ok'] . '"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/ok-18x18.png') . '" onmouseover="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/ok-18x18-orig.png') . '\'" onmouseout="this.src=\'' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/social-icons/ok-18x18.png') . '\'"/></a> ' : '';
|
174 |
+
$output .= '</span>';
|
175 |
+
}
|
176 |
+
|
177 |
+
if (current_user_can('edit_comment', $comment->comment_ID)) {
|
178 |
+
$output .= '- <a href="' . get_edit_comment_link($comment->comment_ID) . '">' . __('Edit', 'default') . '</a>';
|
179 |
+
} else {
|
180 |
+
$isEditable = $this->optionsSerialized->commentEditableTime == 'unlimit' ? true : $this->helper->isCommentEditable($comment);
|
181 |
+
if ($current_user->ID && $current_user->ID == $comment->user_id && $isEditable) {
|
182 |
+
$output .= '<span class="wc_editable_comment">- ' . $this->optionsSerialized->phrases['wc_edit_text'] . '</span>';
|
183 |
+
$output .= '<span class="wc_cancel_edit">- ' . $this->optionsSerialized->phrases['wc_comment_edit_cancel_button'] . '</span>';
|
184 |
+
$output .= '<span class="wc_save_edited_comment" style="display:none;"> - ' . $this->optionsSerialized->phrases['wc_comment_edit_save_button'] . '</span>';
|
185 |
+
}
|
186 |
+
}
|
187 |
+
|
188 |
+
if ($childCommentsCount && $depth < $this->optionsSerialized->wordpressThreadCommentsDepth && $this->optionsSerialized->wordpressThreadComments) {
|
189 |
+
$output .= $hideReplyHtml;
|
190 |
+
}
|
191 |
+
$output .= '</div>';
|
192 |
+
}
|
193 |
+
$output .= '</div>';
|
194 |
+
$output .= '<div class="wpdiscuz-comment-message"></div>';
|
195 |
+
$output .= '<div id="wpdiscuz_form_anchor-' . $unique_id . '" style="clear:both"></div>';
|
196 |
+
return $output;
|
197 |
+
}
|
198 |
+
|
199 |
+
/**
|
200 |
+
*
|
201 |
+
* get profile url
|
202 |
+
*/
|
203 |
+
private function getProfileUrl($user) {
|
204 |
+
$wc_profile_url = '';
|
205 |
+
$wc_profile_url_filter = '';
|
206 |
+
if ($user) {
|
207 |
+
if (class_exists('BuddyPress')) {
|
208 |
+
$wc_profile_url = bp_core_get_user_domain($user->ID);
|
209 |
+
} else if (class_exists('XooUserUltra')) {
|
210 |
+
global $xoouserultra;
|
211 |
+
$wc_profile_url = $xoouserultra->userpanel->get_user_profile_permalink($user->ID);
|
212 |
+
} else if (class_exists('userpro_api')) {
|
213 |
+
global $userpro;
|
214 |
+
$wc_profile_url = $userpro->permalink($user->ID);
|
215 |
+
} else if (class_exists('UM_API')) {
|
216 |
+
um_fetch_user($user->ID);
|
217 |
+
$wc_profile_url = um_user_profile_url();
|
218 |
+
} else {
|
219 |
+
if (count_user_posts($user->ID)) {
|
220 |
+
$wc_profile_url = get_author_posts_url($user->ID);
|
221 |
+
}
|
222 |
+
}
|
223 |
+
$user_id = $user->ID;
|
224 |
+
$wc_profile_url_data = apply_filters('wpdiscuz_profile_url', array('user_id' => $user_id, 'permalink' => ''));
|
225 |
+
|
226 |
+
$wc_profile_url_filter = $wc_profile_url_data['permalink'];
|
227 |
+
}
|
228 |
+
|
229 |
+
return $wc_profile_url_filter ? $wc_profile_url_filter : $wc_profile_url;
|
230 |
+
}
|
231 |
+
|
232 |
+
public function getAuthorName($comment) {
|
233 |
+
if (class_exists('UM_API') && isset($comment->user_id) && $comment->user_id) {
|
234 |
+
um_fetch_user($comment->user_id);
|
235 |
+
$author_name = um_user('display_name');
|
236 |
+
um_reset_user();
|
237 |
+
} else if (isset($comment->user_id) && $comment->user_id) {
|
238 |
+
$author_name = get_the_author_meta('display_name', $comment->user_id);
|
239 |
+
$author_name = $author_name ? $author_name : get_the_author_meta('user_nicename', $comment->user_id);
|
240 |
+
} else {
|
241 |
+
$author_name = $comment->comment_author ? $comment->comment_author : __('Anonymous', 'wpdiscuz');
|
242 |
+
}
|
243 |
+
return $author_name;
|
244 |
+
}
|
245 |
+
}
|
templates/comment/comment-form.php
ADDED
@@ -0,0 +1,276 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit();
|
4 |
+
}
|
5 |
+
global $wpdiscuz, $post, $current_user;
|
6 |
+
get_currentuserinfo();
|
7 |
+
$wpdiscuz->optionsSerialized->initPhrasesOnLoad();
|
8 |
+
$commentsCount = $wpdiscuz->dbManager->getCommentsCount($post->ID);
|
9 |
+
$savedLastCommentId = get_option(WpdiscuzCore::OPTION_SLUG_OPTIMIZED_LAST_COMMENT_ID);
|
10 |
+
$header_text = '<span class="wc_header_text_count">' . $commentsCount . '</span> ';
|
11 |
+
$header_text .= ($commentsCount > 1) ? $wpdiscuz->optionsSerialized->phrases['wc_header_text_plural'] : $wpdiscuz->optionsSerialized->phrases['wc_header_text'];
|
12 |
+
$header_text .= ' ' . $wpdiscuz->optionsSerialized->phrases['wc_header_on_text'];
|
13 |
+
$header_text .= ' "' . get_the_title($post) . '"';
|
14 |
+
|
15 |
+
$wc_is_name_field_required = ($wpdiscuz->optionsSerialized->isNameFieldRequired) ? 'required="required"' : '';
|
16 |
+
$wc_is_email_field_required = ($wpdiscuz->optionsSerialized->isEmailFieldRequired) ? 'required="required"' : '';
|
17 |
+
|
18 |
+
$ob_stat = ini_get('output_buffering');
|
19 |
+
if ($ob_stat || $ob_stat === '') {
|
20 |
+
$wc_ob_allowed = true;
|
21 |
+
ob_start();
|
22 |
+
do_action('comment_form_top');
|
23 |
+
$wc_comment_form_top_content = ob_get_contents();
|
24 |
+
ob_clean();
|
25 |
+
$wc_comment_form_top_content = wpdiscuz_close_divs($wc_comment_form_top_content);
|
26 |
+
} else {
|
27 |
+
$wc_ob_allowed = false;
|
28 |
+
}
|
29 |
+
|
30 |
+
if (isset($_GET['wpdiscuzSubscribeID']) && isset($_GET['key'])) {
|
31 |
+
$wpdiscuz->dbManager->unsubscribe($_GET['wpdiscuzSubscribeID'], $_GET['key']);
|
32 |
+
?>
|
33 |
+
<div id="wc_unsubscribe_message">
|
34 |
+
<span class="wc_unsubscribe_message"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_unsubscribe_message']; ?></span>
|
35 |
+
</div>
|
36 |
+
<?php
|
37 |
+
}
|
38 |
+
|
39 |
+
if (isset($_GET['wpdiscuzConfirmID']) && isset($_GET['wpdiscuzConfirmKey']) && isset($_GET['wpDiscuzComfirm'])) {
|
40 |
+
$wpdiscuz->dbManager->notificationConfirm($_GET['wpdiscuzConfirmID'], $_GET['wpdiscuzConfirmKey']);
|
41 |
+
?>
|
42 |
+
<div id="wc_unsubscribe_message">
|
43 |
+
<span
|
44 |
+
class="wc_unsubscribe_message"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_comfirm_success_message']; ?></span>
|
45 |
+
</div>
|
46 |
+
<?php
|
47 |
+
}
|
48 |
+
|
49 |
+
if (isset($_GET['subscriptionSuccess'])) {
|
50 |
+
$errorClass = 'wpdiscuz-sendmail-error';
|
51 |
+
if ($_GET['subscriptionSuccess'] == -1) {
|
52 |
+
$subscriptionMsg = __('Unable to send an email', 'wpdiscuz');
|
53 |
+
} elseif (!$_GET['subscriptionSuccess']) {
|
54 |
+
$subscriptionMsg = __('Subscription not successed', 'wpdiscuz');
|
55 |
+
} else {
|
56 |
+
if (is_user_logged_in() && $wpdiscuz->optionsSerialized->disableMemberConfirm) {
|
57 |
+
$subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_subscribe_message'];
|
58 |
+
} else {
|
59 |
+
$subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_confirm_email'];
|
60 |
+
}
|
61 |
+
$errorClass = '';
|
62 |
+
}
|
63 |
+
?>
|
64 |
+
<div id="wc_unsubscribe_message" class="<?php echo $errorClass; ?>">
|
65 |
+
<span class="wc_unsubscribe_message"><?php echo $subscriptionMsg; ?></span>
|
66 |
+
</div>
|
67 |
+
<?php
|
68 |
+
}
|
69 |
+
?>
|
70 |
+
|
71 |
+
<div style="clear:both"></div>
|
72 |
+
<?php
|
73 |
+
if (comments_open($post->ID)) {
|
74 |
+
$wpdiscuz->helper->superSocializerFix();
|
75 |
+
if (comments_open($post->ID)) {
|
76 |
+
?>
|
77 |
+
<h3 id="wc-comment-header"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_leave_a_reply_text']; ?></h3>
|
78 |
+
<?php } ?>
|
79 |
+
<?php
|
80 |
+
if ($wpdiscuz->optionsSerialized->showHideLoggedInUsername) {
|
81 |
+
if (is_user_logged_in()) {
|
82 |
+
global $current_user;
|
83 |
+
get_currentuserinfo();
|
84 |
+
$user_url = get_author_posts_url($current_user->ID);
|
85 |
+
?>
|
86 |
+
<div id="wc_show_hide_loggedin_username">
|
87 |
+
<span class="wc_show_hide_loggedin_username">
|
88 |
+
<?php
|
89 |
+
$logout = wp_loginout(get_permalink(), false);
|
90 |
+
$logout = preg_replace('!>([^<]+)!is', '>' . $wpdiscuz->optionsSerialized->phrases['wc_log_out'], $logout);
|
91 |
+
echo $wpdiscuz->optionsSerialized->phrases['wc_logged_in_as'] . ' <a href="' . $user_url . '">' . $current_user->display_name . '</a> | ' . $logout;
|
92 |
+
?>
|
93 |
+
</span>
|
94 |
+
</div>
|
95 |
+
<?php
|
96 |
+
}
|
97 |
+
}
|
98 |
+
?>
|
99 |
+
<div id="wpcomm" class="<?php echo (is_user_logged_in()) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>">
|
100 |
+
<?php if (!$wpdiscuz->optionsSerialized->headerTextShowHide && $savedLastCommentId) { ?>
|
101 |
+
<div class="wc-comment-bar">
|
102 |
+
<p class="wc-comment-title">
|
103 |
+
<?php echo ($commentsCount) ? $header_text : $wpdiscuz->optionsSerialized->phrases['wc_be_the_first_text']; ?>
|
104 |
+
</p>
|
105 |
+
<div style="clear:both"></div>
|
106 |
+
</div>
|
107 |
+
<?php } ?>
|
108 |
+
<?php do_action('comment_form_before'); ?>
|
109 |
+
<div class="wc_social_plugin_wrapper">
|
110 |
+
<?php
|
111 |
+
if ($wc_ob_allowed) {
|
112 |
+
echo $wc_comment_form_top_content;
|
113 |
+
} else {
|
114 |
+
do_action('comment_form_top');
|
115 |
+
}
|
116 |
+
?>
|
117 |
+
</div>
|
118 |
+
<?php
|
119 |
+
if ($wpdiscuz->optionsSerialized->showSubscriptionBar && $savedLastCommentId) {
|
120 |
+
$subscriptionData = $wpdiscuz->dbManager->hasSubscription($post->ID, $current_user->user_email);
|
121 |
+
$isConfirmed = $subscriptionData['confirm'];
|
122 |
+
$subscriptionType = $subscriptionData['type'];
|
123 |
+
if ($subscriptionType == WpdiscuzCore::SUBSCRIPTION_POST || $subscriptionType == WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT) {
|
124 |
+
$unsubscribeLink = $wpdiscuz->dbManager->unsubscribeLink($post->ID, $current_user->user_email);
|
125 |
+
}
|
126 |
+
?>
|
127 |
+
<div class="wpdiscuz-subscribe-bar">
|
128 |
+
<?php
|
129 |
+
if ($subscriptionType != WpdiscuzCore::SUBSCRIPTION_POST) {
|
130 |
+
?>
|
131 |
+
<form action="<?php echo admin_url('admin-post.php') . '?action=addSubscription'; ?>" method="post" id="wpdiscuz-subscribe-form">
|
132 |
+
<div class="wpdiscuz-subscribe-form-intro"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_of']; ?> </div>
|
133 |
+
<div class="wpdiscuz-subscribe-form-option" style="width:<?php echo (!is_user_logged_in()) ? '40%' : '65%'; ?>;">
|
134 |
+
<select class="wpdiscuz_select" name="wpdiscuzSubscriptionType" >
|
135 |
+
<option value="<?php echo WpdiscuzCore::SUBSCRIPTION_POST; ?>"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment']; ?></option>
|
136 |
+
<option value="<?php echo WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT; ?>" <?php echo (isset($unsubscribeLink) || !$wpdiscuz->optionsSerialized->wordpressThreadComments) ? 'disabled' : ''; ?>><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply']; ?></option>
|
137 |
+
</select>
|
138 |
+
</div>
|
139 |
+
<?php if (!is_user_logged_in()) { ?>
|
140 |
+
<div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
|
141 |
+
<input id="" class="email" type="email" name="wpdiscuzSubscriptionEmail" required="required" value="" placeholder="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_email_text']; ?>"/>
|
142 |
+
</div>
|
143 |
+
<?php } ?>
|
144 |
+
<div class="wpdiscuz-subscribe-form-button">
|
145 |
+
<input id="wpdiscuz_subscription_button" type="submit" value="›" name="wpdiscuz_subscription_button" />
|
146 |
+
</div>
|
147 |
+
<?php wp_nonce_field('wpdiscuz_subscribe_form_nonce_action', 'wpdiscuz_subscribe_form_nonce'); ?>
|
148 |
+
<input type="hidden" value="<?php echo $post->ID; ?>" name="wpdiscuzSubscriptionPostId" />
|
149 |
+
</form>
|
150 |
+
<?php } ?>
|
151 |
+
<div style="clear:both;"></div>
|
152 |
+
<?php
|
153 |
+
if (isset($unsubscribeLink)) {
|
154 |
+
$subscribeMessage = $isConfirmed ? $wpdiscuz->optionsSerialized->phrases['wc_unsubscribe'] : $wpdiscuz->optionsSerialized->phrases['wc_ignore_subscription'];
|
155 |
+
if ($subscriptionType == 'all_comment')
|
156 |
+
$introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment'];
|
157 |
+
elseif ($subscriptionType == 'post')
|
158 |
+
$introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply'];
|
159 |
+
echo '<div class="wpdiscuz_subscribe_status">' . $introText . " | <a href='$unsubscribeLink'>" . $subscribeMessage . "</a></div>";
|
160 |
+
}
|
161 |
+
?>
|
162 |
+
</div>
|
163 |
+
<?php } ?>
|
164 |
+
<?php $wpdiscuz->helper->formBuilder('main', '0_0', $commentsCount); ?>
|
165 |
+
<div id="wpdiscuz_hidden_secondary_form" style="display: none;">
|
166 |
+
<?php $wpdiscuz->helper->formBuilder(0, 'wpdiscuzuniqueid', $commentsCount); ?>
|
167 |
+
</div>
|
168 |
+
<?php do_action('comment_form_after'); ?>
|
169 |
+
<hr>
|
170 |
+
|
171 |
+
<?php } else { ?>
|
172 |
+
<?php
|
173 |
+
if ($commentsCount > 0) {
|
174 |
+
$wpdiscuz->helper->superSocializerFix();
|
175 |
+
} else {
|
176 |
+
?>
|
177 |
+
<div id="comments" class="comments-area" style="display:none">
|
178 |
+
<div id="respond"></div>
|
179 |
+
<?php } ?>
|
180 |
+
<?php do_action('comment_form_closed'); ?>
|
181 |
+
<div id="wpcomm" class="<?php echo (is_user_logged_in()) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>" style="border:none;">
|
182 |
+
<?php } ?>
|
183 |
+
|
184 |
+
<?php if ($savedLastCommentId) { ?>
|
185 |
+
<?php if ($commentsCount > 0 && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>
|
186 |
+
<div class="wpdiscuz-front-actions">
|
187 |
+
<div class="wpdiscuz-sort-buttons" style="font-size:14px;"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_sort_by']; ?>:
|
188 |
+
<span class="wpdiscuz-sort-button wpdiscuz-date-sort-desc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_newest']; ?></span> |
|
189 |
+
<span class="wpdiscuz-sort-button wpdiscuz-date-sort-asc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_oldest']; ?></span> |
|
190 |
+
<span class="wpdiscuz-sort-button wpdiscuz-vote-sort-up"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_most_voted']; ?></span>
|
191 |
+
</div>
|
192 |
+
</div>
|
193 |
+
<?php } ?>
|
194 |
+
|
195 |
+
<?php if ($wpdiscuz->optionsSerialized->commentListUpdateType == 2) { ?>
|
196 |
+
<div class="wc_new_comment_and_replies">
|
197 |
+
<div class="wc_new_comment wc-update-on-click"></div>
|
198 |
+
<div class="wc_new_reply wc-update-on-click"></div>
|
199 |
+
<div style="clear:both"></div>
|
200 |
+
</div>
|
201 |
+
<div style="clear:both"></div>
|
202 |
+
<?php } ?>
|
203 |
+
<?php } ?>
|
204 |
+
<div class="wc-thread-wrapper">
|
205 |
+
<?php
|
206 |
+
$args = array();
|
207 |
+
$showLoadeMore = 1;
|
208 |
+
if (isset($_GET['_escaped_fragment_']) && ($_GET['_escaped_fragment_'] == 'loadmore')) {
|
209 |
+
$lastParentId = isset($_GET['parentId']) ? intval($_GET['parentId']) : 0;
|
210 |
+
if ($lastParentId) {
|
211 |
+
$args['last_parent_id'] = $lastParentId--;
|
212 |
+
}
|
213 |
+
}
|
214 |
+
$commentData = $wpdiscuz->getWPComments($args);
|
215 |
+
echo $commentData['comment_list'];
|
216 |
+
?>
|
217 |
+
<div class="wpdiscuz-comment-pagination">
|
218 |
+
<?php
|
219 |
+
if (!$wpdiscuz->optionsSerialized->wordpressIsPaginate && $commentData['is_show_load_more'] && $savedLastCommentId) {
|
220 |
+
$loadMoreButtonText = ($wpdiscuz->optionsSerialized->loadAllComments) ? $wpdiscuz->optionsSerialized->phrases['wc_load_rest_comments_submit_text'] : $wpdiscuz->optionsSerialized->phrases['wc_load_more_submit_text'];
|
221 |
+
?>
|
222 |
+
<div class="wc-load-more-submit-wrap">
|
223 |
+
<a class="wc-load-more-link" href="<?php echo get_permalink($post->ID) . '#!loadmore&parentId=' . $commentData['last_parent_id']; ?>">
|
224 |
+
<button name="submit" class="wc-load-more-submit button">
|
225 |
+
<?php echo $loadMoreButtonText; ?>
|
226 |
+
</button>
|
227 |
+
</a>
|
228 |
+
</div>
|
229 |
+
<?php
|
230 |
+
} else {
|
231 |
+
paginate_comments_links();
|
232 |
+
}
|
233 |
+
?>
|
234 |
+
</div>
|
235 |
+
</div>
|
236 |
+
<div style="clear:both"></div>
|
237 |
+
<?php if (comments_open($post->ID) && $commentsCount > 0) { ?>
|
238 |
+
<?php if ($wpdiscuz->optionsSerialized->showPluginPoweredByLink) { ?>
|
239 |
+
<div class="by-wpdiscuz">
|
240 |
+
<span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
|
241 |
+
document.getElementById("awpdiscuz").style.display = "none";'>
|
242 |
+
<img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/plugin-icon/icon_info.png'); ?>" align="absmiddle" class="wpdimg"/>
|
243 |
+
</span>
|
244 |
+
<a href="http://wpdiscuz.com/" id="bywpdiscuz" title="wpDiscuz v<?php echo get_option(WpdiscuzCore::OPTION_SLUG_VERSION); ?> - Supercharged native comments">wpDiscuz</a>
|
245 |
+
</div>
|
246 |
+
<?php } ?>
|
247 |
+
<?php } ?>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
<div class="wpdiscuz-loading-bar <?php echo (is_user_logged_in()) ? 'wpdiscuz-loading-bar-auth' : 'wpdiscuz-loading-bar-unauth'; ?>"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN
|