aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-18 13:40:11 +0000
committerDamien Lallement <dams@mageia.org>2011-02-18 13:40:11 +0000
commit1267b6eaf7c5e611759cca12ed5295edce53f4ba (patch)
tree96b346da5f99c80d781881ab008ba1df8d3db470 /modules/planet
parent00888130b2cbd8f1e7a2c3b77611cf3f6a694cbe (diff)
downloadpuppet-1267b6eaf7c5e611759cca12ed5295edce53f4ba.tar
puppet-1267b6eaf7c5e611759cca12ed5295edce53f4ba.tar.gz
puppet-1267b6eaf7c5e611759cca12ed5295edce53f4ba.tar.bz2
puppet-1267b6eaf7c5e611759cca12ed5295edce53f4ba.tar.xz
puppet-1267b6eaf7c5e611759cca12ed5295edce53f4ba.zip
hide 'test' repo
Diffstat (limited to 'modules/planet')
-rw-r--r--modules/planet/templates/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/planet/templates/index.php b/modules/planet/templates/index.php
index 2247bf7c..394c8aad 100644
--- a/modules/planet/templates/index.php
+++ b/modules/planet/templates/index.php
@@ -9,12 +9,14 @@ function displayloc($path = ''){
}
foreach(displayloc('.') as $loc)
- if(is_dir($loc))
+ if(is_dir($loc) && $loc != "test" && $loc != "test2")
{
echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';
}
?>
</ul>
-<h3>How to be listed in Planet Mageia</h3>
+<h3>How to be listed in Planet Mageia:</h3>
+<ul>
+</ul>
</body>
</html>