Blame view

mobile/tmp/tmpl/tpl_4f0d9765_row__LnmoG1YdMl3AVBd7KQmxjQ.php 1.99 KB
a1684257   Administrator   first commit
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
58
59
60
61
62
  <?php 
  function tpl_4f0d9765_row__LnmoG1YdMl3AVBd7KQmxjQ_row(PHPTAL $_thistpl, PHPTAL $tpl) {
  $tpl = clone $tpl ;
  $ctx = $tpl->getContext() ;
  $_translator = $tpl->getTranslator() ;
  if (isset($ctx->rows)):  ;
  $_tmp_1 = $ctx->repeat ;
  $_tmp_1->r = new PHPTAL_RepeatController($ctx->rows)
   ;
  $ctx = $tpl->pushContext() ;
  foreach ($_tmp_1->r as $ctx->r): ;
  ?>
  
  		<tr class="body2">
  		  <td><?php echo phptal_escape($ctx->path($ctx->r, 'b_name')); ?>
  </td>
  		  <td><?php echo phptal_escape($ctx->path($ctx->r, 'b_parser_name')); ?>
  </td>
  		  <td><?php echo phptal_escape($ctx->path($ctx->r, 'b_tmpl')); ?>
  </td>
  		  <td><?php echo phptal_escape($ctx->path($ctx->r, 'm_name')); ?>
  </td>
  		  <td style="text-align:center"><a href="/?p_name=admin_control_blocks&amp;act=block2tmpl&amp;id=<?php echo phptal_escape($ctx->path($ctx->r, 'b_id')) ?>"><?php echo phptal_escape($ctx->path($ctx->r, 'countLinkTmpl')) ?></a></td>
  		  <td style="text-align:center"><?php 
  if ($ctx->path($ctx->r, 'access_checked')):  ;
  $_tmp_2 = ' checked="checked"' ;
  else:  ;
  $_tmp_2 = '' ;
  endif ;
  ?>
  <input row_id="<?php echo phptal_escape($ctx->path($ctx->r, 'b_id')) ?>" type="checkbox" value="1"<?php echo $_tmp_2 ?>/></td>
  		  <td style="text-align:center"><a act="edit" row_id="<?php echo phptal_escape($ctx->path($ctx->r, 'b_id')) ?>">изменить</a></td>
  		  <td style="text-align:center"><a act="del" row_id="<?php echo phptal_escape($ctx->path($ctx->r, 'b_id')) ?>">удалить</a></td>
  		</tr>
  <?php 
  endforeach ;
  $ctx = $tpl->popContext() ;
  endif ;
  
  }
  
  ?><?php 
  function tpl_4f0d9765_row__LnmoG1YdMl3AVBd7KQmxjQ($tpl, $ctx) {
  $_thistpl = $tpl ;
  $_translator = $tpl->getTranslator() ;
  ?>
  
  
  <?php 
  if (isset($ctx->execute)):  ;
  $ctx->pushSlots() ;
  tpl_4f0d9765_row__LnmoG1YdMl3AVBd7KQmxjQ_row($_thistpl, $tpl) ;
  $ctx->popSlots() ;
  endif ;
  /* end */ ;
  
  }
  
  ?><?php /* 
  *** DO NOT EDIT THIS FILE ***
  
  Generated by PHPTAL from /var/www/autolifeX/auto-life.ua/mobile/source/modules/admin/tmpl/control_blocks/inc/row.html (edit that file instead) */; ?>