]> src.bluestatic.org Git - bugdar.git/blob - templates/header.tpl
r1382: Fixing a small typo in the header/guest welcome panel
[bugdar.git] / templates / header.tpl
1 <div id="header">
2 <!-- quick search -->
3 <form name="quicksearch" action="showreport.php" method="post" style="float: $stylevar[right]; margin-top: 5px; display: inline">
4 <input type="hidden" name="do" value="quicksearch" />
5 {@"Go to bug ID"} <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value=" {@"Go"} " />
6 </form>
7 <!-- / quick search -->
8
9 <span id="title"><a href="index.php">{$bugsys->options['trackertitle']}</a></span>
10 &nbsp;
11 <img src="templates/images/clock.gif" alt="{@"Current Date and Time"}" />
12 <span id="time">$datetime</span>
13 </div>
14
15 <if condition="!$bugsys->userinfo['userid']">
16 <div class="alertbox">
17 {@"Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the <a href="register.php">Register</a> tab at the top. If you are already registered, you can login at the <a href="login.php">Login</a> tab."}
18 </div>
19 </if>
20
21 <div id="tabbar">
22 <span style="float: $stylevar[right]" class="smallfont"><a href="syndicate.php"><img src="templates/images/feed.gif" alt="{@"Syndicate"}" style="border: 0px" /> {@"Syndicate"}</a></span>
23
24 <a class="tab$focus[index]" href="index.php">{@"Listing"}</a>
25 <if condition="$show['newreport']">
26 <a class="tab$focus[newreport]" href="newreport.php">{@"New"}</a>
27 </if>
28 <a class="tab$focus[showreport]" href="showreport.php">{@"Display"}</a>
29 <if condition="$show['search']">
30 <a class="tab$focus[search]" href="search.php">{@"Search"}</a>
31 </if>
32 <if condition="$bugsys->userinfo['userid']">
33 <a class="tab$focus[favorites]" href="favorite.php">{@"Favorites"}</a>
34 </if>
35 <a class="tab$focus[user]" href="<if condition="$bugsys->userinfo['userid']">userctrl.php">{@"Options"}<else />login.php">{@"Login/Register"}</if></a>
36 <if condition="$show['admin']">
37 <a class="tab" href="admin/index.php">{@"Administration"}</a>
38 </if>
39 <if condition="$bugsys->userinfo['userid']">
40 <a class="tab$focus[logout]" href="login.php?do=logout" onclick="return confirm('{@"Are you sure you want to log out?"}')">{@"Logout"}</a>
41 </if>
42 </div>
43
44 <div id="content">