Changeset 25647

Show
Ignore:
Timestamp:
11/29/07 14:51:06 (8 months ago)
Author:
GamerZ
Message:

FIXED: Unable To Schedule Future Poll If The Year Is Different From Current Year

Location:
wp-polls/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • wp-polls/trunk/readme.html

    r22648 r25647  
    292292                                    <li>NEW: Use number_format_i18n() Instead</li> 
    293293                                    <li>FIXED: number_format() Not Used In Polls Archive</li> 
     294                                    <li>FIXED: Unable To Schedule Future Poll If The Year Is Different From Current Year</li> 
    294295                              </ul> 
    295296                        </li> 
  • wp-polls/trunk/wp-polls.php

    r22756 r25647  
    10511051      $year = gmdate('Y', $poll_timestamp); 
    10521052      echo '<select name="'.$fieldname.'_year" size="1">'."\n"; 
    1053       for($i = 2000; $i <= $year; $i++) { 
     1053      for($i = 2000; $i <= ($year+10); $i++) { 
    10541054            if($year == $i) { 
    10551055                  echo "<option value=\"$i\" selected=\"selected\">$i</option>\n";   
  • wp-polls/trunk/wp-polls.pot

    r22756 r25647  
    33"Project-Id-Version: WP-Polls 2.30\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-10-21 22:57+0800\n" 
     5"PO-Revision-Date: 2007-11-29 22:50+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n"