Author: jablko
Date: Fri Oct 15 19:13:28 2010
New Revision: 8179

Log:
Cosmetic change

Modified:
   trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php

Modified: trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php    Fri Oct 
15 19:07:59 2010        (r8178)
+++ trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php    Fri Oct 
15 19:13:28 2010        (r8179)
@@ -66,7 +66,7 @@
 
   <?php echo link_to_if(QubitAcl::check($resource, 'update'), 
'<h2>'.__('Relationships area').'</h2>', array($resource, 'module' => 
'function', 'action' => 'edit'), array('anchor' => 'relationshipsArea', 'title' 
=> __('Edit relationships area'))) ?>
 
-  <?php foreach ($resourcetionRelations as $relation): ?>
+  <?php foreach ($resourcetionRelations as $item): ?>
     <div class="field">
       <h3><?php echo __('Related function') ?></h3>
       <div>
@@ -79,12 +79,12 @@
             </th>
           </tr><tr>
             <td>
-              <?php echo link_to($relation->getOpposedObject($resource->id), 
array($relation->getOpposedObject($resource->id), 'module' => 'function')) ?>
+              <?php echo link_to($item->getOpposedObject($resource->id), 
array($item->getOpposedObject($resource->id), 'module' => 'function')) ?>
             </td>
           </tr>
 
           <!-- Identifier -->
-          <?php if (0 < strlen($identifier = 
$relation->getOpposedObject($resource->id)->getDescriptionIdentifier(array('cultureFallback'
 => true)))): ?>
+          <?php if (0 < strlen($identifier = 
$item->getOpposedObject($resource->id)->getDescriptionIdentifier(array('cultureFallback'
 => true)))): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Identifier') ?>
@@ -97,33 +97,33 @@
           <?php endif; ?>
 
           <!-- Type of function -->
-          <?php if (isset($relation->getOpposedObject($resource->id)->type)): 
?>
+          <?php if (isset($item->getOpposedObject($resource->id)->type)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Type') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo 
render_value($relation->getOpposedObject($resource->id)->type) ?>
+                <?php echo 
render_value($item->getOpposedObject($resource->id)->type) ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Category of relationship -->
-          <?php if (isset($relation->type)): ?>
+          <?php if (isset($item->type)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Category of relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo render_value($relation->type) ?>
+                <?php echo render_value($item->type) ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Description of relationship') ?>
@@ -136,7 +136,7 @@
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $item->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of relationship') ?>
@@ -161,7 +161,7 @@
   <?php endforeach; ?>
 
   <!-- Related corporate bodies -->
-  <?php foreach ($actorRelations as $relation): ?>
+  <?php foreach ($actorRelations as $item): ?>
     <div class="field">
       <h3><?php echo __('Related authority record') ?></h3>
       <div>
@@ -174,25 +174,25 @@
             </th>
           </tr><tr>
             <td>
-              <?php echo 
link_to($relation->object->getAuthorizedFormOfName(array('cultureFallback' => 
true)), array($relation->object, 'module' => 'actor')) ?>
+              <?php echo 
link_to($item->object->getAuthorizedFormOfName(array('cultureFallback' => 
true)), array($item->object, 'module' => 'actor')) ?>
             </td>
           </tr>
 
           <!-- Identifier  -->
-          <?php if (isset($relation->object->descriptionIdentifier)): ?>
+          <?php if (isset($item->object->descriptionIdentifier)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Identifier') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo 
render_value($relation->object->descriptionIdentifier) ?>
+                <?php echo render_value($item->object->descriptionIdentifier) 
?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Nature of relationship') ?>
@@ -205,7 +205,7 @@
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $item->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of the relationship') ?>
@@ -229,7 +229,7 @@
   <?php endforeach; ?>
 
   <!-- Related archival material -->
-  <?php foreach ($infoObjectRelations as $relation): ?>
+  <?php foreach ($infoObjectRelations as $item): ?>
     <div class="field">
       <h3><?php echo __('Related resource') ?></h3>
       <div>
@@ -242,25 +242,25 @@
             </th>
           </tr><tr>
             <td>
-              <?php echo 
link_to($relation->object->getTitle(array('cultureFallback' => true)), 
array($relation->object, 'module' => 'informationobject')) ?>
+              <?php echo 
link_to($item->object->getTitle(array('cultureFallback' => true)), 
array($item->object, 'module' => 'informationobject')) ?>
             </td>
           </tr>
 
           <!-- Identifier  -->
-          <?php if (isset($relation->object->identifier)): ?>
+          <?php if (isset($item->object->identifier)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Identifier') ?>
               </th>
             </tr><tr>
               <td>
-                <?php $isad = new sfIsadPlugin($relation->object); echo 
$isad->referenceCode ?>
+                <?php $isad = new sfIsadPlugin($item->object); echo 
$isad->referenceCode ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Nature of relationship') ?>
@@ -273,7 +273,7 @@
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$item->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $item->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of the relationship') ?>

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