Author: david
Date: Fri Oct 23 15:13:22 2009
New Revision: 3817
Log:
Standardize repository autocomplete for RAD, DC and MODS templates. FIxes issue
#1092.
Modified:
trunk/apps/qubit/modules/informationobject/templates/editDcSuccess.php
trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Modified: trunk/apps/qubit/modules/informationobject/templates/editDcSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editDcSuccess.php
Fri Oct 23 14:53:00 2009 (r3816)
+++ trunk/apps/qubit/modules/informationobject/templates/editDcSuccess.php
Fri Oct 23 15:13:22 2009 (r3817)
@@ -108,7 +108,7 @@
<?php echo $form->repository->renderLabel() ?>
<?php echo $form->repository->render(array('class' =>
'form-autocomplete')) ?>
<input class="add" type="hidden" value="<?php echo
url_for(array('module' => 'repository', 'action' => 'create')) ?>
#authorized_form_of_name"/>
- <input class="list" type="hidden" value="<?php echo
url_for(array('module' => 'repository', 'action' => 'autocomplete',
'informationObject' => $informationObject->id, 'aclAction' => $aclActionId))
?>"/>
+ <input class="list" type="hidden" value="<?php echo
url_for($repoAcParams) ?>"/>
</div>
<div class="admin-info">
Modified:
trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
Fri Oct 23 14:53:00 2009 (r3816)
+++ trunk/apps/qubit/modules/informationobject/templates/editModsSuccess.php
Fri Oct 23 15:13:22 2009 (r3817)
@@ -94,7 +94,7 @@
<?php echo $form->repository->renderLabel() ?>
<?php echo $form->repository->render(array('class' =>
'form-autocomplete')) ?>
<input class="add" type="hidden" value="<?php echo
url_for(array('module' => 'repository', 'action' => 'create')) ?>
#authorized_form_of_name"/>
- <input class="list" type="hidden" value="<?php echo
url_for(array('module' => 'repository', 'action' => 'autocomplete',
'informationObject' => $informationObject->id, 'aclAction' => $aclActionId))
?>"/>
+ <input class="list" type="hidden" value="<?php echo
url_for($repoAcParams) ?>"/>
</div>
<div class="admin-info">
Modified:
trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Fri Oct 23 14:53:00 2009 (r3816)
+++ trunk/apps/qubit/modules/informationobject/templates/editRadSuccess.php
Fri Oct 23 15:13:22 2009 (r3817)
@@ -84,7 +84,7 @@
<input class="add" type="hidden"
value="<?php echo url_for(array('module' => 'repository', 'action' =>
'create')) ?> #authorized_form_of_name" />
<input class="list" type="hidden"
- value="<?php echo url_for(array('module' => 'repository', 'action' =>
'autocomplete')) ?>" />
+ value="<?php echo url_for($repoAcParams) ?>" />
</div>
<?php echo $form->identifier->renderRow() ?> <?php if
($informationObject->getIdentifier()): ?>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---