r347: Logout link
[bugdar.git] / templates / header.tpl
1 <div id="header">
2 <span id="title"><a href="index.php">{$bugsys->options['trackertitle']}</a></span>
3 &nbsp;
4 <img src="templates/images/clock.gif" title="Current Date and Time" />
5 <span id="time">$datetime</span>
6 </div>
7
8 <div id="tabbar">
9 <a class="tab$focus[index]" href="index.php">Listing</a>
10 <if condition="$show['newreport']">
11 <a class="tab$focus[newreport]" href="newreport.php">New Bug</a>
12 </if>
13 <a class="tab$focus[showreport]" href="showreport.php">Bug Display</a>
14 <if condition="$show['search']">
15 <a class="tab$focus[search]" href="search.php">Search</a>
16 </if>
17 <a class="tab$focus[user]" href="<if condition="$bugsys->userinfo['userid']">userctrl.php">My Controls<else />login.php">Login/Register</if></a>
18 <if condition="$show['admin']">
19 <a class="tab" href="admin/index.php">Administration</a>
20 </if>
21 <a class="tab$focus[help]" href="help.php">Help</a>
22 <if condition="$bugsys->userinfo['userid']">
23 <a class="tab$focus[logout]" href="login.php?do=logout" onclick="return confirm('Are you sure you want to log out?')">Logout</a>
24 </if>
25 </div>
26
27 <div id="content">