WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/10/2009 04:14:50 PM (11 years ago)
Author:
ryan
Message:

Show DST info. Map old offest to Etc zones. Props Otto42. see #3962

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10756 r10757  
    31093109        $i++;
    31103110    }
    3111 
     3111   
    31123112    asort($zonen);
    31133113    $structure = '';
     
    31343134                $city = $city . '/'. $subcity;
    31353135            }
    3136             $structure .= "\t<option ".((($continent.'/'.$city)==$selectedzone)?'selected="selected "':'')." value=\"".($continent.'/'.$city)."\">$pad".str_replace('_',' ',$city)."</option>\n"; //Timezone
     3136            $structure .= "\t<option ".((($continent.'/'.$city)==$selectedzone)?'selected="selected"':'')." value=\"".($continent.'/'.$city)."\">$pad".str_replace('_',' ',$city)."</option>\n"; //Timezone
    31373137        } else {
    3138             $structure .= "<option ".(($continent==$selectedzone)?'selected="selected "':'')." value=\"".$continent."\">".$continent."</option>\n"; //Timezone
     3138            $structure .= "<option ".(($continent==$selectedzone)?'selected="selected"':'')." value=\"".$continent."\">".$continent."</option>\n"; //Timezone
    31393139        }
    31403140    }
Note: See TracChangeset for help on using the changeset viewer.