Author: mj
Date: Fri Nov 4 10:17:41 2011
New Revision: 10259
Log:
Fixes #2018.
Modified:
trunk/plugins/sfEacPlugin/modules/sfEacPlugin/templates/indexSuccess.xml.php
Modified:
trunk/plugins/sfEacPlugin/modules/sfEacPlugin/templates/indexSuccess.xml.php
==============================================================================
---
trunk/plugins/sfEacPlugin/modules/sfEacPlugin/templates/indexSuccess.xml.php
Fri Nov 4 10:14:51 2011 (r10258)
+++
trunk/plugins/sfEacPlugin/modules/sfEacPlugin/templates/indexSuccess.xml.php
Fri Nov 4 10:17:41 2011 (r10259)
@@ -5,16 +5,12 @@
<recordId><?php echo esc_specialchars($resource->descriptionIdentifier)
?></recordId>
- <!-- TODO <otherRecordId/> -->
-
<maintenanceStatus><?php echo $eac->maintenanceStatus
?></maintenanceStatus>
<publicationStatus><?php echo $eac->publicationStatus
?></publicationStatus>
<maintenanceAgency>
- <!-- TODO <descriptiveNote/>, <otherAgencyCode/> -->
-
<agencyName><?php echo
esc_specialchars($resource->institutionResponsibleIdentifier) ?></agencyName>
</maintenanceAgency>
@@ -29,8 +25,6 @@
<script scriptCode="<?php echo $code ?>"><?php echo
format_script($code) ?></script>
<?php endforeach; ?>
- <!-- TODO <descriptiveNote/> -->
-
</languageDeclaration>
<conventionDeclaration>
@@ -39,8 +33,6 @@
<citation><?php echo esc_specialchars($resource->rules) ?></citation>
- <!-- TODO <descriptiveNote/> -->
-
</conventionDeclaration>
<localTypeDeclaration>
@@ -49,27 +41,20 @@
<citation>http://ica-atom.org/doc/RS-2#5.4</citation>
- <!-- TODO <descriptiveNote/> -->
-
</localTypeDeclaration>
<localControl localType="detailLevel">
<term><?php echo esc_specialchars($resource->descriptionDetail) ?></term>
- <!-- TODO <date/>, <dateRange/> -->
-
</localControl>
<maintenanceHistory><?php echo $eac->maintenanceHistory
?></maintenanceHistory>
<sources>
- <!-- TODO @lastDateTimeVerified -->
<source>
- <!-- TODO <descriptiveNote/> -->
-
<sourceEntry><?php echo esc_specialchars($resource->sources)
?></sourceEntry>
</source>
@@ -80,15 +65,12 @@
<cpfDescription>
- <!-- TODO @identityType -->
<identity>
<entityId><?php echo
esc_specialchars($resource->corporateBodyIdentifiers) ?></entityId>
<entityType><?php echo $eac->entityType ?></entityType>
- <!-- TODO <useDates/> -->
-
<nameEntry>
<part><?php echo esc_specialchars($resource->authorizedFormOfName)
?></part>
@@ -107,8 +89,6 @@
</nameEntry>
<?php endforeach; ?>
- <!-- TODO <descriptiveNote/> -->
-
</identity>
<description>
@@ -117,45 +97,30 @@
<place>
- <!-- TODO <address/>, <addressLine/>, <date/>, <dateRange/>,
<dateSet/>, <descriptiveNote/>, <placeRole/>, <term/> -->
-
- <!-- TODO @accuracy, @altitude, @countryCode, @latitude, @longitude,
@vocabularySource -->
<placeEntry><?php echo esc_specialchars($resource->places)
?></placeEntry>
</place>
- <!-- TODO <localDescription/> -->
-
<legalStatus>
- <!-- TODO <date/>, <dateRange/>, <dateSet/>, <descriptiveNote/>,
<placeEntry/> -->
-
<term><?php echo esc_specialchars($resource->legalStatus) ?></term>
</legalStatus>
<function>
- <!-- TODO <date/>, <dateRange/>, <dateSet/>, <descriptiveNote/>,
<placeEntry/> -->
-
<term><?php echo esc_specialchars($resource->functions) ?></term>
</function>
- <!-- TODO <languageUsed/> -->
-
<occupation>
- <!-- TODO <date/>, <dateRange/>, <dateSet/>, <descriptiveNote/>,
<placeEntry/> -->
-
<term><?php echo esc_specialchars($resource->functions) ?></term>
</occupation>
<mandate>
- <!-- TODO <date/>, <dateRange/>, <dateSet/>, <descriptiveNote/>,
<placeEntry/> -->
-
<term><?php echo esc_specialchars($resource->mandates) ?></term>
</mandate>
@@ -164,14 +129,12 @@
<generalContext><?php echo $eac->generalContext ?></generalContext>
- <!-- TODO <abstract/>, <chronList/> -->
<biogHist><?php echo $eac->biogHist ?></biogHist>
</description>
<relations>
- <!-- TODO @lastDateTimeVerified, <dateSet/>, <placeEntry/> -->
<?php foreach ($resource->getActorRelations() as $item): ?>
<cpfRelation cpfRelationType="<?php echo
sfEacPlugin::toCpfRelationType($item->type->id) ?>" xlink:href="<?php echo
url_for(array($item->object, 'module' => 'actor'), true) ?>"
xlink:type="simple">
<relationEntry><?php echo
render_title($item->getOpposedObject($resource)) ?></relationEntry>
@@ -184,7 +147,6 @@
</cpfRelation>
<?php endforeach; ?>
- <!-- TODO @lastDateTimeVerified, <dateSet/>, <placeEntry/> -->
<?php foreach ($eac->resourceRelation as $item): ?>
<resourceRelation resourceRelationType="<?php echo
sfEacPlugin::toResourceRelationType($item->type->id) ?>" xlink:href="<?php echo
url_for(array($item->informationObject, 'module' => 'informationobject'), true)
?>" xlink:type="simple">
<relationEntry><?php echo render_title($item->informationObject)
?></relationEntry>
@@ -197,7 +159,6 @@
</resourceRelation>
<?php endforeach; ?>
- <!-- TODO @functionRelationType, @lastDateTimeVerified, <dateSet/>,
<placeEntry/> -->
<?php foreach ($eac->functionRelation as $item): ?>
<functionRelation xlink:href="<?php echo url_for(array($item, 'module'
=> 'function'), true) ?>" xlink:type="simple">
<relationEntry><?php echo render_title($item->subject)
?></relationEntry>
@@ -212,8 +173,6 @@
</relations>
- <!-- TODO <alternativeSet/> -->
-
</cpfDescription>
-</eac-cpf>
+</eac-cpf>
\ No newline at end of file
--
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.