Changeset 10942

Show
Ignore:
Timestamp:
04/13/07 06:03:09 (1 year ago)
Author:
GamerZ
Message:

Updated With New Templates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-polls/trunk/polls/polls-options.php

    r10838 r10942  
    4343      $poll_ans_result_sortorder = strip_tags(trim($_POST['poll_ans_result_sortorder'])); 
    4444      $poll_archive_perpage = intval($_POST['poll_archive_perpage']); 
     45      $poll_archive_displaypoll = intval($_POST['poll_archive_displaypoll']); 
    4546      $poll_archive_url = strip_tags(trim($_POST['poll_archive_url'])); 
    4647      $poll_archive_show = intval($_POST['poll_archive_show']); 
     
    5859      $update_poll_queries[] = update_option('poll_ans_result_sortorder', $poll_ans_result_sortorder); 
    5960      $update_poll_queries[] = update_option('poll_archive_perpage', $poll_archive_perpage); 
     61      $update_poll_queries[] = update_option('poll_archive_displaypoll', $poll_archive_displaypoll); 
    6062      $update_poll_queries[] = update_option('poll_archive_url', $poll_archive_url); 
    6163      $update_poll_queries[] = update_option('poll_archive_show', $poll_archive_show); 
     
    7072      $update_poll_text[] = __('Sort Poll Results By Option', 'wp-polls'); 
    7173      $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'); 
    7578      $update_poll_text[] = __('Current Active Poll Option', 'wp-polls'); 
    7679      $update_poll_text[] = __('Poll Close Option', 'wp-polls'); 
     
    298301                  <table width="100%"  border="0" cellspacing="3" cellpadding="3"> 
    299302                         <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> 
    301304                              <td align="left"><input type="text" name="poll_archive_perpage" value="<?php echo intval(get_option('poll_archive_perpage')); ?>" size="2" /></td> 
    302305                        </tr> 
    303306                        <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> 
    305318                              <td align="left"><input type="text" name="poll_archive_url" value="<?php echo get_option('poll_archive_url'); ?>" size="50" /></td> 
    306319                        </tr> 
    307320                        <tr valign="top"> 
    308                               <th align="left" width="30%"><?php _e('Display Polls Archive Link Below Poll?', 'wp-polls'); ?></th> 
     321                              <th align="left" width="30%"><?php _e('Display Poll Archive Link Below Poll?', 'wp-polls'); ?></th> 
    309322                              <td align="left"> 
    310323                                    <select name="poll_archive_show" size="1"> 
     
    315328                        </tr> 
    316329                        <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> 
    318331                        </tr> 
    319332                  </table> 
     
    334347                                          <option value="0">&nbsp;</option> 
    335348                                          <?php 
    336                                                 $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1 ORDER BY pollq_id DESC"); 
     349                                                $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 
    337350                                                if($polls) { 
    338351                                                      foreach($polls as $poll) { 
  • wp-polls/trunk/polls/polls-templates.php

    r10840 r10942  
    4141      $poll_template_resultfooter2 = trim($_POST['poll_template_resultfooter2']); 
    4242      $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']); 
    4345      $poll_template_disable = trim($_POST['poll_template_disable']); 
    4446      $poll_template_error = trim($_POST['poll_template_error']); 
     
    5456      $update_poll_queries[] = update_option('poll_template_resultfooter2', $poll_template_resultfooter2); 
    5557      $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); 
    5660      $update_poll_queries[] = update_option('poll_template_disable', $poll_template_disable); 
    5761      $update_poll_queries[] = update_option('poll_template_error', $poll_template_error); 
     
    6569      $update_poll_text[] = __('Result Footer2 Template', 'wp-polls'); 
    6670      $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'); 
    6773      $update_poll_text[] = __('Poll Disabled Template', 'wp-polls'); 
    6874      $update_poll_text[] = __('Poll Error Template', 'wp-polls'); 
     
    116122                        default_template = "<ul>\n<li><a href=\"%POLL_ARCHIVE_URL%\"><?php _e('Polls Archive', 'wp-polls'); ?></a></li>\n</ul>"; 
    117123                        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; 
    118130                  case "disable": 
    119131                        default_template = "<?php _e('Sorry, there are no polls available at the moment.', 'wp-polls'); ?>"; 
     
    385397            </fieldset> 
    386398            <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"> 
    387441                  <legend><?php _e('Poll Misc Templates', 'wp-polls'); ?></legend> 
    388442                  <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> 
    398443                         <tr valign="top"> 
    399444                              <td width="30%" align="left"> 
  • wp-polls/trunk/polls/polls-uninstall.php

    r10840 r10942  
    3434                                                'poll_archive_perpage', 'poll_ans_sortby', 'poll_ans_sortorder', 'poll_ans_result_sortby',  
    3535                                                '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'); 
    3737 
    3838### Form Processing  
  • wp-polls/trunk/polls/polls-widget.php

    r10838 r10942  
    136136            echo '</option>'."\n"; 
    137137            echo '<option value="0">&nbsp;</option>'."\n"; 
    138             $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1 ORDER BY pollq_id DESC"); 
     138            $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 
    139139            if($polls) { 
    140140                  foreach($polls as $poll) { 
     
    161161            echo '<select id="poll_multiplepolls" name="poll_multiplepolls[]" size="5" multiple="true" style="vertical-align: text-top;" $disabled>'."\n"; 
    162162            $multiple_polls = explode(',', $options['multiple_polls']); 
    163             $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq WHERE pollq_active = 1 ORDER BY pollq_id DESC"); 
     163            $polls = $wpdb->get_results("SELECT pollq_id, pollq_question FROM $wpdb->pollsq ORDER BY pollq_id DESC"); 
    164164            if($polls) { 
    165165                  foreach($polls as $poll) { 
  • wp-polls/trunk/polls/polls.php

    r10840 r10942  
    709709      $poll_id = 0; 
    710710      $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      } 
    712725      // 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"); 
    714727 
    715728      // Checking $page and $offset 
     
    738751 
    739752      // Get Poll Questions 
    740       $questions = $wpdb->get_results("SELECT * FROM $wpdb->pollsq WHERE pollq_active = 0 ORDER 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"); 
    741754      if($questions) { 
    742755            foreach($questions as $question) { 
     
    784797                        $poll_end_date  = mysql2date(get_option('date_format').' @ '.get_option('time_format'), gmdate('Y-m-d H:i:s', $polls_question['end'])); 
    785798                  } 
     799            // Archive Poll Header 
     800            $template_archive_header = stripslashes(get_option('poll_template_pollarchiveheader')); 
    786801            // Poll Question Variables 
    787802            $template_question = stripslashes(get_option('poll_template_resultheader')); 
     
    798813            } 
    799814            // Print Out Result Header Template 
     815            $pollsarchive_output_archive .= $template_archive_header; 
    800816            $pollsarchive_output_archive .= $template_question; 
    801817            foreach($polls_answers as $polls_answer) { 
     
    874890                  $template_footer  = str_replace("%POLL_MULTIPLE_ANS_MAX%", '1', $template_footer); 
    875891            } 
     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            } 
    876909            // Print Out Results Footer Template 
    877910            $pollsarchive_output_archive .= $template_footer; 
     911            // Print Out Archive Poll Footer Template 
     912            $pollsarchive_output_archive .= $template_archive_footer; 
    878913      } 
    879914      $pollsarchive_output_archive .= "</div>\n"; 
     
    12081243      '<li><a href="%POLL_ARCHIVE_URL%">'.__('Polls Archive', 'wp-polls').'</a></li>'. 
    12091244      '</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'); 
    12101248      maybe_add_column($wpdb->pollsq, 'pollq_multiple', "ALTER TABLE $wpdb->pollsq ADD pollq_multiple TINYINT( 3 ) NOT NULL DEFAULT '0';"); 
    12111249      $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  
    33"Project-Id-Version: WP-Polls 2.20\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-04-12 01:25+0800\n" 
     5"PO-Revision-Date: 2007-04-13 14:03+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Ravan <ravanhagen@gmail.com>\n" 
     
    9090#: polls-add.php:215 
    9191#: polls-manager.php:364 
    92 #: polls-options.php:201 
    93 #: polls-options.php:210 
    94 #: polls-options.php:311 
     92#: polls-options.php:204 
     93#: polls-options.php:213 
     94#: polls-options.php:324 
    9595#: polls-widget.php:105 
    9696msgid "No" 
     
    101101#: polls-manager.php:498 
    102102#: polls-manager.php:649 
    103 #: polls-options.php:202 
    104 #: polls-options.php:211 
    105 #: polls-options.php:312 
     103#: polls-options.php:205 
     104#: polls-options.php:214 
     105#: polls-options.php:325 
    106106#: polls-uninstall.php:134 
    107107#: polls-widget.php:110 
     
    134134#: polls-add.php:245 
    135135#: polls-manager.php:435 
    136 #: polls-options.php:369 
    137 #: polls-templates.php:419 
     136#: polls-options.php:382 
     137#: polls-templates.php:464 
    138138msgid "Cancel" 
    139139msgstr "" 
     
    417417 
    418418#: polls-manager.php:528 
    419 #: polls-templates.php:110 
    420 #: polls-templates.php:113 
    421 #: polls.php:1177 
    422 #: polls.php:1180 
     419#: polls-templates.php:116 
     420#: polls-templates.php:119 
     421#: polls.php:1212 
     422#: polls.php:1215 
    423423msgid "Total Voters" 
    424424msgstr "" 
     
    435435#: polls.php:299 
    436436#: polls.php:415 
    437 #: polls.php:782 
     437#: polls.php:795 
    438438msgid "No Expiry" 
    439439msgstr "" 
     
    503503msgstr "" 
    504504 
    505 #: polls-options.php:66 
    506 #: polls-options.php:133 
     505#: polls-options.php:68 
    507506#: polls-options.php:136 
     507#: polls-options.php:139 
    508508msgid "Poll Bar Style" 
    509509msgstr "" 
    510510 
    511 #: polls-options.php:67 
     511#: polls-options.php:69 
    512512msgid "Poll AJAX Style" 
    513513msgstr "" 
    514514 
    515 #: polls-options.php:68 
     515#: polls-options.php:70 
    516516msgid "Sort Poll Answers By Option" 
    517517msgstr "" 
    518518 
    519 #: polls-options.php:69 
     519#: polls-options.php:71 
    520520msgid "Sort Order Of Poll Answers Option" 
    521521msgstr "" 
    522522 
    523 #: polls-options.php:70 
     523#: polls-options.php:72 
    524524msgid "Sort Poll Results By Option" 
    525525msgstr "" 
    526526 
    527 #: polls-options.php:71 
     527#: polls-options.php:73 
    528528msgid "Sort Order Of Poll Results Option" 
    529529msgstr "" 
    530530 
    531 #: polls-options.php:72 
    532 msgid "Archive Polls Per Page Option" 
    533 msgstr "" 
    534  
    535 #: polls-options.php:73 
    536 msgid "Polls Archive URL Option" 
    537 msgstr "" 
    538  
    539531#: polls-options.php:74 
    540 msgid "Show Polls Achive Link Option" 
     532msgid "Number Of Polls Per Page To Display In Poll Archive Option" 
    541533msgstr "" 
    542534 
    543535#: polls-options.php:75 
     536msgid "Type Of Polls To Display In Poll Archive Option" 
     537msgstr "" 
     538 
     539#: polls-options.php:76 
     540msgid "Poll Archive URL Option" 
     541msgstr "" 
     542 
     543#: polls-options.php:77 
     544msgid "Show Poll Achive Link Option" 
     545msgstr "" 
     546 
     547#: polls-options.php:78 
    544548msgid "Current Active Poll Option" 
    545549msgstr "" 
    546550 
    547 #: polls-options.php:76 
     551#: polls-options.php:79 
    548552msgid "Poll Close Option" 
    549553msgstr "" 
    550554 
    551 #: polls-options.php:77 
    552 #: polls-options.php:280 
     555#: polls-options.php:80 
     556#: polls-options.php:283 
    553557msgid "Logging Method" 
    554558msgstr "" 
    555559 
    556 #: polls-options.php:78 
     560#: polls-options.php:81 
    557561msgid "Allow To Vote Option" 
    558562msgstr "" 
    559563 
    560 #: polls-options.php:83 
    561 #: polls-templates.php:73 
     564#: polls-options.php:86 
     565#: polls-templates.php:79 
    562566msgid "Updated" 
    563567msgstr "" 
    564568 
    565 #: polls-options.php:88 
    566 #: polls-templates.php:78 
     569#: polls-options.php:91 
     570#: polls-templates.php:84 
    567571msgid "No Poll Option Updated" 
    568572msgstr "" 
    569573 
    570 #: polls-options.php:131 
     574#: polls-options.php:134 
    571575#: polls.php:56 
    572576msgid "Poll Options" 
    573577msgstr "" 
    574578 
    575 #: polls-options.php:162 
     579#: polls-options.php:165 
    576580msgid "Use CSS Style" 
    577581msgstr "" 
    578582 
    579 #: polls-options.php:166 
     583#: polls-options.php:169 
    580584msgid "Poll Bar Background" 
    581585msgstr "" 
    582586 
    583 #: polls-options.php:171 
     587#: polls-options.php:174 
    584588msgid "Poll Bar Border" 
    585589msgstr "" 
    586590 
    587 #: polls-options.php:176 
     591#: polls-options.php:179 
    588592msgid "Poll Bar Height" 
    589593msgstr "" 
    590594 
    591 #: polls-options.php:180 
     595#: polls-options.php:183 
    592596msgid "Your poll bar will look like this" 
    593597msgstr "" 
    594598 
    595 #: polls-options.php:195 
     599#: polls-options.php:198 
    596600msgid "Polls AJAX Style" 
    597601msgstr "" 
    598602 
    599 #: polls-options.php:198 
     603#: polls-options.php:201 
    600604msgid "Show Loading Image With Text" 
    601605msgstr "" 
    602606 
    603 #: polls-options.php:207 
     607#: polls-options.php:210 
    604608msgid "Show Fading In And Fading Out Of Poll" 
    605609msgstr "" 
    606610 
    607 #: polls-options.php:218 
     611#: polls-options.php:221 
    608612msgid "Sorting Of Poll Answers" 
    609613msgstr "" 
    610614 
    611 #: polls-options.php:221 
     615#: polls-options.php:224 
    612616msgid "Sort Poll Answers By:" 
    613617msgstr "" 
    614618 
    615 #: polls-options.php:224 
    616 #: polls-options.php:248 
     619#: polls-options.php:227 
     620#: polls-options.php:251 
    617621msgid "Exact Order" 
    618622msgstr "" 
    619623 
    620 #: polls-options.php:225 
    621 #: polls-options.php:249 
     624#: polls-options.php:228 
     625#: polls-options.php:252 
    622626msgid "Alphabetical Order" 
    623627msgstr "" 
    624628 
    625 #: polls-options.php:230 
     629#: polls-options.php:233 
    626630msgid "Sort Order Of Poll Answers:" 
    627631msgstr "" 
    628632 
    629 #: polls-options.php:233 
     633#: polls-options.php:236 
     634#: polls-options.php:260 
     635msgid "Ascending" 
     636msgstr "" 
     637 
     638#: polls-options.php:237 
     639#: polls-options.php:261 
     640msgid "Descending" 
     641msgstr "" 
     642 
     643#: polls-options.php:244 
     644msgid "Sorting Of Poll Results" 
     645msgstr "" 
     646 
     647#: polls-options.php:247 
     648msgid "Sort Poll Results By:" 
     649msgstr "" 
     650 
     651#: polls-options.php:250 
     652#: polls-templates.php:110 
     653#: polls-templates.php:113 
     654#: polls.php:1209 
     655#: polls.php:1210 
     656msgid "Votes" 
     657msgstr "" 
     658 
    630659#: polls-options.php:257 
    631 msgid "Ascending" 
    632 msgstr "" 
    633  
    634 #: polls-options.php:234 
    635 #: polls-options.php:258 
    636 msgid "Descending" 
    637 msgstr "" 
    638  
    639 #: polls-options.php:241 
    640 msgid "Sorting Of Poll Results" 
    641 msgstr "" 
    642  
    643 #: polls-options.php:244 
    644 msgid "Sort Poll Results By:" 
    645 msgstr "" 
    646  
    647 #: polls-options.php:247 
    648 #: polls-templates.php:104 
    649 #: polls-templates.php:107 
    650 #: polls.php:1174 
    651 #: polls.php:1175 
    652 msgid "Votes" 
    653 msgstr "" 
    654  
    655 #: polls-options.php:254 
    656660msgid "Sort Order Of Poll Results:" 
    657661msgstr "" 
    658662 
    659 #: polls-options.php:265 
     663#: polls-options.php:268 
    660664msgid "Allow To Vote" 
    661665msgstr "" 
    662666 
    663 #: polls-options.php:268 
     667#: polls-options.php:271 
    664668msgid "Who Is Allowed To Vote?" 
    665669msgstr "" 
    666670 
    667 #: polls-options.php:271 
     671#: polls-options.php:274 
    668672msgid "Guests Only" 
    669673msgstr "" 
    670674 
    671 #: polls-options.php:272 
     675#: polls-options.php:275 
    672676msgid "Registered Users Only" 
    673677msgstr "" 
    674678 
    675 #: polls-options.php:273 
     679#: polls-options.php:276 
    676680msgid "Registered Users And Guests" 
    677681msgstr "" 
    678682 
    679 #: polls-options.php:283 
     683#: polls-options.php:286 
    680684msgid "Poll Logging Method:" 
    681685msgstr "" 
    682686 
    683 #: polls-options.php:286 
     687#: polls-options.php:289 
    684688msgid "Do Not Log" 
    685689msgstr "" 
    686690 
    687 #: polls-options.php:287 
     691#: polls-options.php:290 
    688692msgid "Logged By Cookie" 
    689693msgstr "" 
    690694 
    691 #: polls-options.php:288 
     695#: polls-options.php:291 
    692696msgid "Logged By IP" 
    693697msgstr "" 
    694698 
    695 #: polls-options.php:289 
     699#: polls-options.php:292 
    696700msgid "Logged By Cookie And IP" 
    697701msgstr "" 
    698702 
    699 #: polls-options.php:290 
     703#: polls-options.php:293 
    700704msgid "Logged By Username" 
    701705msgstr "" 
    702706 
    703 #: polls-options.php:297 
     707#: polls-options.php:300 
    704708msgid "Poll Archive" 
    705709msgstr "" 
    706710 
    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 
     712msgid "Number Of Polls Per Page:" 
     713msgstr "" 
     714 
     715#: polls-options.php:307 
     716msgid "Type Of Polls To Display In Poll Archive:" 
     717msgstr "" 
     718 
     719#: polls-options.php:310 
     720msgid "Closed Polls Only" 
     721msgstr "" 
     722 
     723#: polls-options.php:311 
     724msgid "Opened Polls Only" 
     725msgstr "" 
     726 
     727#: polls-options.php:312 
     728msgid "Closed And Opened Polls" 
    718729msgstr "" 
    719730 
    720731#: 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 
     732msgid "Poll Archive URL:" 
     733msgstr "" 
     734 
     735#: polls-options.php:321 
     736msgid "Display Poll Archive Link Below Poll?" 
     737msgstr "" 
     738 
     739#: polls-options.php:330 
     740msgid "Note: Only polls' results will be shown in the Poll Archive regardless of whether the poll is closed or opened." 
     741msgstr "" 
     742 
     743#: polls-options.php:335 
     744#: polls-options.php:338 
    726745#: polls-widget.php:114 
    727746msgid "Current Active Poll" 
    728747msgstr "" 
    729748 
    730 #: polls-options.php:328 
     749#: polls-options.php:341 
    731750#: polls-widget.php:120 
    732751msgid "Do NOT Display Poll (Disable)" 
    733752msgstr "" 
    734753 
    735 #: polls-options.php:329 
     754#: polls-options.php:342 
    736755#: polls-widget.php:125 
    737756msgid "Display Random Poll" 
    738757msgstr "" 
    739758 
    740 #: polls-options.php:330 
     759#: polls-options.php:343 
    741760#: polls-widget.php:130 
    742761msgid "Display Latest Poll" 
    743762msgstr "" 
    744763 
    745 #: polls-options.php:332 
     764#: polls-options.php:345 
    746765#: polls-widget.php:135 
    747766msgid "Display Multiple Polls" 
    748767msgstr "" 
    749768 
    750 #: polls-options.php:354 
     769#: polls-options.php:367 
    751770msgid "Note: If you chose 'Display Multiple Polls' for the above option, you need to configure it in Presentation -> Sidebar Widgets -> Poll." 
    752771msgstr "" 
    753772 
    754 #: polls-options.php:358 
     773#: polls-options.php:371 
    755774msgid "When Poll Is Closed" 
    756775msgstr "" 
    757776 
    758 #: polls-options.php:361 
     777#: polls-options.php:374 
    759778msgid "Display Poll's Results" 
    760779msgstr "" 
    761780 
    762 #: polls-options.php:362 
     781#: polls-options.php:375 
    763782msgid "Do Not Display Poll In Post/Sidebar" 
    764783msgstr "" 
    765784 
    766 #: polls-options.php:369 
     785#: polls-options.php:382 
    767786msgid "Update Options" 
    768787msgstr "" 
    769788 
    770 #: polls-templates.php:58 
     789#: polls-templates.php:62 
    771790msgid "Voting Form Header Template" 
    772791msgstr "" 
    773792 
    774 #: polls-templates.php:59 
     793#: polls-templates.php:63 
    775794msgid "Voting Form Body Template" 
    776795msgstr "" 
    777796 
    778 #: polls-templates.php:60 
     797#: polls-templates.php:64 
    779798msgid "Voting Form Footer Template" 
    780799msgstr "" 
    781800 
    782 #: polls-templates.php:61 
     801#: polls-templates.php:65 
    783802msgid "Result Header Template" 
    784803msgstr "" 
    785804 
    786 #: polls-templates.php:62 
     805#: polls-templates.php:66 
    787806msgid "Result Body Template" 
    788807msgstr "" 
    789808 
    790 #: polls-templates.php:63 
     809#: polls-templates.php:67 
    791810msgid "Result Body2 Template" 
    792811msgstr "" 
    793812 
    794 #: polls-templates.php:64 
     813#: polls-templates.php:68 
    795814msgid "Result Footer Template" 
    796815msgstr "" 
    797816 
    798 #: polls-templates.php:65 
     817#: polls-templates.php:69 
    799818msgid "Result Footer2 Template" 
    800819msgstr "" 
    801820 
    802 #: polls-templates.php:66 
     821#: polls-templates.php:70 
    803822msgid "Poll Archive Link Template" 
    804823msgstr "" 
    805824 
    806 #: polls-templates.php:67 
     825#: polls-templates.php:71 
     826msgid "Poll Archive Poll Header Template" 
     827msgstr "" 
     828 
     829#: polls-templates.php:72 
     830msgid "Poll Archive Poll Footer Template" 
     831msgstr "" 
     832 
     833#: polls-templates.php:73 
    807834msgid "Poll Disabled Template" 
    808835msgstr "" 
    809836 
    810 #: polls-templates.php:68 
     837#: polls-templates.php:74 
    811838msgid "Poll Error Template" 
    812839msgstr "" 
    813840 
    814 #: polls-templates.php:98 
     841#: polls-templates.php:104 
     842#: polls-templates.php:119 
     843#: polls.php:1203 
     844#: polls.php:1216 
     845msgid "Vote" 
     846msgstr "" 
     847 
     848#: polls-templates.php:104 
     849#: polls.php:1204 
     850msgid "View Results Of This Poll" 
     851msgstr "" 
     852 
     853#: polls-templates.php:104 
     854#: polls.php:1204 
     855msgid "View Results" 
     856msgstr "" 
     857 
    815858#: 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 
    833860msgid "You Have Voted For This Choice" 
    834861msgstr "" 
    835862 
    836 #: polls-templates.php:113 
    837 #: polls.php:1181 
     863#: polls-templates.php:119 
     864#: polls.php:1216 
    838865msgid "Vote For This Poll" 
    839866msgstr "" 
    840867 
    841 #: polls-templates.php:116 
     868#: polls-templates.php:122 
    842869#: polls-usage.php:80 
    843 #: polls.php:1208 
     870#: polls.php:1243 
    844871msgid "Polls Archive" 
    845872msgstr "" 
    846873 
    847 #: polls-templates.php:119 
    848 #: polls.php:1183 
     874#: polls-templates.php:131 
     875#: polls.php:1218 
    849876msgid "Sorry, there are no polls available at the moment." 
    850877msgstr "" 
    851878 
    852 #: polls-templates.php:122 
    853 #: polls.php:1184 
     879#: polls-templates.php:134 
     880#: polls.php:1219 
    854881msgid "An error has occurred when processing your poll." 
    855882msgstr "" 
    856883 
    857 #: polls-templates.php:132 
     884#: polls-templates.php:144 
    858885#: polls.php:57 
    859886msgid "Poll Templates" 
    860887msgstr "" 
    861888 
    862 #: polls-templates.php:134 
     889#: polls-templates.php:146 
    863890msgid "Template Variables" 
    864891msgstr "" 
    865892 
    866 #: polls-templates.php:139 
     893#: polls-templates.php:151 
    867894msgid "Display the poll's ID" 
    868895msgstr "" 
    869896 
    870 #: polls-templates.php:143 
     897#: polls-templates.php:155 
    871898msgid "Display the poll's answer ID" 
    872899msgstr "" 
    873900 
    874 #: polls-templates.php:149 
     901#: polls-templates.php:161 
    875902msgid "Display the poll's question" 
    876903msgstr "" 
    877904 
    878 #: polls-templates.php:153 
     905#: polls-templates.php:165 
    879906msgid "Display the poll's answer" 
    880907msgstr "" 
    881908 
    882 #: polls-templates.php:159 
     909#: polls-templates.php:171 
    883910msgid "Display the poll's total votes NOT the number of people who voted for the poll" 
    884911msgstr "" 
    885912 
    886 #: polls-templates.php:163 
     913#: polls-templates.php:175 
    887914msgid "Display the poll's answer without HTML formatting." 
    888915msgstr "" 
    889916 
    890 #: polls-templates.php:169 
     917#: polls-templates.php:181 
    891918msgid "Displays URL to poll's result" 
    892919msgstr "" 
    893920 
    894 #: polls-templates.php:173 
     921#: polls-templates.php:185 
    895922msgid "Display the poll's answer votes" 
    896923msgstr "" 
    897924 
    898 #: polls-templates.php:179 
     925#: polls-templates.php:191 
    899926msgid "Display the poll's most voted answer" 
    900927msgstr "" 
    901928 
    902 #: polls-templates.php:183 
     929#: polls-templates.php:195 
    903930msgid "Display the poll's answer percentage" 
    904931msgstr "" 
    905932 
    906 #: polls-templates.php:189 
     933#: polls-templates.php:201 
    907934msgid "Display the poll's answer votes for the most voted answer" 
    908935msgstr "" 
    909936 
    910 #: polls-templates.php:193 
     937#: polls-templates.php:205 
    911938msgid "Display the poll's answer image width" 
    912939msgstr "" 
    913940 
    914 #: polls-templates.php:199 
     941#: polls-templates.php:211 
    915942msgid "Display the poll's answer percentage for the most voted answer" 
    916943msgstr "" 
    917944 
    918 #: polls-templates.php:203 
     945#: polls-templates.php:215 
    919946msgid "Display the poll's least voted answer" 
    920947msgstr "" 
    921948 
    922 #: polls-templates.php:209 
     949#: polls-templates.php:221 
    923950msgid "Display the poll's start date/time" 
    924951msgstr "" 
    925952 
    926 #: polls-templates.php:213 
     953#: polls-templates.php:225 
    927954msgid "Display the poll's answer votes for the least voted answer" 
    928955msgstr "" 
    929956 
    930 #: polls-templates.php:219 
     957#: polls-templates.php:231 
    931958msgid "Display the poll's end date/time" 
    932959msgstr "" 
    933960 
    934 #: polls-templates.php:223 
     961#: polls-templates.php:235 
    935962msgid "Display the poll's answer percentage for the least voted answer" 
    936963msgstr "" 
    937964 
    938 #: polls-templates.php:229 
     965#: polls-templates.php:241 
    939966msgid "Display the the maximum number of answers the user can choose if the poll supports multiple answers" 
    940967msgstr "" 
    941968 
    942 #: polls-templates.php:233 
     969#: polls-templates.php:245 
    943970msgid "Display \"checkbox\" or \"radio\" input types depending on the poll type" 
    944971msgstr "" 
    945972