Development

Changeset 5700

You must first sign up to be able to contribute.

Changeset 5700

Show
Ignore:
Timestamp:
10/26/07 11:43:28 (1 year ago)
Author:
fabien
Message:

fixed admin generator template incorrect xhtml tag placement - <tfoot> (closes #2263)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/data/generator/sfPropelAdmin/default/template/templates/_list.php

    r2786 r5700  
    88</tr> 
    99</thead> 
    10 <tbody> 
    11 [?php $i = 1; foreach ($pager->getResults() as $<?php echo $this->getSingularName() ?>): $odd = fmod(++$i, 2) ?] 
    12 <tr class="sf_admin_row_[?php echo $odd ?]"> 
    13 [?php include_partial('list_td_<?php echo $this->getParameterValue('list.layout', 'tabular') ?>', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
    14 [?php include_partial('list_td_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
    15 </tr> 
    16 [?php endforeach; ?] 
    17 </tbody> 
    1810<tfoot> 
    1911<tr><th colspan="<?php echo $this->getParameterValue('list.object_actions') ? count($this->getColumns('list.display')) + 1 : count($this->getColumns('list.display')) ?>"> 
     
    3426</th></tr> 
    3527</tfoot> 
     28<tbody> 
     29[?php $i = 1; foreach ($pager->getResults() as $<?php echo $this->getSingularName() ?>): $odd = fmod(++$i, 2) ?] 
     30<tr class="sf_admin_row_[?php echo $odd ?]"> 
     31[?php include_partial('list_td_<?php echo $this->getParameterValue('list.layout', 'tabular') ?>', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
     32[?php include_partial('list_td_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
     33</tr> 
     34[?php endforeach; ?] 
     35</tbody> 
    3636</table>