PHP Classes

File: templates/admin/wgtransifex_admin_projects.tpl

Recommend this page to a friend!
  Classes of Goffy G  >  XOOPS Transifex  >  templates/admin/wgtransifex_admin_projects.tpl  >  Download  
File: templates/admin/wgtransifex_admin_projects.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,641 bytes
 

Contents

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

<{if $projects_list}>
	<table class='table table-bordered'>
		<thead>
			<tr class='head'>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_ID}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_DESCRIPTION}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_SOURCE_LANGUAGE_CODE}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_SLUG}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_NAME}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_TXRESOURCES}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_LAST_UPDATED}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_TEAMS}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_STATUS}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_LOCRES}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_TRANSLATIONS_NB}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_TYPE}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_DATE}></th>
				<th class="center"><{$smarty.const._AM_WGTRANSIFEX_PROJECT_SUBMITTER}></th>
				<th class="center width10"><{$smarty.const._AM_WGTRANSIFEX_FORM_ACTION}></th>
			</tr>
		</thead>
		<{if $projects_count}>
		<tbody>
			<{foreach item=project from=$projects_list}>
			<tr class='<{cycle values='odd, even'}>'>
				<td class='center'><{$project.id}></td>
				<td class='center'><{$project.description}></td>
				<td class='center'><{$project.source_language_code}></td>
				<td class='center'><{$project.slug}></td>
				<td class='center'><{$project.name}></td>
				<td class='center'><{$project.txresources}></td>
				<td class='center'><{$project.last_updated}></td>
				<td class='center'><{$project.teams_short}></td>
				<td class='center'><img src="<{$modPathIcon32}>status<{$project.status}>.png" alt="<{$project.status_text}>" title="<{$project.status_text}>"></td>
				<td class='center'><{$project.resources}></td>
				<td class='center'><{$project.translations}></td>
				<td class='center'><{$project.type_text}></td>
				<td class='center'><{$project.date}></td>
				<td class='center'><{$project.submitter}></td>
				<td class="center  width5">
					<{if $project.archived == 0}>
						<a href="projects.php?op=savetx&amp;pro_id=<{$project.id}>" title="<{$smarty.const._AM_WGTRANSIFEX_READTX_PROJECT}>"><img class="wgt-icon24" src="<{$modPathIcon32}>readtx.png" alt="<{$smarty.const._AM_WGTRANSIFEX_READTX_PROJECT}>"></a>
					<{/if}>
					<a href="projects.php?op=edit&amp;pro_id=<{$project.id}>" title="<{$smarty.const._EDIT}>"><img class="wgt-icon24" src="<{$modPathIcon32}>edit.png" alt="<{$smarty.const._EDIT}>"></a>
					<a href="projects.php?op=delete&amp;pro_id=<{$project.id}>" title="<{$smarty.const._DELETE}>"><img class="wgt-icon24" src="<{$modPathIcon32}>delete.png" alt="<{$smarty.const._DELETE}>"></a>
					<{if $project.resources > 0 && $displayTxAdmin}>
						<a href="projects.php?op=clone&amp;pro_id=<{$project.id}>" title="<{$smarty.const._AM_WGTRANSIFEX_PROJECT_CLONE}>"><img class="wgt-icon24" src="<{$modPathIcon32}>clone.png" alt="<{$smarty.const._AM_WGTRANSIFEX_PROJECT_CLONE}>"></a>
						<a href="projects.php?op=clonenew&amp;pro_id=<{$project.id}>" title="<{$smarty.const._AM_WGTRANSIFEX_PROJECT_CLONENEW}>"><img class="wgt-icon24" src="<{$modPathIcon32}>clonenew.png" alt="<{$smarty.const._AM_WGTRANSIFEX_PROJECT_CLONENEW}>"></a>
					<{/if}>
					<{if $project.resources == 0 && $project.type == $typeModule}>
						<a href="resources.php?op=read_res&amp;res_pro_id=<{$project.id}>" title="<{$smarty.const._AM_WGTRANSIFEX_RESOURCES_READM}>"><img class="wgt-icon24" src="<{$modPathIcon32}>resources_read.png" alt="<{$smarty.const._AM_WGTRANSIFEX_RESOURCES_READM}>"></a>
					<{/if}>
					<{if $project.archived == 0 && $project.txresources > 0}>
						<a href="resources.php?op=savetx&amp;res_pro_id=<{$project.id}>" title="<{$smarty.const._AM_WGTRANSIFEX_READTX_RESOURCES}>"><img class="wgt-icon24" src="<{$modPathIcon32}>resourcestx.png"" alt="<{$smarty.const._AM_WGTRANSIFEX_READTX_RESOURCES}>"></a>
					<{/if}>
				</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.