Author: jablko
Date: Thu Oct 14 16:58:22 2010
New Revision: 8147

Log:
Cosmetic change

Modified:
   trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
   
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php

Modified: 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Thu Oct 14 16:46:35 2010        (r8146)
+++ 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Thu Oct 14 16:58:22 2010        (r8147)
@@ -58,7 +58,7 @@
             </th><td style="width: 20px; border-top: 2px solid #cccccc; 
border-bottom: 1px solid #cccccc">
               <?php echo link_to(image_tag('pencil'), array($item, 'module' => 
'actor', 'action' => 'editContactInformation')) ?>
             </td><td style="width: 20px; border-top: 2px solid #cccccc; 
border-bottom: 1px solid #cccccc">
-              <?php echo link_to(image_tag('delete'), array('module' => 
'actor', 'action' => 'deleteContactInformation', 'contactInformationId' => 
$item->id)) ?>
+              <?php echo link_to(image_tag('delete'), array($item, 'module' => 
'actor', 'action' => 'deleteContactInformation')) ?>
             </td>
           </tr>
         </table>
@@ -94,7 +94,7 @@
           <th>
             <?php echo __('Country') ?>
           </th><td>
-            <?php echo $form->country_code->render(); ?>
+            <?php echo $form->country_code->render() ?>
           </td>
         </tr><tr>
           <th>
@@ -152,14 +152,15 @@
           </td>
         </tr>
       </table>
-      <div class="description"><?php echo __('See ISDIAH 5.2 for contact area 
information and examples.') ?></div>
+
+      <div class="description">
+        <?php echo __('See ISDIAH 5.2 for contact area information and 
examples.') ?>
+      </div>
+
     </div>
 
   </fieldset>
 
-  <!-- ******************************************* -->
-  <!-- Description area                            -->
-  <!-- ******************************************* -->
   <fieldset class="collapsible collapsed" id="descriptionArea">
 
     <legend><?php echo __('Description area') ?></legend>
@@ -196,9 +197,6 @@
 
   </fieldset>
 
-  <!-- ******************************************* -->
-  <!-- Access area                                 -->
-  <!-- ******************************************* -->
   <fieldset class="collapsible collapsed" id="accessArea">
 
     <legend><?php echo __('Access area') ?></legend>
@@ -216,9 +214,6 @@
 
   </fieldset>
 
-  <!-- ******************************************* -->
-  <!-- Services area                               -->
-  <!-- ******************************************* -->
   <fieldset class="collapsible collapsed" id="servicesArea">
 
     <legend><?php echo __('Services area') ?></legend>
@@ -235,9 +230,6 @@
 
   </fieldset>
 
-  <!-- ******************************************* -->
-  <!-- Control area                                -->
-  <!-- ******************************************* -->
   <fieldset class="collapsible collapsed" id="descriptionControlArea">
 
     <legend><?php echo __('Control area') ?></legend>

Modified: 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php  
    Thu Oct 14 16:46:35 2010        (r8146)
+++ 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php  
    Thu Oct 14 16:58:22 2010        (r8147)
@@ -20,8 +20,8 @@
   <h3><?php echo __('Parallel form(s) of name') ?></h3>
   <div>
     <ul>
-      <?php foreach ($resource->getOtherNames(array('typeId' => 
QubitTerm::PARALLEL_FORM_OF_NAME_ID)) as $name): ?>
-        <li><?php echo render_value($name->__toString()) ?></li>
+      <?php foreach ($resource->getOtherNames(array('typeId' => 
QubitTerm::PARALLEL_FORM_OF_NAME_ID)) as $item): ?>
+        <li><?php echo render_value($item->__toString()) ?></li>
       <?php endforeach; ?>
     </ul>
   </div>
@@ -31,15 +31,15 @@
   <h3><?php echo __('Other form(s) of name') ?></h3>
   <div>
     <ul>
-      <?php foreach ($resource->getOtherNames(array('typeId' => 
QubitTerm::OTHER_FORM_OF_NAME_ID)) as $name): ?>
-        <li><?php echo render_value($name->__toString()) ?></li>
+      <?php foreach ($resource->getOtherNames(array('typeId' => 
QubitTerm::OTHER_FORM_OF_NAME_ID)) as $item): ?>
+        <li><?php echo render_value($item->__toString()) ?></li>
       <?php endforeach; ?>
     </ul>
   </div>
 </div>
 
-<?php foreach ($resource->getTermRelations(QubitTaxonomy::REPOSITORY_TYPE_ID) 
as $type): ?>
-  <?php echo render_show(__('Type'), render_value($type->term)) ?>
+<?php foreach ($resource->getTermRelations(QubitTaxonomy::REPOSITORY_TYPE_ID) 
as $item): ?>
+  <?php echo render_show(__('Type'), render_value($item->term)) ?>
 <?php endforeach; ?>
 
 <div class="field">
@@ -57,6 +57,7 @@
         <?php endif; ?>
 
         <?php echo get_partial('repository/contactInformation', 
array('contactInformation' => $item)) ?>
+
       </div>
     <?php endforeach; ?>
   </div>

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