r67: - Upping template system to use ISSO
[bugdar.git] / global.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # BugStrike [#]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 // ###################################################################
16
17 if ($bugsys->userinfo['userid'])
18 {
19 echo '<div>You are logged in as ' . construct_user_display($bugsys->userinfo) . ' | [<a href="index.php?">Home</a>] | [<a href="newreport.php">New Bug</a>]</div><hr />' . "\n\n<!-- ******************************************************************* -->\n\n";
20 }
21
22 // ###################################################################
23
24 $globaltemplates = array(
25 'doctype',
26 'header',
27 'headinclude',
28 'footer',
29 'selectoption',
30 'selectoptgroup'
31 );
32
33 $template->cache(array_merge($globaltemplates, (array)$fetchtemplates));
34
35 // ###################################################################
36 // initialize template variables
37 $show = array();
38
39 /*=====================================================================*\
40 || ###################################################################
41 || # $HeadURL$
42 || # $Id$
43 || ###################################################################
44 \*=====================================================================*/
45 ?>