From ace4c15d01d2fc4c9a8a34273daf93a2f8836479 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Tue, 7 Feb 2017 22:30:58 +0100
Subject: Frontend fixes
---
frontend/index.php | 58 +++++++++++++++++++++++++++---------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
(limited to 'frontend/index.php')
diff --git a/frontend/index.php b/frontend/index.php
index 373052f..21d8a8a 100644
--- a/frontend/index.php
+++ b/frontend/index.php
@@ -77,7 +77,7 @@ else :
foreach ($pkgs as $pkg) {
echo
"
- {$pkg->name} |
+ {$pkg->name} |
" . $pkg->getAuthor()->name . " |
{$pkg->desc} | ";
@@ -87,13 +87,13 @@ else :
echo "&endash; | ";
echo "";
- foreach ($pkg->getVersions() as $v)
- echo "{$v->major}.{$v->minor}.{$v->revision} ({$v->time_added})";
+ foreach ($pkg->getVersions() as $v) {
+ $vs = $v->major . '.' . $v->minor . '.' . $v->revision;
+ echo "$vs ({$v->time_added})";
+ }
echo " | ";
- echo
- "{$pkg->name} |
-
";
+ echo "";
}
?>
@@ -103,29 +103,6 @@ endif;
-Create an account
-You only need an account to add new packages.
-
-
-
-
@@ -205,6 +182,29 @@ if (isset($_SESSION['logged_in_id'])) :
+ Create an account
+ You only need an account to add new packages.
+
+
+
+
Login