[ 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_th_tabular.php (source)

   1  <?php $hides = $this->getParameterValue('list.hide', array()) ?>
   2  <?php foreach ($this->getColumns('list.display') as $column): ?>
   3  <?php if (in_array($column->getName(), $hides)) 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    <th id="sf_admin_list_th_<?php echo $column->getName() ?>">
   9      <?php if ($column->isReal()): ?>
  10        [?php if ($sf_user->getAttribute('sort', null, 'sf_admin/<?php echo $this->getSingularName() ?>/sort') == '<?php echo $column->getName() ?>'): ?]
  11        [?php echo link_to(__('<?php echo str_replace("'", "\\'", $this->getParameterValue('list.fields.'.$column->getName().'.name')) ?>'), '<?php echo $this->getModuleName() ?>/list?sort=<?php echo $column->getName() ?>&type='.($sf_user->getAttribute('type', 'asc', 'sf_admin/<?php echo $this->getSingularName() ?>/sort') == 'asc' ? 'desc' : 'asc')) ?]
  12        ([?php echo __($sf_user->getAttribute('type', 'asc', 'sf_admin/<?php echo $this->getSingularName() ?>/sort')) ?])
  13        [?php else: ?]
  14        [?php echo link_to(__('<?php echo str_replace("'", "\\'", $this->getParameterValue('list.fields.'.$column->getName().'.name')) ?>'), '<?php echo $this->getModuleName() ?>/list?sort=<?php echo $column->getName() ?>&type=asc') ?]
  15        [?php endif; ?]
  16      <?php else: ?>
  17      [?php echo __('<?php echo str_replace("'", "\\'", $this->getParameterValue('list.fields.'.$column->getName().'.name')) ?>') ?]
  18      <?php endif; ?>
  19      <?php echo $this->getHelpAsIcon($column, 'list') ?>
  20    </th>
  21  <?php if ($credentials): ?>
  22      [?php endif; ?]
  23  <?php endif; ?>
  24  <?php endforeach; ?>


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