Development

Changeset 5702

You must first sign up to be able to contribute.

Changeset 5702

Show
Ignore:
Timestamp:
10/26/07 11:45:51 (2 years ago)
Author:
fabien
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/plugins/sfPropelPlugin/data/generator/sfPropelAdmin/default/template/templates/_list.php

    r5102 r5702  
    1414</tr> 
    1515</thead> 
    16 <tbody> 
    17 [?php $i = 1; foreach ($pager->getResults() as $<?php echo $this->getSingularName() ?>): $odd = fmod(++$i, 2) ?] 
    18 <tr class="sf_admin_row_[?php echo $odd ?]"> 
    19 [?php include_partial('list_td_batch_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
    20 [?php include_partial('list_td_<?php echo $this->getParameterValue('list.layout', 'tabular') ?>', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
    21 [?php include_partial('list_td_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
    22 </tr> 
    23 [?php endforeach; ?] 
    24 </tbody> 
    2516<tfoot> 
    2617<tr><th colspan="<?php echo count($this->getColumns('list.display')) + ($this->getParameterValue('list.object_actions') ? 1 : 0) + ($this->getParameterValue('list.batch_actions') ? 1 : 0) ?>"> 
     
    4132</th></tr> 
    4233</tfoot> 
     34<tbody> 
     35[?php $i = 1; foreach ($pager->getResults() as $<?php echo $this->getSingularName() ?>): $odd = fmod(++$i, 2) ?] 
     36<tr class="sf_admin_row_[?php echo $odd ?]"> 
     37[?php include_partial('list_td_batch_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
     38[?php include_partial('list_td_<?php echo $this->getParameterValue('list.layout', 'tabular') ?>', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
     39[?php include_partial('list_td_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 
     40</tr> 
     41[?php endforeach; ?] 
     42</tbody> 
    4343</table> 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.