aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/languages_new.tpl
blob: 2e9db5f9191ce76865bd895aeb9019306eea67f3 (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
{combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'}

{footer_script require='jquery.cluetip'}
jQuery().ready(function(){ldelim}
	jQuery('.cluetip').cluetip({ldelim}
		width: 300,
		splitTitle: '|'
	});
});
{/footer_script}

<div class="titrePage">
  <h2>{'Add New Language'|@translate}</h2>
</div>

{if !empty($languages)}
<table class="table2 languages">
<thead>
  <tr class="throw">
    <td>{'Language'|@translate}</td>
    <td>{'Version'|@translate}</td>
    <td>{'Date'|@translate}</td>
    <td>{'Author'|@translate}</td>
    <td>{'Actions'|@translate}</td>
  </tr>
</thead>
{foreach from=$languages item=language name=languages_loop}
  <tr class="{if $smarty.foreach.languages_loop.index is odd}row1{else}row2{/if}">
    <td><a href="{$language.EXT_URL}" class="externalLink cluetip" title="{$language.EXT_NAME}|{$language.EXT_DESC|htmlspecialchars|nl2br}">{$language.EXT_NAME}</a></td>
    <td style="text-align:center;"><a href="{$language.EXT_URL}" class="externalLink cluetip" title="{$language.EXT_NAME}|{$language.VER_DESC|htmlspecialchars|nl2br}">{$language.VERSION}</a></td>
    <td>{$language.DATE}</td>
    <td>{$language.AUTHOR}</td>
    <td style="text-align:center;"><a href="{$language.URL_INSTALL}">{'Install'|@translate}</a>
      / <a href="{$language.URL_DOWNLOAD}">{'download'|@translate|@ucfirst}</a>
    </td>
  </tr>
{/foreach}
</table>
{else}
<p>{'There is no other language available.'|@translate}</p>
{/if}