]>
src.bluestatic.org Git - viewsvn.git/blob - global.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 \*=====================================================================*/
13 require_once('./includes/init.php');
15 if (!defined('PATH_OVERRIDE') OR PATH_OVERRIDE
!= 1)
17 $path = $viewsvn->paths
->parse();
18 $repos = $viewsvn->paths
->fetch_repos($path);
19 $relpath = $viewsvn->paths
->fetch_path($path);
22 $fetchtemplates[] = 'header';
23 $fetchtemplates[] = 'footer';
24 $fetchtemplates[] = 'doctype';
25 $fetchtemplates[] = 'headinclude';
27 $template->cache((array)$fetchtemplates);
29 eval('$header = "' . $template->fetch('header') . '";');
30 eval('$footer = "' . $template->fetch('footer') . '";');
31 eval('$doctype = "' . $template->fetch('doctype') . '";');
32 eval('$headinclude = "' . $template->fetch('headinclude') . '";');
34 /*=====================================================================*\
35 || ###################################################################
38 || ###################################################################
39 \*=====================================================================*/