summaryrefslogtreecommitdiffstats
path: root/rpm.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-16 11:07:52 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-16 11:07:52 +0100
commit7e3cdc92b0a674ef1abf2ec89a9ab3f80ad27596 (patch)
treeee34085c7c4664b475ecb2851e01def806187122 /rpm.php
parent58d63c129b16c4f4f461755efde0ec7e86f8077d (diff)
manage "beta" repo + save a few space
Diffstat (limited to 'rpm.php')
-rw-r--r--rpm.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/rpm.php b/rpm.php
index defd172..7ddcb77 100644
--- a/rpm.php
+++ b/rpm.php
@@ -155,6 +155,7 @@ function report($db, $type)
}
if (strpos($repo['sub'], '-os')
+ || strpos($repo['sub'], '-beta')
|| strpos($repo['sub'], '-base')
|| strpos($repo['sub'], '-optional')
|| strpos($repo['sub'], '-stable')
@@ -199,8 +200,8 @@ function report($db, $type)
break;
case "updates":
$display .= sprintf(
- "<strong>%s</strong>-%s ".
- "<small>(%s)</small><br/>",
+ "<strong>%s</strong>-%s".
+ "<br/><small>(%s)</small><br/>",
$rpm['ver'],
$rpm['rel'],
$repo['sub']
@@ -211,7 +212,7 @@ function report($db, $type)
break;
case "testing":
$display .= sprintf(
- "%s-%s <small>(%s)</small><br/>",
+ "%s-%s<br/><small>(%s)</small>",
$rpm['ver'],
$rpm['rel'],
$repo['sub']