/[adm]/puppet/modules/planet/templates/index.php
ViewVC logotype

Contents of /puppet/modules/planet/templates/index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1136 - (show annotations) (download)
Fri Feb 18 13:41:28 2011 UTC (10 years, 8 months ago) by dams
File size: 403 byte(s)
hide 'test-2' repo (I hate boklm :-p)
1 <html>
2 <body>
3 <h1>Planet Mageia</h1>
4 <h3>Please choose one of the following locales:</h3>
5 <ul>
6 <?php
7 function displayloc($path = ''){
8 return array_slice(scandir($path), 2);
9 }
10
11 foreach(displayloc('.') as $loc)
12 if(is_dir($loc) && $loc != "test" && $loc != "test-2")
13 {
14 echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';
15 }
16 ?>
17 </ul>
18 <h3>How to be listed in Planet Mageia:</h3>
19 <ul>
20 </ul>
21 </body>
22 </html>

  ViewVC Help
Powered by ViewVC 1.1.28