Ticket #874: apps_readable_variables.diff
File apps_readable_variables.diff, 1.4 KB (added by , 16 years ago) |
---|
-
html/user/
old new 68 68 } 69 69 foreach($avs as $av) { 70 70 if ($av->deprecated) continue; 71 $ y= pretty_time_str($av->create_time);71 $create_time_f = pretty_time_str($av->create_time); 72 72 if ($xml) { 73 73 echo " <version>\n"; 74 74 echo " <platform_short>$platform->name</platform_short>\n"; … … 77 77 if (!empty($av->plan_class)) { 78 78 echo " <plan_class>$av->plan_class</plan_class>\n"; 79 79 } 80 echo " <date>$ y</date>\n";80 echo " <date>$create_time_f</date>\n"; 81 81 echo " <date_unix>$av->create_time</date_unix>\n"; 82 82 echo " </version>\n"; 83 83 } else { 84 $ x= sprintf("%0.2f", $av->version_num/100);84 $version_num_f = sprintf("%0.2f", $av->version_num/100); 85 85 echo "<tr> 86 86 <td>$platform->user_friendly_name</td> 87 <td>$ x</td>";87 <td>$version_num_f</td>"; 88 88 if ($using_plan_class) { 89 89 echo "<td>$av->plan_class</td>"; 90 90 } 91 echo "<td>$ y</td>";91 echo "<td>$create_time_f</td>"; 92 92 echo "</tr>"; 93 93 } 94 94 }