r1067: Making it truly en_US by removing all outward signs of "favourite" in favor...
[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" alt="{@"Current Date and Time"}" />
5 <span id="time">$datetime</span>
6 </div>
7
8 <if condition="!$bugsys->userinfo['userid']">
9 <div class="alertbox">
10 {@"Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be grealy 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."}
11 </div>
12 </if>
13
14 <div id="tabbar">
15 <span style="float: right" class="smallfont"><a href="syndicate.php"><img src="templates/images/feed.gif" alt="@{"Syndicate"}" style="border: 0px" /> {@"Syndicate"}</a></span>
16
17 <a class="tab$focus[index]" href="index.php">{@"Listing"}</a>
18 <if condition="$show['newreport']">
19 <a class="tab$focus[newreport]" href="newreport.php">{@"New Bug"}</a>
20 </if>
21 <a class="tab$focus[showreport]" href="showreport.php">{@"Bug Display"}</a>
22 <if condition="$show['search']">
23 <a class="tab$focus[search]" href="search.php">{@"Search"}</a>
24 </if>
25 <if condition="$bugsys->userinfo['userid']">
26 <a class="tab$focus[favorites]" href="favorite.php">{@"My Favorites"}</a>
27 </if>
28 <a class="tab$focus[user]" href="<if condition="$bugsys->userinfo['userid']">userctrl.php">{@"My Controls"}<else />login.php">{@"Login/Register"}</if></a>
29 <if condition="$show['admin']">
30 <a class="tab" href="admin/index.php">{@"Administration"}</a>
31 </if>
32 <if condition="$bugsys->userinfo['userid']">
33 <a class="tab$focus[logout]" href="login.php?do=logout" onclick="return confirm('{@"Are you sure you want to log out?"}')">{@"Logout"}</a>
34 </if>
35 </div>
36
37 <div id="content">