Author: jablko
Date: Tue Oct 19 16:35:57 2010
New Revision: 8316
Log:
Cosmetic change
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 Oct 19 16:35:08 2010 (r8315)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
Tue Oct 19 16:35:57 2010 (r8316)
@@ -19,31 +19,31 @@
</tr>
</thead><tbody>
- <?php foreach ($resource->getDates() as $i => $eventDate): ?>
+ <?php foreach ($resource->getDates() as $i => $item): ?>
<?php $form->getWidgetSchema()->setNameFormat("editEvents[$i][%s]") ?>
- <tr class="related_obj_<?php echo $eventDate->id ?>">
+ <tr class="related_obj_<?php echo $item->id ?>">
<td>
<div class="animateNicely">
- <input type="hidden" name="editEvents[<?php echo $i ?>][id]"
value="<?php echo $eventDate->id ?>" />
- <?php echo $form->getWidgetSchema()->renderField('typeId',
$eventDate->typeId) ?>
+ <input type="hidden" name="editEvents[<?php echo $i ?>][id]"
value="<?php echo $item->id ?>" />
+ <?php echo $form->getWidgetSchema()->renderField('typeId',
$item->typeId) ?>
</div>
</td><td>
<div class="animateNicely">
- <?php echo $form->getWidgetSchema()->renderField('startDate',
Qubit::renderDate($eventDate->startDate)) ?>
+ <?php echo $form->getWidgetSchema()->renderField('startDate',
Qubit::renderDate($item->startDate)) ?>
</div>
</td><td>
<div class="animateNicely">
- <?php echo $form->getWidgetSchema()->renderField('endDate',
Qubit::renderDate($eventDate->endDate)) ?>
+ <?php echo $form->getWidgetSchema()->renderField('endDate',
Qubit::renderDate($item->endDate)) ?>
</div>
</td><td>
<div class="animateNicely">
- <?php echo $form->getWidgetSchema()->renderField('dateDisplay',
$eventDate->getDateDisplay(array('cultureFallback' => true))) ?>
+ <?php echo $form->getWidgetSchema()->renderField('dateDisplay',
$item->getDateDisplay(array('cultureFallback' => true))) ?>
</div>
</td><td style="text-align: right">
<div class="animateNicely">
- <input type="checkbox" name="deleteEvents[<?php echo
$eventDate->id ?>]" value="delete" class="multiDelete" />
+ <input type="checkbox" name="deleteEvents[<?php echo $item->id
?>]" value="delete" class="multiDelete" />
</div>
</td>
</tr>
--
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.