<?php if($recordsCount == 0):?>
  <error code="noRecordsMatch">The combination of the values of the from, until, set and metadataPrefix arguments results in an empty list.</error>
<?php else:?>
  <ListRecords>
<?php foreach($publishedRecords as $record): ?>
<?php $requestname->setAttribute('informationObject', $record) ?>
   <record>
    <header>
      <identifier><?php echo $record->getOaiIdentifier() ?></identifier>
      <datestamp><?php echo QubitOai::getDate($record->getUpdatedAt())?></datestamp>
      <setSpec><?php echo QubitOai::getSetSpec($record->getLft(), $collectionsTable)?></setSpec>
    </header>
    <metadata>
      <?php echo get_component('sfDcPlugin', 'dc', array('resource' => $record)) ?>
    </metadata>
   </record>
<?php endforeach ?>
  </ListRecords>
<?php endif?>

<?php if($recordsCount == 0):?>
  <error code="noRecordsMatch">The combination of the values of the from, until, set and metadataPrefix arguments results in an empty list.</error>
<?php else:?>
  <ListRecords>
<?php foreach($publishedRecords as $record): ?>
<?php $requestname->setAttribute('informationObject', $record) ?>
   <record>
    <header>
      <identifier><?php echo $record->getOaiIdentifier() ?></identifier>
      <datestamp><?php echo QubitOai::getDate($record->getUpdatedAt())?></datestamp>
      <setSpec><?php echo QubitOai::getSetSpec($record->getLft(), $collectionsTable)?></setSpec>
    </header>
    <metadata>
      <?php echo get_component('sfDcPlugin', 'dc', array('resource' => $record)) ?>
    </metadata>
   </record>
<?php endforeach ?>
  </ListRecords>
  <?php if($remaining > 0):?>
    <resumptionToken><?php echo $resumptionToken?></resumptionToken>
  <?php endif?>
<?php endif?>

Put resumptiontoken in OAI ListRecords template.
Put resumptiontoken in OAI ListRecords template.

refs #3888

Added resumptionToken display in th OAI-PMH ListRecords template.
