aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates/index.php
blob: 6c08e76330bf5365651d4c558a0f38bf4dc22bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<body>
<h1>Planet Mageia</h1>
<h3>Please choose one of the following locales:</h3>
<ul>
<?php
function displayloc($path = ''){
	return array_slice(scandir($path), 2);
}

foreach(displayloc('.') as $loc)
	if(is_dir($loc) && $loc != "test" && $loc != "test-2")
	{
		echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';
	}
?>
</ul>
<h3>How to be listed in Planet Mageia:</h3>
<ul>
<li>just candidate by sending us a RSS feed talking about Mageia in only one locale.</li>
</ul>
</body>
</html>