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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1135 - (hide annotations) (download)
Fri Feb 18 13:40:11 2011 UTC (10 years, 11 months ago) by dams
File size: 402 byte(s)
hide 'test' repo
1 dams 1131 <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 dams 1135 if(is_dir($loc) && $loc != "test" && $loc != "test2")
13 dams 1131 {
14     echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';
15     }
16     ?>
17     </ul>
18 dams 1135 <h3>How to be listed in Planet Mageia:</h3>
19     <ul>
20     </ul>
21 dams 1131 </body>
22     </html>

  ViewVC Help
Powered by ViewVC 1.1.28