diff options
Diffstat (limited to 'template/en/default/global/tabs.html.tmpl')
-rw-r--r-- | template/en/default/global/tabs.html.tmpl | 24 |
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"> </td> + <td class="spacer"> </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"> </td> - </tr> - </table> -</center> + <td class="spacer"> </td> + </tr> + </table> + + <div class="tabbody"> + [% content %] + </div> + +</div> |