r1291: Get rid of the float:right and use float:$stylevar[right] in header.tpl for...
[bugdar.git] / templates / header.tpl
1 <div id="header">
2 <span style="float: $stylevar[right]; margin-top: 5px">
3 <form name="quicksearch" action="showreport.php" method="post">
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 </span>
8 <span id="title"><a href="index.php">{$bugsys->options['trackertitle']}</a></span>
9 &nbsp;
10 <img src="templates/images/clock.gif" alt="{@"Current Date and Time"}" />
11 <span id="time">$datetime</span>
12 </div>
13
14 <if condition="!$bugsys->userinfo['userid']">
15 <div class="alertbox">
16 {@"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."}
17 </div>
18 </if>
19
20 <div id="tabbar">
21 <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>
22
23 <a class="tab$focus[index]" href="index.php">{@"Listing"}</a>
24 <if condition="$show['newreport']">
25 <a class="tab$focus[newreport]" href="newreport.php">{@"New Bug"}</a>
26 </if>
27 <a class="tab$focus[showreport]" href="showreport.php">{@"Bug Display"}</a>
28 <if condition="$show['search']">
29 <a class="tab$focus[search]" href="search.php">{@"Search"}</a>
30 </if>
31 <if condition="$bugsys->userinfo['userid']">
32 <a class="tab$focus[favorites]" href="favorite.php">{@"My Favorites"}</a>
33 </if>
34 <a class="tab$focus[user]" href="<if condition="$bugsys->userinfo['userid']">userctrl.php">{@"My Controls"}<else />login.php">{@"Login/Register"}</if></a>
35 <if condition="$show['admin']">
36 <a class="tab" href="admin/index.php">{@"Administration"}</a>
37 </if>
38 <if condition="$bugsys->userinfo['userid']">
39 <a class="tab$focus[logout]" href="login.php?do=logout" onclick="return confirm('{@"Are you sure you want to log out?"}')">{@"Logout"}</a>
40 </if>
41 </div>
42
43 <div id="content">