WP-Polls - Version 2.74

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-Polls
Version 2.74
Comparing to
See all releases

Code changes from version 2.73.8 to 2.74

Files changed (5) hide show
  1. polls-logs.php +3 -3
  2. polls-templates.php +12 -1
  3. readme.txt +8 -6
  4. wp-polls.php +125 -103
  5. wp-polls.pot +0 -1355
polls-logs.php CHANGED
@@ -299,7 +299,7 @@ if( ! empty( $_POST['do'] ) ) {
299
  }
300
  echo "<tr $style>\n";
301
  echo "<td>{$pollip_answers[$pollip_aid]}</td>\n";
302
- echo "<td><a href=\"http://ipinfo.io/$pollip_ip\" title=\"$pollip_ip\">$pollip_ip</a></td>\n";
303
  echo "<td>$pollip_host</td>\n";
304
  echo "<td>$pollip_date</td>\n";
305
  echo "</tr>\n";
@@ -325,7 +325,7 @@ if( ! empty( $_POST['do'] ) ) {
325
  echo "<tr class=\"thead\">\n";
326
  echo "<th>".__('No.', 'wp-polls')."</th>\n";
327
  echo "<th>".__('User', 'wp-polls')."</th>\n";
328
- echo "<th>".__('IP/Host', 'wp-polls')."</th>\n";
329
  echo "<th>".__('Date', 'wp-polls')."</th>\n";
330
  echo "</tr>\n";
331
  $i = 1;
@@ -338,7 +338,7 @@ if( ! empty( $_POST['do'] ) ) {
338
  echo "<tr $style>\n";
339
  echo "<td>".number_format_i18n($i)."</td>\n";
340
  echo "<td>$pollip_user</td>\n";
341
- echo "<td><a href=\"http://ipinfo.io/$pollip_ip\" title=\"$pollip_ip\">$pollip_ip</a> / $pollip_host</td>\n";
342
  echo "<td>$pollip_date</td>\n";
343
  echo "</tr>\n";
344
  $poll_last_aid = $pollip_aid;
299
  }
300
  echo "<tr $style>\n";
301
  echo "<td>{$pollip_answers[$pollip_aid]}</td>\n";
302
+ echo "<td>$pollip_ip</td>\n";
303
  echo "<td>$pollip_host</td>\n";
304
  echo "<td>$pollip_date</td>\n";
305
  echo "</tr>\n";
325
  echo "<tr class=\"thead\">\n";
326
  echo "<th>".__('No.', 'wp-polls')."</th>\n";
327
  echo "<th>".__('User', 'wp-polls')."</th>\n";
328
+ echo "<th>".__('Hashed IP / Host', 'wp-polls')."</th>\n";
329
  echo "<th>".__('Date', 'wp-polls')."</th>\n";
330
  echo "</tr>\n";
331
  $i = 1;
338
  echo "<tr $style>\n";
339
  echo "<td>".number_format_i18n($i)."</td>\n";
340
  echo "<td>$pollip_user</td>\n";
341
+ echo "<td>$pollip_ip / $pollip_host</td>\n";
342
  echo "<td>$pollip_date</td>\n";
343
  echo "</tr>\n";
344
  $poll_last_aid = $pollip_aid;
polls-templates.php CHANGED
@@ -261,6 +261,15 @@ if( isset($_POST['Submit']) && $_POST['Submit'] ) {
261
  <?php _e('Display the poll archive URL', 'wp-polls'); ?>
262
  </td>
263
  </tr>
 
 
 
 
 
 
 
 
 
264
  <tr class="alternate">
265
  <td colspan="2">
266
  <?php _e('Note: <strong>%POLL_TOTALVOTES%</strong> and <strong>%POLL_TOTALVOTERS%</strong> will be different if your poll supports multiple answers. If your poll allows only single answer, both value will be the same.', 'wp-polls'); ?>
@@ -340,6 +349,7 @@ if( isset($_POST['Submit']) && $_POST['Submit'] ) {
340
  <p style="margin: 2px 0">- %POLL_ANSWER_TEXT%</p>
341
  <p style="margin: 2px 0">- %POLL_ANSWER_VOTES%</p>
342
  <p style="margin: 2px 0">- %POLL_ANSWER_PERCENTAGE%</p>
 
343
  <p style="margin: 2px 0">- %POLL_ANSWER_IMAGEWIDTH%</p><br />
344
  <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('resultbody');" class="button" />
345
  </td>
@@ -354,7 +364,8 @@ if( isset($_POST['Submit']) && $_POST['Submit'] ) {
354
  <p style="margin: 2px 0">- %POLL_ANSWER%</p>
355
  <p style="margin: 2px 0">- %POLL_ANSWER_TEXT%</p>
356
  <p style="margin: 2px 0">- %POLL_ANSWER_VOTES%</p>
357
- - %POLL_ANSWER_PERCENTAGE%</p>
 
358
  <p style="margin: 2px 0">- %POLL_ANSWER_IMAGEWIDTH%</p><br />
359
  <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('resultbody2');" class="button" />
360
  </td>
261
  <?php _e('Display the poll archive URL', 'wp-polls'); ?>
262
  </td>
263
  </tr>
264
+ <tr>
265
+ <td>
266
+ <strong>%POLL_MULTIPLE_ANSWER_PERCENTAGE%</strong><br />
267
+ <?php _e('Display the poll\'s mutiple answer percentage. This is total votes divided by total voters.', 'wp-polls'); ?>
268
+ </td>
269
+ <td>
270
+ &nbsp;
271
+ </td>
272
+ </tr>
273
  <tr class="alternate">
274
  <td colspan="2">
275
  <?php _e('Note: <strong>%POLL_TOTALVOTES%</strong> and <strong>%POLL_TOTALVOTERS%</strong> will be different if your poll supports multiple answers. If your poll allows only single answer, both value will be the same.', 'wp-polls'); ?>
349
  <p style="margin: 2px 0">- %POLL_ANSWER_TEXT%</p>
350
  <p style="margin: 2px 0">- %POLL_ANSWER_VOTES%</p>
351
  <p style="margin: 2px 0">- %POLL_ANSWER_PERCENTAGE%</p>
352
+ <p style="margin: 2px 0">- %POLL_MULTIPLE_ANSWER_PERCENTAGE%</p>
353
  <p style="margin: 2px 0">- %POLL_ANSWER_IMAGEWIDTH%</p><br />
354
  <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('resultbody');" class="button" />
355
  </td>
364
  <p style="margin: 2px 0">- %POLL_ANSWER%</p>
365
  <p style="margin: 2px 0">- %POLL_ANSWER_TEXT%</p>
366
  <p style="margin: 2px 0">- %POLL_ANSWER_VOTES%</p>
367
+ <p style="margin: 2px 0">- %POLL_ANSWER_PERCENTAGE%</p>
368
+ <p style="margin: 2px 0">- %POLL_MULTIPLE_ANSWER_PERCENTAGE%</p>
369
  <p style="margin: 2px 0">- %POLL_ANSWER_IMAGEWIDTH%</p><br />
370
  <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('resultbody2');" class="button" />
371
  </td>
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: GamerZ
3
  Donate link: https://lesterchan.net/site/donation/
4
  Tags: poll, polls, polling, vote, booth, democracy, ajax, survey, post, widget
5
- Requires at least: 4.0
6
- Tested up to: 4.9
7
- Stable tag: 2.73.8
8
 
9
  Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
10
 
@@ -17,9 +17,6 @@ WP-Polls is extremely customizable via templates and css styles and there are to
17
  ### Development
18
  [https://github.com/lesterchan/wp-polls](https://github.com/lesterchan/wp-polls "https://github.com/lesterchan/wp-polls")
19
 
20
- ### Translations
21
- [http://dev.wp-plugins.org/browser/wp-polls/i18n/](http://dev.wp-plugins.org/browser/wp-polls/i18n/ "http://dev.wp-plugins.org/browser/wp-polls/i18n/")
22
-
23
  ### Credits
24
  * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)
25
 
@@ -27,6 +24,11 @@ WP-Polls is extremely customizable via templates and css styles and there are to
27
  I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
28
 
29
  ## Changelog
 
 
 
 
 
30
  ### Version 2.73.8
31
  * FIXED: Bug fixes and stricter type checking
32
 
2
  Contributors: GamerZ
3
  Donate link: https://lesterchan.net/site/donation/
4
  Tags: poll, polls, polling, vote, booth, democracy, ajax, survey, post, widget
5
+ Requires at least: 4.9.6
6
+ Tested up to: 5.0
7
+ Stable tag: 2.74
8
 
9
  Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
10
 
17
  ### Development
18
  [https://github.com/lesterchan/wp-polls](https://github.com/lesterchan/wp-polls "https://github.com/lesterchan/wp-polls")
19
 
 
 
 
20
  ### Credits
21
  * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)
22
 
24
  I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
25
 
26
  ## Changelog
27
+ ### Version 2.74
28
+ * NEW: Hashed IP and anonymize Hostname to make it GDPR compliance
29
+ * NEW: If Do Not Log is set in Poll Options, do not log to DB
30
+ * NEW: Support %POLL_MULTIPLE_ANSWER_PERCENTAGE%. This is total votes divided by total voters.
31
+
32
  ### Version 2.73.8
33
  * FIXED: Bug fixes and stricter type checking
34
 
wp-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Polls
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers.
6
- Version: 2.73.8
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-polls
@@ -11,7 +11,7 @@ Text Domain: wp-polls
11
 
12
 
13
  /*
14
- Copyright 2017 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ Text Domain: wp-polls
29
  */
30
 
31
  ### Version
32
- define( 'WP_POLLS_VERSION', '2.73.8' );
33
 
34
 
35
  ### Create Text Domain For Translations
@@ -372,10 +372,10 @@ function check_voted_ip( $poll_id ) {
372
  $log_expiry = (int) get_option( 'poll_cookielog_expiry' );
373
  $log_expiry_sql = '';
374
  if( $log_expiry > 0 ) {
375
- $log_expiry_sql = 'AND (' . current_time('timestamp') . '-(pollip_timestamp+0)) < ' . $log_expiry;
376
  }
377
  // Check IP From IP Logging Database
378
- $get_voted_aids = $wpdb->get_col( $wpdb->prepare( "SELECT pollip_aid FROM $wpdb->pollsip WHERE pollip_qid = %d AND pollip_ip = %s", $poll_id, get_ipaddress() ) . $log_expiry_sql );
379
  if( $get_voted_aids ) {
380
  return $get_voted_aids;
381
  }
@@ -475,7 +475,8 @@ function display_pollvote($poll_id, $display_loading = true) {
475
  $poll_answer_id = (int) $poll_answer->polla_aid;
476
  $poll_answer_text = wp_kses_post( removeslashes( $poll_answer->polla_answers ) );
477
  $poll_answer_votes = (int) $poll_answer->polla_votes;
478
- $poll_answer_percentage = $poll_question_totalvotes > 0 ? round((($poll_answer_votes/$poll_question_totalvotes)*100)) : 0;
 
479
  $template_answer = removeslashes(get_option('poll_template_votebody'));
480
 
481
  $template_answer = apply_filters('poll_template_votebody_markup', $template_answer, $poll_answer, array(
@@ -484,6 +485,7 @@ function display_pollvote($poll_id, $display_loading = true) {
484
  '%POLL_ANSWER%' => $poll_answer_text,
485
  '%POLL_ANSWER_VOTES%' => number_format_i18n($poll_answer_votes),
486
  '%POLL_ANSWER_PERCENTAGE%' => $poll_answer_percentage,
 
487
  "%POLL_CHECKBOX_RADIO%" => $poll_multiple_ans > 0 ? 'checkbox' : 'radio'
488
  ));
489
 
@@ -606,20 +608,16 @@ function display_pollresult($poll_id, $user_voted = array(), $display_loading =
606
  $poll_answer_text = wp_kses_post( removeslashes($poll_answer->polla_answers) );
607
  $poll_answer_votes = (int) $poll_answer->polla_votes;
608
  // Calculate Percentage And Image Bar Width
609
- if(!$poll_totalvotes_zero) {
610
- if($poll_answer_votes > 0) {
611
- $poll_answer_percentage = round((($poll_answer_votes/$poll_question_totalvotes)*100));
612
- $poll_answer_imagewidth = round($poll_answer_percentage);
613
- if($poll_answer_imagewidth === 100) {
614
- $poll_answer_imagewidth = 99;
615
- }
616
- } else {
617
- $poll_answer_percentage = 0;
618
- $poll_answer_imagewidth = 1;
619
  }
620
- } else {
621
- $poll_answer_percentage = 0;
622
- $poll_answer_imagewidth = 1;
623
  }
624
  // Make Sure That Total Percentage Is 100% By Adding A Buffer To The Last Poll Answer
625
  $round_percentage = apply_filters( 'wp_polls_round_percentage', false );
@@ -637,42 +635,48 @@ function display_pollresult($poll_id, $user_voted = array(), $display_loading =
637
  }
638
 
639
  // Let User See What Options They Voted
640
- if(in_array($poll_answer_id, $user_voted, true)) {
641
  // Results Body Variables
642
  $template_answer = removeslashes(get_option('poll_template_resultbody2'));
643
- $template_answer = str_replace("%POLL_ID%", $poll_question_id, $template_answer);
644
- $template_answer = str_replace("%POLL_ANSWER_ID%", $poll_answer_id, $template_answer);
645
- $template_answer = str_replace("%POLL_ANSWER%", $poll_answer_text, $template_answer);
646
- $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($poll_answer_text)), $template_answer);
647
- $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($poll_answer_votes), $template_answer);
648
- $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer);
649
- $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer);
650
- // Print Out Results Body Template
651
- $temp_pollresult .= "\t\t$template_answer\n";
652
  } else {
653
  // Results Body Variables
654
  $template_answer = removeslashes(get_option('poll_template_resultbody'));
655
- $template_answer = str_replace("%POLL_ID%", $poll_question_id, $template_answer);
656
- $template_answer = str_replace("%POLL_ANSWER_ID%", $poll_answer_id, $template_answer);
657
- $template_answer = str_replace("%POLL_ANSWER%", $poll_answer_text, $template_answer);
658
- $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($poll_answer_text)), $template_answer);
659
- $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($poll_answer_votes), $template_answer);
660
- $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer);
661
- $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer);
662
- // Print Out Results Body Template
663
- $temp_pollresult .= "\t\t$template_answer\n";
664
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  // Get Most Voted Data
666
- if($poll_answer_votes > $poll_most_votes) {
667
  $poll_most_answer = $poll_answer_text;
668
  $poll_most_votes = $poll_answer_votes;
669
  $poll_most_percentage = $poll_answer_percentage;
670
  }
671
  // Get Least Voted Data
672
- if($poll_least_votes === 0) {
673
  $poll_least_votes = $poll_answer_votes;
674
  }
675
- if($poll_answer_votes <= $poll_least_votes) {
676
  $poll_least_answer = $poll_answer_text;
677
  $poll_least_votes = $poll_answer_votes;
678
  $poll_least_percentage = $poll_answer_percentage;
@@ -719,9 +723,9 @@ function display_pollresult($poll_id, $user_voted = array(), $display_loading =
719
 
720
 
721
  ### Function: Get IP Address
722
- if(!function_exists('get_ipaddress')) {
723
  function get_ipaddress() {
724
- foreach ( array( 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR' ) as $key ) {
725
  if ( array_key_exists( $key, $_SERVER ) === true ) {
726
  foreach ( explode( ',', $_SERVER[$key] ) as $ip ) {
727
  $ip = trim( $ip );
@@ -733,7 +737,21 @@ if(!function_exists('get_ipaddress')) {
733
  }
734
  }
735
  }
 
 
 
 
 
 
 
 
736
 
 
 
 
 
 
 
737
 
738
  ### Function: Short Code For Inserting Polls Archive Into Page
739
  add_shortcode('page_polls', 'poll_page_shortcode');
@@ -963,7 +981,7 @@ function polls_archive() {
963
  }
964
 
965
  // Get Poll IPs
966
- $ips = $wpdb->get_results("SELECT pollip_qid, pollip_aid FROM $wpdb->pollsip WHERE pollip_qid IN ($poll_questions_ids) AND pollip_ip = '".get_ipaddress()."' ORDER BY pollip_qid ASC");
967
  if($ips) {
968
  foreach($ips as $ip) {
969
  $polls_ips[(int) $ip->pollip_qid][] = (int) $ip->pollip_aid;
@@ -1012,24 +1030,20 @@ function polls_archive() {
1012
  $poll_answer_percentage_array = array();
1013
  foreach($polls_answers[$polls_question['id']] as $polls_answer) {
1014
  // Calculate Percentage And Image Bar Width
1015
- if(!$poll_totalvotes_zero) {
1016
- if($polls_answer['votes'] > 0) {
1017
- $poll_answer_percentage = round((($polls_answer['votes']/$polls_question['totalvotes'])*100));
1018
- $poll_answer_imagewidth = round($poll_answer_percentage*0.9);
1019
- } else {
1020
- $poll_answer_percentage = 0;
1021
- $poll_answer_imagewidth = 1;
1022
- }
1023
- } else {
1024
- $poll_answer_percentage = 0;
1025
- $poll_answer_imagewidth = 1;
1026
  }
1027
  // Make Sure That Total Percentage Is 100% By Adding A Buffer To The Last Poll Answer
1028
  if($polls_question['multiple'] === 0) {
1029
  $poll_answer_percentage_array[] = $poll_answer_percentage;
1030
  if(count($poll_answer_percentage_array) === count($polls_answers[$polls_question['id']])) {
1031
  $percentage_error_buffer = 100 - array_sum($poll_answer_percentage_array);
1032
- $poll_answer_percentage = $poll_answer_percentage + $percentage_error_buffer;
1033
  if($poll_answer_percentage < 0) {
1034
  $poll_answer_percentage = 0;
1035
  }
@@ -1037,31 +1051,36 @@ function polls_archive() {
1037
  }
1038
  $polls_answer['answers'] = wp_kses_post( $polls_answer['answers'] );
1039
  // Let User See What Options They Voted
1040
- if(isset( $polls_ips[$polls_question['id']] ) && in_array( $polls_answer['aid'], check_voted_multiple( $polls_question['id'], $polls_ips[$polls_question['id']] ), true ) ) {
1041
- // Results Body Variables
1042
  $template_answer = removeslashes(get_option('poll_template_resultbody2'));
1043
- $template_answer = str_replace("%POLL_ID%", $polls_question['id'], $template_answer);
1044
- $template_answer = str_replace("%POLL_ANSWER_ID%", $polls_answer['aid'], $template_answer);
1045
- $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer);
1046
- $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer);
1047
- $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($polls_answer['votes']), $template_answer);
1048
- $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer);
1049
- $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer);
1050
- // Print Out Results Body Template
1051
- $pollsarchive_output_archive .= $template_answer;
1052
  } else {
1053
- // Results Body Variables
1054
  $template_answer = removeslashes(get_option('poll_template_resultbody'));
1055
- $template_answer = str_replace("%POLL_ID%", $polls_question['id'], $template_answer);
1056
- $template_answer = str_replace("%POLL_ANSWER_ID%", $polls_answer['aid'], $template_answer);
1057
- $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer);
1058
- $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer);
1059
- $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format_i18n($polls_answer['votes']), $template_answer);
1060
- $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer);
1061
- $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer);
1062
- // Print Out Results Body Template
1063
- $pollsarchive_output_archive .= $template_answer;
1064
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  // Get Most Voted Data
1066
  if($polls_answer['votes'] > $poll_most_votes) {
1067
  $poll_most_answer = $polls_answer['answers'];
@@ -1334,13 +1353,13 @@ function vote_poll() {
1334
  $pollip_user = __('Guest', 'wp-polls');
1335
  }
1336
  $pollip_user = sanitize_text_field( $pollip_user );
1337
- $pollip_userid = (int) $user_ID;
1338
- $pollip_ip = get_ipaddress();
1339
- $pollip_host = @gethostbyaddr($pollip_ip);
1340
  $pollip_timestamp = current_time('timestamp');
1341
- // Only Create Cookie If User Choose Logging Method 1 Or 2
1342
  $poll_logging_method = (int) get_option('poll_logging_method');
1343
- if ($poll_logging_method === 1 || $poll_logging_method === 3) {
 
1344
  $cookie_expiry = (int) get_option('poll_cookielog_expiry');
1345
  if ($cookie_expiry === 0) {
1346
  $cookie_expiry = YEAR_IN_SECONDS;
@@ -1358,27 +1377,30 @@ function vote_poll() {
1358
  $vote_q = $wpdb->query("UPDATE $wpdb->pollsq SET pollq_totalvotes = (pollq_totalvotes+" . count( $poll_aid_array ) . "), pollq_totalvoters = (pollq_totalvoters + 1) WHERE pollq_id = $poll_id AND pollq_active = 1");
1359
  if ($vote_q) {
1360
  foreach ($poll_aid_array as $polla_aid) {
1361
- $wpdb->insert(
1362
- $wpdb->pollsip,
1363
- array(
1364
- 'pollip_qid' => $poll_id,
1365
- 'pollip_aid' => $polla_aid,
1366
- 'pollip_ip' => $pollip_ip,
1367
- 'pollip_host' => $pollip_host,
1368
- 'pollip_timestamp' => $pollip_timestamp,
1369
- 'pollip_user' => $pollip_user,
1370
- 'pollip_userid' => $pollip_userid
1371
- ),
1372
- array(
1373
- '%s',
1374
- '%s',
1375
- '%s',
1376
- '%s',
1377
- '%s',
1378
- '%s',
1379
- '%d'
1380
- )
1381
- );
 
 
 
1382
  }
1383
  echo display_pollresult($poll_id, $poll_aid_array, false);
1384
  do_action( 'wp_polls_vote_poll_success' );
3
  Plugin Name: WP-Polls
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers.
6
+ Version: 2.74
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-polls
11
 
12
 
13
  /*
14
+ Copyright 2018 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
29
  */
30
 
31
  ### Version
32
+ define( 'WP_POLLS_VERSION', '2.74' );
33
 
34
 
35
  ### Create Text Domain For Translations
372
  $log_expiry = (int) get_option( 'poll_cookielog_expiry' );
373
  $log_expiry_sql = '';
374
  if( $log_expiry > 0 ) {
375
+ $log_expiry_sql = ' AND (' . current_time('timestamp') . '-(pollip_timestamp+0)) < ' . $log_expiry;
376
  }
377
  // Check IP From IP Logging Database
378
+ $get_voted_aids = $wpdb->get_col( $wpdb->prepare( "SELECT pollip_aid FROM $wpdb->pollsip WHERE pollip_qid = %d AND (pollip_ip = %s OR pollip_ip = %s)", $poll_id, poll_get_ipaddress(), get_ipaddress() ) . $log_expiry_sql );
379
  if( $get_voted_aids ) {
380
  return $get_voted_aids;
381
  }
475
  $poll_answer_id = (int) $poll_answer->polla_aid;
476
  $poll_answer_text = wp_kses_post( removeslashes( $poll_answer->polla_answers ) );
477
  $poll_answer_votes = (int) $poll_answer->polla_votes;
478
+ $poll_answer_percentage = $poll_question_totalvotes > 0 ? round( ( $poll_answer_votes / $poll_question_totalvotes ) * 100 ) : 0;
479
+ $poll_multiple_answer_percentage = round( ( $poll_answer_votes / $poll_question_totalvoters ) * 100 );
480
  $template_answer = removeslashes(get_option('poll_template_votebody'));
481
 
482
  $template_answer = apply_filters('poll_template_votebody_markup', $template_answer, $poll_answer, array(
485
  '%POLL_ANSWER%' => $poll_answer_text,
486
  '%POLL_ANSWER_VOTES%' => number_format_i18n($poll_answer_votes),
487
  '%POLL_ANSWER_PERCENTAGE%' => $poll_answer_percentage,
488
+ '%POLL_MULTIPLE_ANSWER_PERCENTAGE%' => $poll_multiple_answer_percentage,
489
  "%POLL_CHECKBOX_RADIO%" => $poll_multiple_ans > 0 ? 'checkbox' : 'radio'
490
  ));
491
 
608
  $poll_answer_text = wp_kses_post( removeslashes($poll_answer->polla_answers) );
609
  $poll_answer_votes = (int) $poll_answer->polla_votes;
610
  // Calculate Percentage And Image Bar Width
611
+ $poll_answer_percentage = 0;
612
+ $poll_multiple_answer_percentage = 0;
613
+ $poll_answer_imagewidth = 1;
614
+ if ( ! $poll_totalvotes_zero && $poll_answer_votes > 0 ) {
615
+ $poll_answer_percentage = round( ( $poll_answer_votes / $poll_question_totalvotes ) * 100 );
616
+ $poll_multiple_answer_percentage = round( ( $poll_answer_votes / $poll_question_totalvoters ) * 100 );
617
+ $poll_answer_imagewidth = round($poll_answer_percentage);
618
+ if($poll_answer_imagewidth === 100) {
619
+ $poll_answer_imagewidth = 99;
 
620
  }
 
 
 
621
  }
622
  // Make Sure That Total Percentage Is 100% By Adding A Buffer To The Last Poll Answer
623
  $round_percentage = apply_filters( 'wp_polls_round_percentage', false );
635
  }
636
 
637
  // Let User See What Options They Voted
638
+ if ( in_array( $poll_answer_id, $user_voted, true ) ) {
639
  // Results Body Variables
640
  $template_answer = removeslashes(get_option('poll_template_resultbody2'));
 
 
 
 
 
 
 
 
 
641
  } else {
642
  // Results Body Variables
643
  $template_answer = removeslashes(get_option('poll_template_resultbody'));
 
 
 
 
 
 
 
 
 
644
  }
645
+
646
+ $template_answer = str_replace( [
647
+ '%POLL_ID%',
648
+ '%POLL_ANSWER_ID%',
649
+ '%POLL_ANSWER%',
650
+ '%POLL_ANSWER_TEXT%',
651
+ '%POLL_ANSWER_VOTES%',
652
+ '%POLL_ANSWER_PERCENTAGE%',
653
+ '%POLL_MULTIPLE_ANSWER_PERCENTAGE%',
654
+ '%POLL_ANSWER_IMAGEWIDTH%',
655
+ ], [
656
+ $poll_question_id,
657
+ $poll_answer_id,
658
+ $poll_answer_text,
659
+ htmlspecialchars( wp_strip_all_tags( $poll_answer_text ) ),
660
+ number_format_i18n( $poll_answer_votes ),
661
+ $poll_answer_percentage,
662
+ $poll_multiple_answer_percentage,
663
+ $poll_answer_imagewidth,
664
+ ], $template_answer );
665
+
666
+ // Print Out Results Body Template
667
+ $temp_pollresult .= "\t\t$template_answer\n";
668
+
669
  // Get Most Voted Data
670
+ if ( $poll_answer_votes > $poll_most_votes ) {
671
  $poll_most_answer = $poll_answer_text;
672
  $poll_most_votes = $poll_answer_votes;
673
  $poll_most_percentage = $poll_answer_percentage;
674
  }
675
  // Get Least Voted Data
676
+ if ( $poll_least_votes === 0 ) {
677
  $poll_least_votes = $poll_answer_votes;
678
  }
679
+ if ( $poll_answer_votes <= $poll_least_votes ) {
680
  $poll_least_answer = $poll_answer_text;
681
  $poll_least_votes = $poll_answer_votes;
682
  $poll_least_percentage = $poll_answer_percentage;
723
 
724
 
725
  ### Function: Get IP Address
726
+ if ( ! function_exists( 'get_ipaddress' ) ) {
727
  function get_ipaddress() {
728
+ foreach ( array( 'HTTP_CF_CONNECTING_IP', 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR' ) as $key ) {
729
  if ( array_key_exists( $key, $_SERVER ) === true ) {
730
  foreach ( explode( ',', $_SERVER[$key] ) as $ip ) {
731
  $ip = trim( $ip );
737
  }
738
  }
739
  }
740
+ function poll_get_ipaddress() {
741
+ return wp_hash( get_ipaddress() );
742
+ }
743
+ function poll_get_hostname() {
744
+ $hostname = gethostbyaddr( get_ipaddress() );
745
+ if ( $hostname === get_ipaddress() ) {
746
+ return wp_privacy_anonymize_ip( get_ipaddress() );
747
+ }
748
 
749
+ if ( false !== $hostname ) {
750
+ return substr( $hostname, strpos( $hostname, '.' ) + 1 );
751
+ }
752
+
753
+ return false;
754
+ }
755
 
756
  ### Function: Short Code For Inserting Polls Archive Into Page
757
  add_shortcode('page_polls', 'poll_page_shortcode');
981
  }
982
 
983
  // Get Poll IPs
984
+ $ips = $wpdb->get_results( "SELECT pollip_qid, pollip_aid FROM $wpdb->pollsip WHERE pollip_qid IN ($poll_questions_ids) AND pollip_ip = '" . poll_get_ipaddress() . "' ORDER BY pollip_qid ASC" );
985
  if($ips) {
986
  foreach($ips as $ip) {
987
  $polls_ips[(int) $ip->pollip_qid][] = (int) $ip->pollip_aid;
1030
  $poll_answer_percentage_array = array();
1031
  foreach($polls_answers[$polls_question['id']] as $polls_answer) {
1032
  // Calculate Percentage And Image Bar Width
1033
+ $poll_answer_percentage = 0;
1034
+ $poll_multiple_answer_percentage = 0;
1035
+ $poll_answer_imagewidth = 1;
1036
+ if ( ! $poll_totalvotes_zero && $polls_answer['votes'] > 0 ) {
1037
+ $poll_answer_percentage = round( ( $polls_answer['votes'] / $polls_question['totalvotes'] ) * 100 );
1038
+ $poll_multiple_answer_percentage = round( ( $polls_answer['votes'] / $polls_question['totalvoters'] ) * 100 );
1039
+ $poll_answer_imagewidth = round( $poll_answer_percentage * 0.9 );
 
 
 
 
1040
  }
1041
  // Make Sure That Total Percentage Is 100% By Adding A Buffer To The Last Poll Answer
1042
  if($polls_question['multiple'] === 0) {
1043
  $poll_answer_percentage_array[] = $poll_answer_percentage;
1044
  if(count($poll_answer_percentage_array) === count($polls_answers[$polls_question['id']])) {
1045
  $percentage_error_buffer = 100 - array_sum($poll_answer_percentage_array);
1046
+ $poll_answer_percentage += $percentage_error_buffer;
1047
  if($poll_answer_percentage < 0) {
1048
  $poll_answer_percentage = 0;
1049
  }
1051
  }
1052
  $polls_answer['answers'] = wp_kses_post( $polls_answer['answers'] );
1053
  // Let User See What Options They Voted
1054
+ if (isset( $polls_ips[$polls_question['id']] ) && in_array( $polls_answer['aid'], check_voted_multiple( $polls_question['id'], $polls_ips[$polls_question['id']] ), true ) ) {
 
1055
  $template_answer = removeslashes(get_option('poll_template_resultbody2'));
 
 
 
 
 
 
 
 
 
1056
  } else {
 
1057
  $template_answer = removeslashes(get_option('poll_template_resultbody'));
 
 
 
 
 
 
 
 
 
1058
  }
1059
+
1060
+ $template_answer = str_replace( [
1061
+ '%POLL_ID%',
1062
+ '%POLL_ANSWER_ID%',
1063
+ '%POLL_ANSWER%',
1064
+ '%POLL_ANSWER_TEXT%',
1065
+ '%POLL_ANSWER_VOTES%',
1066
+ '%POLL_ANSWER_PERCENTAGE%',
1067
+ '%POLL_MULTIPLE_ANSWER_PERCENTAGE%',
1068
+ '%POLL_ANSWER_IMAGEWIDTH%',
1069
+ ], [
1070
+ $polls_question['id'],
1071
+ $polls_answer['aid'],
1072
+ $polls_answer['answers'],
1073
+ htmlspecialchars( wp_strip_all_tags( $polls_answer['answers'] ) ),
1074
+ number_format_i18n( $polls_answer['votes'] ),
1075
+ $poll_answer_percentage,
1076
+ $poll_multiple_answer_percentage,
1077
+ $poll_answer_imagewidth,
1078
+ ],
1079
+ $template_answer );
1080
+
1081
+ // Print Out Results Body Template
1082
+ $pollsarchive_output_archive .= $template_answer;
1083
+
1084
  // Get Most Voted Data
1085
  if($polls_answer['votes'] > $poll_most_votes) {
1086
  $poll_most_answer = $polls_answer['answers'];
1353
  $pollip_user = __('Guest', 'wp-polls');
1354
  }
1355
  $pollip_user = sanitize_text_field( $pollip_user );
1356
+ $pollip_userid = $user_ID;
1357
+ $pollip_ip = poll_get_ipaddress();
1358
+ $pollip_host = poll_get_hostname();
1359
  $pollip_timestamp = current_time('timestamp');
 
1360
  $poll_logging_method = (int) get_option('poll_logging_method');
1361
+ // Only Create Cookie If User Choose Logging Method 1 Or 3
1362
+ if ( $poll_logging_method === 1 || $poll_logging_method === 3 ) {
1363
  $cookie_expiry = (int) get_option('poll_cookielog_expiry');
1364
  if ($cookie_expiry === 0) {
1365
  $cookie_expiry = YEAR_IN_SECONDS;
1377
  $vote_q = $wpdb->query("UPDATE $wpdb->pollsq SET pollq_totalvotes = (pollq_totalvotes+" . count( $poll_aid_array ) . "), pollq_totalvoters = (pollq_totalvoters + 1) WHERE pollq_id = $poll_id AND pollq_active = 1");
1378
  if ($vote_q) {
1379
  foreach ($poll_aid_array as $polla_aid) {
1380
+ // Log Ratings In DB If User Choose Logging Method 2, 3 or 4
1381
+ if ( $poll_logging_method > 1 ){
1382
+ $wpdb->insert(
1383
+ $wpdb->pollsip,
1384
+ array(
1385
+ 'pollip_qid' => $poll_id,
1386
+ 'pollip_aid' => $polla_aid,
1387
+ 'pollip_ip' => $pollip_ip,
1388
+ 'pollip_host' => $pollip_host,
1389
+ 'pollip_timestamp' => $pollip_timestamp,
1390
+ 'pollip_user' => $pollip_user,
1391
+ 'pollip_userid' => $pollip_userid
1392
+ ),
1393
+ array(
1394
+ '%s',
1395
+ '%s',
1396
+ '%s',
1397
+ '%s',
1398
+ '%s',
1399
+ '%s',
1400
+ '%d'
1401
+ )
1402
+ );
1403
+ }
1404
  }
1405
  echo display_pollresult($poll_id, $poll_aid_array, false);
1406
  do_action( 'wp_polls_vote_poll_success' );
wp-polls.pot DELETED
@@ -1,1355 +0,0 @@
1
- # Copyright (C) 2015 WP-Polls
2
- # This file is distributed under the same license as the WP-Polls package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WP-Polls 2.69\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-polls\n"
7
- "POT-Creation-Date: 2015-06-06 05:39:11+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
- #: polls-add.php:16 polls-add.php:104 polls-add.php:171 wp-polls.php:56
16
- msgid "Add Poll"
17
- msgstr ""
18
-
19
- #: polls-add.php:62
20
- msgid "Error In Adding Poll '%s'."
21
- msgstr ""
22
-
23
- #: polls-add.php:72 polls-manager.php:129
24
- msgid "Error In Adding Poll's Answer '%s'."
25
- msgstr ""
26
-
27
- #: polls-add.php:75
28
- msgid "Poll's Answer is empty."
29
- msgstr ""
30
-
31
- #: polls-add.php:82
32
- msgid ""
33
- "Poll '%s' (ID: %s) added successfully. Embed this poll with the shortcode: "
34
- "%s or go back to <a href=\"%s\">Manage Polls</a>"
35
- msgstr ""
36
-
37
- #: polls-add.php:85
38
- msgid ""
39
- "Poll '%s' (ID: %s) (Shortcode: %s) added successfully, but there are some "
40
- "errors with the Poll's Answers. Embed this poll with the shortcode: %s or go "
41
- "back to <a href=\"%s\">Manage Polls</a>"
42
- msgstr ""
43
-
44
- #: polls-add.php:90
45
- msgid "Poll Question is empty."
46
- msgstr ""
47
-
48
- #: polls-add.php:106 polls-manager.php:178
49
- msgid "Poll Question"
50
- msgstr ""
51
-
52
- #: polls-add.php:109 polls-manager.php:181 polls-manager.php:332
53
- msgid "Question"
54
- msgstr ""
55
-
56
- #: polls-add.php:114 polls-manager.php:186
57
- msgid "Poll Answers"
58
- msgstr ""
59
-
60
- #: polls-add.php:119 polls-manager.php:221
61
- msgid "Add Answer"
62
- msgstr ""
63
-
64
- #: polls-add.php:126 polls-manager.php:208
65
- msgid "Answer %s"
66
- msgstr ""
67
-
68
- #: polls-add.php:127 wp-polls.php:245
69
- msgid "Remove"
70
- msgstr ""
71
-
72
- #: polls-add.php:135 polls-manager.php:232
73
- msgid "Poll Multiple Answers"
74
- msgstr ""
75
-
76
- #: polls-add.php:138 polls-manager.php:235
77
- msgid "Allows Users To Select More Than One Answer?"
78
- msgstr ""
79
-
80
- #: polls-add.php:141 polls-manager.php:238 polls-options.php:199
81
- #: polls-options.php:208 polls-options.php:325 wp-polls.php:1582
82
- msgid "No"
83
- msgstr ""
84
-
85
- #: polls-add.php:142 polls-logs.php:383 polls-manager.php:239
86
- #: polls-manager.php:461 polls-options.php:200 polls-options.php:209
87
- #: polls-options.php:326 wp-polls.php:1583
88
- msgid "Yes"
89
- msgstr ""
90
-
91
- #: polls-add.php:147 polls-manager.php:244
92
- msgid "Maximum Number Of Selected Answers Allowed?"
93
- msgstr ""
94
-
95
- #: polls-add.php:160 polls-manager.php:261
96
- msgid "Poll Start/End Date"
97
- msgstr ""
98
-
99
- #: polls-add.php:163 polls-manager.php:264 polls-manager.php:334
100
- msgid "Start Date/Time"
101
- msgstr ""
102
-
103
- #: polls-add.php:167 polls-manager.php:272 polls-manager.php:335
104
- msgid "End Date/Time"
105
- msgstr ""
106
-
107
- #: polls-add.php:168 polls-manager.php:283
108
- msgid "Do NOT Expire This Poll"
109
- msgstr ""
110
-
111
- #: polls-add.php:171 polls-manager.php:307
112
- msgid "Cancel"
113
- msgstr ""
114
-
115
- #: polls-logs.php:34 polls-logs.php:35 polls-logs.php:38 polls-logs.php:70
116
- #: polls-logs.php:74 polls-logs.php:107 polls-logs.php:110 wp-polls.php:1334
117
- msgid "Guest"
118
- msgstr ""
119
-
120
- #: polls-logs.php:128
121
- msgid "Poll's Logs"
122
- msgstr ""
123
-
124
- #: polls-logs.php:131
125
- msgid "There are a total of <strong>%s</strong> recorded vote for this poll."
126
- msgid_plural ""
127
- "There are a total of <strong>%s</strong> recorded votes for this poll."
128
- msgstr[0] ""
129
- msgstr[1] ""
130
-
131
- #: polls-logs.php:132
132
- msgid ""
133
- "<strong>&raquo;</strong> <strong>%s</strong> vote is cast by registered users"
134
- msgid_plural ""
135
- "<strong>&raquo;</strong> <strong>%s</strong> votes are cast by registered "
136
- "users"
137
- msgstr[0] ""
138
- msgstr[1] ""
139
-
140
- #: polls-logs.php:133
141
- msgid ""
142
- "<strong>&raquo;</strong> <strong>%s</strong> vote is cast by comment authors"
143
- msgid_plural ""
144
- "<strong>&raquo;</strong> <strong>%s</strong> votes are cast by comment "
145
- "authors"
146
- msgstr[0] ""
147
- msgstr[1] ""
148
-
149
- #: polls-logs.php:134
150
- msgid "<strong>&raquo;</strong> <strong>%s</strong> vote is cast by guests"
151
- msgid_plural ""
152
- "<strong>&raquo;</strong> <strong>%s</strong> votes are cast by guests"
153
- msgstr[0] ""
154
- msgstr[1] ""
155
-
156
- #: polls-logs.php:139
157
- msgid "Filter Poll's Logs"
158
- msgstr ""
159
-
160
- #: polls-logs.php:148
161
- msgid "Display All Users That Voted For"
162
- msgstr ""
163
-
164
- #: polls-logs.php:169 polls-logs.php:217
165
- msgid "Voters To EXCLUDE"
166
- msgstr ""
167
-
168
- #: polls-logs.php:171 polls-logs.php:219
169
- msgid "Registered Users"
170
- msgstr ""
171
-
172
- #: polls-logs.php:172 polls-logs.php:220
173
- msgid "Comment Authors"
174
- msgstr ""
175
-
176
- #: polls-logs.php:173
177
- msgid "Guests"
178
- msgstr ""
179
-
180
- #: polls-logs.php:177 polls-logs.php:225 polls-logs.php:260
181
- msgid "Filter"
182
- msgstr ""
183
-
184
- #: polls-logs.php:189
185
- msgid "Display Users That Voted For"
186
- msgstr ""
187
-
188
- #: polls-logs.php:192
189
- msgid "More Than"
190
- msgstr ""
191
-
192
- #: polls-logs.php:193
193
- msgid "More Than Or Exactly"
194
- msgstr ""
195
-
196
- #: polls-logs.php:194
197
- msgid "Exactly"
198
- msgstr ""
199
-
200
- #: polls-logs.php:195
201
- msgid "Less Than Or Exactly"
202
- msgstr ""
203
-
204
- #: polls-logs.php:196
205
- msgid "Less Than"
206
- msgstr ""
207
-
208
- #: polls-logs.php:203
209
- msgid "1 Answer"
210
- msgstr ""
211
-
212
- #: polls-logs.php:206 polls-logs.php:208
213
- msgid "%s Answer"
214
- msgid_plural "%s Answers"
215
- msgstr[0] ""
216
- msgstr[1] ""
217
-
218
- #: polls-logs.php:221
219
- msgid "Guests will automatically be excluded"
220
- msgstr ""
221
-
222
- #: polls-logs.php:242
223
- msgid "Display What This User Has Voted"
224
- msgstr ""
225
-
226
- #: polls-logs.php:268
227
- msgid "Clear Filter"
228
- msgstr ""
229
-
230
- #: polls-logs.php:275
231
- msgid "Poll Logs"
232
- msgstr ""
233
-
234
- #: polls-logs.php:280
235
- msgid ""
236
- "This default filter is limited to display only <strong>%s</strong> records."
237
- msgstr ""
238
-
239
- #: polls-logs.php:289 polls-logs.php:334 wp-polls.php:244
240
- msgid "Answer"
241
- msgstr ""
242
-
243
- #: polls-logs.php:290
244
- msgid "IP"
245
- msgstr ""
246
-
247
- #: polls-logs.php:291
248
- msgid "Host"
249
- msgstr ""
250
-
251
- #: polls-logs.php:292 polls-logs.php:341
252
- msgid "Date"
253
- msgstr ""
254
-
255
- #: polls-logs.php:299 polls-logs.php:329 polls-manager.php:266
256
- #: polls-manager.php:278 polls-manager.php:355 polls-manager.php:363
257
- #: wp-polls.php:445 wp-polls.php:450 wp-polls.php:568 wp-polls.php:573
258
- #: wp-polls.php:987 wp-polls.php:991
259
- msgid "%s @ %s"
260
- msgstr ""
261
-
262
- #: polls-logs.php:309 polls-logs.php:339
263
- msgid "User"
264
- msgstr ""
265
-
266
- #: polls-logs.php:338
267
- msgid "No."
268
- msgstr ""
269
-
270
- #: polls-logs.php:340
271
- msgid "IP/Host"
272
- msgstr ""
273
-
274
- #: polls-logs.php:362
275
- msgid "Total number of records that matches this filter: <strong>%s</strong>"
276
- msgstr ""
277
-
278
- #: polls-logs.php:369
279
- msgid "No poll logs matches the filter."
280
- msgstr ""
281
-
282
- #: polls-logs.php:371 polls-logs.php:387
283
- msgid "No poll logs available for this poll."
284
- msgstr ""
285
-
286
- #: polls-logs.php:378
287
- msgid "Delete Poll Logs"
288
- msgstr ""
289
-
290
- #: polls-logs.php:382
291
- msgid "Are You Sure You Want To Delete Logs For This Poll Only?"
292
- msgstr ""
293
-
294
- #: polls-logs.php:384 wp-polls.php:239 wp-polls.php:1416
295
- msgid "Delete Logs For This Poll Only"
296
- msgstr ""
297
-
298
- #: polls-logs.php:384
299
- msgid ""
300
- "You are about to delete poll logs for this poll '%s' ONLY. This action is "
301
- "not reversible."
302
- msgstr ""
303
-
304
- #: polls-logs.php:391 polls-manager.php:469
305
- msgid ""
306
- "Note: If your logging method is by IP and Cookie or by Cookie, users may "
307
- "still be unable to vote if they have voted before as the cookie is still "
308
- "stored in their computer."
309
- msgstr ""
310
-
311
- #: polls-manager.php:36 polls-manager.php:176 polls-manager.php:295
312
- msgid "Edit Poll"
313
- msgstr ""
314
-
315
- #: polls-manager.php:96
316
- msgid "No Changes Had Been Made To Poll's Question '%s'."
317
- msgstr ""
318
-
319
- #: polls-manager.php:110
320
- msgid "No Changes Had Been Made To Poll's Answer '%s'."
321
- msgstr ""
322
-
323
- #: polls-manager.php:112
324
- msgid "Poll's Answer '%s' Edited Successfully."
325
- msgstr ""
326
-
327
- #: polls-manager.php:116
328
- msgid "Invalid Poll '%s'."
329
- msgstr ""
330
-
331
- #: polls-manager.php:131
332
- msgid "Poll's Answer '%s' Added Successfully."
333
- msgstr ""
334
-
335
- #: polls-manager.php:138
336
- msgid "Poll '%s' Edited Successfully."
337
- msgstr ""
338
-
339
- #: polls-manager.php:190
340
- msgid "Answer No."
341
- msgstr ""
342
-
343
- #: polls-manager.php:191
344
- msgid "Answer Text"
345
- msgstr ""
346
-
347
- #: polls-manager.php:192
348
- msgid "No. Of Votes"
349
- msgstr ""
350
-
351
- #: polls-manager.php:201
352
- msgid "Null Votes"
353
- msgstr ""
354
-
355
- #: polls-manager.php:210 polls-manager.php:410
356
- msgid "Delete"
357
- msgstr ""
358
-
359
- #: polls-manager.php:210
360
- msgid "You are about to delete this poll's answer '%s'."
361
- msgstr ""
362
-
363
- #: polls-manager.php:222
364
- msgid "Total Votes:"
365
- msgstr ""
366
-
367
- #: polls-manager.php:227 polls-manager.php:444
368
- msgid "Total Voters:"
369
- msgstr ""
370
-
371
- #: polls-manager.php:267
372
- msgid "Edit Start Date/Time"
373
- msgstr ""
374
-
375
- #: polls-manager.php:276
376
- msgid "This Poll Will Not Expire"
377
- msgstr ""
378
-
379
- #: polls-manager.php:305 wp-polls.php:243 wp-polls.php:1459
380
- msgid "Close Poll"
381
- msgstr ""
382
-
383
- #: polls-manager.php:305
384
- msgid "You are about to CLOSE this poll '%s'."
385
- msgstr ""
386
-
387
- #: polls-manager.php:306 wp-polls.php:242 wp-polls.php:1447
388
- msgid "Open Poll"
389
- msgstr ""
390
-
391
- #: polls-manager.php:306
392
- msgid "You are about to OPEN this poll '%s'."
393
- msgstr ""
394
-
395
- #: polls-manager.php:325 wp-polls.php:55
396
- msgid "Manage Polls"
397
- msgstr ""
398
-
399
- #: polls-manager.php:326 wp-polls.php:53 wp-polls.php:1536 wp-polls.php:1571
400
- msgid "Polls"
401
- msgstr ""
402
-
403
- #: polls-manager.php:331
404
- msgid "ID"
405
- msgstr ""
406
-
407
- #: polls-manager.php:333 polls-templates.php:121 polls-templates.php:124
408
- #: wp-polls.php:1735 wp-polls.php:1738
409
- msgid "Total Voters"
410
- msgstr ""
411
-
412
- #: polls-manager.php:336
413
- msgid "Status"
414
- msgstr ""
415
-
416
- #: polls-manager.php:337
417
- msgid "Action"
418
- msgstr ""
419
-
420
- #: polls-manager.php:361 wp-polls.php:448 wp-polls.php:571 wp-polls.php:989
421
- msgid "No Expiry"
422
- msgstr ""
423
-
424
- #: polls-manager.php:386 polls-manager.php:390 polls-manager.php:393
425
- msgid "Displayed:"
426
- msgstr ""
427
-
428
- #: polls-manager.php:401
429
- msgid "Open"
430
- msgstr ""
431
-
432
- #: polls-manager.php:403
433
- msgid "Future"
434
- msgstr ""
435
-
436
- #: polls-manager.php:405
437
- msgid "Closed"
438
- msgstr ""
439
-
440
- #: polls-manager.php:408
441
- msgid "Logs"
442
- msgstr ""
443
-
444
- #: polls-manager.php:409
445
- msgid "Edit"
446
- msgstr ""
447
-
448
- #: polls-manager.php:410
449
- msgid "You are about to delete this poll, '%s'."
450
- msgstr ""
451
-
452
- #: polls-manager.php:418
453
- msgid "No Polls Found"
454
- msgstr ""
455
-
456
- #: polls-manager.php:428
457
- msgid "Polls Stats:"
458
- msgstr ""
459
-
460
- #: polls-manager.php:432
461
- msgid "Total Polls:"
462
- msgstr ""
463
-
464
- #: polls-manager.php:436
465
- msgid "Total Polls' Answers:"
466
- msgstr ""
467
-
468
- #: polls-manager.php:440
469
- msgid "Total Votes Cast:"
470
- msgstr ""
471
-
472
- #: polls-manager.php:453
473
- msgid "Polls Logs"
474
- msgstr ""
475
-
476
- #: polls-manager.php:460
477
- msgid "Are You Sure You Want To Delete All Polls Logs?"
478
- msgstr ""
479
-
480
- #: polls-manager.php:462 wp-polls.php:237 wp-polls.php:1404
481
- msgid "Delete All Logs"
482
- msgstr ""
483
-
484
- #: polls-manager.php:462
485
- msgid "You are about to delete all poll logs. This action is not reversible."
486
- msgstr ""
487
-
488
- #: polls-manager.php:465 wp-polls.php:236
489
- msgid "No poll logs available."
490
- msgstr ""
491
-
492
- #: polls-options.php:70 polls-options.php:130 polls-options.php:133
493
- msgid "Poll Bar Style"
494
- msgstr ""
495
-
496
- #: polls-options.php:71
497
- msgid "Poll AJAX Style"
498
- msgstr ""
499
-
500
- #: polls-options.php:72
501
- msgid "Sort Poll Answers By Option"
502
- msgstr ""
503
-
504
- #: polls-options.php:73
505
- msgid "Sort Order Of Poll Answers Option"
506
- msgstr ""
507
-
508
- #: polls-options.php:74
509
- msgid "Sort Poll Results By Option"
510
- msgstr ""
511
-
512
- #: polls-options.php:75
513
- msgid "Sort Order Of Poll Results Option"
514
- msgstr ""
515
-
516
- #: polls-options.php:76
517
- msgid "Number Of Polls Per Page To Display In Poll Archive Option"
518
- msgstr ""
519
-
520
- #: polls-options.php:77
521
- msgid "Type Of Polls To Display In Poll Archive Option"
522
- msgstr ""
523
-
524
- #: polls-options.php:78
525
- msgid "Poll Archive URL Option"
526
- msgstr ""
527
-
528
- #: polls-options.php:79
529
- msgid "Show Poll Achive Link Option"
530
- msgstr ""
531
-
532
- #: polls-options.php:80
533
- msgid "Current Active Poll Option"
534
- msgstr ""
535
-
536
- #: polls-options.php:81
537
- msgid "Poll Close Option"
538
- msgstr ""
539
-
540
- #: polls-options.php:82 polls-options.php:280
541
- msgid "Logging Method"
542
- msgstr ""
543
-
544
- #: polls-options.php:83
545
- msgid "Cookie And Log Expiry Option"
546
- msgstr ""
547
-
548
- #: polls-options.php:84
549
- msgid "Allow To Vote Option"
550
- msgstr ""
551
-
552
- #: polls-options.php:89 polls-templates.php:84
553
- msgid "Updated"
554
- msgstr ""
555
-
556
- #: polls-options.php:94 polls-templates.php:89
557
- msgid "No Poll Option Updated"
558
- msgstr ""
559
-
560
- #: polls-options.php:128 wp-polls.php:57
561
- msgid "Poll Options"
562
- msgstr ""
563
-
564
- #: polls-options.php:160
565
- msgid "Use CSS Style"
566
- msgstr ""
567
-
568
- #: polls-options.php:164
569
- msgid "Poll Bar Background"
570
- msgstr ""
571
-
572
- #: polls-options.php:169
573
- msgid "Poll Bar Border"
574
- msgstr ""
575
-
576
- #: polls-options.php:174
577
- msgid "Poll Bar Height"
578
- msgstr ""
579
-
580
- #: polls-options.php:178
581
- msgid "Your poll bar will look like this"
582
- msgstr ""
583
-
584
- #: polls-options.php:193
585
- msgid "Polls AJAX Style"
586
- msgstr ""
587
-
588
- #: polls-options.php:196
589
- msgid "Show Loading Image With Text"
590
- msgstr ""
591
-
592
- #: polls-options.php:205
593
- msgid "Show Fading In And Fading Out Of Poll"
594
- msgstr ""
595
-
596
- #: polls-options.php:216
597
- msgid "Sorting Of Poll Answers"
598
- msgstr ""
599
-
600
- #: polls-options.php:219
601
- msgid "Sort Poll Answers By:"
602
- msgstr ""
603
-
604
- #: polls-options.php:222 polls-options.php:247
605
- msgid "Exact Order"
606
- msgstr ""
607
-
608
- #: polls-options.php:223 polls-options.php:248
609
- msgid "Alphabetical Order"
610
- msgstr ""
611
-
612
- #: polls-options.php:224 polls-options.php:249
613
- msgid "Random Order"
614
- msgstr ""
615
-
616
- #: polls-options.php:229
617
- msgid "Sort Order Of Poll Answers:"
618
- msgstr ""
619
-
620
- #: polls-options.php:232 polls-options.php:257
621
- msgid "Ascending"
622
- msgstr ""
623
-
624
- #: polls-options.php:233 polls-options.php:258
625
- msgid "Descending"
626
- msgstr ""
627
-
628
- #: polls-options.php:240
629
- msgid "Sorting Of Poll Results"
630
- msgstr ""
631
-
632
- #: polls-options.php:243
633
- msgid "Sort Poll Results By:"
634
- msgstr ""
635
-
636
- #: polls-options.php:246
637
- msgid "Votes Cast"
638
- msgstr ""
639
-
640
- #: polls-options.php:254
641
- msgid "Sort Order Of Poll Results:"
642
- msgstr ""
643
-
644
- #: polls-options.php:265
645
- msgid "Allow To Vote"
646
- msgstr ""
647
-
648
- #: polls-options.php:268
649
- msgid "Who Is Allowed To Vote?"
650
- msgstr ""
651
-
652
- #: polls-options.php:271
653
- msgid "Guests Only"
654
- msgstr ""
655
-
656
- #: polls-options.php:272
657
- msgid "Registered Users Only"
658
- msgstr ""
659
-
660
- #: polls-options.php:273
661
- msgid "Registered Users And Guests"
662
- msgstr ""
663
-
664
- #: polls-options.php:283
665
- msgid "Poll Logging Method:"
666
- msgstr ""
667
-
668
- #: polls-options.php:286
669
- msgid "Do Not Log"
670
- msgstr ""
671
-
672
- #: polls-options.php:287
673
- msgid "Logged By Cookie"
674
- msgstr ""
675
-
676
- #: polls-options.php:288
677
- msgid "Logged By IP"
678
- msgstr ""
679
-
680
- #: polls-options.php:289
681
- msgid "Logged By Cookie And IP"
682
- msgstr ""
683
-
684
- #: polls-options.php:290
685
- msgid "Logged By Username"
686
- msgstr ""
687
-
688
- #: polls-options.php:295
689
- msgid "Expiry Time For Cookie And Log:"
690
- msgstr ""
691
-
692
- #: polls-options.php:296
693
- msgid "seconds (0 to disable)"
694
- msgstr ""
695
-
696
- #: polls-options.php:301
697
- msgid "Poll Archive"
698
- msgstr ""
699
-
700
- #: polls-options.php:304
701
- msgid "Number Of Polls Per Page:"
702
- msgstr ""
703
-
704
- #: polls-options.php:308
705
- msgid "Type Of Polls To Display In Poll Archive:"
706
- msgstr ""
707
-
708
- #: polls-options.php:311
709
- msgid "Closed Polls Only"
710
- msgstr ""
711
-
712
- #: polls-options.php:312
713
- msgid "Opened Polls Only"
714
- msgstr ""
715
-
716
- #: polls-options.php:313
717
- msgid "Closed And Opened Polls"
718
- msgstr ""
719
-
720
- #: polls-options.php:318
721
- msgid "Poll Archive URL:"
722
- msgstr ""
723
-
724
- #: polls-options.php:322
725
- msgid "Display Poll Archive Link Below Poll?"
726
- msgstr ""
727
-
728
- #: polls-options.php:331
729
- msgid "Note"
730
- msgstr ""
731
-
732
- #: polls-options.php:332
733
- msgid ""
734
- "Only polls' results will be shown in the Poll Archive regardless of whether "
735
- "the poll is closed or opened."
736
- msgstr ""
737
-
738
- #: polls-options.php:337 polls-options.php:340
739
- msgid "Current Active Poll"
740
- msgstr ""
741
-
742
- #: polls-options.php:343 wp-polls.php:1590
743
- msgid "Do NOT Display Poll (Disable)"
744
- msgstr ""
745
-
746
- #: polls-options.php:344 wp-polls.php:1591
747
- msgid "Display Random Poll"
748
- msgstr ""
749
-
750
- #: polls-options.php:345 wp-polls.php:1592
751
- msgid "Display Latest Poll"
752
- msgstr ""
753
-
754
- #: polls-options.php:365
755
- msgid "When Poll Is Closed"
756
- msgstr ""
757
-
758
- #: polls-options.php:368
759
- msgid "Display Poll's Results"
760
- msgstr ""
761
-
762
- #: polls-options.php:369
763
- msgid "Display Disabled Poll's Voting Form"
764
- msgstr ""
765
-
766
- #: polls-options.php:370
767
- msgid "Do Not Display Poll In Post/Sidebar"
768
- msgstr ""
769
-
770
- #: polls-options.php:378 polls-templates.php:494
771
- msgid "Save Changes"
772
- msgstr ""
773
-
774
- #: polls-templates.php:65
775
- msgid "Voting Form Header Template"
776
- msgstr ""
777
-
778
- #: polls-templates.php:66
779
- msgid "Voting Form Body Template"
780
- msgstr ""
781
-
782
- #: polls-templates.php:67
783
- msgid "Voting Form Footer Template"
784
- msgstr ""
785
-
786
- #: polls-templates.php:68
787
- msgid "Result Header Template"
788
- msgstr ""
789
-
790
- #: polls-templates.php:69
791
- msgid "Result Body Template"
792
- msgstr ""
793
-
794
- #: polls-templates.php:70
795
- msgid "Result Body2 Template"
796
- msgstr ""
797
-
798
- #: polls-templates.php:71
799
- msgid "Result Footer Template"
800
- msgstr ""
801
-
802
- #: polls-templates.php:72
803
- msgid "Result Footer2 Template"
804
- msgstr ""
805
-
806
- #: polls-templates.php:73
807
- msgid "Poll Archive Link Template"
808
- msgstr ""
809
-
810
- #: polls-templates.php:74
811
- msgid "Poll Archive Poll Header Template"
812
- msgstr ""
813
-
814
- #: polls-templates.php:75
815
- msgid "Poll Archive Poll Footer Template"
816
- msgstr ""
817
-
818
- #: polls-templates.php:76
819
- msgid "Poll Archive Paging Header Template"
820
- msgstr ""
821
-
822
- #: polls-templates.php:77
823
- msgid "Poll Archive Paging Footer Template"
824
- msgstr ""
825
-
826
- #: polls-templates.php:78
827
- msgid "Poll Disabled Template"
828
- msgstr ""
829
-
830
- #: polls-templates.php:79
831
- msgid "Poll Error Template"
832
- msgstr ""
833
-
834
- #: polls-templates.php:109 polls-templates.php:124 wp-polls.php:1726
835
- #: wp-polls.php:1739
836
- msgid "Vote"
837
- msgstr ""
838
-
839
- #: polls-templates.php:109 wp-polls.php:1727
840
- msgid "View Results Of This Poll"
841
- msgstr ""
842
-
843
- #: polls-templates.php:109 wp-polls.php:1727
844
- msgid "View Results"
845
- msgstr ""
846
-
847
- #: polls-templates.php:115 polls-templates.php:118 wp-polls.php:1732
848
- #: wp-polls.php:1733
849
- msgid ","
850
- msgstr ""
851
-
852
- #: polls-templates.php:115 polls-templates.php:118 wp-polls.php:1732
853
- #: wp-polls.php:1733
854
- msgid "Votes"
855
- msgstr ""
856
-
857
- #: polls-templates.php:118 wp-polls.php:1733
858
- msgid "You Have Voted For This Choice"
859
- msgstr ""
860
-
861
- #: polls-templates.php:124 wp-polls.php:1739
862
- msgid "Vote For This Poll"
863
- msgstr ""
864
-
865
- #: polls-templates.php:127 wp-polls.php:1765
866
- msgid "Polls Archive"
867
- msgstr ""
868
-
869
- #: polls-templates.php:133 wp-polls.php:1769
870
- msgid "Start Date:"
871
- msgstr ""
872
-
873
- #: polls-templates.php:133 wp-polls.php:1769
874
- msgid "End Date:"
875
- msgstr ""
876
-
877
- #: polls-templates.php:142 wp-polls.php:1741
878
- msgid "Sorry, there are no polls available at the moment."
879
- msgstr ""
880
-
881
- #: polls-templates.php:145 wp-polls.php:1742
882
- msgid "An error has occurred when processing your poll."
883
- msgstr ""
884
-
885
- #: polls-templates.php:156 wp-polls.php:58
886
- msgid "Poll Templates"
887
- msgstr ""
888
-
889
- #: polls-templates.php:158
890
- msgid "Template Variables"
891
- msgstr ""
892
-
893
- #: polls-templates.php:163
894
- msgid "Display the poll's ID"
895
- msgstr ""
896
-
897
- #: polls-templates.php:167
898
- msgid "Display the poll's answer ID"
899
- msgstr ""
900
-
901
- #: polls-templates.php:173
902
- msgid "Display the poll's question"
903
- msgstr ""
904
-
905
- #: polls-templates.php:177
906
- msgid "Display the poll's answer"
907
- msgstr ""
908
-
909
- #: polls-templates.php:183
910
- msgid ""
911
- "Display the poll's total votes NOT the number of people who voted for the "
912
- "poll"
913
- msgstr ""
914
-
915
- #: polls-templates.php:187
916
- msgid "Display the poll's answer without HTML formatting."
917
- msgstr ""
918
-
919
- #: polls-templates.php:193
920
- msgid "Displays URL to poll's result"
921
- msgstr ""
922
-
923
- #: polls-templates.php:197
924
- msgid "Display the poll's answer votes"
925
- msgstr ""
926
-
927
- #: polls-templates.php:203
928
- msgid "Display the poll's most voted answer"
929
- msgstr ""
930
-
931
- #: polls-templates.php:207
932
- msgid "Display the poll's answer percentage"
933
- msgstr ""
934
-
935
- #: polls-templates.php:213
936
- msgid "Display the poll's answer votes for the most voted answer"
937
- msgstr ""
938
-
939
- #: polls-templates.php:217
940
- msgid "Display the poll's answer image width"
941
- msgstr ""
942
-
943
- #: polls-templates.php:223
944
- msgid "Display the poll's answer percentage for the most voted answer"
945
- msgstr ""
946
-
947
- #: polls-templates.php:227
948
- msgid "Display the poll's least voted answer"
949
- msgstr ""
950
-
951
- #: polls-templates.php:233
952
- msgid "Display the poll's start date/time"
953
- msgstr ""
954
-
955
- #: polls-templates.php:237
956
- msgid "Display the poll's answer votes for the least voted answer"
957
- msgstr ""
958
-
959
- #: polls-templates.php:243
960
- msgid "Display the poll's end date/time"
961
- msgstr ""
962
-
963
- #: polls-templates.php:247
964
- msgid "Display the poll's answer percentage for the least voted answer"
965
- msgstr ""
966
-
967
- #: polls-templates.php:253
968
- msgid ""
969
- "Display the the maximum number of answers the user can choose if the poll "
970
- "supports multiple answers"
971
- msgstr ""
972
-
973
- #: polls-templates.php:257
974
- msgid ""
975
- "Display \"checkbox\" or \"radio\" input types depending on the poll type"
976
- msgstr ""
977
-
978
- #: polls-templates.php:263
979
- msgid ""
980
- "Display the number of people who voted for the poll NOT the total votes of "
981
- "the poll"
982
- msgstr ""
983
-
984
- #: polls-templates.php:267
985
- msgid "Display the poll archive URL"
986
- msgstr ""
987
-
988
- #: polls-templates.php:272
989
- msgid ""
990
- "Note: <strong>%POLL_TOTALVOTES%</strong> and <strong>%POLL_TOTALVOTERS%</"
991
- "strong> will be different if your poll supports multiple answers. If your "
992
- "poll allows only single answer, both value will be the same."
993
- msgstr ""
994
-
995
- #: polls-templates.php:278
996
- msgid "Poll Voting Form Templates"
997
- msgstr ""
998
-
999
- #: polls-templates.php:282
1000
- msgid "Voting Form Header:"
1001
- msgstr ""
1002
-
1003
- #: polls-templates.php:283 polls-templates.php:298 polls-templates.php:311
1004
- #: polls-templates.php:327 polls-templates.php:342 polls-templates.php:357
1005
- #: polls-templates.php:372 polls-templates.php:392 polls-templates.php:417
1006
- #: polls-templates.php:426 polls-templates.php:435 polls-templates.php:454
1007
- #: polls-templates.php:463 polls-templates.php:477 polls-templates.php:486
1008
- msgid "Allowed Variables:"
1009
- msgstr ""
1010
-
1011
- #: polls-templates.php:291 polls-templates.php:304 polls-templates.php:315
1012
- #: polls-templates.php:335 polls-templates.php:350 polls-templates.php:365
1013
- #: polls-templates.php:385 polls-templates.php:405 polls-templates.php:419
1014
- #: polls-templates.php:428 polls-templates.php:447 polls-templates.php:456
1015
- #: polls-templates.php:465 polls-templates.php:479 polls-templates.php:488
1016
- msgid "Restore Default Template"
1017
- msgstr ""
1018
-
1019
- #: polls-templates.php:297
1020
- msgid "Voting Form Body:"
1021
- msgstr ""
1022
-
1023
- #: polls-templates.php:310
1024
- msgid "Voting Form Footer:"
1025
- msgstr ""
1026
-
1027
- #: polls-templates.php:322
1028
- msgid "Poll Result Templates"
1029
- msgstr ""
1030
-
1031
- #: polls-templates.php:326
1032
- msgid "Result Header:"
1033
- msgstr ""
1034
-
1035
- #: polls-templates.php:341 polls-templates.php:356
1036
- msgid "Result Body:"
1037
- msgstr ""
1038
-
1039
- #: polls-templates.php:341 polls-templates.php:391
1040
- msgid "Displayed When The User HAS NOT Voted"
1041
- msgstr ""
1042
-
1043
- #: polls-templates.php:356 polls-templates.php:371
1044
- msgid "Displayed When The User HAS Voted"
1045
- msgstr ""
1046
-
1047
- #: polls-templates.php:371 polls-templates.php:391
1048
- msgid "Result Footer:"
1049
- msgstr ""
1050
-
1051
- #: polls-templates.php:412
1052
- msgid "Poll Archive Templates"
1053
- msgstr ""
1054
-
1055
- #: polls-templates.php:416
1056
- msgid "Poll Archive Link"
1057
- msgstr ""
1058
-
1059
- #: polls-templates.php:416
1060
- msgid "Template For Displaying Poll Archive Link"
1061
- msgstr ""
1062
-
1063
- #: polls-templates.php:425
1064
- msgid "Individual Poll Header"
1065
- msgstr ""
1066
-
1067
- #: polls-templates.php:425
1068
- msgid "Displayed Before Each Poll In The Poll Archive"
1069
- msgstr ""
1070
-
1071
- #: polls-templates.php:427 polls-templates.php:455 polls-templates.php:464
1072
- #: polls-templates.php:478 polls-templates.php:487
1073
- msgid "N/A"
1074
- msgstr ""
1075
-
1076
- #: polls-templates.php:434
1077
- msgid "Individual Poll Footer"
1078
- msgstr ""
1079
-
1080
- #: polls-templates.php:434
1081
- msgid "Displayed After Each Poll In The Poll Archive"
1082
- msgstr ""
1083
-
1084
- #: polls-templates.php:453
1085
- msgid "Paging Header"
1086
- msgstr ""
1087
-
1088
- #: polls-templates.php:453
1089
- msgid "Displayed Before Paging In The Poll Archive"
1090
- msgstr ""
1091
-
1092
- #: polls-templates.php:462
1093
- msgid "Paging Footer"
1094
- msgstr ""
1095
-
1096
- #: polls-templates.php:462
1097
- msgid "Displayed After Paging In The Poll Archive"
1098
- msgstr ""
1099
-
1100
- #: polls-templates.php:472
1101
- msgid "Poll Misc Templates"
1102
- msgstr ""
1103
-
1104
- #: polls-templates.php:476
1105
- msgid "Poll Disabled"
1106
- msgstr ""
1107
-
1108
- #: polls-templates.php:476
1109
- msgid "Displayed When The Poll Is Disabled"
1110
- msgstr ""
1111
-
1112
- #: polls-templates.php:485
1113
- msgid "Poll Error"
1114
- msgstr ""
1115
-
1116
- #: polls-templates.php:485
1117
- msgid "Displayed When An Error Has Occured While Processing The Poll"
1118
- msgstr ""
1119
-
1120
- #: wp-polls.php:216
1121
- msgid "Your last request is still being processed. Please wait a while ..."
1122
- msgstr ""
1123
-
1124
- #: wp-polls.php:217
1125
- msgid "Please choose a valid poll answer."
1126
- msgstr ""
1127
-
1128
- #: wp-polls.php:218
1129
- msgid "Maximum number of choices allowed: "
1130
- msgstr ""
1131
-
1132
- #: wp-polls.php:235 wp-polls.php:1471
1133
- msgid "Delete Poll"
1134
- msgstr ""
1135
-
1136
- #: wp-polls.php:238
1137
- msgid "Please check the \\'Yes\\' checkbox if you want to delete all logs."
1138
- msgstr ""
1139
-
1140
- #: wp-polls.php:240
1141
- msgid ""
1142
- "Please check the \\'Yes\\' checkbox if you want to delete all logs for this "
1143
- "poll ONLY."
1144
- msgstr ""
1145
-
1146
- #: wp-polls.php:241 wp-polls.php:1430
1147
- msgid "Delete Poll Answer"
1148
- msgstr ""
1149
-
1150
- #: wp-polls.php:259
1151
- msgid "Poll"
1152
- msgstr ""
1153
-
1154
- #: wp-polls.php:260 wp-polls.php:297
1155
- msgid "Enter Poll ID"
1156
- msgstr ""
1157
-
1158
- #: wp-polls.php:262 wp-polls.php:298
1159
- msgid "Error: Poll ID must be numeric"
1160
- msgstr ""
1161
-
1162
- #: wp-polls.php:262 wp-polls.php:299
1163
- msgid "Please enter Poll ID again"
1164
- msgstr ""
1165
-
1166
- #: wp-polls.php:300
1167
- msgid "Insert Poll"
1168
- msgstr ""
1169
-
1170
- #: wp-polls.php:526 wp-polls.php:711
1171
- msgid "Loading"
1172
- msgstr ""
1173
-
1174
- #: wp-polls.php:764
1175
- msgid ""
1176
- "Note: There is a poll embedded within this post, please visit the site to "
1177
- "participate in this post's poll."
1178
- msgstr ""
1179
-
1180
- #: wp-polls.php:1130
1181
- msgid "Page %s of %s"
1182
- msgstr ""
1183
-
1184
- #: wp-polls.php:1132
1185
- msgid "&laquo; First"
1186
- msgstr ""
1187
-
1188
- #: wp-polls.php:1136
1189
- msgid "&laquo;"
1190
- msgstr ""
1191
-
1192
- #: wp-polls.php:1146
1193
- msgid "&raquo;"
1194
- msgstr ""
1195
-
1196
- #: wp-polls.php:1150
1197
- msgid "Last &raquo;"
1198
- msgstr ""
1199
-
1200
- #: wp-polls.php:1305
1201
- msgid "Invalid Poll ID"
1202
- msgstr ""
1203
-
1204
- #: wp-polls.php:1312
1205
- msgid "Failed To Verify Referrer"
1206
- msgstr ""
1207
-
1208
- #: wp-polls.php:1364
1209
- msgid "Unable To Update Poll Total Votes And Poll Total Voters. Poll ID #%s"
1210
- msgstr ""
1211
-
1212
- #: wp-polls.php:1367
1213
- msgid "You Had Already Voted For This Poll. Poll ID #%s"
1214
- msgstr ""
1215
-
1216
- #: wp-polls.php:1370
1217
- msgid "Poll ID #%s is closed"
1218
- msgstr ""
1219
-
1220
- #: wp-polls.php:1373
1221
- msgid "Invalid Poll ID. Poll ID #%s"
1222
- msgstr ""
1223
-
1224
- #: wp-polls.php:1409
1225
- msgid "All Polls Logs Have Been Deleted."
1226
- msgstr ""
1227
-
1228
- #: wp-polls.php:1411
1229
- msgid "An Error Has Occurred While Deleting All Polls Logs."
1230
- msgstr ""
1231
-
1232
- #: wp-polls.php:1423
1233
- msgid "All Logs For '%s' Has Been Deleted."
1234
- msgstr ""
1235
-
1236
- #: wp-polls.php:1425
1237
- msgid "An Error Has Occurred While Deleting All Logs For '%s'"
1238
- msgstr ""
1239
-
1240
- #: wp-polls.php:1441
1241
- msgid "Poll Answer '%s' Deleted Successfully."
1242
- msgstr ""
1243
-
1244
- #: wp-polls.php:1443
1245
- msgid "Error In Deleting Poll Answer '%s'."
1246
- msgstr ""
1247
-
1248
- #: wp-polls.php:1453
1249
- msgid "Poll '%s' Is Now Opened"
1250
- msgstr ""
1251
-
1252
- #: wp-polls.php:1455
1253
- msgid "Error Opening Poll '%s'"
1254
- msgstr ""
1255
-
1256
- #: wp-polls.php:1465
1257
- msgid "Poll '%s' Is Now Closed"
1258
- msgstr ""
1259
-
1260
- #: wp-polls.php:1467
1261
- msgid "Error Closing Poll '%s'"
1262
- msgstr ""
1263
-
1264
- #: wp-polls.php:1480
1265
- msgid "Error In Deleting Poll '%s' Question"
1266
- msgstr ""
1267
-
1268
- #: wp-polls.php:1483
1269
- msgid "Poll '%s' Deleted Successfully"
1270
- msgstr ""
1271
-
1272
- #. #-#-#-#-# plugin.pot (WP-Polls 2.69) #-#-#-#-#
1273
- #. Plugin Name of the plugin/theme
1274
- #: wp-polls.php:1508 wp-polls.php:1510 wp-polls.php:1520
1275
- msgid "WP-Polls"
1276
- msgstr ""
1277
-
1278
- #: wp-polls.php:1522
1279
- msgid "<strong>%s</strong> poll was created."
1280
- msgid_plural "<strong>%s</strong> polls were created."
1281
- msgstr[0] ""
1282
- msgstr[1] ""
1283
-
1284
- #: wp-polls.php:1523
1285
- msgid "<strong>%s</strong> polls' answer was given."
1286
- msgid_plural "<strong>%s</strong> polls' answers were given."
1287
- msgstr[0] ""
1288
- msgstr[1] ""
1289
-
1290
- #: wp-polls.php:1524
1291
- msgid "<strong>%s</strong> vote was cast."
1292
- msgid_plural "<strong>%s</strong> votes were cast."
1293
- msgstr[0] ""
1294
- msgstr[1] ""
1295
-
1296
- #: wp-polls.php:1535
1297
- msgid "WP-Polls polls"
1298
- msgstr ""
1299
-
1300
- #: wp-polls.php:1577
1301
- msgid "Title:"
1302
- msgstr ""
1303
-
1304
- #: wp-polls.php:1580
1305
- msgid "Display Polls Archive Link Below Poll?"
1306
- msgstr ""
1307
-
1308
- #: wp-polls.php:1588
1309
- msgid "Poll To Display:"
1310
- msgstr ""
1311
-
1312
- #: wp-polls.php:1710
1313
- msgid "How Is My Site?"
1314
- msgstr ""
1315
-
1316
- #: wp-polls.php:1713
1317
- msgid "Good"
1318
- msgstr ""
1319
-
1320
- #: wp-polls.php:1714
1321
- msgid "Excellent"
1322
- msgstr ""
1323
-
1324
- #: wp-polls.php:1715
1325
- msgid "Bad"
1326
- msgstr ""
1327
-
1328
- #: wp-polls.php:1716
1329
- msgid "Can Be Improved"
1330
- msgstr ""
1331
-
1332
- #: wp-polls.php:1717
1333
- msgid "No Comments"
1334
- msgstr ""
1335
-
1336
- #. Plugin URI of the plugin/theme
1337
- msgid "http://lesterchan.net/portfolio/programming/php/"
1338
- msgstr ""
1339
-
1340
- #. Description of the plugin/theme
1341
- msgid ""
1342
- "Adds an AJAX poll system to your WordPress blog. You can easily include a "
1343
- "poll into your WordPress's blog post/page. WP-Polls is extremely "
1344
- "customizable via templates and css styles and there are tons of options for "
1345
- "you to choose to ensure that WP-Polls runs the way you wanted. It now "
1346
- "supports multiple selection of answers."
1347
- msgstr ""
1348
-
1349
- #. Author of the plugin/theme
1350
- msgid "Lester 'GaMerZ' Chan"
1351
- msgstr ""
1352
-
1353
- #. Author URI of the plugin/theme
1354
- msgid "http://lesterchan.net"
1355
- msgstr ""