summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/tabs.html.tmpl
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-10-18 04:58:34 +0200
committerwurblzap%gmail.com <>2006-10-18 04:58:34 +0200
commit84973470df08a269632287e66c52aa30f515ccc1 (patch)
tree68680d1965e213fc622d648e77c49fb42d5282c6 /template/en/default/global/tabs.html.tmpl
parentc26d71326510b17b3da75c733254ec07178da884 (diff)
downloadbugzilla-84973470df08a269632287e66c52aa30f515ccc1.tar.gz
bugzilla-84973470df08a269632287e66c52aa30f515ccc1.tar.xz
Bug 321556: Prepare Bugzilla to ship with at least 2 skins.
Patch by Marc Schumann <wurblzap@gmail.com>; r=myk, a=justdave
Diffstat (limited to 'template/en/default/global/tabs.html.tmpl')
-rw-r--r--template/en/default/global/tabs.html.tmpl24
1 files changed, 15 insertions, 9 deletions
diff --git a/template/en/default/global/tabs.html.tmpl b/template/en/default/global/tabs.html.tmpl
index 6f8601b86..25b931de3 100644
--- a/template/en/default/global/tabs.html.tmpl
+++ b/template/en/default/global/tabs.html.tmpl
@@ -18,6 +18,7 @@
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
# Myk Melez <myk@mozilla.org>
+ # Marc Schumann <wurblzap@gmail.com>
#%]
[%# INTERFACE:
@@ -28,20 +29,25 @@
# current_tab_name: string. name of the currently selected tab
#%]
-<center>
- <table cellspacing="0" cellpadding="10" border="0" width="100%">
+<div class="tabbed">
+ <table class="tabs" cellspacing="0" cellpadding="10" border="0" width="100%">
<tr>
- <td class="tab spacer">&nbsp;</td>
+ <td class="spacer">&nbsp;</td>
[% FOREACH tab = tabs %]
[% IF tab.name == current_tab_name %]
- <td class="tab selected">[% tab.label FILTER html %]</td>
+ <td class="selected">[% tab.label FILTER html %]</td>
[% ELSE %]
- <td class="tab"><a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a></td>
+ <td class="clickable_area" onClick="document.location='[% tab.link FILTER html %]'"><a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a></td>
[% END %]
[% END %]
- <td class="tab spacer">&nbsp;</td>
- </tr>
- </table>
-</center>
+ <td class="spacer">&nbsp;</td>
+ </tr>
+ </table>
+
+ <div class="tabbody">
+ [% content %]
+ </div>
+
+</div>