Author: jablko
Date: Sun Oct 24 15:12:34 2010
New Revision: 8444

Log:
Cosmetic change

Modified:
   trunk/apps/qubit/modules/term/templates/indexSuccess.php

Modified: trunk/apps/qubit/modules/term/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/term/templates/indexSuccess.php    Sun Oct 24 
14:58:11 2010        (r8443)
+++ trunk/apps/qubit/modules/term/templates/indexSuccess.php    Sun Oct 24 
15:12:34 2010        (r8444)
@@ -77,14 +77,14 @@
   <h3><?php echo __('Equivalent terms') ?></h3>
   <div>
 
-    <?php if (0 < count($altLabels = $resource->otherNames)): ?>
+    <?php if (0 < count($resource->otherNames)): ?>
       <dl>
         <dt>
           <?php echo render_title($resource) ?>
         </dt>
-        <?php foreach ($altLabels as $altLabel): ?>
+        <?php foreach ($resource->otherNames as $item): ?>
           <dd>
-            <?php echo __('UF %1%', array('%1%' => 
render_title($altLabel->getName(array('cultureFallback' => true))))) ?>
+            <?php echo __('UF %1%', array('%1%' => 
render_title($item->getName(array('cultureFallback' => true))))) ?>
           </dd>
         <?php endforeach; ?>
       </dl>
@@ -101,9 +101,9 @@
       <dt>
         <?php echo render_title($resource) ?>
       </dt>
-      <?php foreach ($associateRelations as $associateRelation): ?>
+      <?php foreach ($associateRelations as $item): ?>
         <dd>
-          <?php echo __('RT %1%', array('%1%' => 
link_to(render_title($associateRelation->getOpposedObject($resource->id)), 
array($associateRelation->getOpposedObject($resource->id), 'module' => 
'term')))) ?>
+          <?php echo __('RT %1%', array('%1%' => 
link_to(render_title($item->getOpposedObject($resource->id)), 
array($item->getOpposedObject($resource->id), 'module' => 'term')))) ?>
         </dd>
       <?php endforeach; ?>
     </dl>

-- 
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