summaryrefslogtreecommitdiff
path: root/templates/babelfish.tpl
blob: 0ba564eb6a893931d107d9ac020b3695b0907397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{* $Header$ *}

{if $gBitSystem->isFeatureActive( 'babelfish' ) && $gBitSystem->isFeatureActive( 'babelfish_logo' )}

<div class="display babelfish">
<table>
  {section loop=$babelfish_links name=i}
    <tr>
      {if $smarty.section.i.index == 0}
        <td>
          <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}">{$babelfish_links[i].msg}</a>
        </td>
        <td rowspan="{$smarty.section.i.total}" align=right>
          {$babelfish_logo}
        </td>
      {else}
        <td valign="top">
          <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}">{$babelfish_links[i].msg}</a>
        </td>
      {/if}
    </tr>
  {/section}
</table>
</div>

{elseif $gBitSystem->isFeatureActive( 'babelfish' ) && !$gBitSystem->isFeatureActive( 'babelfish_logo' )}

<div class="babelfish">
<table>
  {section loop=$babelfish_links name=i}
  <tr><td>
    <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}"> {$babelfish_links[i].msg}</a>
  </td> </tr>
  {/section}
</table>
</div>

{elseif !$gBitSystem->isFeatureActive( 'babelfish' ) && $gBitSystem->isFeatureActive( 'babelfish_logo' )}

<div class="babelfish">
  {$babelfish_logo}
</div>
{/if}