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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1134 by dams, Fri Feb 18 13:35:10 2011 UTC revision 1135 by dams, Fri Feb 18 13:40:11 2011 UTC
# Line 9  function displayloc($path = ''){ Line 9  function displayloc($path = ''){
9  }  }
10    
11  foreach(displayloc('.') as $loc)  foreach(displayloc('.') as $loc)
12          if(is_dir($loc))          if(is_dir($loc) && $loc != "test" && $loc != "test2")
13          {          {
14                  echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';                  echo '<li><a href="'.$loc.'">'.$loc.'</a></li>';
15          }          }
16  ?>  ?>
17  </ul>  </ul>
18  <h3>How to be listed in Planet Mageia</h3>  <h3>How to be listed in Planet Mageia:</h3>
19    <ul>
20    </ul>
21  </body>  </body>
22  </html>  </html>

Legend:
Removed from v.1134  
changed lines
  Added in v.1135

  ViewVC Help
Powered by ViewVC 1.1.30