Author: sevein
Date: Tue Jun 28 13:39:53 2011
New Revision: 9214

Log:
Use correct var counter name, s//

Modified:
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php

Modified: trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php        
Tue Jun 28 13:06:46 2011        (r9213)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php        
Tue Jun 28 13:39:53 2011        (r9214)
@@ -26,7 +26,7 @@
 
         <?php $form->getWidgetSchema()->setNameFormat("editEvents[$i][%s]"); 
$i++ ?>
 
-        <tr class="date <?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?> 
related_obj_<?php echo $item->id ?>">
+        <tr class="date <?php echo 0 == ++$i % 2 ? 'even' : 'odd' ?> 
related_obj_<?php echo $item->id ?>">
           <td>
             <div class="animateNicely">
               <input name="<?php echo 
$form->getWidgetSchema()->generateName('id') ?>" type="hidden" value="<?php 
echo url_for(array($item, 'module' => 'event')) ?>"/>
@@ -55,7 +55,7 @@
 
       <?php $form->getWidgetSchema()->setNameFormat("editEvents[$i][%s]"); 
$i++ ?>
 
-      <tr class="date <?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>">
+      <tr class="date <?php echo 0 == ++$i % 2 ? 'even' : 'odd' ?>">
         <td>
           <div class="animateNicely">
             <?php echo $form->type ?>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to