Author: peter
Date: Wed Sep 9 13:30:15 2009
New Revision: 3207
Log:
fix bug that prevented publication notes from getting saved. fixes issue#864
Modified:
trunk/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
Wed Sep 9 13:22:04 2009 (r3206)
+++ trunk/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
Wed Sep 9 13:30:15 2009 (r3207)
@@ -169,24 +169,23 @@
<table class="inline">
<tr>
<th style="width: 90%;"><?php echo __('Publication notes') ?></th>
- <th style="width: 10%; text-align: right;"><?php echo
image_tag('delete', array('align' => 'top', 'class' => 'deleteIcon')) ?></th>
+ <th style="width: 10%; text-align: right"><?php echo
image_tag('delete', array('align' => 'top', 'class' => 'deleteIcon')) ?></th>
</tr>
- <?php if ($publicationNotes): ?>
+ <?php if ($publicationNotes): ?>
<?php foreach ($publicationNotes as $publicationNote): ?>
<tr class="<?php echo 'related_obj_'.$publicationNote->getId() ?>">
<td><div class="animateNicely">
- <?php echo
nl2br($publicationNote->getContent(array('cultureFallback' => 'true'))) ?>
+ <?php echo $publicationNote->getContent(array('cultureFallback' =>
'true')) ?>
</div></td>
- <td style="text-align: right"><div class="animateNicely">
+ <td style="text-align: right;"><div class="animateNicely">
<input type="checkbox" name="delete_notes[<?php echo
$publicationNote->getId() ?>]" value="delete" class="multiDelete" />
</div></td>
</tr>
<?php endforeach; ?>
- <?php endif; ?>
+ <?php endif; ?>
<tr>
- <td colspan="2">
- <?php echo textarea_tag('new_publication_note', '', array('class'
=> 'multiInstanceTr resizable', 'size' => '30x2')) ?>
- </td>
+ <td><?php echo textarea_tag('new_publication_note', '',
array('class' => 'multiInstanceTr', 'size' => '30x2')) ?></td>
+ <td style="text-align: right"> </td>
</tr>
</table>
</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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---