diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-16 11:07:52 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-16 11:07:52 +0100 |
commit | 7e3cdc92b0a674ef1abf2ec89a9ab3f80ad27596 (patch) | |
tree | ee34085c7c4664b475ecb2851e01def806187122 | |
parent | 58d63c129b16c4f4f461755efde0ec7e86f8077d (diff) |
manage "beta" repo + save a few space
-rw-r--r-- | all.php | 1 | ||||
-rw-r--r-- | rpm.php | 7 |
2 files changed, 5 insertions, 3 deletions
@@ -128,6 +128,7 @@ function report ($db) : ""); if (strpos($repo['sub'], '-os') + || strpos($repo['sub'], '-beta') || strpos($repo['sub'], '-base') || strpos($repo['sub'], '-optional') || strpos($repo['sub'], '-stable') @@ -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'] |