Update site

This commit is contained in:
Victor Shcherb 2012-11-13 23:21:28 +01:00
parent 8a8b820620
commit cd1bdfdceb
2 changed files with 2 additions and 3 deletions

View file

@ -32,7 +32,7 @@
foreach($res as $node) {
if (file_exists('indexes/'.$node->getAttribute('name'))) {
echo "<tr><td>".$node->getAttribute('name')."</td><td>".$node->getAttribute('date').
"</td><td>".$node->getAttribute('size')."</td><td>".
"</td><td>Roads ".$node->getAttribute('road_file')."</td><td>".$node->getAttribute('size')."</td><td>".
$node->getAttribute('description')."</td></tr>";
}
@ -49,7 +49,7 @@
foreach($res as $node) {
if (!file_exists('indexes/'.$node->getAttribute('name')) || !$node->getAttribute('local')) {
echo "<tr><td>".$node->getAttribute('name')."</td><td>".$node->getAttribute('date').
"</td><td>".$node->getAttribute('size')."</td><td>".
"</td><td>Roads ".$node->getAttribute('road_file')."</td><td>".$node->getAttribute('size')."</td><td>".
$node->getAttribute('description')."</td></tr>";
}
}

View file

@ -151,7 +151,6 @@ function updateGoogleCodeIndexes($update=false) {
$out -> setAttribute("date", $date);
$out -> setAttribute("local", "true");
$out -> setAttribute("size", $size);
$out -> setAttribute("roads", $size);
$out -> setAttribute("name", $indexName);
if (file_exists('road-indexes/'.$filename)) {
$out -> setAttribute("road_file", "yes");