tpl_4ef0a6fb_block_row__WiQVwY2yuucB_W_XAqWu7Q.php 1.72 KB
<?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) */; ?>