Author: jablko
Date: Fri Aug 28 16:32:00 2009
New Revision: 3106

Log:
Coding standard, 
http://trac.symfony-project.org/wiki/HowToContributeToSymfony#CodingStandards

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

Modified: trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php      
Fri Aug 28 16:03:06 2009        (r3105)
+++ trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php      
Fri Aug 28 16:32:00 2009        (r3106)
@@ -75,7 +75,7 @@
   </tr>
 <?php endforeach; ?>
 
-<?php if (count($informationObject->getDates()) > 0): ?>
+<?php if (0 < count($informationObject->getDates())): ?>
 <?php foreach ($informationObject->getDates() as $date): ?>
 <tr>
   <th><?php echo __('date') ?></th>
@@ -87,7 +87,7 @@
 <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($dcTypes) > 0): ?>
+<?php if (0 < count($dcTypes)): ?>
 <?php foreach ($dcTypes as $dcType): ?>
   <tr>
     <th><?php echo __('type') ?></th>
@@ -98,14 +98,14 @@
 <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getExtentAndMedium(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getExtentAndMedium(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('format') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getScopeAndContent(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getScopeAndContent(array('cultureFallback' => true)))): ?>
 <tr>
 <th><?php echo __('description') ?></th>
 <td><?php echo nl2br($value) ?></td>
@@ -130,7 +130,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($languageCodes) > 0): ?>
+<?php if (0 < count($languageCodes)): ?>
   <?php foreach ($languageCodes as $languageCode): ?>
     <tr><th><?php echo __('language') ?></th><td>
     <?php echo format_language($languageCode->getValue(array('sourceCulture' 
=> true))) ?><br />
@@ -138,7 +138,7 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($subjectAccessPoints) > 0): ?>
+<?php if (0 < count($subjectAccessPoints)): ?>
   <?php foreach ($subjectAccessPoints as $subject): ?>
     <tr><th><?php echo __('subject') ?></th><td>
     <?php echo link_to($subject->term, array('module' => 'term', 'action' => 
'browse', 'termId' => $subject->term->id)) ?><br />
@@ -146,7 +146,7 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($placeAccessPoints) > 0): ?>
+<?php if (0 < count($placeAccessPoints)): ?>
   <?php foreach ($placeAccessPoints as $place): ?>
     <tr><th><?php echo __('coverage') ?></th><td>
     <?php echo link_to($place->term, array('module' => 'term', 'action' => 
'browse', 'termId' => $place->term->id)) ?><br />
@@ -154,14 +154,14 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getLocationOfOriginals(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getLocationOfOriginals(array('cultureFallback' => true)))): 
?>
 <tr>
 <th><?php echo __('source') ?></th>
 <td><?php echo nl2br($value) ?></td>
 </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true)))): ?>
 <tr>
 <th><?php echo __('rights') ?></th>
 <td><?php echo nl2br($value) ?></td>

Modified: 
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Fri Aug 28 16:03:06 2009        (r3105)
+++ trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Fri Aug 28 16:32:00 2009        (r3106)
@@ -48,7 +48,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($nameAccessPoints) > 0 ): ?>
+<?php if (0 < count($nameAccessPoints)): ?>
   <?php foreach ($nameAccessPoints as $name): ?>
     <tr><th><?php echo __('name') ?></th>
       <td>
@@ -59,7 +59,7 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($informationObject->getDates()) > 0): ?>
+<?php if (0 < count($informationObject->getDates())): ?>
   <?php foreach ($informationObject->getDates() as $date): ?>
     <tr>
       <th>
@@ -83,7 +83,7 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($modsTypes) > 0): ?>
+<?php if (0 < count($modsTypes)): ?>
 <?php foreach ($modsTypes as $modsType): ?>
   <tr>
     <th><?php echo __('type of resource') ?></th>
@@ -94,7 +94,7 @@
 <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (count($languageCodes) > 0): ?>
+<?php if (0 < count($languageCodes)): ?>
   <?php foreach ($languageCodes as $languageCode): ?>
     <tr><th><?php echo __('language') ?></th><td>
     <?php echo format_language($languageCode->getValue(array('sourceCulture' 
=> true))) ?><br />
@@ -111,7 +111,7 @@
   <?php endif; ?>
 <?php endif; ?>
 
-<?php if (count($subjectAccessPoints) > 0): ?>
+<?php if (0 < count($subjectAccessPoints)): ?>
   <?php foreach ($subjectAccessPoints as $subject): ?>
     <tr><th><?php echo __('subject') ?></th><td>
     <?php echo link_to($subject->term, array('module' => 'term', 'action' => 
'browse', 'termId' => $subject->term->id)) ?><br />
@@ -119,7 +119,7 @@
   <?php endforeach; ?>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true)))): ?>
 <tr>
 <th><?php echo __('access condition') ?></th>
 <td><?php echo nl2br($value) ?></td>

Modified: 
trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php     
Fri Aug 28 16:03:06 2009        (r3105)
+++ trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php     
Fri Aug 28 16:32:00 2009        (r3106)
@@ -35,14 +35,14 @@
 <?php endif; ?>
 
 <!-- title and statement of responsibility area -->
-<?php if (strlen($value = $informationObject->getTitle(array('cultureFallback' 
=> true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getTitle(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('title proper') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (count($materialTypes) > 0): ?>
+<?php if (0 < count($materialTypes)): ?>
   <tr>
     <th>
       <?php echo __('general material designation') ?>
@@ -56,28 +56,28 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAlternateTitle(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getAlternateTitle(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('parallel title') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radOtherTitleInformation->getValue(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radOtherTitleInformation->getValue(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('other title information') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radTitleStatementOfResponsibility->getValue(array('cultureFallback' => true))) 
> 0): ?>
+<?php if (0 < strlen($value = 
$radTitleStatementOfResponsibility->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('title statements of responsibility') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (count($radTitleNotes) > 0): ?>
+<?php if (0 < count($radTitleNotes)): ?>
   <tr>
     <th>
       <?php echo __('title notes') ?>
@@ -114,14 +114,14 @@
 <!-- End title and statement of responsibility area -->
 
 <!-- Edition area -->
-<?php if (strlen($value = 
$informationObject->getEdition(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getEdition(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('edition statement') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radEditionStatementOfResponsibility->getValue(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radEditionStatementOfResponsibility->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('edition statement of responsibility') ?></th>
     <td><?php echo $value ?></td>
@@ -130,35 +130,35 @@
 <!-- End edition area -->
 
 <!-- Class of material specific details area -->
-<?php if (strlen($value = 
$radStatementOfScaleCartographic->getValue(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$radStatementOfScaleCartographic->getValue(array('cultureFallback' => true)))): 
?>
   <tr>
     <th><?php echo __('statement of scale (cartographic)') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radStatementOfProjection->getValue(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radStatementOfProjection->getValue(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('statement of projection (cartographic)') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radStatementOfCoordinates->getValue(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radStatementOfCoordinates->getValue(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('statement of coordinates (cartographic)') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radStatementOfScaleArchitectural->getValue(array('cultureFallback' => true))) 
> 0): ?>
+<?php if (0 < strlen($value = 
$radStatementOfScaleArchitectural->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('statement of scale (architectural)') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radIssuingJursidictionAndDenomination->getValue(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radIssuingJursidictionAndDenomination->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('issuing jurisdiction and denomination (philatelic)') 
?></th>
     <td><?php echo $value ?></td>
@@ -167,7 +167,7 @@
 <!-- End class of material specific details area -->
 
 <!-- Dates of creation area -->
-<?php if (count($informationObject->getDates()) > 0): ?>
+<?php if (0 < count($informationObject->getDates())): ?>
   <tr>
     <th><?php echo __('dates') ?></th>
     <td>
@@ -220,7 +220,7 @@
 <!-- End dates of creation area -->
 
 <!-- Physical description area -->
-<?php if (strlen($value = 
$informationObject->getExtentAndMedium(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getExtentAndMedium(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('physical description') ?></th>
     <td><?php echo nl2br($value) ?></td>
@@ -229,42 +229,42 @@
 <!-- End physical description area -->
 
 <!-- Publisher's series area -->
-<?php if (strlen($value = 
$radTitleProperOfPublishersSeries->getValue(array('cultureFallback' => true))) 
> 0): ?>
+<?php if (0 < strlen($value = 
$radTitleProperOfPublishersSeries->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('title proper of publisher\'s series') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radParallelTitlesOfPublishersSeries->getValue(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radParallelTitlesOfPublishersSeries->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('parallel titles of publisher\'s series') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radOtherTitleInformationOfPublishersSeries->getValue(array('cultureFallback' 
=> true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radOtherTitleInformationOfPublishersSeries->getValue(array('cultureFallback' 
=> true)))): ?>
   <tr>
     <th><?php echo __('other title information of publisher\'s series') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radStatementOfResponsibilityRelatingToPublishersSeries->getValue(array('cultureFallback'
 => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radStatementOfResponsibilityRelatingToPublishersSeries->getValue(array('cultureFallback'
 => true)))): ?>
   <tr>
     <th><?php echo __('statement of responsibility relating to publisher\'s 
series') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radNumberingWithinPublishersSeries->getValue(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radNumberingWithinPublishersSeries->getValue(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('numbering within publisher\'s series') ?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$radNoteOnPublishersSeries->getValue(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radNoteOnPublishersSeries->getValue(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('Note on publisher\'s series') ?></th>
     <td><?php echo $value ?></td>
@@ -273,14 +273,14 @@
 <!-- End publisher's series area -->
 
 <!-- Archival description area -->
-<?php if (strlen($value = 
$informationObject->getArchivalHistory(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getArchivalHistory(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('custodial history') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getScopeAndContent(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getScopeAndContent(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('scope and content') ?></th>
     <td><?php echo nl2br($value) ?></td>
@@ -289,35 +289,35 @@
 <!-- End archival description area -->
 
 <!-- Notes area -->
-<?php if (strlen($value = 
$informationObject->getPhysicalCharacteristics(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getPhysicalCharacteristics(array('cultureFallback' => 
true)))): ?>
 <tr>
   <th><?php echo __('physical condition') ?></th>
   <td><?php echo nl2br($value) ?></td>
 </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAcquisition(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAcquisition(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('immediate source of acquisition') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAppraisal(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAppraisal(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('appraisal, destruction and scheduling') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getArrangement(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getArrangement(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('arrangement') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (count($languageCodes) > 0): ?>
+<?php if (0 < count($languageCodes)): ?>
   <tr>
     <th>
       <?php echo __('language of material') ?>
@@ -331,7 +331,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($scriptCodes) > 0): ?>
+<?php if (0 < count($scriptCodes)): ?>
   <tr>
     <th>
       <?php echo __('script of material') ?>
@@ -345,56 +345,56 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getLocationOfOriginals(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getLocationOfOriginals(array('cultureFallback' => true)))): 
?>
   <tr>
     <th><?php echo __('location of originals') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getLocationOfCopies(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getLocationOfCopies(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('availability of other formats') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true))) > 
0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAccessConditions(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('restrictions on access') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getReproductionConditions(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getReproductionConditions(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('terms governing use, reproduction, and publication') 
?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getFindingAids(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getFindingAids(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('finding aids') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getRelatedUnitsOfDescription(array('cultureFallback' => 
true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getRelatedUnitsOfDescription(array('cultureFallback' => 
true)))): ?>
   <tr>
     <th><?php echo __('associated / related material') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getAccruals(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getAccruals(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('accruals') ?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (count($radNotes) > 0): ?>
+<?php if (0 < count($radNotes)): ?>
   <tr>
     <th><?php echo __('other notes') ?></th>
     <td>
@@ -407,7 +407,7 @@
 <!-- End notes area -->
 
 <!-- Standard number area -->
-<?php if (strlen($value = $radStandardNumber->getValue(array('cultureFallback' 
=> true))) > 0): ?>
+<?php if (0 < strlen($value = 
$radStandardNumber->getValue(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('standard number') ?></th>
     <td><?php echo $value ?></td>
@@ -416,7 +416,7 @@
 <!-- End standard number area -->
 
 <!-- Access Points -->
-<?php if (count($subjectAccessPoints) > 0): ?>
+<?php if (0 < count($subjectAccessPoints)): ?>
   <tr>
     <th>
       <?php echo __('subject access points') ?>
@@ -430,7 +430,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($placeAccessPoints) > 0): ?>
+<?php if (0 < count($placeAccessPoints)): ?>
   <tr>
     <th>
       <?php echo __('place access points') ?>
@@ -444,7 +444,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($nameAccessPoints) > 0 ): ?>
+<?php if (0 < count($nameAccessPoints)): ?>
   <tr>
     <th>
       <?php echo __('name access points') ?>
@@ -467,14 +467,14 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getInstitutionResponsibleIdentifier(array('cultureFallback' 
=> true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getInstitutionResponsibleIdentifier(array('cultureFallback' 
=> true)))): ?>
   <tr>
     <th><?php echo __('institution identifier')?></th>
     <td><?php echo $value ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = $informationObject->getRules(array('cultureFallback' 
=> true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getRules(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('rules or conventions')?></th>
     <td><?php echo nl2br($value) ?></td>
@@ -495,14 +495,14 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getRevisionHistory(array('cultureFallback' => true))) > 0): 
?>
+<?php if (0 < strlen($value = 
$informationObject->getRevisionHistory(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('dates of creation, revision and deletion')?></th>
     <td><?php echo nl2br($value) ?></td>
   </tr>
 <?php endif; ?>
 
-<?php if (count($descriptionLanguageCodes) > 0): ?>
+<?php if (0 < count($descriptionLanguageCodes)): ?>
   <tr>
     <th>
       <?php echo __('language of description')?>
@@ -516,7 +516,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (count($descriptionScriptCodes) > 0): ?>
+<?php if (0 < count($descriptionScriptCodes)): ?>
   <tr>
     <th>
       <?php echo __('script of description')?>
@@ -531,7 +531,7 @@
   </tr>
 <?php endif; ?>
 
-<?php if (strlen($value = 
$informationObject->getSources(array('cultureFallback' => true))) > 0): ?>
+<?php if (0 < strlen($value = 
$informationObject->getSources(array('cultureFallback' => true)))): ?>
   <tr>
     <th><?php echo __('sources')?></th>
     <td><?php echo nl2br($value) ?></td>

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