Author: jablko
Date: Sun Oct 24 14:49:15 2010
New Revision: 8439

Log:
Use render_value()

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:47:44 2010        (r8438)
+++ trunk/apps/qubit/modules/term/templates/indexSuccess.php    Sun Oct 24 
14:49:15 2010        (r8439)
@@ -14,7 +14,7 @@
 
 <?php echo render_show(__('Taxonomy'), 
link_to(render_title($resource->taxonomy), array($resource->taxonomy, 'module' 
=> 'taxonomy'))) ?>
 
-<?php echo render_show(__('Code'), $resource->code) ?>
+<?php echo render_show(__('Code'), render_value($resource->code)) ?>
 
 <div class="field">
   <h3><?php echo __('Scope note(s)') ?></h3>
@@ -32,7 +32,7 @@
   <div>
     <ul>
       <?php foreach ($resource->getNotesByType(array('noteTypeId' => 
QubitTerm::SOURCE_NOTE_ID)) as $item): ?>
-        <li><?php echo $item->getContent(array('cultureFallback' => true)) 
?></li>
+        <li><?php echo render_value($item->getContent(array('cultureFallback' 
=> true))) ?></li>
       <?php endforeach; ?>
     </ul>
   </div>
@@ -43,7 +43,7 @@
   <div>
     <ul>
       <?php foreach ($resource->getNotesByType(array('noteTypeId' => 
QubitTerm::DISPLAY_NOTE_ID)) as $item): ?>
-        <li><?php echo $item->getContent(array('cultureFallback' => true)) 
?></li>
+        <li><?php echo render_value($item->getContent(array('cultureFallback' 
=> true))) ?></li>
       <?php endforeach; ?>
     </ul>
   </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