Author: sevein
Date: Mon Aug 13 18:41:20 2012
New Revision: 12089
Log:
Remove module parameter since it is also possible to find repositories, leave
the routing system to figure out what module should be used. Fixes issue 2376.
Modified:
trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Mon Aug 13 18:29:46 2012 (r12088)
+++ trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Mon Aug 13 18:41:20 2012 (r12089)
@@ -5,13 +5,13 @@
<?php foreach ($resource->getActorEvents() as $item): ?>
<?php if (isset($item->actor)): ?>
- <li><?php echo link_to(render_title($item->actor),
array($item->actor, 'module' => 'actor')) ?> <span class="note2">(<?php echo
$item->type->getRole() ?>)</span></li>
+ <li><?php echo link_to(render_title($item->actor),
array($item->actor)) ?> <span class="note2">(<?php echo $item->type->getRole()
?>)</span></li>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach ($resource->relationsRelatedBysubjectId as $item): ?>
<?php if (isset($item->type) && QubitTerm::NAME_ACCESS_POINT_ID ==
$item->type->id): ?>
- <li><?php echo link_to(render_title($item->object),
array($item->object, 'module' => 'actor')) ?><span class="note2"> (<?php echo
__('Subject') ?>)</span></li>
+ <li><?php echo link_to(render_title($item->object),
array($item->object, 'module' => 'actor')) ?><span class="note2"> (<?php echo
__('Subject') ?>)</span></li>
<?php endif; ?>
<?php endforeach; ?>
--
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.com/group/qubit-commits?hl=en.