Author: jablko
Date: Fri Oct 15 19:07:59 2010
New Revision: 8178

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 18:23:09 2010        (r8177)
+++ trunk/apps/qubit/modules/function/templates/indexIsdfSuccess.php    Fri Oct 
15 19:07:59 2010        (r8178)
@@ -123,27 +123,27 @@
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $descriptionNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Description of relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo 
render_value($descriptionNote->getContent(array('cultureFallback' => true))) ?>
+                <?php echo 
render_value($note->getContent(array('cultureFallback' => true))) ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $dateDisplayNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php if (null !== $dateDisplayNote && 0 < strlen($dateDisplay 
= $dateDisplayNote->getContent(array('cultureFallback' => true)))): ?>
+                <?php if (null !== $note && 0 < strlen($dateDisplay = 
$note->getContent(array('cultureFallback' => true)))): ?>
                   <?php echo render_value($dateDisplay) ?>
                 <?php elseif (2 == count($dateArray)): ?>
                   <?php echo __('%1% - %2%', array('%1%' => 
Qubit::renderDate($dateArray['start']), '%2%' => 
Qubit::renderDate($dateArray['end']))) ?>
@@ -192,27 +192,27 @@
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $descriptionNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Nature of relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo 
render_value($descriptionNote->getContent(array('cultureFallback' => true))) ?>
+                <?php echo 
render_value($note->getContent(array('cultureFallback' => true))) ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $dateDisplayNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of the relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php if (null !== $dateDisplayNote && 0 < strlen($dateDisplay 
= $dateDisplayNote->getContent(array('cultureFallback' => true)))): ?>
+                <?php if (null !== $note && 0 < strlen($dateDisplay = 
$note->getContent(array('cultureFallback' => true)))): ?>
                   <?php echo render_value($dateDisplay) ?>
                 <?php elseif (2 == count($dateArray)): ?>
                   <?php echo __('%1% - %2%', array('%1%' => 
Qubit::renderDate($dateArray['start']), '%2%' => 
Qubit::renderDate($dateArray['end']))) ?>
@@ -260,27 +260,27 @@
           <?php endif; ?>
 
           <!-- Description of relationship -->
-          <?php if (null !== $descriptionNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
+          <?php if (null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DESCRIPTION_ID)): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Nature of relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php echo 
render_value($descriptionNote->getContent(array('cultureFallback' => true))) ?>
+                <?php echo 
render_value($note->getContent(array('cultureFallback' => true))) ?>
               </td>
             </tr>
           <?php endif; ?>
 
           <!-- Dates of relationship -->
-          <?php if ((null !== $dateDisplayNote = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
+          <?php if ((null !== $note = 
$relation->getNoteByTypeId(QubitTerm::RELATION_NOTE_DATE_DISPLAY_ID)) || 0 < 
count($dateArray = $relation->getDates())): ?>
             <tr>
               <th style="text-align: left; padding: 1px">
                 <?php echo __('Dates of the relationship') ?>
               </th>
             </tr><tr>
               <td>
-                <?php if (null !== $dateDisplayNote && 0 < strlen($dateDisplay 
= $dateDisplayNote->getContent(array('cultureFallback' => true)))): ?>
+                <?php if (null !== $note && 0 < strlen($dateDisplay = 
$note->getContent(array('cultureFallback' => true)))): ?>
                   <?php echo render_value($dateDisplay) ?>
                 <?php elseif (2 == count($dateArray)): ?>
                   <?php echo __('%1% - %2%', array('%1%' => 
Qubit::renderDate($dateArray['start']), '%2%' => 
Qubit::renderDate($dateArray['end']))) ?>

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