Author: jablko
Date: Tue Sep 15 11:12:45 2009
New Revision: 3308

Log:
Use QubitMods::getLabel() on MODS edit and show pages

Modified:
   trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
   trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php

Modified: 
trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php    
Tue Sep 15 10:38:50 2009        (r3307)
+++ trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php    
Tue Sep 15 11:12:45 2009        (r3308)
@@ -12,7 +12,7 @@
 
   <?php echo input_hidden_tag('collection_type_id', 
QubitTerm::PUBLISHED_MATERIAL_ID) ?>
 
-  <?php if ($label = QubitIsad::getLabel($informationObject, array())): ?>
+  <?php if ($label = QubitMods::getLabel($informationObject, array())): ?>
     <div class="formHeader">
       <?php echo link_to($label, array('module' => 'informationobject', 
'action' => 'show', 'id' => $informationObject->getId())) ?>
     </div>

Modified: 
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Tue Sep 15 10:38:50 2009        (r3307)
+++ trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Tue Sep 15 11:12:45 2009        (r3308)
@@ -5,7 +5,7 @@
 
 <tr>
   <td colspan="2" class="headerCell">
-    <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user, 
'informationObject'), render_title(QubitDc::getLabel($informationObject)), 
array('module' => 'informationobject', 'action' => 'edit', 'id' => 
$informationObject->id)) ?>
+    <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user, 
'informationObject'), render_title(QubitMods::getLabel($informationObject)), 
array('module' => 'informationobject', 'action' => 'edit', 'id' => 
$informationObject->id)) ?>
   </td>
 </tr>
 

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to