<commit_before>{* $Header: /cvsroot/tikiwiki/tiki/templates/babelfish.tpl,v 1.2 2003-08-14 13:13:46 zaufi Exp $ *}

{if $feature_babelfish eq 'y' and $feature_babelfish_logo eq 'y'}

<div align="center">
<table width=100%>
  {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>
          <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}"> {$babelfish_links[i].msg} </a>
        </td>
      {/if}
    </tr>
  {/section}
</table>
</div>

{elseif $feature_babelfish eq 'y' and $feature_babelfish_logo eq 'n'}

<div align="center">
<table width=100%>
  {section loop=$babelfish_links name=i}
  <tr> <td align="center">
    <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}"> {$babelfish_links[i].msg} </a>
  </td> </tr>
  {/section}
</table>
</div>

{elseif $feature_babelfish eq 'n' and $feature_babelfish_logo eq 'y'}

<div align="center">
  {$babelfish_logo}
</div>

{/if}
<commit_msg>Double quotes.. gotta have double quotes to be XHTML compliant.  Single quotes doesn't validate for all attributes, and no quotes definitely doesn't cut it.<commit_after>{* $Header: /cvsroot/tikiwiki/tiki/templates/babelfish.tpl,v 1.3 2004-02-23 20:32:28 musus Exp $ *}

{if $feature_babelfish eq 'y' and $feature_babelfish_logo eq 'y'}

<div align="center">
<table width="100%">
  {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>
          <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}">{$babelfish_links[i].msg}</a>
        </td>
      {/if}
    </tr>
  {/section}
</table>
</div>

{elseif $feature_babelfish eq 'y' and $feature_babelfish_logo eq 'n'}

<div align="center">
<table width="100%">
  {section loop=$babelfish_links name=i}
  <tr><td align="center">
    <a href="{$babelfish_links[i].href}" target="{$babelfish_links[i].target}">{$babelfish_links[i].msg}</a>
  </td> </tr>
  {/section}
</table>
</div>

{elseif $feature_babelfish eq 'n' and $feature_babelfish_logo eq 'y'}

<div align="center">
  {$babelfish_logo}
</div>

{/if}

{'fraction_non_alphanumeric': 0.19687738004569688, 'fraction_numerical': 0.017517136329017517, 'mean_word_length': 3.707885304659498, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2107759', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1028, 'n_words': 205}