tpl_4ef0a6fb_block_row__WiQVwY2yuucB_W_XAqWu7Q.php
1.72 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
<?php
function tpl_4ef0a6fb_block_row__WiQVwY2yuucB_W_XAqWu7Q_block_row(PHPTAL $_thistpl, PHPTAL $tpl) {
$tpl = clone $tpl ;
$ctx = $tpl->getContext() ;
$_translator = $tpl->getTranslator() ;
if (isset($ctx->blocks)): ;
$_tmp_1 = $ctx->repeat ;
$_tmp_1->b = new PHPTAL_RepeatController($ctx->blocks)
;
$ctx = $tpl->pushContext() ;
foreach ($_tmp_1->b as $ctx->b): ;
?>
<tr class="body2">
<td><?php echo phptal_escape($ctx->path($ctx->b, 'id')); ?>
</td>
<td><?php echo phptal_escape($ctx->path($ctx->b, 'b_name')); ?>
</td>
<td><?php echo phptal_escape($ctx->path($ctx->b, 'var')); ?>
</td>
<td><?php echo phptal_escape($ctx->path($ctx->b, 'b_parser_name')); ?>
</td>
<td style="text-align:center"><input type="text" name="order[<?php echo phptal_escape($ctx->path($ctx->b, 'id')) ?>]" value="<?php echo phptal_escape($ctx->path($ctx->b, 'sort')) ?>" style="width:60px"/></td>
<td style="margin:5px;text-align:center"><a onclick="table.edit(<?php echo phptal_escape($ctx->path($ctx->b, 'id')) ?>)">Редактировать</a></td>
<td style="margin:5px;text-align:center"><a onclick="table.del(<?php echo phptal_escape($ctx->path($ctx->b, 'id')) ?>)">Удалить</a></td>
</tr>
<?php
endforeach ;
$ctx = $tpl->popContext() ;
endif ;
}
?><?php
function tpl_4ef0a6fb_block_row__WiQVwY2yuucB_W_XAqWu7Q($tpl, $ctx) {
$_thistpl = $tpl ;
$_translator = $tpl->getTranslator() ;
?>
<?php
if (isset($ctx->execute)): ;
$ctx->pushSlots() ;
tpl_4ef0a6fb_block_row__WiQVwY2yuucB_W_XAqWu7Q_block_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/block_row.html (edit that file instead) */; ?>