Extracted HTML from files and into templates
[viewsvn.git] / index.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # ViewSVN [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 define('PATH_OVERRIDE', 1);
14
15 require_once('./global.php');
16
17 // ###################################################################
18
19 $nodes = '';
20
21 foreach ($viewsvn->repos->fetch_list() AS $repos)
22 {
23 $link = $viewsvn->paths->out('browse.php', $repos . '/');
24 eval('$nodes .= "' . $template->fetch('index_node') . '";');
25 }
26
27 // ###################################################################
28
29 eval('$template->flush("' . $template->fetch('index') . '");');
30
31 /*=====================================================================*\
32 || ###################################################################
33 || # $HeadURL$
34 || # $Id$
35 || ###################################################################
36 \*=====================================================================*/
37 ?>