Author: peter
Date: 2008-11-11 13:01:26 -0800 (Tue, 11 Nov 2008)
New Revision: 1566
Added:
trunk/qubit/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Modified:
trunk/qubit/apps/qubit/modules/informationobject/actions/showRadAction.class.php
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
Log:
first iteration of showRad template
Modified:
trunk/qubit/apps/qubit/modules/informationobject/actions/showRadAction.class.php
===================================================================
---
trunk/qubit/apps/qubit/modules/informationobject/actions/showRadAction.class.php
2008-11-11 20:40:50 UTC (rev 1565)
+++
trunk/qubit/apps/qubit/modules/informationobject/actions/showRadAction.class.php
2008-11-11 21:01:26 UTC (rev 1566)
@@ -38,5 +38,33 @@
// add RAD specific commands
$this->radNotes = $this->informationObject->getNotesByTaxonomy($options =
array('noteTypeId' => 'QubitTaxonomy::RAD_NOTE_ID'));
$this->radTitleNotes =
$this->informationObject->getNotesByTaxonomy($options = array('noteTypeId' =>
'QubitTaxonomy::RAD_TITLE_NOTE_ID'));
+
+ $infoObject = $this->informationObject;
+
+ // Rad 1.1 properties
+ $this->radOtherTitleInformation =
$infoObject->getPropertyByName('other_title_information', array('scope'=>'rad',
'cultureFallback'));
+ $this->radTitleStatementOfResponsibility =
$infoObject->getPropertyByName('title_statement_of_responsibility',
array('scope'=>'rad'));
+
+ // RAD 1.2 properties
+ $this->radEditionStatementOfResponsibility =
$infoObject->getPropertyByName('edition_statement_of_responsibility',
array('scope'=>'rad'));
+
+ // RAD 1.3 properties
+ $this->radStatementOfScaleCartographic =
$infoObject->getPropertyByName('statement_of_scale_cartographic',
array('scope'=>'rad'));
+ $this->radStatementOfProjection =
$infoObject->getPropertyByName('statement_of_projection',
array('scope'=>'rad'));
+ $this->radStatementOfCoordinates =
$infoObject->getPropertyByName('statement_of_coordinates',
array('scope'=>'rad'));
+ $this->radStatementOfScaleArchitectural =
$infoObject->getPropertyByName('statement_of_scale_architectural',
array('scope'=>'rad'));
+ $this->radIssuingJursidictionAndDenomination =
$infoObject->getPropertyByName('issuing_jursidiction_and_denomination',
array('scope'=>'rad'));
+
+ // RAD 1.6 properties
+ $this->radTitleProperOfPublishersSeries =
$infoObject->getPropertyByName('title_proper_of_publishers_series',
array('scope'=>'rad'));
+ $this->radParallelTitlesOfPublishersSeries =
$infoObject->getPropertyByName('parallel_titles_of_publishers_series',
array('scope'=>'rad'));
+ $this->radOtherTitleInformationOfPublishersSeries =
$infoObject->getPropertyByName('other_title_information_of_publishers_series',
array('scope'=>'rad'));
+ $this->radStatementOfResponsibilityRelatingToPublishersSeries =
$infoObject->getPropertyByName('statement_of_responsibility_relating_to_publishers_series',
array('scope'=>'rad'));
+ $this->radNumberingWithinPublishersSeries =
$infoObject->getPropertyByName('numbering_within_publishers_series',
array('scope'=>'rad'));
+ $this->radNoteOnPublishersSeries =
$infoObject->getPropertyByName('note_on_publishers_series',
array('scope'=>'rad'));
+
+ // RAD 1.9 properties
+ $this->radStandardNumber =
$infoObject->getPropertyByName('standard_number', array('scope'=>'rad'));
+
}
}
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
===================================================================
---
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
2008-11-11 20:40:50 UTC (rev 1565)
+++
trunk/qubit/apps/qubit/modules/informationobject/templates/editRadSuccess.php
2008-11-11 21:01:26 UTC (rev 1566)
@@ -88,7 +88,7 @@
</tr>
</table>
</div>
-
+
<table style="border: 0; width: 98%; margin: 0; padding: 0;">
<tr>
<td style="width: 150px;">
@@ -196,12 +196,10 @@
<fieldset class="collapsible collapsed">
<legend><?php echo __('1.4 Dates of creation area'); ?></legend>
- <div class="form-item">
- <label for="newCreationDateNote"><?php echo __('creation context');
?></label>
<table id="actorEvents" class="inline" style="margin-top: 25px;">
<tr>
<th style="width: 35%;"><?php echo __('Name') ?></th>
- <th style="width: 25%;"><?php echo __('Role/Event') ?></th>
+ <th style="width: 25%;"><?php echo __('Role').'/'.__('Event') ?></th>
<th style="width: 30%;"><?php echo __('Date(s)') ?></th>
<th style="width: 10%"> </th>
</tr>
@@ -210,17 +208,22 @@
<tr>
<?php if ($actorEvent->getActor()): ?>
<td>
- <?php echo link_to($actorEvent->getActor(),
'actor/edit?id='.$actorEvent->getActorId()) ?>
+ <?php echo $actorEvent->getActor() ?>
</td>
<?php else: ?>
- <td> </td>
+ <td></td>
<?php endif; ?>
+ <?php if ($actorEvent->getActor()): ?>
<td>
<?php echo $actorEvent->getType()->getRole() ?>
</td>
+ <?php else: ?>
+ <td><?php echo $actorEvent->getType() ?></td>
+ <?php endif; ?>
<td><?php echo $actorEvent->getDateDisplay(array('cultureFallback'
=> 'true')) ?></td>
- <td style="text-align: center;">
- <?php echo link_to(image_tag('delete', 'align=top'),
'informationobject/deleteEvent?eventId='.$actorEvent->getId().'&returnTemplate=isad')
?>
+ <td style="text-align: right">
+ <!-- <a href="javascript:editActorEventDialog(<?php echo
$actorEvent->getId()?>)"><?php echo image_tag('pencil', 'align=top') ?></a> -->
+ <?php echo link_to(image_tag('delete', 'align=top'),
'informationobject/deleteEvent?eventId='.$actorEvent->getId().'&returnTemplate=rad')
?>
</td>
</tr>
<?php endforeach; ?>
@@ -279,16 +282,20 @@
<?php if ($creators): ?>
<?php foreach ($creators as $creator): ?>
<div class="form-item">
- <label for="history"><?php echo __('administrative/biographical
history'); ?></label>
- <table class="inline" style="width: 98%;">
- <tr><td style="width: 95%; border: 0;">
- <?php echo '<b>'.$creator.'</b><br />' ?>
- <?php echo nl2br($creator->getHistory(array('cultureFallback' =>
'true'))) ?></td><td style="border: 0;"><?php echo link_to(image_tag('pencil',
'align=top'),
'actor/edit?id='.$creator->getId().'&informationObjectReroute='.$informationObject->getId())
?>
- </td></tr></table>
- </div>
- <?php endforeach; ?>
- <?php endif; ?>
- </div>
+ <label>
+ <?php $entityTypeId = $creator->getEntityTypeId() ?>
+ <?php if ($entityTypeId == QubitTerm::CORPORATE_BODY_ID): ?>
+ <?php echo __('Administrative').' ' ?>
+ <?php elseif (($entityTypeId == QubitTerm::PERSON_ID) || ($entityTypeId
== QubitTerm::FAMILY_ID)): ?>
+ <?php echo __('Biographic').' ' ?>
+ <?php endif; ?>
+ <?php echo __('history').': ' ?></td><td><?php echo $creator ?>
+ </label>
+ <table class="inline" style="margin: 0;"><tr><td><?php echo
nl2br($creator->getHistory(array('cultureFallback' => 'true'))) ?></td><td
style="width: 20px;"><?php echo link_to(image_tag('pencil', 'align=top'),
'actor/edit?id='.$creator->getId().'&informationObjectReroute='.$informationObject->getId())
?></td></tr>
+ </table>
+ </div>
+ <?php endforeach; ?>
+ <?php endif; ?>
</fieldset>
<fieldset class="collapsible collapsed">
@@ -524,7 +531,7 @@
<fieldset class="collapsible collapsed">
<legend><?php echo __('access points'); ?></legend>
-
+
<?php include_partial('addAccessPointTermDialog') ?>
<div class="form-item" id="subjectAccessPoints">
<label for="subject_id"><?php echo __('subject access points'); ?><span
id="addSubjectAccessPointLink" style="font-weight:normal"></span></label>
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
===================================================================
---
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
2008-11-11 20:40:50 UTC (rev 1565)
+++
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
2008-11-11 21:01:26 UTC (rev 1566)
@@ -21,17 +21,17 @@
<?php if (count($informationObject->getDates()) > 0) : ?>
<tr><th><?php echo __('dates'); ?></th><td>
<?php foreach ($informationObject->getDates() as $date): ?>
- <?php echo $date->getDateDisplay().' ('.$date->getType().')' ?><br />
- <?php if (($actor=$date->getActor()) || ($place=$date->getPlace()) ||
($note=$date->getDescription())): ?>
+ <?php echo $date->getDateDisplay().' ('.$date->getType().')' ?>
+ <?php if ($actor = $date->getActor()): ?>
+ <?php echo link_to($actor, array('module' => 'actor', 'action' => 'show',
'id' => $actor->getId())) ?>
+ <?php endif; ?><br />
+ <?php if (($date->getPlace()) || ($date->getDescription())): ?>
<div style="margin-left: 30px; color: #999999;">
- <?php if ($actor): ?>
- <?php echo $date->getType()->getRole()?>: <?php echo $actor ?><br />
- <?php endif; ?>
<?php if ($place=$date->getPlace()): ?>
<?php echo __('Place') ?>: <?php echo $place ?><br />
<?php endif; ?>
<?php if ($note=$date->getDescription()): ?>
- <?php echo __('Note') ?>: <?php echo $date->getDescription() ?><br />
+ <?php echo __('Note') ?>: <?php echo $note ?><br />
<?php endif; ?>
</div>
<?php endif; ?>
Added:
trunk/qubit/apps/qubit/modules/informationobject/templates/showRadSuccess.php
===================================================================
---
trunk/qubit/apps/qubit/modules/informationobject/templates/showRadSuccess.php
(rev 0)
+++
trunk/qubit/apps/qubit/modules/informationobject/templates/showRadSuccess.php
2008-11-11 21:01:26 UTC (rev 1566)
@@ -0,0 +1,354 @@
+<div class="pageTitle"><?php echo __('view archival description'); ?></div>
+
+<table class="detail">
+<tbody>
+
+<?php if ($informationObject->getTitle(array('sourceCulture' => true))): ?>
+ <tr><td colspan="2" class="headerCell">
+ <?php if ($editCredentials) echo
link_to(QubitRad::getLabel($informationObject),
'informationobject/editRad/?id='.$informationObject->getId());
+ else echo QubitRad::getLabel($informationObject); ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value = $informationObject->getTitle(array('cultureFallback'
=> true))) > 0) : ?>
+<tr>
+<th><?php echo __('title proper'); ?></th>
+<td><?php echo $value; ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (count($materialTypes) > 0) : ?>
+<tr>
+<th><?php echo __('general material designation'); ?></th>
+<td>
+ <?php foreach ($materialTypes as $materialType): ?>
+ <?php echo $materialType->getTerm() ?><br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getAlternateTitle(array('cultureFallback' => true))) > 0) :
?>
+<tr>
+<th><?php echo __('parallel title'); ?></th>
+<td><?php echo $value; ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$radOtherTitleInformation->getValue(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('other title information'); ?></th>
+<td><?php echo $value; ?></td>
+</tr>
+<?php endif; ?>
+
+
+<?php if ($informationObject->getIdentifier()): ?>
+ <tr>
+ <th><?php echo __('reference code'); ?></th>
+ <td><?php echo QubitRad::getReferenceCode($informationObject) ?>
+ </td>
+ </tr>
+<?php endif; ?>
+
+<?php if (count($informationObject->getDates()) > 0) : ?>
+<tr><th><?php echo __('dates'); ?></th><td>
+<?php foreach ($informationObject->getDates() as $date): ?>
+ <?php echo $date->getDateDisplay().' ('.$date->getType().')' ?>
+ <?php if ($actor = $date->getActor()): ?>
+ <?php echo link_to($actor, array('module' => 'actor', 'action' => 'show',
'id' => $actor->getId())) ?>
+ <?php endif; ?><br />
+ <?php if (($date->getPlace()) || ($date->getDescription())): ?>
+ <div style="margin-left: 30px; color: #999999;">
+ <?php if ($place=$date->getPlace()): ?>
+ <?php echo __('Place') ?>: <?php echo $place ?><br />
+ <?php endif; ?>
+ <?php if ($note=$date->getDescription()): ?>
+ <?php echo __('Note') ?>: <?php echo $note ?><br />
+ <?php endif; ?>
+ </div>
+ <?php endif; ?>
+<?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if ($informationObject->getLevelOfDescriptionId()) : ?>
+<tr>
+<th><?php echo __('level of description'); ?></th>
+<td><?php echo $informationObject->getLevelOfDescription(); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getExtentAndMedium(array('cultureFallback' => true))) > 0)
: ?>
+<tr>
+<th><?php echo __('extent and medium'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if ($digitalObject = $informationObject->getDigitalObject()): ?>
+<tr><th><?php echo sfConfig::get('app_ui_label_digitalobject') ?></th>
+ <td>
+ <?php include_component('digitalobject', 'show', array(
+ 'digitalObject'=>$digitalObject,
+ 'usageType'=>QubitTerm::THUMBNAIL_ID,
+ 'link'=>'digitalobject/show?id='.$digitalObject->getId()
+ )); ?>
+ </td>
+</tr>
+<?php endif; ?>
+
+<?php foreach ($creators as $creator): ?>
+ <tr>
+ <th><?php echo __('name of creator') ?></th>
+ <td><?php echo link_to($creator, 'actor/show?id='.$creator->getId()); ?>
+ <?php if ($existence =
$creator->getDatesOfExistence(array('cultureFallback' => true))) echo '
('.$existence.')'; ?>
+ <?php if ($history = $creator->getHistory(array('cultureFallback' =>
true))): ?>
+ <table class="detail" style="margin-top: 5px;"><tr><th style="text-align:
left; padding: 1px;">
+ <?php if ($creator->getEntityTypeId() == QubitTerm::CORPORATE_BODY_ID): ?>
+ <?php echo __('Administrative').' ' ?>
+ <?php else: ?>
+ <?php echo __('Biographic').' ' ?>
+ <?php endif; ?>
+ <?php echo __('history') ?></th></tr>
+ <tr><td><?php echo nl2br($history); ?></td></tr>
+ </table>
+ <?php endif; ?>
+ </td>
+ </tr>
+<?php endforeach; ?>
+
+<?php if (count($physicalObjects) && $editCredentials): ?>
+ <?php include_partial('physicalobject/show',
+ array('informationObject'=>$informationObject,
'physicalObjects'=>$physicalObjects)); ?>
+<?php endif; ?>
+
+<?php if ($informationObject->getRepositoryId()) : ?>
+<tr>
+<th><?php echo __('repository'); ?></th>
+<td><?php echo link_to($informationObject->getRepository(),
'repository/show?id='.$informationObject->getRepositoryId()); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getArchivalHistory(array('cultureFallback' => true))) > 0)
: ?>
+<tr>
+<th><?php echo __('archival history'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getAcquisition(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('immediate source of acquisition'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getScopeAndContent(array('cultureFallback' => true))) > 0)
: ?>
+<tr>
+<th><?php echo __('scope and content'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getAppraisal(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('appraisal, destruction and scheduling'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getAccruals(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('accruals'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getArrangement(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('system of arrangement'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getAccessConditions(array('cultureFallback' => true))) > 0)
: ?>
+<tr>
+<th><?php echo __('conditions governing access'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getReproductionConditions(array('cultureFallback' =>
true))) > 0) : ?>
+<tr>
+<th><?php echo __('conditions governing reproduction'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (count($languageCodes) > 0) : ?>
+<tr>
+<th><?php echo __('language of material'); ?></th>
+<td>
+ <?php foreach ($languageCodes as $languageCode): ?>
+ <?php echo
format_language($languageCode->getValue(array('sourceCulture'=>true))); ?><br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (count($scriptCodes) > 0) : ?>
+<tr>
+<th><?php echo __('script of material'); ?></th>
+<td>
+ <?php foreach ($scriptCodes as $scriptCode): ?>
+ <?php echo
format_script($scriptCode->getValue(array('sourceCulture'=>true))); ?><br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getPhysicalCharacteristics(array('cultureFallback' =>
true))) > 0) : ?>
+<tr>
+<th><?php echo __('physical characteristics'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getFindingAids(array('cultureFallback' => true))) > 0) : ?>
+<tr>
+<th><?php echo __('finding aids'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getLocationOfOriginals(array('cultureFallback' => true))) >
0) : ?>
+<tr>
+<th><?php echo __('location of originals'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getLocationOfCopies(array('cultureFallback' => true))) > 0)
: ?>
+<tr>
+<th><?php echo __('location of copies'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getRelatedUnitsOfDescription(array('cultureFallback' =>
true))) > 0) : ?>
+<tr>
+<th><?php echo __('related units of description'); ?></th>
+<td><?php echo nl2br($value); ?></td>
+</tr>
+<?php endif; ?>
+
+<?php if (count($subjectAccessPoints) > 0) : ?>
+<tr>
+<th><?php echo __('subject access points'); ?></th>
+<td>
+ <?php foreach ($subjectAccessPoints as $subject): ?>
+ <?php echo link_to($subject->getTerm(),
'term/browse?termId='.$subject->getTermId()); ?><br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (count($placeAccessPoints) > 0) : ?>
+<tr>
+<th><?php echo __('place access points'); ?></th>
+<td>
+ <?php foreach ($placeAccessPoints as $place): ?>
+ <?php echo link_to($place->getTerm(),
'term/browse?termId='.$place->getTermId()); ?><br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (count($nameAccessPoints) > 0 ) : ?>
+<tr>
+<th><?php echo __('name access points'); ?></th>
+<td>
+ <?php foreach ($nameAccessPoints as $name): ?>
+ <?php echo link_to($name->getActor(),
'actor/show?id='.$name->getActorId()) ?>
+ <?php echo ' ('.$name->getType()->getRole().')' ?>
+ <br />
+ <?php endforeach; ?>
+</td></tr>
+<?php endif; ?>
+
+<?php if (count($notes) > 0) : ?>
+<tr>
+<th><?php echo __('notes'); ?></th>
+<td>
+ <?php foreach ($notes as $note): ?>
+ <?php echo $note->getType().':
'.nl2br($note->getContent(array('cultureFallback' => true))); ?><br />
+ <?php endforeach; ?>
+</td>
+</tr>
+<?php endif; ?>
+
+<?php if ($informationObject->getDescriptionIdentifier()): ?>
+ <tr><th><?php echo __('description identifier')?></th>
+ <td><?php echo $informationObject->getDescriptionIdentifier() ?></td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getInstitutionResponsibleIdentifier(array('cultureFallback'
=> true))) > 0) : ?>
+ <tr><th><?php echo __('institution identifier')?></th>
+ <td><?php echo $value ?></td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value = $informationObject->getRules(array('cultureFallback'
=> true))) > 0) : ?>
+ <tr><th><?php echo __('rules')?></th>
+ <td><?php echo nl2br($value) ?></td></tr>
+<?php endif; ?>
+
+<?php if ($informationObject->getDescriptionStatusId()): ?>
+ <tr><th><?php echo __('status')?></th><td>
+ <?php echo
$informationObject->getDescriptionStatus()->getName(array('cultureFallback' =>
true)) ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if ($informationObject->getDescriptionDetailId()): ?>
+ <tr><th><?php echo __('detail')?></th><td>
+ <?php echo
$informationObject->getDescriptionDetail()->getName(array('cultureFallback' =>
true)) ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getRevisionHistory(array('cultureFallback' => true))) > 0)
: ?>
+ <tr><th><?php echo __('dates of creation revision deletion')?></th><td>
+ <?php echo nl2br($value) ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if (count($descriptionLanguageCodes) > 0): ?>
+ <tr><th><?php echo __('language of description')?></th><td>
+ <?php foreach ($descriptionLanguageCodes as $languageCode): ?>
+ <?php echo
format_language($languageCode->getValue(array('sourceCulture'=>true))) ?><br />
+ <?php endforeach; ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if (count($descriptionScriptCodes) > 0): ?>
+ <tr><th><?php echo __('script of description')?></th><td>
+ <?php foreach ($descriptionScriptCodes as $scriptCode): ?>
+ <?php echo
format_script($scriptCode->getValue(array('sourceCulture'=>true))) ?><br />
+ <?php endforeach; ?>
+ </td></tr>
+<?php endif; ?>
+
+<?php if (strlen($value =
$informationObject->getSources(array('cultureFallback' => true))) > 0) : ?>
+ <tr><th><?php echo __('sources')?></th>
+ <td><?php echo nl2br($value) ?></td></tr>
+<?php endif; ?>
+
+</tbody>
+</table>
+
+<?php if ($editCredentials): ?>
+<div class="menu-action">
+ <?php echo link_to (__('edit archival description'),
'informationobject/editRad?id='.$informationObject->getId()) ?>
+</div>
+<?php endif; ?>
+
+<div class="menu-extra">
+<?php if ($editCredentials): ?>
+ <?php echo link_to(__('add new archival description'),
'informationobject/createRad'); ?>
+<?php endif; ?>
+ <?php echo link_to(__('list all'), 'informationobject/list'); ?>
+</div>
--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---