Author: jablko
Date: Sun Nov 29 15:19:46 2009
New Revision: 4007
Log:
Update links the XML representations
Modified:
trunk/apps/qubit/modules/informationobject/templates/_contextMenu.php
Modified: trunk/apps/qubit/modules/informationobject/templates/_contextMenu.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_contextMenu.php
Sun Nov 29 14:58:09 2009 (r4006)
+++ trunk/apps/qubit/modules/informationobject/templates/_contextMenu.php
Sun Nov 29 15:19:46 2009 (r4007)
@@ -49,10 +49,10 @@
<?php include_component('physicalobject', 'contextMenu',
array('physicalObjects' => $physicalObjects, 'informationObject' =>
$informationObject)) ?>
<?php endif; ?>
<div class="label"><?php echo __('export') ?></div>
- <ul><li><?php echo link_to(__('Dublin Core 1.1 XML'), array('module' =>
'informationobject', 'action' => 'showDc', 'id' => $informationObject->id,
'sf_format' => 'xml')) ?></li>
- <li><?php echo link_to(__('EAD 2002 XML'), array('module' =>
'informationobject', 'action' => 'showEad', 'id' => $informationObject->id,
'sf_format' => 'xml')) ?></li>
- <?php if ((sfContext::getInstance()->getActionName() == 'showMods') ||
(sfContext::getInstance()->getActionName() == 'editMods')): ?>
- <li><?php echo link_to(__('MODS 3.3 XML'), array('module' =>
'informationobject', 'action' => 'showMods', 'id' => $informationObject->id,
'sf_format' => 'xml')) ?></li>
+ <ul><li><?php echo link_to(__('Dublin Core 1.1 XML'), array('module' =>
'sfDcPlugin', 'action' => 'show', 'id' => $informationObject->id, 'sf_format'
=> 'xml')) ?></li>
+ <li><?php echo link_to(__('EAD 2002 XML'), array('module' =>
'sfEadPlugin', 'action' => 'show', 'id' => $informationObject->id, 'sf_format'
=> 'xml')) ?></li>
+ <?php if ('sfModsPlugin' == sfContext::getInstance()->getModuleName()): ?>
+ <li><?php echo link_to(__('MODS 3.3 XML'), array('module' =>
'sfModsPlugin', 'action' => 'show', 'id' => $informationObject->id, 'sf_format'
=> 'xml')) ?></li>
<?php endif; ?>
</ul>
--
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.