]> src.bluestatic.org Git - viewsvn.git/blob - global.php
Forgot to send headinclude.tpl
[viewsvn.git] / global.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 require_once('./includes/init.php');
14
15 if (!defined('PATH_OVERRIDE') OR PATH_OVERRIDE != 1)
16 {
17 $path = $viewsvn->paths->parse();
18 $repos = $viewsvn->paths->fetch_repos($path);
19 $relpath = $viewsvn->paths->fetch_path($path);
20 }
21
22 $fetchtemplates[] = 'header';
23 $fetchtemplates[] = 'footer';
24 $fetchtemplates[] = 'doctype';
25 $fetchtemplates[] = 'headinclude';
26
27 $template->cache((array)$fetchtemplates);
28
29 eval('$header = "' . $template->fetch('header') . '";');
30 eval('$footer = "' . $template->fetch('footer') . '";');
31 eval('$doctype = "' . $template->fetch('doctype') . '";');
32 eval('$headinclude = "' . $template->fetch('headinclude') . '";');
33
34 /*=====================================================================*\
35 || ###################################################################
36 || # $HeadURL$
37 || # $Id$
38 || ###################################################################
39 \*=====================================================================*/
40 ?>