Changeset 41988

Show
Ignore:
Timestamp:
04/21/08 14:26:54 (3 months ago)
Author:
GamerZ
Message:

21st April 2008 Updates

Location:
wp-polls/trunk
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • wp-polls/trunk/polls-css.css

    r35561 r41988  
    5656      text-align: center; 
    5757      height: 16px; 
     58      line-height: 16px; 
    5859} 
    5960.wp-polls-image { 
     
    6465      background-color: #f3f6f8; 
    6566} 
     67/* Polls Archive Paging */ 
     68.wp-polls-paging a, .wp-polls-paging a:link { 
     69      padding: 2px 4px 2px 4px;  
     70      margin: 2px; 
     71      text-decoration: none; 
     72      border: 1px solid #0066cc; 
     73      color: #0066cc; 
     74      background-color: #FFFFFF;     
     75} 
     76.wp-polls-paging a:visited { 
     77      padding: 2px 4px 2px 4px;  
     78      margin: 2px; 
     79      text-decoration: none; 
     80      border: 1px solid #0066cc; 
     81      color: #0066cc; 
     82      background-color: #FFFFFF;     
     83} 
     84.wp-polls-paging a:hover {     
     85      border: 1px solid #000000; 
     86      color: #000000; 
     87      background-color: #FFFFFF; 
     88} 
     89.wp-polls-paging a:active { 
     90      padding: 2px 4px 2px 4px;  
     91      margin: 2px; 
     92      text-decoration: none; 
     93      border: 1px solid #0066cc; 
     94      color: #0066cc; 
     95      background-color: #FFFFFF;     
     96} 
     97.wp-polls-paging span.pages { 
     98      padding: 2px 4px 2px 4px;  
     99      margin: 2px 2px 2px 2px; 
     100      color: #000000; 
     101      border: 1px solid #000000; 
     102      background-color: #FFFFFF; 
     103} 
     104.wp-polls-paging span.current { 
     105      padding: 2px 4px 2px 4px;  
     106      margin: 2px; 
     107      font-weight: bold; 
     108      border: 1px solid #000000; 
     109      color: #000000; 
     110      background-color: #FFFFFF; 
     111} 
     112.wp-polls-paging span.extend { 
     113      padding: 2px 4px 2px 4px;  
     114      margin: 2px;       
     115      border: 1px solid #000000; 
     116      color: #000000; 
     117      background-color: #FFFFFF; 
     118} 
    66119/* Styles Used In WP-Admin */ 
    67 .wp-polls-usage-pre { 
    68       margin: 20px; 
    69       padding: 10px; 
    70       border: 1px solid #c8c8c8; 
    71       background-color: #f0f0f0; 
    72       overflow: auto; 
    73 } 
    74120#wp-polls-pollbar-bg { 
    75121      width: 25px; 
  • wp-polls/trunk/polls-templates.php

    r36832 r41988  
    4343      $poll_template_pollarchiveheader = trim($_POST['poll_template_pollarchiveheader']); 
    4444      $poll_template_pollarchivefooter = trim($_POST['poll_template_pollarchivefooter']); 
     45      $poll_template_pollarchivepagingheader = trim($_POST['poll_template_pollarchivepagingheader']); 
     46      $poll_template_pollarchivepagingfooter = trim($_POST['poll_template_pollarchivepagingfooter']); 
    4547      $poll_template_disable = trim($_POST['poll_template_disable']); 
    4648      $poll_template_error = trim($_POST['poll_template_error']); 
     
    5860      $update_poll_queries[] = update_option('poll_template_pollarchiveheader', $poll_template_pollarchiveheader); 
    5961      $update_poll_queries[] = update_option('poll_template_pollarchivefooter', $poll_template_pollarchivefooter); 
     62      $update_poll_queries[] = update_option('poll_template_pollarchivepagingheader', $poll_template_pollarchivepagingheader); 
     63      $update_poll_queries[] = update_option('poll_template_pollarchivepagingfooter', $poll_template_pollarchivepagingfooter); 
    6064      $update_poll_queries[] = update_option('poll_template_disable', $poll_template_disable); 
    6165      $update_poll_queries[] = update_option('poll_template_error', $poll_template_error); 
     
    7175      $update_poll_text[] = __('Poll Archive Poll Header Template', 'wp-polls'); 
    7276      $update_poll_text[] = __('Poll Archive Poll Footer Template', 'wp-polls'); 
     77      $update_poll_text[] = __('Poll Archive Paging Header Template', 'wp-polls'); 
     78      $update_poll_text[] = __('Poll Archive Paging Footer Template', 'wp-polls'); 
    7379      $update_poll_text[] = __('Poll Disabled Template', 'wp-polls'); 
    7480      $update_poll_text[] = __('Poll Error Template', 'wp-polls'); 
     
    128134                        default_template = "<p><?php _e('Start Date:', 'wp-polls'); ?> %POLL_START_DATE%<br /><?php _e('End Date:', 'wp-polls'); ?> %POLL_END_DATE%</p>"; 
    129135                        break; 
     136                  case "pollarchivepagingheader": 
     137                        default_template = ""; 
     138                        break; 
     139                  case "pollarchivepagingfooter": 
     140                        default_template = ""; 
     141                        break; 
    130142                  case "disable": 
    131143                        default_template = "<?php _e('Sorry, there are no polls available at the moment.', 'wp-polls'); ?>"; 
     
    435447                  <td align="left"><textarea cols="80" rows="15" id="poll_template_pollarchivefooter" name="poll_template_pollarchivefooter"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivefooter'))); ?></textarea></td> 
    436448            </tr> 
     449            <tr> 
     450                  <td width="30%" align="left"> 
     451                        <strong><?php _e('Paging Header', 'wp-polls'); ?></strong><br /><?php _e('Displayed Before Paging In The Poll Archive', 'wp-polls'); ?><br /><br /> 
     452                        <?php _e('Allowed Variables:', 'wp-polls'); ?><br /> 
     453                        - <?php _e('N/A', 'wp-polls'); ?><br /> 
     454                        <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('pollarchivepagingheader');" class="button" /> 
     455                  </td> 
     456                  <td align="left"><textarea cols="80" rows="15" id="poll_template_pollarchivepagingheader" name="poll_template_pollarchivepagingheader"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivepagingheader'))); ?></textarea></td> 
     457            </tr> 
     458            <tr> 
     459                  <td width="30%" align="left"> 
     460                        <strong><?php _e('Paging Footer', 'wp-polls'); ?></strong><br /><?php _e('Displayed After Paging In The Poll Archive', 'wp-polls'); ?><br /><br /> 
     461                        <?php _e('Allowed Variables:', 'wp-polls'); ?><br /> 
     462                        - <?php _e('N/A', 'wp-polls'); ?><br /> 
     463                        <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-polls'); ?>" onclick="poll_default_templates('pollarchivepagingfooter');" class="button" /> 
     464                  </td> 
     465                  <td align="left"><textarea cols="80" rows="15" id="poll_template_pollarchivepagingfooter" name="poll_template_pollarchivepagingfooter"><?php echo htmlspecialchars(stripslashes(get_option('poll_template_pollarchivepagingfooter'))); ?></textarea></td> 
     466            </tr> 
    437467      </table> 
    438468 
  • wp-polls/trunk/readme.html

    r41123 r41988  
    284284                              <ul> 
    285285                                    <li>NEW: Works For WordPress 2.5 Only</li> 
     286                                    <li>NEW: Added Paging Header And Footer Template For Polls Archive Page</li> 
     287                                    <li>NEW: Uses WP-PageNavi Style Paging For Polls Archive Page</li> 
    286288                                    <li>NEW: WP-Polls Will Load 'polls-css.css' Inside Your Theme Directory If It Exists. If Not, It Will Just Load The Default 'polls-css.css' By WP-Polls</li> 
    287289                                    <li>NEW: Uses Shortcode API</li> 
  • wp-polls/trunk/wp-polls.php

    r41123 r41988  
    176176      echo '</script>'."\n"; 
    177177      wp_print_scripts(array('sack', 'wp-polls')); 
    178       if(@file_exists(get_template_directory().'/polls-css.css')) { 
     178      if(@file_exists(TEMPLATEPATH.'/polls-css.css')) { 
    179179            echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/polls-css.css" type="text/css" media="screen" />'."\n";  
    180180      } else { 
     
    829829      $total_polls = $wpdb->get_var("SELECT COUNT(pollq_id) FROM $wpdb->pollsq WHERE $polls_type_sql AND pollq_active != -1"); 
    830830 
    831       // Checking $page and $offset 
    832       if (empty($page) || $page == 0) { $page = 1; } 
    833       if (empty($offset)) { $offset = 0; } 
    834  
    835       // Determin $offset 
    836       $offset = ($page-1) * $polls_perpage; 
    837  
    838       // Determine Max Number Of Polls To Display On Page 
    839       if(($offset + $polls_perpage) > $total_polls) {  
    840             $max_on_page = $total_polls;  
     831      // Calculate Paging 
     832      $numposts = $total_polls; 
     833      $perpage = $polls_perpage; 
     834      $max_page = ceil($numposts/$perpage);      
     835      if(empty($page) || $page == 0) { 
     836            $page = 1; 
     837      } 
     838      $offset = ($page-1) * $perpage; 
     839      $pages_to_show = 10; 
     840      $pages_to_show_minus_1 = $pages_to_show-1; 
     841      $half_page_start = floor($pages_to_show_minus_1/2); 
     842      $half_page_end = ceil($pages_to_show_minus_1/2); 
     843      $start_page = $page - $half_page_start; 
     844      if($start_page <= 0) { 
     845            $start_page = 1; 
     846      } 
     847      $end_page = $page + $half_page_end; 
     848      if(($end_page - $start_page) != $pages_to_show_minus_1) { 
     849            $end_page = $start_page + $pages_to_show_minus_1; 
     850      } 
     851      if($end_page > $max_page) { 
     852            $start_page = $max_page - $pages_to_show_minus_1; 
     853            $end_page = $max_page; 
     854      } 
     855      if($start_page <= 0) { 
     856            $start_page = 1; 
     857      } 
     858      if(($offset + $perpage) > $numposts) {  
     859            $max_on_page = $numposts;  
    841860      } else {  
    842             $max_on_page = ($offset + $polls_perpage);  
    843       } 
    844  
    845       // Determine Number Of Polls To Display On Page 
    846       if (($offset + 1) > ($total_polls)) {  
    847             $display_on_page = $total_polls;  
     861            $max_on_page = ($offset + $perpage);  
     862      } 
     863      if (($offset + 1) > ($numposts)) {  
     864            $display_on_page = $numposts;  
    848865      } else {  
    849866            $display_on_page = ($offset + 1);  
    850867      } 
    851  
    852       // Determing Total Amount Of Pages 
    853       $total_pages = ceil($total_polls / $polls_perpage); 
    854  
     868       
    855869      // Get Poll Questions 
    856870      $questions = $wpdb->get_results("SELECT * FROM $wpdb->pollsq WHERE $polls_type_sql ORDER BY pollq_id DESC LIMIT $offset, $polls_perpage"); 
     
    10181032 
    10191033      // Polls Archive Paging 
    1020       if($total_pages > 1) { 
    1021             // Output Previous Page 
    1022             $pollsarchive_output_archive .= "<p>\n"; 
    1023             $pollsarchive_output_archive .= "<span style=\"float: left;\">\n"; 
    1024             if($page > 1 && ((($page*$polls_perpage)-($polls_perpage-1)) <= $total_polls)) { 
    1025                   $pollsarchive_output_archive .= '<strong>&laquo;</strong> <a href="'.polls_archive_link($page-1).'" title="&laquo; '.__('Previous Page', 'wp-polls').'">'.__('Previous Page', 'wp-polls').'</a>'; 
    1026             } else { 
    1027                   $pollsarchive_output_archive .= '&nbsp;'; 
    1028             }            
    1029             $pollsarchive_output_archive .= "</span>\n"; 
    1030             // Output Next Page 
    1031             $pollsarchive_output_archive .= "<span style=\"float: right;\">\n"; 
    1032             if($page >= 1 && ((($page*$polls_perpage)+1) <=  $total_polls)) { 
    1033                   $pollsarchive_output_archive .= '<a href="'.polls_archive_link($page+1).'" title="'.__('Next Page', 'wp-polls').' &raquo;">'.__('Next Page', 'wp-polls').'</a> <strong>&raquo;</strong>'; 
    1034             } else { 
    1035                   $pollsarchive_output_archive .= '&nbsp;'; 
    1036             } 
    1037             $pollsarchive_output_archive .= "</span>\n"; 
    1038             // Output Pages 
    1039             $pollsarchive_output_archive .= "</p>\n"; 
    1040             $pollsarchive_output_archive .= "<br style=\"clear: both;\" />\n"; 
    1041             $pollsarchive_output_archive .= "<p style=\"text-align: center;\">\n"; 
    1042             $pollsarchive_output_archive .= __('Pages', 'wp-polls')." ($total_pages): "; 
    1043             if ($page >= 4) { 
    1044                   $pollsarchive_output_archive .= '<strong><a href="'.polls_archive_link(1).'" title="'.__('Go to First Page', 'wp-polls').'">&laquo; '.__('First', 'wp-polls').'</a></strong> ... '; 
     1034      if($max_page > 1) { 
     1035            $pollsarchive_output_archive .= stripslashes(get_option('poll_template_pollarchivepagingheader')); 
     1036            if(function_exists('wp_pagenavi')) { 
     1037                  $pollsarchive_output_archive .= '<div class="wp-pagenavi">'."\n"; 
     1038            } else { 
     1039                  $pollsarchive_output_archive .= '<div class="wp-polls-paging">'."\n"; 
     1040            } 
     1041            $pollsarchive_output_archive .= '<span class="pages">'.sprintf(__('Page %s of %s', 'wp-polls'), $page, $max_page).'</span>';               
     1042            if ($start_page >= 2 && $pages_to_show < $max_page) { 
     1043                  $pollsarchive_output_archive .= '<a href="'.polls_archive_link(1).'" title="'.__('&laquo; First', 'wp-polls').'">'.__('&laquo; First', 'wp-polls').'</a>'; 
     1044                  $pollsarchive_output_archive .= '<span class="extend">...</span>'; 
    10451045            } 
    10461046            if($page > 1) { 
    1047                   $pollsarchive_output_archive .= ' <strong><a href="'.polls_archive_link($page-1).'" title="&laquo; '.__('Go to Page', 'wp-polls').' '.($page-1).'">&laquo;</a></strong> '; 
    1048             } 
    1049             for($i = $page - 2 ; $i  <= $page +2; $i++) { 
    1050                   if ($i >= 1 && $i <= $total_pages) { 
    1051                         if($i == $page) { 
    1052                               $pollsarchive_output_archive .= "<strong>[$i]</strong> "; 
    1053                         } else { 
    1054                               $pollsarchive_output_archive .= '<a href="'.polls_archive_link($i).'" title="'.__('Page', 'wp-polls').' '.$i.'">'.$i.'</a> '; 
    1055                         } 
    1056                   } 
    1057             } 
    1058             if($page < $total_pages) { 
    1059                   $pollsarchive_output_archive .= ' <strong><a href="'.polls_archive_link($page+1).'" title="'.__('Go to Page', 'wp-polls').' '.($page+1).' &raquo;">&raquo;</a></strong> '; 
    1060             } 
    1061             if (($page+2) < $total_pages) { 
    1062                   $pollsarchive_output_archive .= ' ... <strong><a href="'.polls_archive_link($total_pages).'" title="'.__('Go to Last Page', 'wp-polls').'">'.__('Last', 'wp-polls').' &raquo;</a></strong>'; 
    1063             } 
    1064             $pollsarchive_output_archive .= "</p>\n"; 
     1047                  $pollsarchive_output_archive .= '<a href="'.polls_archive_link(($page-1)).'" title="'.__('&laquo;', 'wp-polls').'">'.__('&laquo;', 'wp-polls').'</a>'; 
     1048            } 
     1049            for($i = $start_page; $i  <= $end_page; $i++) {                                
     1050                  if($i == $page) { 
     1051                        $pollsarchive_output_archive .= '<span class="current">'.$i.'</span>'; 
     1052                  } else { 
     1053                        $pollsarchive_output_archive .= '<a href="'.polls_archive_link($i).'" title="'.$i.'">'.$i.'</a>'; 
     1054                  } 
     1055            } 
     1056            if(empty($page) || ($page+1) <= $max_page) { 
     1057                  $pollsarchive_output_archive .= '<a href="'.polls_archive_link(($page+1)).'" title="'.__('&raquo;', 'wp-polls').'">'.__('&raquo;', 'wp-polls').'</a>'; 
     1058            } 
     1059            if ($end_page < $max_page) { 
     1060                  $pollsarchive_output_archive .= '<span class="extend">...</span>'; 
     1061                  $pollsarchive_output_archive .= '<a href="'.polls_archive_link($max_page).'" title="'.__('Last &raquo;', 'wp-polls').'">'.__('Last &raquo;', 'wp-polls').'</a>'; 
     1062            } 
     1063            $pollsarchive_output_archive .= '</div>'; 
     1064            $pollsarchive_output_archive .= stripslashes(get_option('poll_template_pollarchivepagingfooter')); 
    10651065      } 
    10661066 
     
    14101410      } 
    14111411      // Database Upgrade For WP-Polls 2.30 
    1412       add_option('poll_cookielog_expiry', 0, 'Cookie And Log Expiry Time');    
     1412      add_option('poll_cookielog_expiry', 0, 'Cookie And Log Expiry Time'); 
     1413      add_option('poll_template_pollarchivepagingheader', '', 'Displayed Before Paging In The Poll Archive'); 
     1414      add_option('poll_template_pollarchivepagingfooter', '', 'Displayed After Paging In The Poll Archive'); 
    14131415      // Set 'manage_polls' Capabilities To Administrator    
    14141416      $role = get_role('administrator'); 
  • wp-polls/trunk/wp-polls.pot

    r41123 r41988  
    33"Project-Id-Version: WP-Polls 2.30\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-04-17 17:25+0800\n" 
    6 "PO-Revision-Date: 2008-04-17 17:25+0800\n" 
     5"POT-Creation-Date: 2008-04-21 22:14+0800\n" 
     6"PO-Revision-Date: 2008-04-21 22:14+0800\n" 
    77"Last-Translator: Lester Chan <lesterchan@gmail.com>\n" 
    88"Language-Team: Lester Chan <lesterchan@gmail.com>\n" 
     
    387387#: wp-polls.php:520 
    388388#: wp-polls.php:525 
    389 #: wp-polls.php:896 
    390 #: wp-polls.php:900 
     389#: wp-polls.php:910 
     390#: wp-polls.php:914 
    391391#, php-format 
    392392msgid "%s @ %s" 
     
    535535#: polls-manager.php:465 
    536536#: polls-manager.php:576 
    537 #: polls-templates.php:116 
    538 #: polls-templates.php:119 
     537#: polls-templates.php:122 
     538#: polls-templates.php:125 
    539539#: wp-polls.php:1370 
    540540#: wp-polls.php:1373 
     
    553553#: wp-polls.php:407 
    554554#: wp-polls.php:523 
    555 #: wp-polls.php:898 
     555#: wp-polls.php:912 
    556556msgid "No Expiry" 
    557557msgstr "" 
     
    693693 
    694694#: polls-options.php:89 
    695 #: polls-templates.php:79 
     695#: polls-templates.php:85 
    696696msgid "Updated" 
    697697msgstr "" 
    698698 
    699699#: polls-options.php:94 
    700 #: polls-templates.php:84 
     700#: polls-templates.php:90 
    701701msgid "No Poll Option Updated" 
    702702msgstr "" 
     
    785785 
    786786#: polls-options.php:251 
    787 #: polls-templates.php:110 
    788 #: polls-templates.php:113 
     787#: polls-templates.php:116 
     788#: polls-templates.php:119 
    789789#: wp-polls.php:1367 
    790790#: wp-polls.php:1368 
     
    936936 
    937937#: polls-options.php:392 
    938 #: polls-templates.php:462 
     938#: polls-templates.php:492 
    939939msgid "Save Changes" 
    940940msgstr "" 
    941941 
    942 #: polls-templates.php:62 
     942#: polls-templates.php:66 
    943943msgid "Voting Form Header Template" 
    944944msgstr "" 
    945945 
    946 #: polls-templates.php:63 
     946#: polls-templates.php:67 
    947947msgid "Voting Form Body Template" 
    948948msgstr "" 
    949949 
    950 #: polls-templates.php:64 
     950#: polls-templates.php:68 
    951951msgid "Voting Form Footer Template" 
    952952msgstr "" 
    953953 
    954 #: polls-templates.php:65 
     954#: polls-templates.php:69 
    955955msgid "Result Header Template" 
    956956msgstr "" 
    957957 
    958 #: polls-templates.php:66 
     958#: polls-templates.php:70 
    959959msgid "Result Body Template" 
    960960msgstr "" 
    961961 
    962 #: polls-templates.php:67 
     962#: polls-templates.php:71 
    963963msgid "Result Body2 Template" 
    964964msgstr "" 
    965965 
    966 #: polls-templates.php:68 
     966#: polls-templates.php:72 
    967967msgid "Result Footer Template" 
    968968msgstr "" 
    969969 
    970 #: polls-templates.php:69 
     970#: polls-templates.php:73 
    971971msgid "Result Footer2 Template" 
    972972msgstr "" 
    973973 
    974 #: polls-templates.php:70 
     974#: polls-templates.php:74 
    975975msgid "Poll Archive Link Template" 
    976976msgstr "" 
    977977 
    978 #: polls-templates.php:71 
     978#: polls-templates.php:75 
    979979msgid "Poll Archive Poll Header Template" 
    980980msgstr "" 
    981981 
    982 #: polls-templates.php:72 
     982#: polls-templates.php:76 
    983983msgid "Poll Archive Poll Footer Template" 
    984984msgstr "" 
    985985 
    986 #: polls-templates.php:73 
     986#: polls-templates.php:77 
     987msgid "Poll Archive Paging Header Template" 
     988msgstr "" 
     989 
     990#: polls-templates.php:78 
     991msgid "Poll Archive Paging Footer Template" 
     992msgstr "" 
     993 
     994#: polls-templates.php:79 
    987995msgid "Poll Disabled Template" 
    988996msgstr "" 
    989997 
    990 #: polls-templates.php:74 
     998#: polls-templates.php:80 
    991999msgid "Poll Error Template" 
    9921000msgstr "" 
    9931001 
    994 #: polls-templates.php:104 
    995 #: polls-templates.php:119 
     1002#: polls-templates.php:110 
     1003#: polls-templates.php:125 
    9961004#: wp-polls.php:1361 
    9971005#: wp-polls.php:1374 
     
    9991007msgstr "" 
    10001008 
    1001 #: polls-templates.php:104 
     1009#: polls-templates.php:110 
    10021010#: wp-polls.php:1362 
    10031011msgid "View Results Of This Poll" 
    10041012msgstr "" 
    10051013 
    1006 #: polls-templates.php:104 
     1014#: polls-templates.php:110 
    10071015#: wp-polls.php:1362 
    10081016msgid "View Results" 
    10091017msgstr "" 
    10101018 
    1011 #: polls-templates.php:113 
     1019#: polls-templates.php:119 
    10121020#: wp-polls.php:1368 
    10131021msgid "You Have Voted For This Choice" 
    10141022msgstr "" 
    10151023 
    1016 #: polls-templates.php:119 
     1024#: polls-templates.php:125 
    10171025#: wp-polls.php:1374 
    10181026msgid "Vote For This Poll" 
    10191027msgstr "" 
    10201028 
    1021 #: polls-templates.php:122 
     1029#: polls-templates.php:128 
    10221030#: wp-polls.php:1401 
    10231031msgid "Polls Archive" 
    10241032msgstr "" 
    10251033 
    1026 #: polls-templates.php:128 
     1034#: polls-templates.php:134 
    10271035msgid "Start Date:" 
    10281036msgstr "" 
    10291037 
    1030 #: polls-templates.php:128 
     1038#: polls-templates.php:134 
    10311039msgid "End Date:" 
    10321040msgstr "" 
    10331041 
    1034 #: polls-templates.php:131 
     1042#: polls-templates.php:143 
    10351043#: wp-polls.php:1376 
    10361044msgid "Sorry, there are no polls available at the moment." 
    10371045msgstr "" 
    10381046 
    1039 #: polls-templates.php:134 
     1047#: polls-templates.php:146 
    10401048#: wp-polls.php:1377 
    10411049msgid "An error has occurred when processing your poll." 
    10421050msgstr "" 
    10431051 
    1044 #: polls-templates.php:144 
     1052#: polls-templates.php:156 
    10451053#: wp-polls.php:61 
    10461054msgid "Poll Templates" 
    10471055msgstr "" 
    10481056 
    1049 #: polls-templates.php:146 
     1057#: polls-templates.php:158 
    10501058msgid "Template Variables" 
    10511059msgstr "" 
    10521060 
    1053 #: polls-templates.php:151 
     1061#: polls-templates.php:163 
    10541062msgid "Display the poll's ID" 
    10551063msgstr "" 
    10561064 
    1057 #: polls-templates.php:155 
     1065#: polls-templates.php:167 
    10581066msgid "Display the poll's answer ID" 
    10591067msgstr "" 
    10601068 
    1061 #: polls-templates.php:161 
     1069#: polls-templates.php:173 
    10621070msgid "Display the poll's question" 
    10631071msgstr "" 
    10641072 
    1065 #: polls-templates.php:165 
     1073#: polls-templates.php:177 
    10661074msgid "Display the poll's answer" 
    10671075msgstr "" 
    10681076 
    1069 #: polls-templates.php:171 
     1077#: polls-templates.php:183 
    10701078msgid "Display the poll's total votes NOT the number of people who voted for the poll" 
    10711079msgstr "" 
    10721080 
    1073 #: polls-templates.php:175 
     1081#: polls-templates.php:187 
    10741082msgid "Display the poll's answer without HTML formatting." 
    10751083msgstr "" 
    10761084 
    1077 #: polls-templates.php:181 
     1085#: polls-templates.php:193 
    10781086msgid "Displays URL to poll's result" 
    10791087msgstr "" 
    10801088 
    1081 #: polls-templates.php:185 
     1089#: polls-templates.php:197 
    10821090msgid "Display the poll's answer votes" 
    10831091msgstr "" 
    10841092 
    1085 #: polls-templates.php:191 
     1093#: polls-templates.php:203 
    10861094msgid "Display the poll's most voted answer" 
    10871095msgstr "" 
    10881096 
    1089 #: polls-templates.php:195 
     1097#: polls-templates.php:207 
    10901098msgid "Display the poll's answer percentage" 
    10911099msgstr "" 
    10921100 
    1093 #: polls-templates.php:201 
     1101#: polls-templates.php:213 
    10941102msgid "Display the poll's answer votes for the most voted answer" 
    10951103msgstr "" 
    10961104 
    1097 #: polls-templates.php:205 
     1105#: polls-templates.php:217 
    10981106msgid "Display the poll's answer image width" 
    10991107msgstr "" 
    11001108 
    1101 #: polls-templates.php:211 
     1109#: polls-templates.php:223 
    11021110msgid "Display the poll's answer percentage for the most voted answer" 
    11031111msgstr "" 
    11041112 
    1105 #: polls-templates.php:215 
     1113#: polls-templates.php:227 
    11061114msgid "Display the poll's least voted answer" 
    11071115msgstr "" 
    11081116 
    1109 #: polls-templates.php:221 
     1117#: polls-templates.php:233 
    11101118msgid "Display the poll's start date/time" 
    11111119msgstr "" 
    11121120 
    1113 #: polls-templates.php:225 
     1121#: polls-templates.php:237 
    11141122msgid "Display the poll's answer votes for the least voted answer" 
    11151123msgstr "" 
    11161124 
    1117 #: polls-templates.php:231 
     1125#: polls-templates.php:243 
    11181126msgid "Display the poll's end date/time" 
    11191127msgstr "" 
    11201128 
    1121 #: polls-templates.php:235 
     1129#: polls-templates.php:247 
    11221130msgid "Display the poll's answer percentage for the least voted answer" 
    11231131msgstr "" 
    11241132 
    1125 #: polls-templates.php:241 
     1133#: polls-templates.php:253 
    11261134msgid "Display the the maximum number of answers the user can choose if the poll supports multiple answers" 
    11271135msgstr "" 
    11281136 
    1129 #: polls-templates.php:245 
     1137#: polls-templates.php:257 
    11301138msgid "Display \"checkbox\" or \"radio\" input types depending on the poll type" 
    11311139msgstr "" 
    11321140 
    1133 #: polls-templates.php:251 
     1141#: polls-templates.php:263 
    11341142msgid "Display the number of people who voted for the poll NOT the total votes of the poll" 
    11351143msgstr "" 
    11361144 
    1137 #: polls-templates.php:255 
     1145#: polls-templates.php:267 
    11381146msgid "Display the poll archive URL" 
    11391147msgstr "" 
    11401148 
    1141 #: polls-templates.php:260 
     1149#: polls-templates.php:272