aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-06 01:14:59 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-06 01:14:59 +0100
commit026a434edc60a1e5ffaade16063dc670214def8a (patch)
tree69e01d76486af5f406e82633db32f4c06482e128
parent484b1d09adf46f94fb409bf125ceb156be267e31 (diff)
downloadr7r-repo-026a434edc60a1e5ffaade16063dc670214def8a.tar.gz
r7r-repo-026a434edc60a1e5ffaade16063dc670214def8a.tar.bz2
r7r-repo-026a434edc60a1e5ffaade16063dc670214def8a.zip
Fixed a bug in home/index.
-rw-r--r--r7r_repo/main.php2
-rw-r--r--r7r_repo/templates/src/home.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/r7r_repo/main.php b/r7r_repo/main.php
index 8554d3c..17bce03 100644
--- a/r7r_repo/main.php
+++ b/r7r_repo/main.php
@@ -124,7 +124,7 @@ $url_handlers = array(
"version" => $pkg->txtversion,
"author" => $pkg->author,
"description" => $pkg->description,
- "last_update" => $pkg->lastversion
+ "last_update" => $pkg->lastupdate
); }, $latest);
echo $ste->exectemplate("home.html");
diff --git a/r7r_repo/templates/src/home.html b/r7r_repo/templates/src/home.html
index 4206fc2..56a4a6a 100644
--- a/r7r_repo/templates/src/home.html
+++ b/r7r_repo/templates/src/home.html
@@ -25,7 +25,7 @@
<td><ste:escape>$pkg[version]</ste:escape></td>
<td><ste:escape>$pkg[description]</ste:escape></td>
<td><ste:escape>$pkg[author]</ste:escape></td>
- <td><ste:date format="%d. %h. %Y, %H:%M:%S">$pkg[last_update]</ste:date></td>
+ <td><ste:date timestamp="$pkg[last_update]">%d. %h. %Y, %H:%M:%S</ste:date></td>
</tr>
</ste:foreach>
</ste:then>