Ticket #9758: 9758-untranslated.diff
File 9758-untranslated.diff, 1.4 KB (added by , 16 years ago) |
---|
-
wp-includes/functions.php
3114 3114 $i++; 3115 3115 } 3116 3116 3117 asort($zonen); 3117 usort($zonen, create_function( 3118 '$a, $b', ' 3119 if ( $a["continent"] == $b["continent"] && $a["city"] == $b["city"] ) 3120 return strnatcasecmp($a["subcity"], $b["subcity"]); 3121 elseif ( $a["continent"] == $b["continent"] ) 3122 return strnatcasecmp($a["city"], $b["city"]); 3123 else 3124 return strnatcasecmp($a["continent"], $b["continent"]); 3125 ')); 3126 3118 3127 $structure = ''; 3119 3128 $pad = ' '; 3120 3129 … … 3138 3147 if ( !empty($subcity) ) { 3139 3148 $city = $city . '/'. $subcity; 3140 3149 } 3141 $structure .= "\t<option ".((($continent.'/'.$city)==$selectedzone)?'selected="selected"':'')." value=\"".($continent.'/'.$city)."\">$pad".str_replace('_',' ',$city)."</option>\n"; //Timezone 3150 $display = str_replace('_',' ',$city); 3151 if ( $continent == 'Etc' ) 3152 $display = strtr($display, '+-', '-+'); 3153 $structure .= "\t<option ".((($continent.'/'.$city)==$selectedzone)?'selected="selected"':'')." value=\"".($continent.'/'.$city)."\">$pad".$display."</option>\n"; //Timezone 3142 3154 } else { 3143 3155 $structure .= "<option ".(($continent==$selectedzone)?'selected="selected"':'')." value=\"".$continent."\">".$continent."</option>\n"; //Timezone 3144 3156 }