[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/data/generator/sfPropelAdmin/default/template/templates/ -> _list_td_tabular.php (source)

   1  <?php $hs = $this->getParameterValue('list.hide', array()) ?>
   2  <?php foreach ($this->getColumns('list.display') as $column): ?>
   3  <?php if (in_array($column->getName(), $hs)) continue ?>
   4  <?php $credentials = $this->getParameterValue('list.fields.'.$column->getName().'.credentials') ?>
   5  <?php if ($credentials): $credentials = str_replace("\n", ' ', var_export($credentials, true)) ?>
   6      [?php if ($sf_user->hasCredential(<?php echo $credentials ?>)): ?]
   7  <?php endif; ?>
   8    <?php if ($column->isLink()): ?>
   9    <td>[?php echo link_to(<?php echo $this->getColumnListTag($column) ?> ? <?php echo $this->getColumnListTag($column) ?> : __('-'), '<?php echo $this->getModuleName() ?>/edit?<?php echo $this->getPrimaryKeyUrlParams() ?>) ?]</td>
  10  <?php else: ?>
  11    <td>[?php echo <?php echo $this->getColumnListTag($column) ?> ?]</td>
  12    <?php endif; ?>
  13  <?php if ($credentials): ?>
  14      [?php endif; ?]
  15  <?php endif; ?>
  16  <?php endforeach; ?>


Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7