Author: jablko
Date: Wed Oct 27 19:21:55 2010
New Revision: 8591
Log:
Add even/odd
Modified:
trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
Wed Oct 27 19:01:01 2010 (r8590)
+++ trunk/apps/qubit/modules/informationobject/templates/_relatedEvents.php
Wed Oct 27 19:21:55 2010 (r8591)
@@ -15,7 +15,7 @@
</tr>
</thead><tbody>
<?php foreach ($resource->events as $item): ?>
- <tr class="related_obj_<?php echo $item->id ?>" id="<?php echo
url_for(array($item, 'module' => 'event')) ?>">
+ <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?>
related_obj_<?php echo $item->id ?>" id="<?php echo url_for(array($item,
'module' => 'event')) ?>">
<td>
<div>
<?php if (isset($item->actor)): ?>
--
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.