Author: david
Date: Wed Oct 19 11:44:30 2011
New Revision: 10141
Log:
Update qtOaiPlugin paths
Modified:
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/actions/harvesterListAction.class.php
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/templates/harvesterListSuccess.php
Modified:
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/actions/harvesterListAction.class.php
==============================================================================
---
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/actions/harvesterListAction.class.php
Wed Oct 19 11:29:54 2011 (r10140)
+++
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/actions/harvesterListAction.class.php
Wed Oct 19 11:44:30 2011 (r10141)
@@ -63,7 +63,7 @@
if (0 < count(QubitOaiRepository::getByURI($this->form->getValue('uri'))))
{
$this->request->setAttribute('preExistingRepository', true);
- $this->forward('oai', 'harvesterNewRepository');
+ $this->forward('qtOaiPlugin', 'harvesterNewRepository');
}
$oaiSimple =
simplexml_load_file("{$this->form->getValue('uri')}?verb=Identify");
@@ -84,12 +84,12 @@
$harvest->setOaiRepository($repository);
$harvest->setMetadataPrefix('oai_dc');
$harvest->save();
- $this->redirect('oai/harvesterNewRepository');
+ $this->redirect(array('module' => 'oai', 'action' =>
'harvesterNewRepository'));
}
else
{
$this->request->setAttribute('parsingErrors', true);
- $this->forward('oai', 'harvesterNewRepository');
+ $this->forward('qtOaiPlugin', 'harvesterNewRepository');
}
}
}
Modified:
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/templates/harvesterListSuccess.php
==============================================================================
---
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/templates/harvesterListSuccess.php
Wed Oct 19 11:29:54 2011 (r10140)
+++
trunk/plugins/qtOaiPlugin/modules/qtOaiPlugin/templates/harvesterListSuccess.php
Wed Oct 19 11:44:30 2011 (r10141)
@@ -32,7 +32,7 @@
<fieldset class="collapsible" id="addOaiRepository">
<legend><?php echo __('Add new repository') ?></legend>
- <form action="<?php echo url_for('oai/harvesterList') ?>" method="post">
+ <form action="<?php echo url_for(array('module' => 'qtOaiPlugin', 'action'
=> 'harvesterList')) ?>" method="post">
<?php echo $form->renderGlobalErrors() ?>
<?php echo $form->uri
--
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.