tpl_4ef0a6fb_tmpl_row__PWlox1jlEy0PVbVNzughoQ.php
1.81 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
function tpl_4ef0a6fb_tmpl_row__PWlox1jlEy0PVbVNzughoQ_tmpl_row(PHPTAL $_thistpl, PHPTAL $tpl) {
$tpl = clone $tpl ;
$ctx = $tpl->getContext() ;
$_translator = $tpl->getTranslator() ;
if (isset($ctx->rows)): ;
$_tmp_1 = $ctx->repeat ;
$_tmp_1->row = new PHPTAL_RepeatController($ctx->rows)
;
$ctx = $tpl->pushContext() ;
foreach ($_tmp_1->row as $ctx->row): ;
?>
<tr class="body2" style="font-size:14px;text-align:left;padding:2px;">
<td style="text-align:center"><?php echo phptal_escape($ctx->path($ctx->row, 't_id')) ?></td>
<td><?php echo phptal_escape($ctx->path($ctx->row, 't_name')) ?></td>
<td><?php echo phptal_escape($ctx->path($ctx->row, 't_desc')) ?></td>
<td style="text-align:center"><a href="<?php echo phptal_escape($ctx->path($ctx->row, 'blocks_url')) ?>"><?php echo phptal_escape($ctx->path($ctx->row, 'count_blocks')) ?></a></td>
<td style="text-align:center">
<a onclick="table.clone(<?php echo phptal_escape($ctx->path($ctx->row, 't_id')) ?>)">клонировать</a>
<a onclick="table.edit(<?php echo phptal_escape($ctx->path($ctx->row, 't_id')) ?>)">редактировать</a>
<a onclick="table.del(<?php echo phptal_escape($ctx->path($ctx->row, 't_id')) ?>)">удалить</a>
</td>
</tr>
<?php
endforeach ;
$ctx = $tpl->popContext() ;
endif ;
}
?><?php
function tpl_4ef0a6fb_tmpl_row__PWlox1jlEy0PVbVNzughoQ($tpl, $ctx) {
$_thistpl = $tpl ;
$_translator = $tpl->getTranslator() ;
?>
<?php
if (isset($ctx->execute)): ;
$ctx->pushSlots() ;
tpl_4ef0a6fb_tmpl_row__PWlox1jlEy0PVbVNzughoQ_tmpl_row($_thistpl, $tpl) ;
$ctx->popSlots() ;
endif ;
/* end */ ;
}
?><?php /*
*** DO NOT EDIT THIS FILE ***
Generated by PHPTAL from /home/shasha/www/pr25_autocatalog/source/modules/admin/tmpl/control_tmpl/inc/tmpl_row.html (edit that file instead) */; ?>