Changeset 20812

Show
Ignore:
Timestamp:
10/03/07 17:30:57 (9 months ago)
Author:
GamerZ
Message:

2.22 Beta

Files:

Legend:

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

    r17685 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-admin-ajax.php

    r15778 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-admin-js.php

    r16147 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-css.css

    r15778 r20812  
    22+----------------------------------------------------------------+ 
    33|                                                                                                                                         | 
    4 |     WordPress 2.0 Plugin: WP-Polls 2.21                                                           | 
     4|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    55|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    66|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-js.php

    r15778 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-logs.php

    r15778 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-manager.php

    r17685 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-options.php

    r17965 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-templates.php

    r15778 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-uninstall.php

    r15778 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-usage.php

    r16526 r20812  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.1 Plugin: WP-Polls 2.21                                                           | 
     5|     WordPress 2.3 Plugin: WP-Polls 2.22                                                           | 
    66|     Copyright (c) 2007 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
  • wp-polls/trunk/polls/polls-widget.php

    r15778 r20812  
    44Plugin URI: http://lesterchan.net/portfolio/programming.php 
    55Description: Adds a Poll Widget to display single or multiple polls from WP-Polls Plugin. You will need to activate WP-Polls first. 
    6 Version: 2.21 
     6Version: 2.22 
    77Author: Lester 'GaMerZ' Chan 
    88Author URI: http://lesterchan.net 
  • wp-polls/trunk/polls/polls.php

    r19232 r20812  
    44Plugin URI: http://lesterchan.net/portfolio/programming.php 
    55Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers. 
    6 Version: 2.21 
     6Version: 2.22 
    77Author: Lester 'GaMerZ' Chan 
    88Author URI: http://lesterchan.net 
     
    858858            $template_question = str_replace("%POLL_QUESTION%", $polls_question['question'], $template_question); 
    859859            $template_question = str_replace("%POLL_ID%", $polls_question['id'], $template_question); 
    860             $template_question = str_replace("%POLL_TOTALVOTES%", $polls_question['totalvotes'], $template_question); 
    861             $template_question = str_replace("%POLL_TOTALVOTERS%", $polls_question['totalvoters'], $template_question); 
     860            $template_question = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_question); 
     861            $template_question = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_question); 
    862862            $template_question = str_replace("%POLL_START_DATE%", $poll_start_date, $template_question); 
    863863            $template_question = str_replace("%POLL_END_DATE%", $poll_end_date, $template_question); 
     
    892892                              $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer); 
    893893                              $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer); 
    894                               $template_answer = str_replace("%POLL_ANSWER_VOTES%", $polls_answer['votes'], $template_answer); 
     894                              $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($polls_answer['votes']), $template_answer); 
    895895                              $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    896896                              $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    903903                              $template_answer = str_replace("%POLL_ANSWER%", $polls_answer['answers'], $template_answer); 
    904904                              $template_answer = str_replace("%POLL_ANSWER_TEXT%", htmlspecialchars(strip_tags($polls_answer['answers'])), $template_answer); 
    905                               $template_answer = str_replace("%POLL_ANSWER_VOTES%", $polls_answer['votes'], $template_answer); 
     905                              $template_answer = str_replace("%POLL_ANSWER_VOTES%", number_format($polls_answer['votes']), $template_answer); 
    906906                              $template_answer = str_replace("%POLL_ANSWER_PERCENTAGE%", $poll_answer_percentage, $template_answer); 
    907907                              $template_answer = str_replace("%POLL_ANSWER_IMAGEWIDTH%", $poll_answer_imagewidth, $template_answer); 
     
    932932            $template_footer = str_replace("%POLL_START_DATE%", $poll_start_date, $template_footer); 
    933933            $template_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_footer); 
    934             $template_footer = str_replace("%POLL_TOTALVOTES%", $polls_question['totalvotes'], $template_footer); 
    935             $template_footer = str_replace("%POLL_TOTALVOTERS%", $polls_question['totalvoters'], $template_footer); 
     934            $template_footer = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_footer); 
     935            $template_footer = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_footer); 
    936936            $template_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_footer); 
    937937            $template_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_footer); 
     
    949949            $template_archive_footer = str_replace("%POLL_START_DATE%", $poll_start_date, $template_archive_footer); 
    950950            $template_archive_footer = str_replace("%POLL_END_DATE%", $poll_end_date, $template_archive_footer); 
    951             $template_archive_footer = str_replace("%POLL_TOTALVOTES%", $polls_question['totalvotes'], $template_archive_footer); 
    952             $template_archive_footer = str_replace("%POLL_TOTALVOTERS%", $polls_question['totalvoters'], $template_archive_footer); 
     951            $template_archive_footer = str_replace("%POLL_TOTALVOTES%", number_format($polls_question['totalvotes']), $template_archive_footer); 
     952            $template_archive_footer = str_replace("%POLL_TOTALVOTERS%", number_format($polls_question['totalvoters']), $template_archive_footer); 
    953953            $template_archive_footer = str_replace("%POLL_MOST_ANSWER%", $poll_most_answer, $template_archive_footer); 
    954954            $template_archive_footer = str_replace("%POLL_MOST_VOTES%", number_format($poll_most_votes), $template_archive_footer); 
  • wp-polls/trunk/polls/wp-polls.pot

    r19232 r20812  
    11msgid "" 
    22msgstr "" 
    3 "Project-Id-Version: WP-Polls 2.21\n" 
     3"Project-Id-Version: WP-Polls 2.22\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-09-19 00:19+0800\n" 
     5"PO-Revision-Date: 2007-10-04 01:30+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    7 "Language-Team: Ravan <ravanhagen@gmail.com>\n" 
     7"Language-Team: Lester Chan <gamerz84@hotmail.com>\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=utf-8\n" 
  • wp-polls/trunk/readme.html

    r17539 r20812  
    33<head>       
    44      <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5       <title>WP-Polls 2.21 Readme</title> 
     5      <title>WP-Polls 2.22 Readme</title> 
    66      <style type="text/css" media="screen"> 
    77            /* Default Style */ 
     
    205205<div id="Container"> 
    206206      <!-- Title --> 
    207       <div id="Title">WP-Polls 2.21&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
     207      <div id="Title">WP-Polls 2.22&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
    208208 
    209209      <!-- Tabs --> 
     
    228228                        <script type="text/javascript"> 
    229229                              /* <![CDATA[*/ 
    230                               document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-Polls%202.21%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
     230                              document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-Polls%202.22%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
    231231                              /* ]]> */ 
    232232                        </script> 
     
    242242                  <p> 
    243243                        <strong>Download:</strong><br /> 
    244                         <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads.php?id=10" title="http://lesterchan.net/others/downloads.php?id=10">WP-Polls 2.21 For WordPress 2.3.x</a><br /> 
     244                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads.php?id=10" title="http://lesterchan.net/others/downloads.php?id=10">WP-Polls 2.22 For WordPress 2.3.x</a><br /> 
    245245                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-polls220.zip" title="http://lesterchan.net/others/downloads/wp-polls220.zip">WP-Polls 2.20 For WordPress 2.1.x And 2.2.x</a><br /> 
    246246                        <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-polls213.zip" title="http://lesterchan.net/others/downloads/wp-polls213.zip">WP-Polls 2.13 For WordPress 2.0.x</a><br /> 
     
    297297                  <div class="SubTitle">&raquo; Changelog</div> 
    298298                  <ul> 
     299                        <li> 
     300                              <strong>Version 2.22 (01-01-2008)</strong> 
     301                              <ul> 
     302                                    <li>FIXED: number_format() Not Used In Polls Archive</li> 
     303                              </ul> 
     304                        </li> 
    299305                        <li> 
    300306                              <strong>Version 2.21 (01-10-2007)</strong> 
     
    509515            <div id="Upgrade" style="display: none;"> 
    510516                  <div class="SubTitle">&raquo; Upgrade Instructions</div> 
    511                   <div class="SubSubTitle">From v2.xx To v2.21</div> 
     517                  <div class="SubSubTitle">From v2.xx To v2.22</div> 
    512518                  <ol> 
    513519                        <li> 
     
    689695      </div> 
    690696</div> 
    691 <p id="Copyright">WP-Polls 2.21<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
     697<p id="Copyright">WP-Polls 2.22<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
    692698</body> 
    693699</html>