summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1489018..b3e82bd 100644
--- a/index.php
+++ b/index.php
@@ -47,7 +47,11 @@ try {
$prev = false;
$repositories = array();
- foreach ($repo->request(array('id' => '>0', 'ORDER'=>'id')) as $repo) {
+ $crit = array('id' => '>0', 'ORDER'=>'id');
+ if (!isset($_GET['eol']) || !$_GET['eol']) {
+ $crit['active'] = 1;
+ }
+ foreach ($repo->request($crit) as $repo) {
$repositories[] = array(
'repo_name' => ($repo['main'] != $prev ? $repo['main'] : " "),
'active' => ($repo['main'] != $prev ?