PHP Classes

File: templates/admin/wgtransifex_admin_languages.tpl

Recommend this page to a friend!
  Classes of Goffy G  >  XOOPS Transifex  >  templates/admin/wgtransifex_admin_languages.tpl  >  Download  
File: templates/admin/wgtransifex_admin_languages.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS Transifex
Manage project text translations with Transifex
Author: By
Last change:
Date: 1 year ago
Size: 4,446 bytes
 

Contents

Class file image Download
<!-- Header -->
<{include file='db:wgtransifex_admin_header.tpl' }>

<{if $languages_list}>
	<table class='table table-bordered'>
		<thead>
			<tr class='head'>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_ID}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_NAME}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_CODE}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_ISO_639_1}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_FOLDER}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_FLAG}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_PRIMARY}></th>
				<th class="center">
					<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_ONLINE}>&nbsp;
					<a href="languages.php?op=setonlineall&amp;lang_online=0&amp;start=<{$start}>&amp;limit=<{$limit}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE_ALL}>">
						<img src="<{$modPathIcon16}>0.png" alt="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE_ALL}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE_ALL}>"</a>&nbsp;
					<a href="languages.php?op=setonlineall&amp;lang_online=1&amp;start=<{$start}>&amp;limit=<{$limit}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE_ALL}>">
						<img src="<{$modPathIcon16}>1.png" alt="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE_ALL}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE_ALL}>"</a>
				</th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_DATE}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SUBMITTER}></th>
				<th class="center width5"><{$smarty.const._AM_WGTRANSIFEX_FORM_ACTION}></th>
			</tr>
		</thead>
		<{if $languages_count}>
		<tbody>
			<{foreach item=language from=$languages_list}>
			<tr class='<{cycle values='odd, even'}>'>
				<td class='center'><{$language.id}></td>
				<td class='center'><{$language.name}></td>
				<td class='center'><{$language.code}></td>
				<td class='center'><{$language.iso_639_1}></td>
				<td class='center'><{$language.folder}></td>
				<td class='center'><img src="<{$modPathIconFlags}><{$language.flag}>" alt="<{$language.name}>" title="<{$language.name}>"></td>
				<td class='center'>
					<a href="languages.php?op=setprimary&amp;lang_id=<{$language.id}>&amp;start=<{$start}>&amp;limit=<{$limit}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETPRIMARY}>">
						<img src="<{$modPathIcon16}><{$language.primary}>.png" alt="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETPRIMARY}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETPRIMARY}>"</a>
				</td>
				<td class='center'>
					<{if $language.online}>
						<a href="languages.php?op=setonline&amp;lang_online=0&amp;lang_id=<{$language.id}>&amp;start=<{$start}>&amp;limit=<{$limit}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE}>">
							<img src="<{$modPathIcon16}><{$language.online}>.png" alt="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETOFFLINE}>"</a>
					<{else}>
						<a href="languages.php?op=setonline&amp;lang_online=1&amp;lang_id=<{$language.id}>&amp;start=<{$start}>&amp;limit=<{$limit}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE}>">
							<img src="<{$modPathIcon16}><{$language.online}>.png" alt="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE}>" title="<{$smarty.const._AM_WGTRANSIFEX_LANGUAGE_SETONLINE}>"</a>
					<{/if}>
				</td>
				<td class='center'><{$language.date}></td>
				<td class='center'><{$language.submitter}></td>
				<td class="center  width5">
					<a href="languages.php?op=edit&amp;lang_id=<{$language.id}>" title="<{$smarty.const._EDIT}>"><img class="wgt-icon24" src="<{$modPathIcon32}>edit.png" alt="<{$smarty.const._EDIT}> languages"></a>
					<a href="languages.php?op=delete&amp;lang_id=<{$language.id}>" title="<{$smarty.const._DELETE}>"><img class="wgt-icon24" src="<{$modPathIcon32}>delete.png" alt="<{$smarty.const._DELETE}> languages"></a>
				</td>
			</tr>
			<{/foreach}>
		</tbody>
		<{/if}>
	</table>
	<div class="clear">&nbsp;</div>
	<{if $pagenav}>
		<div class="xo-pagenav floatright"><{$pagenav}></div>
		<div class="clear spacer"></div>
	<{/if}>
<{/if}>
<{if $form}>
	<{$form}>
<{/if}>
<{if $error}>
	<div class="errorMsg"><strong><{$error}></strong></div>
<{/if}>

<!-- Footer -->
<{include file='db:wgtransifex_admin_footer.tpl' }>
For more information send a message to info at phpclasses dot org.