Author: david
Date: Thu Dec  3 11:48:07 2009
New Revision: 4061

Log:
Cosmetic changes.

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

Modified: trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php     Thu Dec 
 3 11:43:15 2009        (r4060)
+++ trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php     Thu Dec 
 3 11:48:07 2009        (r4061)
@@ -23,13 +23,13 @@
 </tr>
 <?php endif; ?>
 
-<?php if ($func->typeId): ?>
+<?php if (null !== $func->typeId): ?>
   <tr><th><?php echo __('type') ?></th><td>
   <?php echo $func->getType()->getName(array('cultureFallback' => true)) ?>
   </td></tr>
 <?php endif; ?>
 
-<?php if (strlen($authName = 
$func->getAuthorizedFormOfName(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($authName = 
$func->getAuthorizedFormOfName(array('cultureFallback' => true)))): ?>
   <tr><th><?php echo __('authorized form of name') ?></th><td>
   <?php echo $authName ?>
   </td></tr>
@@ -73,19 +73,19 @@
   </td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getDescription(array('cultureFallback' => 
true))) >0): ?>
+<?php if (0 < strlen($value = $func->getDescription(array('cultureFallback' => 
true)))): ?>
   <tr><th><?php echo __('description')?></th>
   <td><?php echo nl2br($value)?>
   </td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getHistory(array('cultureFallback' => true))) 
>0): ?>
+<?php if (0 < strlen($value = $func->getHistory(array('cultureFallback' => 
true)))): ?>
   <tr><th><?php echo __('history')?></th>
   <td><?php echo nl2br($value)?>
   </td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getLegislation(array('cultureFallback' => 
true))) >0): ?>
+<?php if (0 < strlen($value = $func->getLegislation(array('cultureFallback' => 
true)))): ?>
   <tr><th><?php echo __('legislation')?></th>
   <td><?php echo nl2br($value) ?></td></tr>
 <?php endif; ?>
@@ -157,17 +157,17 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if ($func->getDescriptionIdentifier()): ?>
+<?php if (null !== $func->getDescriptionIdentifier()): ?>
   <tr><th><?php echo __('function description identifier')?></th>
   <td><?php echo $func->getDescriptionIdentifier() ?></td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$func->getInstitutionIdentifier(array('cultureFallback' => true))) >0): ?>
+<?php if (0 < strlen($value = 
$func->getInstitutionIdentifier(array('cultureFallback' => true)))): ?>
   <tr><th><?php echo __('institution identifiers')?></th>
   <td><?php echo $value ?></td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getRules(array('cultureFallback' => true))) 
>0): ?>
+<?php if (0 < strlen($value = $func->getRules(array('cultureFallback' => 
true)))): ?>
   <tr><th><?php echo __('rules and/or conventions used')?></th>
   <td><?php echo nl2br($value) ?></td></tr>
 <?php endif; ?>
@@ -184,7 +184,7 @@
   </td></tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getRevisionHistory(array('cultureFallback' => 
true))) >0): ?>
+<?php if (0 < strlen($value = 
$func->getRevisionHistory(array('cultureFallback' => true)))): ?>
   <tr><th><?php echo __('dates of creation revision deletion')?></th><td>
   <?php echo nl2br($value) ?>
   </td></tr>
@@ -218,7 +218,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $func->getSources(array('cultureFallback' => true))) 
>0): ?>
+<?php if (0 < strlen($value = $func->getSources(array('cultureFallback' => 
true)))): ?>
   <tr><th><?php echo __('sources')?></th>
   <td><?php echo nl2br($value) ?></td></tr>
 <?php endif; ?>

--

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