Author: jablko
Date: Sat Aug 29 15:49:22 2009
New Revision: 3119
Log:
Style change
Modified:
trunk/apps/qubit/modules/informationobject/actions/showRadAction.class.php
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/actions/showRadAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/showRadAction.class.php
Sat Aug 29 15:43:19 2009 (r3118)
+++ trunk/apps/qubit/modules/informationobject/actions/showRadAction.class.php
Sat Aug 29 15:49:22 2009 (r3119)
@@ -36,7 +36,7 @@
parent::execute($request);
// add RAD specific commands
- $this->radNotes = $this->informationObject->getNotesByTaxonomy($options =
array('taxonomyId' => QubitTaxonomy::RAD_NOTE_ID));
- $this->radTitleNotes =
$this->informationObject->getNotesByTaxonomy($options = array('taxonomyId' =>
QubitTaxonomy::RAD_TITLE_NOTE_ID));
+ $this->notes = $this->informationObject->getNotesByTaxonomy($options =
array('taxonomyId' => QubitTaxonomy::RAD_NOTE_ID));
+ $this->titleNotes = $this->informationObject->getNotesByTaxonomy($options
= array('taxonomyId' => QubitTaxonomy::RAD_TITLE_NOTE_ID));
}
}
Modified: trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php
Sat Aug 29 15:43:19 2009 (r3118)
+++ trunk/apps/qubit/modules/informationobject/templates/showDcSuccess.php
Sat Aug 29 15:49:22 2009 (r3119)
@@ -88,11 +88,11 @@
<?php endif; ?>
<?php if (0 < count(QubitDc::getTypes($informationObject))): ?>
-<?php foreach (QubitDc::getTypes($informationObject) as $dcType): ?>
+<?php foreach (QubitDc::getTypes($informationObject) as $type): ?>
<tr>
<th><?php echo __('type') ?></th>
<td>
- <?php echo $dcType ?>
+ <?php echo $type ?>
</td>
</tr>
<?php endforeach; ?>
Modified:
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
Sat Aug 29 15:43:19 2009 (r3118)
+++ trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
Sat Aug 29 15:49:22 2009 (r3119)
@@ -83,11 +83,11 @@
<?php endif; ?>
<?php if (0 < count(QubitMods::getTypes($informationObject))): ?>
-<?php foreach (QubitMods::getTypes($informationObject) as $modsType): ?>
+<?php foreach (QubitMods::getTypes($informationObject) as $type): ?>
<tr>
<th><?php echo __('type of resource') ?></th>
<td>
- <?php echo $modsType->getTerm() ?>
+ <?php echo $type->getTerm() ?>
</td>
</tr>
<?php endforeach; ?>
Modified:
trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Sat Aug 29 15:43:19 2009 (r3118)
+++ trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Sat Aug 29 15:49:22 2009 (r3119)
@@ -77,14 +77,14 @@
</tr>
<?php endif; ?>
-<?php if (0 < count($radTitleNotes)): ?>
+<?php if (0 < count($titleNotes)): ?>
<tr>
<th>
<?php echo __('title notes') ?>
</th><td>
<ul>
- <?php foreach ($radTitleNotes as $radTitleNote): ?>
- <li><?php echo $radTitleNote->getType() ?>: <?php echo
nl2br($radTitleNote->getContent(array('cultureFallback' => true))) ?></li>
+ <?php foreach ($titleNotes as $note): ?>
+ <li><?php echo $note->getType() ?>: <?php echo
nl2br($note->getContent(array('cultureFallback' => true))) ?></li>
<?php endforeach; ?>
</ul>
</td>
@@ -394,11 +394,11 @@
</tr>
<?php endif; ?>
-<?php if (0 < count($radNotes)): ?>
+<?php if (0 < count($notes)): ?>
<tr>
<th><?php echo __('other notes') ?></th>
<td>
- <?php foreach ($radNotes as $note): ?>
+ <?php foreach ($notes as $note): ?>
<?php echo $note->getType() ?>: <?php echo
nl2br($note->getContent(array('cultureFallback' => true))) ?><br />
<?php endforeach; ?>
</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
-~----------~----~----~----~------~----~------~--~---