project_view.tpl 18.6 KB
Newer Older
Penom Nom's avatar
Penom Nom committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{*
Copyright (C) 2009 INRA
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*}

<div id="user_information_dialog" title=""></div>
<div id="error_dialog" title=""></div>
		
<input type="hidden" id="cancel_btn_label" value="{$llang.cancel_btn_label}" />
<input type="hidden" id="ok_btn_label" value="{$llang.ok_btn_label}" />
<input type="hidden" id="yes_btn_label" value="{$llang.yes_btn_label}" />
<input type="hidden" id="no_btn_label" value="{$llang.no_btn_label}" />
Jerome Mariette's avatar
Jerome Mariette committed
25
26
<input type="hidden" id="add_btn_label" value="{$llang.add_btn_label}" />
<input type="hidden" id="close_btn_label" value="{$llang.close_btn_label}" />
Penom Nom's avatar
Penom Nom committed
27
28
29
30
31
32
33
<input type="hidden" id="confirmation_dialog_title" value="{$llang.confirmation_dialog_title}" />
<input type="hidden" id="information_error_title" value="{$llang.information_error_title}" />
<input type="hidden" id="hide_dialog_title" value="{$llang.hide_dialog_title}" />
<input type="hidden" id="hide_confirmation_msg" value="{$llang.hide_confirmation_msg}" />
<input type="hidden" id="unhide_dialog_title" value="{$llang.unhide_dialog_title}" />
<input type="hidden" id="unhide_confirmation_msg" value="{$llang.unhide_confirmation_msg}" />
<input type="hidden" id="information_error_msg" value="{$llang.information_error_msg}" />
Jerome Mariette's avatar
Jerome Mariette committed
34
<input type="hidden" id="create_new_user_dialog_msg" value="{$llang.create_new_user_dialog_msg}" />
Penom Nom's avatar
Penom Nom committed
35
36
37
38
39
		
<input type="hidden" id="information_dialog_zero_check" value="{$llang.information_dialog_zero_check}" />
<input type="hidden" id="delete_confirmation_msg" value="{$llang.delete_confirmation_msg}" />
<input type="hidden" id="deleting_dialog_msg" value="{$llang.deleting_dialog_msg}" />
<input type="hidden" id="delete_authentication_dialog_msg" value="{$llang.delete_authentication_dialog_msg|replace:'###SPAN_SERVER###':$server_name}" />
Jerome Mariette's avatar
Jerome Mariette committed
40
<input type="hidden" id="empty_form_btn_label" value="{$llang.empty_form_btn_label}" />
Jerome Mariette's avatar
Jerome Mariette committed
41
42
43
44
45
46
47
48
49
50

<input type="hidden" id="error_dialog_first_name" value="{$llang.error_dialog_first_name}" />
<input type="hidden" id="error_dialog_last_name" value="{$llang.error_dialog_last_name}" />
<input type="hidden" id="error_dialog_user_name" value="{$llang.error_dialog_user_name}" />
<input type="hidden" id="error_dialog_empty_group" value="{$llang.error_dialog_empty_group}" />
<input type="hidden" id="error_dialog_already_access" value="{$llang.error_dialog_already_access}" />
<input type="hidden" id="error_dialog_new_member_ok" value="{$llang.error_dialog_new_member_ok}" />
<input type="hidden" id="error_dialog_empty_email" value="{$llang.error_dialog_empty_email}" />
<input type="hidden" id="error_dialog_empty_password" value="{$llang.error_dialog_empty_password}" />

Penom Nom's avatar
Penom Nom committed
51
<input type="hidden" id="user_login" value="{$llang.user_login}" />
52
53
54
<input type="hidden" id="user_login" value="{$llang.user_login}" />
<input type="hidden" id="add_user_email" value="{$llang.add_user_email}" />
<input type="hidden" id="add_user_title" value="{$llang.add_user_title}" />
Jerome Mariette's avatar
Jerome Mariette committed
55
56
57
<input type="hidden" id="create_user_email" value="{$llang.create_user_email}" />
<input type="hidden" id="create_user_title" value="{$llang.create_user_title}" />
<input type="hidden" id="from_email" value="{$from_email}" />
58
<input type="hidden" id="user_id" value="{$user_id}" />
Jerome Mariette's avatar
Jerome Mariette committed
59
<input type="hidden" id="pid" value="{$pid}" />
Jerome Mariette's avatar
Jerome Mariette committed
60
61
62
63
64
65
66
67

<input type="hidden" id="user_name" value="{$llang.user_name}" />
<input type="hidden" id="user_last_name" value="{$llang.last_name}" />
<input type="hidden" id="user_first_name" value="{$llang.first_name}" />
<input type="hidden" id="user_email" value="{$llang.email}" />
<input type="hidden" id="user_right" value="{$llang.right}" />
<input type="hidden" id="user_password" value="{$llang.password}" />
<input type="hidden" id="user_group" value="{$llang.group}" />
Penom Nom's avatar
Penom Nom committed
68
69
70
71
72
73
		
<input type="hidden" id="deleting_dialog_title" value="{$llang.deleting_dialog_title}" />
<input type="hidden" id="delete_success_msg" value="{$llang.delete_success_msg}" />
<input type="hidden" id="delete_dialog_rigth_error" value="{$llang.delete_dialog_rigth_error}" />
<input type="hidden" id="delete_dialog_authentification_error" value="{$llang.delete_dialog_authentification_error}" />
<input type="hidden" id="delete_dialog_connection_error" value="{$llang.delete_dialog_connection_error}" />
Jerome Mariette's avatar
Jerome Mariette committed
74
<input type="hidden" id="add_user_dialog_title" value="{$llang.add_user_dialog_title}" />
Penom Nom's avatar
Penom Nom committed
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
	
<input type="hidden" id="publish_dialog_title" value="{$llang.publish_dialog_title}" />
<input type="hidden" id="publish_confirmation_msg" value="{$llang.publish_confirmation_msg}" />
<input type="hidden" id="unpublish_dialog_title" value="{$llang.unpublish_dialog_title}" />
<input type="hidden" id="unpublish_confirmation_msg" value="{$llang.unpublish_confirmation_msg}" />

<input type="hidden" id="DataTables_length_menu" value="{$llang.DataTables_length_menu}" />
<input type="hidden" id="DataTables_zero_records" value="{$llang.DataTables_zero_records}" />
<input type="hidden" id="DataTables_info" value="{$llang.DataTables_info}" />
<input type="hidden" id="DataTables_info_empty" value="{$llang.DataTables_info_empty}" />
<input type="hidden" id="DataTables_info_filtered" value="{$llang.DataTables_info_filtered}" />
<input type="hidden" id="DataTables_search" value="{$llang.DataTables_search}" />
<input type="hidden" id="DataTables_pagination_first" value="{$llang.DataTables_pagination_first}" />
<input type="hidden" id="DataTables_pagination_last" value="{$llang.DataTables_pagination_last}" />
<input type="hidden" id="DataTables_pagination_next" value="{$llang.DataTables_pagination_next}" />
<input type="hidden" id="DataTables_pagination_previous" value="{$llang.DataTables_pagination_previous}" />

<input type="hidden" id="Jeditable_dblClickTitle" value="{$llang.Jeditable_dblClickTitle}" />

<input type="hidden" id="Datepicker_closeText" value="{$llang.Datepicker_closeText}" />
<input type="hidden" id="Datepicker_prevText" value="{$llang.Datepicker_prevText}" />
<input type="hidden" id="Datepicker_nextText" value="{$llang.Datepicker_nextText}" />
<input type="hidden" id="Datepicker_currentText" value="{$llang.Datepicker_currentText}" />
<input type="hidden" id="Datepicker_monthNames" value="{$llang.Datepicker_monthNames}" />
<input type="hidden" id="Datepicker_monthNamesShort" value="{$llang.Datepicker_monthNamesShort}" />
<input type="hidden" id="Datepicker_dayNames" value="{$llang.Datepicker_dayNames}" />
<input type="hidden" id="Datepicker_dayNamesShort" value="{$llang.Datepicker_dayNamesShort}" />
<input type="hidden" id="Datepicker_dayNamesMin" value="{$llang.Datepicker_dayNamesMin}" />
<input type="hidden" id="Datepicker_weekHeader" value="{$llang.Datepicker_weekHeader}" />
		
<input type="hidden" id="data_folder" value="{$data_folder}" />
<input type="hidden" id="view" value="project" />
<input type="hidden" id="ids" value="{$project_ids}" />

Jerome Mariette's avatar
Jerome Mariette committed
109
110
111
112
113
114
115
<input type="hidden" id="right_level_admin" value="{$llang.right_level_admin}" />
<input type="hidden" id="right_level_manager" value="{$llang.right_level_manager}" />
<input type="hidden" id="right_level_member" value="{$llang.right_level_member}" />

<input type="hidden" id="multi_user_delete" value="{$llang.multi_user_delete}" />
<input type="hidden" id="single_user_delete" value="{$llang.single_user_delete}" />

Penom Nom's avatar
Penom Nom committed
116
117
118
119
120
121
{* If no project can be displayed *}
{if $projects|@count == 0 }
	{$llang.no_raw}
	
{* If a single project has to be displayed *}
{elseif $projects|@count == 1}
Jerome Mariette's avatar
Jerome Mariette committed
122

Penom Nom's avatar
Penom Nom committed
123
	<div class="project">
Jerome Mariette's avatar
Jerome Mariette committed
124
125
		<h2>{$llang.project} {$projects[key($projects)].name} :</h2>
		<p><strong>{$projects[key($projects)].description}</strong> <br />
Penom Nom's avatar
Penom Nom committed
126
127
128
129
130
131
132
		{(($llang.run_analysis_project_desc|replace:"###PROJECT_NAME###":$projects[key($projects)].name)|replace:"###NB_RUN###":($project_runs|@count))|replace:"###NB_ANALYSIS###":($project_analysis|@count)}  
		<br />
		{assign var="project_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
		{($llang.project_desc|replace:"###PROJECT_SIZE###":"<strong>###PROJECT_SIZE###</strong>")|replace:"###PROJECT_SIZE###":$project_size}
		</p>
	</div>
	<br />
Jerome Mariette's avatar
Jerome Mariette committed
133
		
Jerome Mariette's avatar
Jerome Mariette committed
134
135
136
137
138
139
140
	<ul id="myTab" class="nav nav-tabs">
		<li class="active"><a href="#runs" data-toggle="tab">{$llang.runs_done}</a></li>
 		<li><a href="#analyses" data-toggle="tab">{$llang.analyzes_done}</a></li>
 		{if $login_user}
 			<li><a href="#users" data-toggle="tab">{$llang.manage_users}</a></li>
 		{/if}
	</ul>
Jerome Mariette's avatar
Jerome Mariette committed
141
	
Jerome Mariette's avatar
Jerome Mariette committed
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
 	<div id="myTabContent" class="tab-content">
 		<div class="tab-pane fade in active" id="runs">
 			{* Find out if the current user is super user of a run *}
			{if $projects[key($projects)].is_admin}
				{assign var="is_at_least_admin_of_1_run" value=true}
			{else}
				{assign var="is_at_least_admin_of_1_run" value=false}
			{/if}
			
			{assign var="runs" value=$project_runs}
			{include file='run_table.tpl'}
		</div>
		
		<div class="tab-pane fade" id="analyses">
			{* Find out if an analysis table should be displayed *}
			{assign var="display_analysis_result" value=false}
			{foreach from=$h_project_analysis key=analysis_id item=analysis_values}
				{if $analysis_values.is_admin && $analysis_values.hidden == 1}
					{assign var="display_analysis_result" value=true}
				{elseif $analysis_values.hidden == 0}
					{assign var="display_analysis_result" value=true}
				{/if}
			{/foreach}
			<table class="display" id="analysis_data_table">
				<thead>
					<tr>
						{if $projects[key($projects)].is_admin && $login_user && $display_analysis_result}
						<th><center><input type="checkbox" id="chk_all_analysis"></center></th>
						{/if}
						<th nowrap>{$llang.name}</th>
						<th>{$llang.description}</th>
						<th>{$llang.software}</th>
						<th>{$llang.version}</th>
					</tr>
				</thead>
				<tbody>
					{include file="recursive_list_analysis_display.tpl" element=$h_project_analysis prof=0}
				</tbody>
Jerome Mariette's avatar
Jerome Mariette committed
180
				{if $projects[key($projects)].is_admin && $login_user && $display_analysis_result}
Jerome Mariette's avatar
Jerome Mariette committed
181
182
183
184
185
186
187
188
189
					<tfoot>
						<tr>
							<th align="left" colspan="5">
								{$llang.toolbar_title}
								<button id="hide_analysis" type="button" class="btn pill-l"><span><span>{$llang.hide_btn}</span></span></button><button id="unhide_analysis" type="button" class="btn pill-r"><span><span>{$llang.unhide_btn}</span></span></button>
								&nbsp;<button id="delete_analysis" type="button" class="btn"><span><span>{$llang.delete_btn}</span></span></button>
							</th>
						</tr>
					</tfoot>
Jerome Mariette's avatar
Jerome Mariette committed
190
				{/if}
Jerome Mariette's avatar
Jerome Mariette committed
191
192
			</table>
		</div>
Jerome Mariette's avatar
Jerome Mariette committed
193
		
Jerome Mariette's avatar
Jerome Mariette committed
194
195
196
197
198
199
200
201
202
203
204
205
		{if $login_user}
		<div class="tab-pane fade" id="users">
			{* Find out if the current user needs comboboxes *}
			{assign var="needs_action" value=false}
			{foreach from=$project_users key=c_user_id item=user_values}
				{if $projects[key($projects)].is_admin && $user_values.id!=$user_id}
					{assign var="needs_action" value=true}
				{elseif $projects[key($projects)].is_manager && $user_values.id!=$user_id && $user_values.right_id!='2'}
					{assign var="needs_action" value=true}
				{/if}
			{/foreach}
			<input type="hidden" id="current_project_id" value="{$projects[key($projects)].id}" />
Jerome Mariette's avatar
Jerome Mariette committed
206
207
208
209
210
211
212
213
214
			<p>
			{if $projects[key($projects)].is_admin}
				{$llang.users_management_help_msg_administrator}
			{elseif $projects[key($projects)].is_manager}
				{$llang.users_management_help_msg_manager}
			{elseif $projects[key($projects)].is_member}
				{$llang.users_management_help_msg_member}
			{/if}
			</p>
Jerome Mariette's avatar
Jerome Mariette committed
215
216
217
218
219
			<table class="display" id="users_data_table">
				<thead>
					<tr>
						{if $needs_action}
							<th><center><input type="checkbox" id="chk_all_user"></center></th>
Jerome Mariette's avatar
Jerome Mariette committed
220
						{/if}
Jerome Mariette's avatar
Jerome Mariette committed
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
						<th nowrap>{$llang.user_name}</th>
						<th>{$llang.lastlogin}</th>
						<th>{$llang.cruser}</th>
						<th>{$llang.last_name}</th>
						<th>{$llang.first_name}</th>
						<th>{$llang.email}</th>
						<th>{$llang.right}</th>
					</tr>
				</thead>
				<tbody> 
					{assign var="editable" value="editable"}
					{foreach from=$project_users key=c_user_id item=user_values}
		
						{* highlight user personnal line *}
						{assign var="emphasis" value=""}
						{if $user_values.id==$user_id}
							{assign var="emphasis" value="tx-nG6-pi1-line-emphasis"}
Jerome Mariette's avatar
Jerome Mariette committed
238
						{/if}
Jerome Mariette's avatar
Jerome Mariette committed
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
					
						<tr id="tr_user_{$user_values.id}" class="{$emphasis}">
							
							{if ($projects[key($projects)].is_admin && $user_values.id!=$user_id) 
								|| ($projects[key($projects)].is_manager && $user_values.id!=$user_id && $user_values.right_id!='2')}
								<td><center><input type="checkbox" id="chk_user_{$user_values.id}" value="user_{$user_values.id}" /></center></td>
							{elseif $needs_action}
								<td></td>
							{/if}
							
							<td>{$user_values.username}</td>
							<td>{$user_values.lastlogin}</td>
							<td>{$user_values.cruser_name}</td>
							
							{if $user_values.id==$user_id || $user_values.cruser_id==$user_id }
								<td class="{$editable} field=fe_users=last_name">{$user_values.last_name}</td>
								<td class="{$editable} field=fe_users=first_name">{$user_values.first_name}</td>
								<td class="{$editable} field=fe_users=email">{$user_values.email}</td>
Jerome Mariette's avatar
Jerome Mariette committed
257
							{else}
Jerome Mariette's avatar
Jerome Mariette committed
258
259
260
261
262
263
								<td>{$user_values.last_name}</td>
								<td>{$user_values.first_name}</td>
								<td>{$user_values.email}</td>
							{/if}
							
							<td>
Jerome Mariette's avatar
Jerome Mariette committed
264
								{if $user_values.right_id=='2' && !$projects[key($projects)].is_admin}
Jerome Mariette's avatar
Jerome Mariette committed
265
266
267
									<select id="cbb_right_level_{$user_values.id}" name="right_level" disabled>
										<option value="2" selected="selected">{$llang.right_level_admin}</option>
									</select>
Jerome Mariette's avatar
Jerome Mariette committed
268
								{else}
Jerome Mariette's avatar
Jerome Mariette committed
269
270
									{if ($projects[key($projects)].is_admin && $user_values.id!=$user_id) 
										|| ($projects[key($projects)].is_manager && $user_values.id!=$user_id && $user_values.right_id!='2')}
Jerome Mariette's avatar
Jerome Mariette committed
271
272
273
274
275
										{assign var="disabled" value=""}
									{else}
										{assign var="disabled" value="disabled"}
									{/if}
									<select id="cbb_right_level_{$user_values.id}" name="right_level" {$disabled}>
Jerome Mariette's avatar
Jerome Mariette committed
276
277
278
279
										{if $projects[key($projects)].is_admin && $user_values.right_id=='2'}
											<option value="2" selected="selected">{$llang.right_level_admin}</option>
										{/if}
									
Jerome Mariette's avatar
Jerome Mariette committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
										{if $user_values.right_id=='1'}
									    	<option value="1" selected="selected">{$llang.right_level_manager}</option>
									    {else}
									    	<option value="1">{$llang.right_level_manager}</option>
									    {/if}
							    
									    {if $user_values.right_id=='0'}
									    	<option value="0" selected="selected">{$llang.right_level_member}</option>
									    {else}
									    	<option value="0">{$llang.right_level_member}</option>
									    {/if}
									</select>
								{/if}    
							</td>
							
						</tr>									
					{/foreach}
				</tbody>
				{if $projects[key($projects)].is_admin || $projects[key($projects)].is_manager}
					<tfoot>
						<tr>
							<th align="left" colspan="7">
								{$llang.toolbar_title}
								<button id="add_user" type="button" class="btn pill-l"><span><span>{$llang.add_user_btn}</span></span></button><button id="del_user" type="button" class="btn pill-r"><span><span>{$llang.delete_user_btn}</span></span></button>
							</th>
						</tr>
					</tfoot>
				{/if}
			</table>
		</div>
		{/if}
		
	</div>
Jerome Mariette's avatar
Jerome Mariette committed
313

Penom Nom's avatar
Penom Nom committed
314
315
316
{* If multiple projects have to be displayed *}
{else}
	{* Find out if the current user is super user of a project *}
Jerome Mariette's avatar
Jerome Mariette committed
317
	{assign var="is_at_least_admin_of_1_project" value=false}
Penom Nom's avatar
Penom Nom committed
318
	{foreach from=$projects key=project_id item=project_values}
Jerome Mariette's avatar
Jerome Mariette committed
319
320
321
322
		{if $project_values.is_admin && !$is_at_least_admin_of_1_project}
			{assign var="is_at_least_admin_of_1_project" value=true}
		{elseif !$is_at_least_admin_of_1_project}
			{assign var="is_at_least_admin_of_1_project" value=false}
Penom Nom's avatar
Penom Nom committed
323
324
325
326
		{/if}
	{/foreach}
	{* Then display the table *}
	<div class="project">
Jerome Mariette's avatar
Jerome Mariette committed
327
		<h2>{$llang.project_list}</h2>
Penom Nom's avatar
Penom Nom committed
328
329
330
331
332
333
334
335
336
337
338
		<p>
		{$llang.list_project_desc|replace:"###NB_PROJECT###":($projects|@count)}  
		<br />
		{assign var="project_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
		{($llang.list_project_size_desc|replace:"###PROJECT_SIZE###":"<strong>###PROJECT_SIZE###</strong>")|replace:"###PROJECT_SIZE###":$project_size}
		</p>
	</div>
	<br />
	<table class="display" id="project_data_table">
		<thead>
			<tr>
Jerome Mariette's avatar
Jerome Mariette committed
339
				{if $is_at_least_admin_of_1_project && $login_user}
Jerome Mariette's avatar
Jerome Mariette committed
340
					<th><center><input type="checkbox" id="chk_all_project"></center></th>
Penom Nom's avatar
Penom Nom committed
341
342
				{/if}
				<th>{$llang.project_name}</th>
343
				<th>{$llang.date}</th>
Penom Nom's avatar
Penom Nom committed
344
345
346
347
348
				<th>{$llang.description}</th>
			</tr>
		</thead>
		<tbody>
			{foreach from=$projects key=project_id item=project_values}
Jerome Mariette's avatar
Jerome Mariette committed
349
350
				{assign var="public_attribute" value=""}
				{assign var="public_class" value=""}
Jerome Mariette's avatar
Jerome Mariette committed
351
				{if $login_user && $project_values.public == 0 && $project_values.is_admin}
Jerome Mariette's avatar
Jerome Mariette committed
352
353
					{assign var="public_attribute" value="tx-nG6-pi1-public"}
					{assign var="public_class" value="class='$public_attribute'"}
Penom Nom's avatar
Penom Nom committed
354
				{/if}
Jerome Mariette's avatar
Jerome Mariette committed
355
356
				<tr id="tr_project_{$project_values.id}" {$public_class}>
					{assign var="editable" value=""}
Jerome Mariette's avatar
Jerome Mariette committed
357
					{if $project_values.is_admin}
Jerome Mariette's avatar
Jerome Mariette committed
358
359
						<td><center><input type="checkbox" id="chk_project_{$project_values.id}" value="project_{$project_values.id}"></center></td>
						{assign var="editable" value="editable"}
Jerome Mariette's avatar
Jerome Mariette committed
360
					{elseif $is_at_least_admin_of_1_project}
Jerome Mariette's avatar
Jerome Mariette committed
361
362
363
364
365
366
367
368
369
370
						<td></td>
					{/if}
					{assign var="hidden_attribute" value="tx-nG6-pi1-hidden"}
					{if $project_values.hidden == 0}
						{assign var="hidden_attribute" value=""}
					{/if}
					<td class="{$editable} field=tx_nG6_project=name {$hidden_attribute}">{$project_values.href}</td>
					<td class="{$editable} field=tx_nG6_project=crdate {$hidden_attribute}">{$project_values.date|date_format:"%d-%m-%y"}</td>
					<td class="{$editable} field=tx_nG6_project=description {$hidden_attribute}">{$project_values.description}</td>
				</tr>
Penom Nom's avatar
Penom Nom committed
371
372
			{/foreach}
		</tbody>
Jerome Mariette's avatar
Jerome Mariette committed
373
		{if $is_at_least_admin_of_1_project && $login_user}
Penom Nom's avatar
Penom Nom committed
374
375
376
377
378
379
380
381
382
383
384
385
		<tfoot>
			<tr>
				<th align="left" colspan="3">
					{$llang.toolbar_title}
					<button id="hide_project" type="button" class="btn pill-l"><span><span>{$llang.hide_btn}</span></span></button><button id="unhide_project" type="button" class="btn pill-r"><span><span>{$llang.unhide_btn}</span></span></button>
					&nbsp;<button id="delete_project" type="button" class="btn"><span><span>{$llang.delete_btn}</span></span></button>&nbsp;
					<button id="publish_project" type="button" class="btn pill-l"><span><span>{$llang.publish_btn}</span></span></button><button id="unpublish_project" type="button" class="btn pill-r"><span><span>{$llang.unpublish_btn}</span></span></button>
				</th>
			</tr>
		</tfoot>
		{/if}
	</table>
386
{/if}