Changeset 10942
- Timestamp:
- 04/13/07 06:03:09 (1 year ago)
- Files:
-
- wp-polls/trunk/polls/polls-options.php (modified) (6 diffs)
- wp-polls/trunk/polls/polls-templates.php (modified) (5 diffs)
- wp-polls/trunk/polls/polls-uninstall.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-widget.php (modified) (2 diffs)
- wp-polls/trunk/polls/polls.php (modified) (6 diffs)
- wp-polls/trunk/polls/wp-polls.pot (modified) (9 diffs)
- wp-polls/trunk/readme.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-polls/trunk/polls/polls-options.php
r10838 r10942 43 43 $poll_ans_result_sortorder = strip_tags(trim($_POST['poll_ans_result_sortorder'])); 44 44 $poll_archive_perpage = intval($_POST['poll_archive_perpage']); 45 $poll_archive_displaypoll = intval($_POST['poll_archive_displaypoll']); 45 46 $poll_archive_url = strip_tags(trim($_POST['poll_archive_url'])); 46 47 $poll_archive_show = intval($_POST['poll_archive_show']); … … 58 59 $update_poll_queries[] = update_option('poll_ans_result_sortorder', $poll_ans_result_sortorder); 59 60 $update_poll_queries[] = update_option('poll_archive_perpage', $poll_archive_perpage); 61 $update_poll_queries[] = update_option('poll_archive_displaypoll', $poll_archive_displaypoll); 60 62 $update_poll_queries[] = update_option('poll_archive_url', $poll_archive_url); 61 63 $update_poll_queries[] = update_option('poll_archive_show', $poll_archive_show); … … 70 72 $update_poll_text[] = __('Sort Poll Results By Option', 'wp-polls'); 71 73 $update_poll_text[] = __('Sort Order Of Poll Results Option', 'wp-polls'); 72 $update_poll_text[] = __('Archive Polls Per Page Option', 'wp-polls'); 73 $update_poll_text[] = __('Polls Archive URL Option', 'wp-polls'); 74 $update_poll_text[] = __('Show Polls Achive Link Option', 'wp-polls'); 74 $update_poll_text[] = __('Number Of Polls Per Page To Display In Poll Archive Option', 'wp-polls'); 75 $update_poll_text[] = __('Type Of Polls To Display In Poll Archive Option', 'wp-polls'); 76 $update_poll_text[] = __('Poll Archive URL Option', 'wp-polls'); 77 $update_poll_text[] = __('Show Poll Achive Link Option', 'wp-polls'); 75 78 $update_poll_text[] = __('Current Active Poll Option', 'wp-polls'); 76 79 $update_poll_text[] = __('Poll Close Option', 'wp-polls'); … … 298 301 <table width="100%" border="0" cellspacing="3" cellpadding="3"> 299 302 <tr valign="top"> 300 <th align="left" width="30%"><?php _e(' Polls Per Page:', 'wp-polls'); ?></th>303 <th align="left" width="30%"><?php _e('Number Of Polls Per Page:', 'wp-polls'); ?></th> 301 304 <td align="left"><input type="text" name="poll_archive_perpage" value="<?php echo intval(get_option('poll_archive_perpage')); ?>" size="2" /></td> 302 305 </tr> 303 306 <tr valign="top"> 304 <th align="left" width="30%"><?php _e('Polls Archive URL:', 'wp-polls'); ?></th> 307 <th align="left" width="30%"><?php _e('Type Of Polls To Display In Poll Archive:', 'wp-polls'); ?></th> 308 <td align="left"> 309 <select name="poll_archive_displaypoll" size="1"> 310 <option value="1"<?php selected('1', get_option('poll_archive_displaypoll')); ?>><?php _e('Closed Polls Only', 'wp-polls'); ?></option> 311 <option value="2"<?php selected('2', get_option('poll_archive_displaypoll')); ?>><?php _e('Opened Polls Only', 'wp-polls'); ?></option> 312 <option value="3"<?php selected('3', get_option('poll_archive_displaypoll')); ?>><?php _e('Closed And Opened Polls', 'wp-polls'); ?></option> 313 </select> 314 </td> 315 </tr> 316 <tr valign="top"> 317 <th align="left" width="30%"><?php _e('Poll Archive URL:', 'wp-polls'); ?></th> 305 318 <td align="left"><input type="text" name="poll_archive_url" value="<?php echo get_option('poll_archive_url'); ?>" size="50" /></td> 306 319 </tr> 307 320 <tr valign="top"> 308 <th align="left" width="30%"><?php _e('Display Poll sArchive Link Below Poll?', 'wp-polls'); ?></th>321 <th align="left" width="30%"><?php _e('Display Poll Archive Link Below Poll?', 'wp-polls'); ?></th> 309 322 <td align="left"> 310 323 <select name="poll_archive_show" size="1"> … … 315 328 </tr> 316 329 <tr valign="top"> 317 <th align="left" colspan="2"><em><?php _e('Note: Only polls that are closed will be shown in the Poll Archive.', 'wp-polls'); ?></em></th>330 <th align="left" colspan="2"><em><?php _e('Note: Only polls\' results will be shown in the Poll Archive regardless of whether the poll is closed or opened.', 'wp-polls'); ?></em></th> 318 331 </tr> 319 332 </table> … … 334 347 <option value="0"> </option> 335 348 <?php 336 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1ORDER BY pollq_id DESC");349 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 337 350 if($polls) { 338 351 foreach($polls as $poll) { wp-polls/trunk/polls/polls-templates.php
r10840 r10942 41 41 $poll_template_resultfooter2 = trim($_POST['poll_template_resultfooter2']); 42 42 $poll_template_pollarchivelink = trim($_POST['poll_template_pollarchivelink']); 43 $poll_template_pollarchiveheader = trim($_POST['poll_template_pollarchiveheader']); 44 $poll_template_pollarchivefooter = trim($_POST['poll_template_pollarchivefooter']); 43 45 $poll_template_disable = trim($_POST['poll_template_disable']); 44 46 $poll_template_error = trim($_POST['poll_template_error']); … … 54 56 $update_poll_queries[] = update_option('poll_template_resultfooter2', $poll_template_resultfooter2); 55 57 $update_poll_queries[] = update_option('poll_template_pollarchivelink', $poll_template_pollarchivelink); 58 $update_poll_queries[] = update_option('poll_template_pollarchiveheader', $poll_template_pollarchiveheader); 59 $update_poll_queries[] = update_option('poll_template_pollarchivefooter', $poll_template_pollarchivefooter); 56 60 $update_poll_queries[] = update_option('poll_template_disable', $poll_template_disable); 57 61 $update_poll_queries[] = update_option('poll_template_error', $poll_template_error); … … 65 69 $update_poll_text[] = __('Result Footer2 Template', 'wp-polls'); 66 70 $update_poll_text[] = __('Poll Archive Link Template', 'wp-polls'); 71 $update_poll_text[] = __('Poll Archive Poll Header Template', 'wp-polls'); 72 $update_poll_text[] = __('Poll Archive Poll Footer Template', 'wp-polls'); 67 73 $update_poll_text[] = __('Poll Disabled Template', 'wp-polls'); 68 74 $update_poll_text[] = __('Poll Error Template', 'wp-polls'); … … 116 122 default_template = "<ul>\n<li><a href=\"%POLL_ARCHIVE_URL%\"><?php _e('Polls Archive', 'wp-polls'); ?></a></li>\n</ul>"; 117 123 break; 124 case "pollarchiveheader": 125 default_template = ""; 126 break; 127 case "pollarchivefooter": 128 default_template = "<p>Start Date: %POLL_START_DATE%<br />End Date: %POLL_END_DATE%</p>"; 129 break; 118 130 case "disable": 119 131 default_template = "<?php _e('Sorry, there are no polls available at the moment.', 'wp-polls'); ?>"; … … 385 397 </fieldset> 386 398 <fieldset class="options"> 399 <legend><?php _e('Poll Archive Templates', 'wp-polls'); ?></legend> 400 <table width="100%" border="0" cellspacing="3" cellpadding="3"> 401 <tr valign="top"> 402 <td width="30%" align="left"> 403 <strong><?php _e('Poll Archive Link', 'wp-polls'); ?></strong><br /><?php _e('Template For Displaying Poll Archive Link', 'wp-polls'); ?><br /><br /> 404 <?php _e('Allowed Variables:', 'wp-polls'); ?><br /> 405 - %POLL_ARCHIVE_URL%<br /><br /> 406 <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="javascript: poll_default_templates('pollarchivelink');" class="button" /> 407 </td> 408 <td align="left"><textarea cols="80" rows="12" id="poll_template_pollarchivelink" name="poll_template_pollarchivelink"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivelink'))); ?></textarea></td> 409 </tr> 410 <tr valign="top"> 411 <td width="30%" align="left"> 412 <strong><?php _e('Individual Poll Header', 'wp-polls'); ?></strong><br /><?php _e('Displayed Before Each Poll In The Poll Archive', 'wp-polls'); ?><br /><br /> 413 <?php _e('Allowed Variables:', 'wp-polls'); ?><br /> 414 - <?php _e('N/A', 'wp-polls'); ?><br /><br /> 415 <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="javascript: poll_default_templates('pollarchiveheader');" class="button" /> 416 </td> 417 <td align="left"><textarea cols="80" rows="12" id="poll_template_pollarchiveheader" name="poll_template_pollarchiveheader"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchiveheader'))); ?></textarea></td> 418 </tr> 419 <tr valign="top"> 420 <td width="30%" align="left"> 421 <strong><?php _e('Individual Poll Footer', 'wp-polls'); ?></strong><br /><?php _e('Displayed After Each Poll In The Poll Archive', 'wp-polls'); ?><br /><br /> 422 <?php _e('Allowed Variables:', 'wp-polls'); ?><br /> 423 - %POLL_START_DATE%<br /> 424 - %POLL_END_DATE%<br /> 425 - %POLL_TOTALVOTES%<br /> 426 - %POLL_TOTALVOTERS%<br /> 427 - %POLL_MOST_ANSWER%<br /> 428 - %POLL_MOST_VOTES%<br /> 429 - %POLL_MOST_PERCENTAGE%<br /> 430 - %POLL_LEAST_ANSWER%<br /> 431 - %POLL_LEAST_VOTES%<br /> 432 - %POLL_LEAST_PERCENTAGE%<br /> 433 - %POLL_MULTIPLE_ANS_MAX%<br /><br /> 434 <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="javascript: poll_default_templates('pollarchivefooter');" class="button" /> 435 </td> 436 <td align="left"><textarea cols="80" rows="12" id="poll_template_pollarchivefooter" name="poll_template_pollarchivefooter"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivefooter'))); ?></textarea></td> 437 </tr> 438 </table> 439 </fieldset> 440 <fieldset class="options"> 387 441 <legend><?php _e('Poll Misc Templates', 'wp-polls'); ?></legend> 388 442 <table width="100%" border="0" cellspacing="3" cellpadding="3"> 389 <tr valign="top">390 <td width="30%" align="left">391 <strong><?php _e('Poll Archive Link', 'wp-polls'); ?></strong><br /><?php _e('Template For Displaying Poll Archive Link', 'wp-polls'); ?><br /><br />392 <?php _e('Allowed Variables:', 'wp-polls'); ?><br />393 - %POLL_ARCHIVE_URL%<br /><br />394 <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="javascript: poll_default_templates('pollarchivelink');" class="button" />395 </td>396 <td align="left"><textarea cols="80" rows="12" id="poll_template_pollarchivelink" name="poll_template_pollarchivelink"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivelink'))); ?></textarea></td>397 </tr>398 443 <tr valign="top"> 399 444 <td width="30%" align="left"> wp-polls/trunk/polls/polls-uninstall.php
r10840 r10942 34 34 'poll_archive_perpage', 'poll_ans_sortby', 'poll_ans_sortorder', 'poll_ans_result_sortby', 35 35 'poll_ans_result_sortorder', 'poll_logging_method', 'poll_allowtovote', 'poll_archive_show', 36 'poll_archive_url', 'poll_bar', 'poll_close', 'poll_ajax_style', 'poll_template_pollarchivelink', 'widget_polls' );36 'poll_archive_url', 'poll_bar', 'poll_close', 'poll_ajax_style', 'poll_template_pollarchivelink', 'widget_polls', 'poll_archive_displaypoll', 'poll_archive_pollarchiveheader', 'poll_archive_pollarchivefooter'); 37 37 38 38 ### Form Processing wp-polls/trunk/polls/polls-widget.php
r10838 r10942 136 136 echo '</option>'."\n"; 137 137 echo '<option value="0"> </option>'."\n"; 138 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1ORDER BY pollq_id DESC");138 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 139 139 if($polls) { 140 140 foreach($polls as $poll) { … … 161 161 echo '<select id="poll_multiplepolls" name="poll_multiplepolls[]" size="5" multiple="true" style="vertical-align: text-top;" $disabled>'."\n"; 162 162 $multiple_polls = explode(',', $options['multiple_polls']); 163 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1ORDER BY pollq_id DESC");163 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 164 164 if($polls) { 165 165 foreach($polls as $poll) { wp-polls/trunk/polls/polls.php
r10840 r10942 709 709 $poll_id = 0; 710 710 $pollsarchive_output_archive = ''; 711 711 $polls_type = intval(get_option('poll_archive_displaypoll')); 712 $polls_type_sql = ''; 713 // Determine What Type Of Polls To Show 714 switch($polls_type) { 715 case 1: 716 $polls_type_sql = 'pollq_active = 0'; 717 break; 718 case 2: 719 $polls_type_sql = 'pollq_active = 1'; 720 break; 721 case 3: 722 $polls_type_sql = 'pollq_active IN (0,1)'; 723 break; 724 } 712 725 // Get Total Polls 713 $total_polls = $wpdb->get_var("SELECT COUNT(pollq_id) FROM $wpdb->pollsq WHERE pollq_timestamp <= '".current_time('timestamp')."'");726 $total_polls = $wpdb->get_var("SELECT COUNT(pollq_id) FROM $wpdb->pollsq WHERE $polls_type_sql AND pollq_active != -1"); 714 727 715 728 // Checking $page and $offset … … 738 751 739 752 // Get Poll Questions 740 $questions = $wpdb->get_results("SELECT * FROM $wpdb->pollsq WHERE pollq_active = 0ORDER BY pollq_id DESC LIMIT $offset, $polls_perpage");753 $questions = $wpdb->get_results("SELECT * FROM $wpdb->pollsq WHERE $polls_type_sql ORDER BY pollq_id DESC LIMIT $offset, $polls_perpage"); 741 754 if($questions) { 742 755 foreach($questions as $question) { … … 784 797 $poll_end_date = mysql2date(get_option('date_format').' @ '.get_option('time_format'), gmdate('Y-m-d H:i:s', $polls_question['end'])); 785 798 } 799 // Archive Poll Header 800 $template_archive_header = stripslashes(get_option('poll_template_pollarchiveheader')); 786 801 // Poll Question Variables 787 802 $template_question = stripslashes(get_option('poll_template_resultheader')); … … 798 813 } 799 814 // Print Out Result Header Template 815 $pollsarchive_output_archive .= $template_archive_header; 800 816 $pollsarchive_output_archive .= $template_question; 801 817 foreach($polls_answers as $polls_answer) { … … 874 890 $template_footer = str_replace("%POLL_MULTIPLE_ANS_MAX%", '1', $template_footer); 875 891 } 892 // Archive Poll Footer 893 $template_archive_footer = stripslashes(get_option('poll_template_pollarchivefooter')); 894 $template_archive_footer = str_replace("%POLL_START_DATE%", $poll_start_date, $template_archive_footer); 895 $template_archive_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_archive_footer); 896 $template_archive_footer = str_replace("%POLL_TOTALVOTES%", $polls_question['totalvotes'], $template_archive_footer); 897 $template_archive_footer = str_replace("%POLL_TOTALVOTERS%", $polls_question['totalvoters'], $template_archive_footer); 898 $template_archive_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_archive_footer); 899 $template_archive_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_archive_footer); 900 $template_archive_footer = str_replace("%POLL_MOST_PERCENTAGE%", $poll_most_percentage, $template_archive_footer); 901 $template_archive_footer = str_replace("%POLL_LEAST_ANSWER%", $poll_least_answer, $template_archive_footer); 902 $template_archive_footer = str_replace("%POLL_LEAST_VOTES%", number_format($poll_least_votes), $template_archive_footer); 903 $template_archive_footer = str_replace("%POLL_LEAST_PERCENTAGE%", $poll_least_percentage, $template_archive_footer); 904 if($polls_question['multiple'] > 0) { 905 $template_archive_footer = str_replace("%POLL_MULTIPLE_ANS_MAX%", $polls_question['multiple'], $template_archive_footer); 906 } else { 907 $template_archive_footer = str_replace("%POLL_MULTIPLE_ANS_MAX%", '1', $template_archive_footer); 908 } 876 909 // Print Out Results Footer Template 877 910 $pollsarchive_output_archive .= $template_footer; 911 // Print Out Archive Poll Footer Template 912 $pollsarchive_output_archive .= $template_archive_footer; 878 913 } 879 914 $pollsarchive_output_archive .= "</div>\n"; … … 1208 1243 '<li><a href="%POLL_ARCHIVE_URL%">'.__('Polls Archive', 'wp-polls').'</a></li>'. 1209 1244 '</ul>', 'Template For Poll Archive Link'); 1245 add_option('poll_archive_displaypoll', 2, 'Type Of Polls To Display In Polls Archive'); 1246 add_option('poll_archive_pollarchiveheader', '', 'Displayed Before Each Poll In The Poll Archive'); 1247 add_option('poll_archive_pollarchivefooter', '<p>Start Date: %POLL_START_DATE%<br />End Date: %POLL_END_DATE%</p>', 'Displayed After Each Poll In The Poll Archive'); 1210 1248 maybe_add_column($wpdb->pollsq, 'pollq_multiple', "ALTER TABLE $wpdb->pollsq ADD pollq_multiple TINYINT( 3 ) NOT NULL DEFAULT '0';"); 1211 1249 $pollq_totalvoters = maybe_add_column($wpdb->pollsq, 'pollq_totalvoters', "ALTER TABLE $wpdb->pollsq ADD pollq_totalvoters INT( 10 ) NOT NULL DEFAULT '0';"); wp-polls/trunk/polls/wp-polls.pot
r10840 r10942 3 3 "Project-Id-Version: WP-Polls 2.20\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-04-1 2 01:25+0800\n"5 "PO-Revision-Date: 2007-04-13 14:03+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Ravan <ravanhagen@gmail.com>\n" … … 90 90 #: polls-add.php:215 91 91 #: polls-manager.php:364 92 #: polls-options.php:20 193 #: polls-options.php:21 094 #: polls-options.php:3 1192 #: polls-options.php:204 93 #: polls-options.php:213 94 #: polls-options.php:324 95 95 #: polls-widget.php:105 96 96 msgid "No" … … 101 101 #: polls-manager.php:498 102 102 #: polls-manager.php:649 103 #: polls-options.php:20 2104 #: polls-options.php:21 1105 #: polls-options.php:3 12103 #: polls-options.php:205 104 #: polls-options.php:214 105 #: polls-options.php:325 106 106 #: polls-uninstall.php:134 107 107 #: polls-widget.php:110 … … 134 134 #: polls-add.php:245 135 135 #: polls-manager.php:435 136 #: polls-options.php:3 69137 #: polls-templates.php:4 19136 #: polls-options.php:382 137 #: polls-templates.php:464 138 138 msgid "Cancel" 139 139 msgstr "" … … 417 417 418 418 #: polls-manager.php:528 419 #: polls-templates.php:11 0420 #: polls-templates.php:11 3421 #: polls.php:1 177422 #: polls.php:1 180419 #: polls-templates.php:116 420 #: polls-templates.php:119 421 #: polls.php:1212 422 #: polls.php:1215 423 423 msgid "Total Voters" 424 424 msgstr "" … … 435 435 #: polls.php:299 436 436 #: polls.php:415 437 #: polls.php:7 82437 #: polls.php:795 438 438 msgid "No Expiry" 439 439 msgstr "" … … 503 503 msgstr "" 504 504 505 #: polls-options.php:66 506 #: polls-options.php:133 505 #: polls-options.php:68 507 506 #: polls-options.php:136 507 #: polls-options.php:139 508 508 msgid "Poll Bar Style" 509 509 msgstr "" 510 510 511 #: polls-options.php:6 7511 #: polls-options.php:69 512 512 msgid "Poll AJAX Style" 513 513 msgstr "" 514 514 515 #: polls-options.php: 68515 #: polls-options.php:70 516 516 msgid "Sort Poll Answers By Option" 517 517 msgstr "" 518 518 519 #: polls-options.php: 69519 #: polls-options.php:71 520 520 msgid "Sort Order Of Poll Answers Option" 521 521 msgstr "" 522 522 523 #: polls-options.php:7 0523 #: polls-options.php:72 524 524 msgid "Sort Poll Results By Option" 525 525 msgstr "" 526 526 527 #: polls-options.php:7 1527 #: polls-options.php:73 528 528 msgid "Sort Order Of Poll Results Option" 529 529 msgstr "" 530 530 531 #: polls-options.php:72532 msgid "Archive Polls Per Page Option"533 msgstr ""534 535 #: polls-options.php:73536 msgid "Polls Archive URL Option"537 msgstr ""538 539 531 #: polls-options.php:74 540 msgid " Show Polls Achive LinkOption"532 msgid "Number Of Polls Per Page To Display In Poll Archive Option" 541 533 msgstr "" 542 534 543 535 #: polls-options.php:75 536 msgid "Type Of Polls To Display In Poll Archive Option" 537 msgstr "" 538 539 #: polls-options.php:76 540 msgid "Poll Archive URL Option" 541 msgstr "" 542 543 #: polls-options.php:77 544 msgid "Show Poll Achive Link Option" 545 msgstr "" 546 547 #: polls-options.php:78 544 548 msgid "Current Active Poll Option" 545 549 msgstr "" 546 550 547 #: polls-options.php:7 6551 #: polls-options.php:79 548 552 msgid "Poll Close Option" 549 553 msgstr "" 550 554 551 #: polls-options.php: 77552 #: polls-options.php:28 0555 #: polls-options.php:80 556 #: polls-options.php:283 553 557 msgid "Logging Method" 554 558 msgstr "" 555 559 556 #: polls-options.php: 78560 #: polls-options.php:81 557 561 msgid "Allow To Vote Option" 558 562 msgstr "" 559 563 560 #: polls-options.php:8 3561 #: polls-templates.php:7 3564 #: polls-options.php:86 565 #: polls-templates.php:79 562 566 msgid "Updated" 563 567 msgstr "" 564 568 565 #: polls-options.php: 88566 #: polls-templates.php: 78569 #: polls-options.php:91 570 #: polls-templates.php:84 567 571 msgid "No Poll Option Updated" 568 572 msgstr "" 569 573 570 #: polls-options.php:13 1574 #: polls-options.php:134 571 575 #: polls.php:56 572 576 msgid "Poll Options" 573 577 msgstr "" 574 578 575 #: polls-options.php:16 2579 #: polls-options.php:165 576 580 msgid "Use CSS Style" 577 581 msgstr "" 578 582 579 #: polls-options.php:16 6583 #: polls-options.php:169 580 584 msgid "Poll Bar Background" 581 585 msgstr "" 582 586 583 #: polls-options.php:17 1587 #: polls-options.php:174 584 588 msgid "Poll Bar Border" 585 589 msgstr "" 586 590 587 #: polls-options.php:17 6591 #: polls-options.php:179 588 592 msgid "Poll Bar Height" 589 593 msgstr "" 590 594 591 #: polls-options.php:18 0595 #: polls-options.php:183 592 596 msgid "Your poll bar will look like this" 593 597 msgstr "" 594 598 595 #: polls-options.php:19 5599 #: polls-options.php:198 596 600 msgid "Polls AJAX Style" 597 601 msgstr "" 598 602 599 #: polls-options.php: 198603 #: polls-options.php:201 600 604 msgid "Show Loading Image With Text" 601 605 msgstr "" 602 606 603 #: polls-options.php:2 07607 #: polls-options.php:210 604 608 msgid "Show Fading In And Fading Out Of Poll" 605 609 msgstr "" 606 610 607 #: polls-options.php:2 18611 #: polls-options.php:221 608 612 msgid "Sorting Of Poll Answers" 609 613 msgstr "" 610 614 611 #: polls-options.php:22 1615 #: polls-options.php:224 612 616 msgid "Sort Poll Answers By:" 613 617 msgstr "" 614 618 615 #: polls-options.php:22 4616 #: polls-options.php:2 48619 #: polls-options.php:227 620 #: polls-options.php:251 617 621 msgid "Exact Order" 618 622 msgstr "" 619 623 620 #: polls-options.php:22 5621 #: polls-options.php:2 49624 #: polls-options.php:228 625 #: polls-options.php:252 622 626 msgid "Alphabetical Order" 623 627 msgstr "" 624 628 625 #: polls-options.php:23 0629 #: polls-options.php:233 626 630 msgid "Sort Order Of Poll Answers:" 627 631 msgstr "" 628 632 629 #: polls-options.php:233 633 #: polls-options.php:236 634 #: polls-options.php:260 635 msgid "Ascending" 636 msgstr "" 637 638 #: polls-options.php:237 639 #: polls-options.php:261 640 msgid "Descending" 641 msgstr "" 642 643 #: polls-options.php:244 644 msgid "Sorting Of Poll Results" 645 msgstr "" 646 647 #: polls-options.php:247 648 msgid "Sort Poll Results By:" 649 msgstr "" 650 651 #: polls-options.php:250 652 #: polls-templates.php:110 653 #: polls-templates.php:113 654 #: polls.php:1209 655 #: polls.php:1210 656 msgid "Votes" 657 msgstr "" 658 630 659 #: polls-options.php:257 631 msgid "Ascending"632 msgstr ""633 634 #: polls-options.php:234635 #: polls-options.php:258636 msgid "Descending"637 msgstr ""638 639 #: polls-options.php:241640 msgid "Sorting Of Poll Results"641 msgstr ""642 643 #: polls-options.php:244644 msgid "Sort Poll Results By:"645 msgstr ""646 647 #: polls-options.php:247648 #: polls-templates.php:104649 #: polls-templates.php:107650 #: polls.php:1174651 #: polls.php:1175652 msgid "Votes"653 msgstr ""654 655 #: polls-options.php:254656 660 msgid "Sort Order Of Poll Results:" 657 661 msgstr "" 658 662 659 #: polls-options.php:26 5663 #: polls-options.php:268 660 664 msgid "Allow To Vote" 661 665 msgstr "" 662 666 663 #: polls-options.php:2 68667 #: polls-options.php:271 664 668 msgid "Who Is Allowed To Vote?" 665 669 msgstr "" 666 670 667 #: polls-options.php:27 1671 #: polls-options.php:274 668 672 msgid "Guests Only" 669 673 msgstr "" 670 674 671 #: polls-options.php:27 2675 #: polls-options.php:275 672 676 msgid "Registered Users Only" 673 677 msgstr "" 674 678 675 #: polls-options.php:27 3679 #: polls-options.php:276 676 680 msgid "Registered Users And Guests" 677 681 msgstr "" 678 682 679 #: polls-options.php:28 3683 #: polls-options.php:286 680 684 msgid "Poll Logging Method:" 681 685 msgstr "" 682 686 683 #: polls-options.php:28 6687 #: polls-options.php:289 684 688 msgid "Do Not Log" 685 689 msgstr "" 686 690 687 #: polls-options.php:2 87691 #: polls-options.php:290 688 692 msgid "Logged By Cookie" 689 693 msgstr "" 690 694 691 #: polls-options.php:2 88695 #: polls-options.php:291 692 696 msgid "Logged By IP" 693 697 msgstr "" 694 698 695 #: polls-options.php:2 89699 #: polls-options.php:292 696 700 msgid "Logged By Cookie And IP" 697 701 msgstr "" 698 702 699 #: polls-options.php:29 0703 #: polls-options.php:293 700 704 msgid "Logged By Username" 701 705 msgstr "" 702 706 703 #: polls-options.php: 297707 #: polls-options.php:300 704 708 msgid "Poll Archive" 705 709 msgstr "" 706 710 707 #: polls-options.php:300 708 msgid "Polls Per Page:" 709 msgstr "" 710 711 #: polls-options.php:304 712 msgid "Polls Archive URL:" 713 msgstr "" 714 715 #: polls-options.php:308 716 #: polls-widget.php:99 717 msgid "Display Polls Archive Link Below Poll?" 711 #: polls-options.php:303 712 msgid "Number Of Polls Per Page:" 713 msgstr "" 714 715 #: polls-options.php:307 716 msgid "Type Of Polls To Display In Poll Archive:" 717 msgstr "" 718 719 #: polls-options.php:310 720 msgid "Closed Polls Only" 721 msgstr "" 722 723 #: polls-options.php:311 724 msgid "Opened Polls Only" 725 msgstr "" 726 727 #: polls-options.php:312 728 msgid "Closed And Opened Polls" 718 729 msgstr "" 719 730 720 731 #: polls-options.php:317 721 msgid "Note: Only polls that are closed will be shown in the Poll Archive." 722 msgstr "" 723 724 #: polls-options.php:322 725 #: polls-options.php:325 732 msgid "Poll Archive URL:" 733 msgstr "" 734 735 #: polls-options.php:321 736 msgid "Display Poll Archive Link Below Poll?" 737 msgstr "" 738 739 #: polls-options.php:330 740 msgid "Note: Only polls' results will be shown in the Poll Archive regardless of whether the poll is closed or opened." 741 msgstr "" 742 743 #: polls-options.php:335 744 #: polls-options.php:338 726 745 #: polls-widget.php:114 727 746 msgid "Current Active Poll" 728 747 msgstr "" 729 748 730 #: polls-options.php:3 28749 #: polls-options.php:341 731 750 #: polls-widget.php:120 732 751 msgid "Do NOT Display Poll (Disable)" 733 752 msgstr "" 734 753 735 #: polls-options.php:3 29754 #: polls-options.php:342 736 755 #: polls-widget.php:125 737 756 msgid "Display Random Poll" 738 757 msgstr "" 739 758 740 #: polls-options.php:3 30759 #: polls-options.php:343 741 760 #: polls-widget.php:130 742 761 msgid "Display Latest Poll" 743 762 msgstr "" 744 763 745 #: polls-options.php:3 32764 #: polls-options.php:345 746 765 #: polls-widget.php:135 747 766 msgid "Display Multiple Polls" 748 767 msgstr "" 749 768 750 #: polls-options.php:3 54769 #: polls-options.php:367 751 770 msgid "Note: If you chose 'Display Multiple Polls' for the above option, you need to configure it in Presentation -> Sidebar Widgets -> Poll." 752 771 msgstr "" 753 772 754 #: polls-options.php:3 58773 #: polls-options.php:371 755 774 msgid "When Poll Is Closed" 756 775 msgstr "" 757 776 758 #: polls-options.php:3 61777 #: polls-options.php:374 759 778 msgid "Display Poll's Results" 760 779 msgstr "" 761 780 762 #: polls-options.php:3 62781 #: polls-options.php:375 763 782 msgid "Do Not Display Poll In Post/Sidebar" 764 783 msgstr "" 765 784 766 #: polls-options.php:3 69785 #: polls-options.php:382 767 786 msgid "Update Options" 768 787 msgstr "" 769 788 770 #: polls-templates.php: 58789 #: polls-templates.php:62 771 790 msgid "Voting Form Header Template" 772 791 msgstr "" 773 792 774 #: polls-templates.php: 59793 #: polls-templates.php:63 775 794 msgid "Voting Form Body Template" 776 795 msgstr "" 777 796 778 #: polls-templates.php:6 0797 #: polls-templates.php:64 779 798 msgid "Voting Form Footer Template" 780 799 msgstr "" 781 800 782 #: polls-templates.php:6 1801 #: polls-templates.php:65 783 802 msgid "Result Header Template" 784 803 msgstr "" 785 804 786 #: polls-templates.php:6 2805 #: polls-templates.php:66 787 806 msgid "Result Body Template" 788 807 msgstr "" 789 808 790 #: polls-templates.php:6 3809 #: polls-templates.php:67 791 810 msgid "Result Body2 Template" 792 811 msgstr "" 793 812 794 #: polls-templates.php:6 4813 #: polls-templates.php:68 795 814 msgid "Result Footer Template" 796 815 msgstr "" 797 816 798 #: polls-templates.php:6 5817 #: polls-templates.php:69 799 818 msgid "Result Footer2 Template" 800 819 msgstr "" 801 820 802 #: polls-templates.php: 66821 #: polls-templates.php:70 803 822 msgid "Poll Archive Link Template" 804 823 msgstr "" 805 824 806 #: polls-templates.php:67 825 #: polls-templates.php:71 826 msgid "Poll Archive Poll Header Template" 827 msgstr "" 828 829 #: polls-templates.php:72 830 msgid "Poll Archive Poll Footer Template" 831 msgstr "" 832 833 #: polls-templates.php:73 807 834 msgid "Poll Disabled Template" 808 835 msgstr "" 809 836 810 #: polls-templates.php: 68837 #: polls-templates.php:74 811 838 msgid "Poll Error Template" 812 839 msgstr "" 813 840 814 #: polls-templates.php:98 841 #: polls-templates.php:104 842 #: polls-templates.php:119 843 #: polls.php:1203 844 #: polls.php:1216 845 msgid "Vote" 846 msgstr "" 847 848 #: polls-templates.php:104 849 #: polls.php:1204 850 msgid "View Results Of This Poll" 851 msgstr "" 852 853 #: polls-templates.php:104 854 #: polls.php:1204 855 msgid "View Results" 856 msgstr "" 857 815 858 #: polls-templates.php:113 816 #: polls.php:1168 817 #: polls.php:1181 818 msgid "Vote" 819 msgstr "" 820 821 #: polls-templates.php:98 822 #: polls.php:1169 823 msgid "View Results Of This Poll" 824 msgstr "" 825 826 #: polls-templates.php:98 827 #: polls.php:1169 828 msgid "View Results" 829 msgstr "" 830 831 #: polls-templates.php:107 832 #: polls.php:1175 859 #: polls.php:1210 833 860 msgid "You Have Voted For This Choice" 834 861 msgstr "" 835 862 836 #: polls-templates.php:11 3837 #: polls.php:1 181863 #: polls-templates.php:119 864 #: polls.php:1216 838 865 msgid "Vote For This Poll" 839 866 msgstr "" 840 867 841 #: polls-templates.php:1 16868 #: polls-templates.php:122 842 869 #: polls-usage.php:80 843 #: polls.php:12 08870 #: polls.php:1243 844 871 msgid "Polls Archive" 845 872 msgstr "" 846 873 847 #: polls-templates.php:1 19848 #: polls.php:1 183874 #: polls-templates.php:131 875 #: polls.php:1218 849 876 msgid "Sorry, there are no polls available at the moment." 850 877 msgstr "" 851 878 852 #: polls-templates.php:1 22853 #: polls.php:1 184879 #: polls-templates.php:134 880 #: polls.php:1219 854 881 msgid "An error has occurred when processing your poll." 855 882 msgstr "" 856 883 857 #: polls-templates.php:1 32884 #: polls-templates.php:144 858 885 #: polls.php:57 859 886 msgid "Poll Templates" 860 887 msgstr "" 861 888 862 #: polls-templates.php:1 34889 #: polls-templates.php:146 863 890 msgid "Template Variables" 864 891 msgstr "" 865 892 866 #: polls-templates.php:1 39893 #: polls-templates.php:151 867 894 msgid "Display the poll's ID" 868 895 msgstr "" 869 896 870 #: polls-templates.php:1 43897 #: polls-templates.php:155 871 898 msgid "Display the poll's answer ID" 872 899 msgstr "" 873 900 874 #: polls-templates.php:1 49901 #: polls-templates.php:161 875 902 msgid "Display the poll's question" 876 903 msgstr "" 877 904 878 #: polls-templates.php:1 53905 #: polls-templates.php:165 879 906 msgid "Display the poll's answer" 880 907 msgstr "" 881 908 882 #: polls-templates.php:1 59909 #: polls-templates.php:171 883 910 msgid "Display the poll's total votes NOT the number of people who voted for the poll" 884 911 msgstr "" 885 912 886 #: polls-templates.php:1 63913 #: polls-templates.php:175 887 914 msgid "Display the poll's answer without HTML formatting." 888 915 msgstr "" 889 916 890 #: polls-templates.php:1 69917 #: polls-templates.php:181 891 918 msgid "Displays URL to poll's result" 892 919 msgstr "" 893 920 894 #: polls-templates.php:1 73921 #: polls-templates.php:185 895 922 msgid "Display the poll's answer votes" 896 923 msgstr "" 897 924 898 #: polls-templates.php:1 79925 #: polls-templates.php:191 899 926 msgid "Display the poll's most voted answer" 900 927 msgstr "" 901 928 902 #: polls-templates.php:1 83929 #: polls-templates.php:195 903 930 msgid "Display the poll's answer percentage" 904 931 msgstr "" 905 932 906 #: polls-templates.php: 189933 #: polls-templates.php:201 907 934 msgid "Display the poll's answer votes for the most voted answer" 908 935 msgstr "" 909 936 910 #: polls-templates.php: 193937 #: polls-templates.php:205 911 938 msgid "Display the poll's answer image width" 912 939 msgstr "" 913 940 914 #: polls-templates.php: 199941 #: polls-templates.php:211 915 942 msgid "Display the poll's answer percentage for the most voted answer" 916 943 msgstr "" 917 944 918 #: polls-templates.php:2 03945 #: polls-templates.php:215 919 946 msgid "Display the poll's least voted answer" 920 947 msgstr "" 921 948 922 #: polls-templates.php:2 09949 #: polls-templates.php:221 923 950 msgid "Display the poll's start date/time" 924 951 msgstr "" 925 952 926 #: polls-templates.php:2 13953 #: polls-templates.php:225 927 954 msgid "Display the poll's answer votes for the least voted answer" 928 955 msgstr "" 929 956 930 #: polls-templates.php:2 19957 #: polls-templates.php:231 931 958 msgid "Display the poll's end date/time" 932 959 msgstr "" 933 960 934 #: polls-templates.php:2 23961 #: polls-templates.php:235 935 962 msgid "Display the poll's answer percentage for the least voted answer" 936 963 msgstr "" 937 964 938 #: polls-templates.php:2 29965 #: polls-templates.php:241 939 966 msgid "Display the the maximum number of answers the user can choose if the poll supports multiple answers" 940 967 msgstr "" 941 968 942 #: polls-templates.php:2 33969 #: polls-templates.php:245 943 970 msgid "Display \"checkbox\" or \"radio\" input types depending on the poll type" 944 971 msgstr "" 945 972
