Author: david
Date: Fri Oct 9 13:50:12 2009
New Revision: 3710
Log:
Apply multi-select autocomplete changes to RAD (as per r3708).
Modified:
trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php
trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Modified:
trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php
Fri Oct 9 13:39:05 2009 (r3709)
+++ trunk/apps/qubit/modules/informationobject/actions/editRadAction.class.php
Fri Oct 9 13:50:12 2009 (r3710)
@@ -37,6 +37,7 @@
'alternateTitle',
'archivalHistory',
'arrangement',
+ 'descriptionDetail',
'descriptionIdentifier',
'edition',
'editionStatementOfResponsibility',
@@ -48,9 +49,9 @@
'language',
'languageOfDescription',
'levelOfDescription',
- 'descriptionDetail',
'locationOfCopies',
'locationOfOriginals',
+ 'nameAccessPoints',
'noteOnPublishersSeries',
'numberingWithinPublishersSeries',
'otherTitleInformation',
Modified:
trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Fri Oct 9 13:39:05 2009 (r3709)
+++ trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Fri Oct 9 13:50:12 2009 (r3710)
@@ -292,17 +292,10 @@
</div>
<div class="form-item">
- <label for="name_id"><?php echo __('name access points') ?></label>
- <?php if ($nameAccessPoints): ?>
- <?php foreach ($nameAccessPoints as $name): ?>
- <?php echo render_title($name->getActor()).'
('.$name->getType()->getRole().')' ?>
- <?php if ($name->getTypeId() == QubitTerm::SUBJECT_ID): ?>
- <?php echo link_to(image_tag('delete', 'align=top'),
'informationobject/deleteEvent?eventId='.$name->getId().'&returnTemplate=rad')
?>
- <?php endif; ?>
- <br/>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php echo select_tag('name_id', options_for_select($nameSelectList,
null, array('include_blank' => true)), array('class'=>'multiInstance')) ?>
+ <?php echo $form->nameAccessPoints->label(__('name access
points'))->renderLabel() ?>
+ <?php echo $form->nameAccessPoints->render(array('class' =>
'form-autocomplete')) ?>
+ <input class="add" type="hidden" value="<?php echo
url_for(array('module' => 'actor', 'action' => 'create')) ?>
#authorized_form_of_name"/>
+ <input class="list" type="hidden" value="<?php echo
url_for(array('module' => 'actor', 'action' => 'autocomplete')) ?>"/>
</div>
</fieldset>
<!-- End Access Points-->
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---