Author: sevein
Date: Thu Apr 5 11:56:03 2012
New Revision: 11396
Log:
Updates in main layout and RAD, contextMenu, treeview...
Modified:
branches/2.0/apps/qubit/config/view.yml
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
branches/2.0/apps/qubit/modules/informationobject/templates/_treeView.php
branches/2.0/apps/qubit/templates/layout.php
branches/2.0/plugins/qtDominionPlugin/Makefile (props changed)
branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
branches/2.0/plugins/qtDominionPlugin/modules/search/actions/autocompleteAction.class.php
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Modified: branches/2.0/apps/qubit/config/view.yml
==============================================================================
--- branches/2.0/apps/qubit/config/view.yml Thu Apr 5 11:50:40 2012
(r11395)
+++ branches/2.0/apps/qubit/config/view.yml Thu Apr 5 11:56:03 2012
(r11396)
@@ -16,11 +16,17 @@
javascripts:
/vendor/jquery:
- /vendor/jquery.expander.js:
+ /plugins/sfDrupalPlugin/vendor/drupal/misc/drupal:
+ /vendor/yui/yahoo-dom-event/yahoo-dom-event:
+ /vendor/yui/element/element-min:
+ /vendor/yui/button/button-min:
+ /vendor/yui/container/container_core-min:
+ /vendor/yui/menu/menu-min:
/vendor/html5.js:
- /vendor/bootstrap.js:
/vendor/jquery.textfill.js:
+ /vendor/jquery.expander.js:
/vendor/chosen/chosen/chosen.jquery.min.js:
+ /vendor/bootstrap.js:
qubit: { position: last }
dominion: { position: last }
@@ -30,3 +36,4 @@
components:
header: []
sidebar: []
+ footer: []
Modified:
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
==============================================================================
---
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
Thu Apr 5 11:50:40 2012 (r11395)
+++
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
Thu Apr 5 11:56:03 2012 (r11396)
@@ -1,24 +1,220 @@
-<?php if (sfConfig::get('app_multi_repository')): ?>
- <?php echo render_show_repository(sfConfig::get('app_ui_label_repository'),
$resource) ?>
-<?php endif; ?>
-
-<?php echo get_component('informationobject', 'creator', array('resource' =>
$resource)) ?>
-
-<?php echo get_component('digitalobject', 'imageflow', array('resource' =>
$resource)) ?>
-
-<div>
- <h3>
- <?php if (isset($resource->getCollectionRoot()->levelOfDescription)): ?>
- <?php echo $resource->getCollectionRoot()->levelOfDescription ?>
- <?php else: ?>
- <?php echo sfConfig::get('app_ui_label_collection') ?>
+ <div id="navigation">
+
+ <?php if (sfConfig::get('app_multi_repository')): ?>
+ <div id="left-column" class="row">
+ <div class="span5">
+ <div class="institution maxi">
+ <!-- <a href="#" style="font-size: 26px; height: 134px;"> -->
+ <h2 class="filltext">
+ <a href="#">Foobar</a>
+ <?php echo
render_show_repository(sfConfig::get('app_ui_label_repository'), $resource) ?>
+ </h2>
+ </div>
+ </div>
+ </div>
<?php endif; ?>
- </h3>
- <div>
- <?php echo get_component('informationobject', 'treeView') ?>
- </div>
-</div>
-<?php echo get_partial('informationobject/format', array('resource' =>
$resource)) ?>
+ <!--
+ <div class="row">
+ <div class="span5">
+ <div id="headline2" class="mobileonly">
+ <h1>Douglas Coupland <strong>File</strong></h1>
+ </div>
+ <ul class="nav nav-tabs">
+ <li class="active">
+ <a href="#holdings" data-toggle="tab">Holdings</a>
+ </li>
+ <li><a href="#facets" data-toggle="tab">Browse</a></li>
+ <li><a href="#" id="searchfocus"><i class="icon-search
icon-white"></i></a></li>
+ <li class="detailed-view pull-right">
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox1" value="option1">
Detailed view
+ </label>
+ </li>
+ </ul>
+ </div>
+ </div>
+ -->
+
+ <div class="row tab-content">
+
+ <h2 class="mobileonly widebtn btn-huge indent" data-toggle="collapse"
data-target="#holdings">Holdings</h2>
+
+ <?php echo get_component('informationobject', 'treeView') ?>
+
+ <div class="span5 tree tab-pane" id="facets">
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#subjects">Subjects</h2>
+
+ <h2 class="desktoponly">Subjects</h2>
+
+ <div class="scrollable" id="subjects">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+
+ <li><a href="#">Agriculture<span>223</span></a></li>
+
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
-<?php echo get_component('physicalobject', 'contextMenu', array('resource' =>
$resource)) ?>
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#mediatypes">Media Types</h2>
+
+ <h2 class="desktoponly">Media Types</h2>
+
+ <div class="scrollable" id="mediatypes">
+ <ul>
+ <li class="active"><a href="#">All Results</a></li>
+
+ <li><a href="#">Any media type<span>1,122</span></a></li>
+
+ <li><a href="#">Images<span>1,001</span></a></li>
+
+ <li><a href="#">Videos<span>100</span></a></li>
+
+ <li><a href="#">Audio<span>44</span></a></li>
+
+ <li><a href="#">Texts<span>1</span></a></li>
+
+ <li><a href="#">Buildings<span>3</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
+
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#dates">Creation Date</h2>
+
+ <h2 class="desktoponly">Creation Date</h2>
+
+ <div class="scrollable dates" id="dates">
+ <input type="text" value="1877" name="from" /> - <input
type="text" value="1999" name="to" />
+ </div>
+ </div><!-- /.section -->
+
+
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#places">Places</h2>
+
+ <h2 class="desktoponly">Places</h2>
+
+ <div class="scrollable" id="places">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
+
+ <li><a href="#">Comox<span>1,122</span></a></li>
+
+ <li><a href="#">Charleston<span>1,001</span></a></li>
+
+ <li><a href="#">British Columbia<span>100</span></a></li>
+
+ <li><a href="#">Seligenstadt<span>44</span></a></li>
+
+ <li><a href="#">Frankfurt<span>1</span></a></li>
+
+ <li><a href="#">Bad Homburg vor der Hohe<span>3</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
+
+
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#names">Names</h2>
+
+ <h2 class="desktoponly">Names</h2>
+
+ <div class="scrollable" id="names">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
+
+ <li><a href="#">James T. Kirk<span>1,122</span></a></li>
+
+ <li><a href="#">Karla<span>1,001</span></a></li>
+
+ <li><a href="#">Frasier<span>100</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
+ </div>
+ </div>
+
+ <div class="row">
+
+ <?php echo get_component('informationobject', 'creator',
array('resource' => $resource)) ?>
+
+ <?php echo get_component('digitalobject', 'imageflow', array('resource'
=> $resource)) ?>
+
+ <div>
+ <h3>
+ <?php if
(isset($resource->getCollectionRoot()->levelOfDescription)): ?>
+ <?php echo $resource->getCollectionRoot()->levelOfDescription ?>
+ <?php else: ?>
+ <?php echo sfConfig::get('app_ui_label_collection') ?>
+ <?php endif; ?>
+ </h3>
+ </div>
+
+ <?php echo get_partial('informationobject/format', array('resource' =>
$resource)) ?>
+
+ <?php echo get_component('physicalobject', 'contextMenu',
array('resource' => $resource)) ?>
+
+ </div>
+
+ </div>
Modified:
branches/2.0/apps/qubit/modules/informationobject/templates/_treeView.php
==============================================================================
--- branches/2.0/apps/qubit/modules/informationobject/templates/_treeView.php
Thu Apr 5 11:50:40 2012 (r11395)
+++ branches/2.0/apps/qubit/modules/informationobject/templates/_treeView.php
Thu Apr 5 11:56:03 2012 (r11396)
@@ -1,20 +1,40 @@
-<?php use_helper('Javascript') ?>
+<div class="span5 tree tab-pane active" id="holdings">
-<div class="section">
- <div id="treeView"></div>
-</div>
+ <ul class="unstyled">
-<?php
+ <?php if (true): ?>
+ <li class="back"><?php echo link_to(__('Show all'), array(),
array('class' => 'arrow-left')) ?></li>
+ <?php endif; ?>
-$treeViewObjects = json_encode($treeViewObjects);
-$treeViewExpands = json_encode($treeViewExpands);
-$treeViewI18nLoading = __('Loading...');
+ <li class="up"><a href="#"><i class="arrow-down"></i>Forest History of
British Columbia <strong>Fonds</strong></a></li>
+ <li class="up"><a href="#"><i class="arrow-down"></i>Frasier Valley
<strong>Series</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li><a href="#">Charles Xingpeau <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Forest History
of British Columbia <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>The Maritime
Museum designated City Archives <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="active"><a href="#" >Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand" ><a href="#"><i class="arrow-right"></i>Douglas
Coupland <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li><a href="#">Charles Xingpeau <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Forest History
of British Columbia <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li><a href="#">Douglas Coupland <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Douglas Coupland
<strong>File</strong></a></li>
+ <li><a href="#">Charles Xingpeau <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Forest History
of British Columbia <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>The Society of
Composers, Authors and Publishers <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>International
Federation of the Phonographic Industry <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>International
Federation of the Phonographic Industry – Chile <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Bulgarian
Association of Music Producers <strong>File</strong></a></li>
+ <li class="expand"><a href="#"><i class="arrow-right"></i>Final
International Federation of the Phonographic Industry
<strong>File</strong></a></li>
-echo javascript_tag(<<<content
-Qubit.treeView.objects = $treeViewObjects;
-Qubit.treeView.expands = $treeViewExpands;
-Qubit.treeView.draggable = $treeViewDraggable;
-Qubit.treeView.i18nLoading = '$treeViewI18nLoading';
+ </ul>
-content
-);
+</div>
Modified: branches/2.0/apps/qubit/templates/layout.php
==============================================================================
--- branches/2.0/apps/qubit/templates/layout.php Thu Apr 5 11:50:40
2012 (r11395)
+++ branches/2.0/apps/qubit/templates/layout.php Thu Apr 5 11:56:03
2012 (r11396)
@@ -17,7 +17,7 @@
<?php echo $sf_content ?>
- <?php // echo get_partial('sidebar') ?>
+ <?php // echo get_component_slot('sidebar') ?>
</div>
Modified:
branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
Thu Apr 5 11:50:40 2012 (r11395)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
Thu Apr 5 11:56:03 2012 (r11396)
@@ -1,18 +1,18 @@
#navigation {
- position:fixed; top:0; width:250px;
- height:100%; overflow-y: hidden; overflow-x:hidden;
+ position:fixed; top:0; width:250px;
+ height:100%; overflow-y: hidden; overflow-x:hidden;
z-index: 100;
// clip: rect(auto, 220px, auto, auto);
-
+
#headline2 { .hide; }
-
+
#facets .scrollable {
max-height: none !important;
}
-
+
.nav-tabs {
margin-bottom: 0 !important;
-
+
.detailed-view {
margin-left:75px;
margin-top:10px;
@@ -21,10 +21,10 @@
}
.expandednav {
- overflow-y: auto !important;
+ overflow-y: auto !important;
width: 400px !important;
// clip:auto !important;
- background-image: url(../../images/background.png);
+ background-image: url(../../images/background.png);
@shadow: 4px 4px 10px @gray;
border-right: 2px solid white;
.box-shadow(@shadow);
@@ -35,7 +35,7 @@
.btn:hover {
color:@black !important;
-
+
i {
background-image: url(../../js/bootstrap/img/glyphicons-halflings.png);
}
@@ -45,47 +45,47 @@
#holdings {
white-space: nowrap;
-
+
ul {
li {
padding:5px 0 5px 17px;
#translucent > .background(@black, .2);
-
+
a {
color: @white;
font-family: @smallFontFamily;
-
+
}
-
+
&:hover {
#translucent > .background(@white, .2);
text-decoration: none;
}
-
+
.adminbuttons a:hover {
color: @black !important;
}
}
-
+
.expand {
padding-left:2px !important;
}
-
+
.up {
border-bottom: 1px solid @white;
padding-left:2px !important;
background:none;
}
-
+
.back {
border-bottom: 1px solid @white;
padding-left:2px !important;
background:none;
}
-
+
.active {
background-color: @white;
-
+
a {
color: @orange;
}
@@ -94,7 +94,7 @@
}
#export {
- margin-left: 10px;
+ margin-left: 10px;
margin-top: 20px;
}
@@ -125,22 +125,22 @@
background-color: @black;
padding:10px;
color:@white;
- margin-bottom: 10px;
-
+ margin-bottom: 10px;
+
h2, h2 a, a, p { color:@white; }
-
+
h2 a { font-size:18px;}
-
+
#urlform, #uploadform {
margin-bottom:20px;
margin-top:20px;
padding-bottom:20px;
border-bottom:1px solid @grayLight;
-
+
input, a, button {
vertical-align: middle;
}
-
+
input {
width:300px;
}
@@ -148,32 +148,32 @@
width:290px;
}
}
-
+
#arrow-left {
float:left;
margin-top:150px;
background-color: none;
}
-
+
#arrow-right {
float:right;
margin-top:150px;
background-color: none;
-
+
}
-
+
#image {
text-align: center;
.clearfix;
img {
-
+
}
}
-
+
#mediaactions {
text-align: center;
margin-top: 10px;
- a {
+ a {
background-color: none;
}
p {
@@ -181,13 +181,13 @@
margin-top:10px;
}
}
-
+
}
#main-column {
padding:10px inherit inherit inherit;
-
+
h1 {
margin-bottom: 0;
strong {
@@ -196,30 +196,30 @@
}
}
.breadcrumb {
- margin-bottom:10px;
-
+ margin-bottom:10px;
+
li a {
color: @white;
text-shadow:none;
}
}
-
+
.media {
- background-color: @white;
- margin-bottom: 10px;
- padding:15px;
+ background-color: @white;
+ margin-bottom: 10px;
+ padding:15px;
.clearfix;
-
+
h3 a { color: @orange; }
-
+
div {
float:left;
margin-right: 17px;
margin-bottom: 20px;
-
+
a {
height: 100%;
-
+
img {
max-width: auto;
width:auto;
@@ -235,25 +235,25 @@
h2, p, li {
margin: 0 10px;
}
-
+
h2 {
color:@orange;
- font-size:18px;
+ font-size:18px;
line-height: 110%;
padding-top:10px;
font-weight: normal;
margin-bottom:5px;
}
-
+
.editlink {
float:right;
margin-top:2px;
}
-
+
.field {
- .clearfix;
+ .clearfix;
margin-bottom: 10px;
-
+
h3 {
float: left;
width: 140px;
@@ -261,7 +261,7 @@
margin: 1px 0 0 0;
text-align: right;
color:darken(@grayLight, 20%);
- font-size:13px;
+ font-size:13px;
line-height: 130%;
font-weight: normal;
}
@@ -269,16 +269,16 @@
margin: 0 10px 0 148px;
font-family:@smallFontFamily;
padding:0;
- font-size: 13px;
+ font-size: 13px;
line-height: 140%;
-
+
ul {
list-style: none;
margin:0;
padding:0;
-
- li {
- margin: 0 0 5px 0;
+
+ li {
+ margin: 0 0 5px 0;
line-height: 140%;
}
}
@@ -296,15 +296,15 @@
margin-top:15px;
font-style: oblique;
}
-
+
p {
color: @white;
font-size: smaller;
}
-
+
div {
margin-bottom: 10px;
-
+
a {
}
@@ -315,11 +315,11 @@
-@media (max-width: 768px) {
+@media (max-width: 768px) {
.nav-tabs, #left-column #facets, #left-column .institution, .breadcrumb,
.map, #searchfocus, #export, #mediaactions {
.hide;
}
-
+
.institutionX {
width: 100px;
height: 100px;
@@ -327,42 +327,42 @@
font-size: 14px;
line-height: 110%;
a {
-
+
height: 95px;
width: 95px;
padding:3px;
}
}
}
-
+
.img {
- h2:last-child {
+ h2:last-child {
a {
height: 90px;
}
}
}
-
+
#wrapper, #left-column {
margin-top:0 !important;
}
-
+
h1 {
font-size: 20px !important;
line-height: 110%;
margin: auto 10px;
}
-
+
#navigation {
position: static;
width:100% !important;
}
-
+
#right-column {
margin: auto 10px !important;
}
-
+
#holdings {
margin: auto 10px !important;
white-space: normal;
@@ -379,15 +379,15 @@
}
-
+
// Portrait tablet to landscape and desktop
-@media (min-width: 768px) and (max-width: 980px) {
+@media (min-width: 768px) and (max-width: 980px) {
#navigation { width:190px; }
#mediadisplay #image img { max-width:80%; }
}
-
+
// Large desktop
-@media (min-width: 1200px) {
+@media (min-width: 1200px) {
#navigation { width:310px; }
}
Modified:
branches/2.0/plugins/qtDominionPlugin/modules/search/actions/autocompleteAction.class.php
==============================================================================
---
branches/2.0/plugins/qtDominionPlugin/modules/search/actions/autocompleteAction.class.php
Thu Apr 5 11:50:40 2012 (r11395)
+++
branches/2.0/plugins/qtDominionPlugin/modules/search/actions/autocompleteAction.class.php
Thu Apr 5 11:56:03 2012 (r11396)
@@ -72,7 +72,7 @@
if (0 == $this->descriptionsHits && 0 == $this->actorsHits && 0 ==
$this->repositoriesHits && 0 == $this->subjectsHits)
{
-// return sfView::NONE;
+ return sfView::NONE;
}
}
}
Modified:
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
---
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Thu Apr 5 11:50:40 2012 (r11395)
+++
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Thu Apr 5 11:56:03 2012 (r11396)
@@ -1,291 +1,297 @@
-<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+<?php echo get_component('informationobject', 'contextMenu') ?>
-<h1><?php echo __('View archival description') ?></h1>
+<div id="main-column" class="span9 offset3">
-<h1 class="label printable">
- <?php echo link_to_if(QubitAcl::check($resource, 'update'),
render_title($rad), array($resource, 'module' => 'informationobject', 'action'
=> 'edit'), array('title' => __('Edit archival description'))) ?>
- <?php echo get_partial('informationobject/actionIcons') ?>
-</h1>
-
-<?php if (QubitInformationObject::ROOT_ID != $resource->parentId): ?>
-<h1 class="part-of"><?php echo __('Part of %1%', array('%1%' =>
$resource->getCollectionRoot()->__toString())) ?></h1>
-<?php endif; ?>
-
-<?php if (isset($errorSchema)): ?>
- <div class="messages error">
- <ul>
- <?php foreach ($errorSchema as $error): ?>
- <li><?php echo $error ?></li>
- <?php endforeach; ?>
- </ul>
- </div>
-<?php endif; ?>
-
-<?php if (0 < count($resource->digitalObjects)): ?>
- <?php echo get_component('digitalobject', 'show', array('link' =>
$digitalObjectLink, 'resource' => $resource->digitalObjects[0], 'usageType' =>
QubitTerm::REFERENCE_ID)) ?>
-<?php endif; ?>
-
-<div class="section" id="titleAndStatementOfResponsibilityArea">
-
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Title and statement of responsibility
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' =>
'edit'), array('anchor' => 'titleAndStatementOfResponsibilityArea', 'title' =>
__('Edit title and statement of responsibility area'))) ?>
-
- <?php echo render_show(__('Title proper'),
render_value($resource->getTitle(array('cultureFallback' => true)))) ?>
-
- <div class="field">
- <h3><?php echo __('General material designation') ?></h3>
- <div>
+ <?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+
+ <h1><?php echo __('View archival description') ?></h1>
+
+ <h1 class="label printable">
+ <?php echo link_to_if(QubitAcl::check($resource, 'update'),
render_title($rad), array($resource, 'module' => 'informationobject', 'action'
=> 'edit'), array('title' => __('Edit archival description'))) ?>
+ <?php echo get_partial('informationobject/actionIcons') ?>
+ </h1>
+
+ <?php if (QubitInformationObject::ROOT_ID != $resource->parentId): ?>
+ <h1 class="part-of"><?php echo __('Part of %1%', array('%1%' =>
$resource->getCollectionRoot()->__toString())) ?></h1>
+ <?php endif; ?>
+
+ <?php if (isset($errorSchema)): ?>
+ <div class="messages error">
<ul>
- <?php foreach ($resource->getMaterialTypes() as $materialType): ?>
- <li><?php echo $materialType->term ?></li>
+ <?php foreach ($errorSchema as $error): ?>
+ <li><?php echo $error ?></li>
<?php endforeach; ?>
</ul>
</div>
- </div>
+ <?php endif; ?>
- <?php echo render_show(__('Parallel title'),
render_value($resource->getAlternateTitle(array('cultureFallback' => true)))) ?>
+ <?php if (0 < count($resource->digitalObjects)): ?>
+ <?php echo get_component('digitalobject', 'show', array('link' =>
$digitalObjectLink, 'resource' => $resource->digitalObjects[0], 'usageType' =>
QubitTerm::REFERENCE_ID)) ?>
+ <?php endif; ?>
+
+ <div class="section" id="titleAndStatementOfResponsibilityArea">
+
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Title and statement of responsibility
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' =>
'edit'), array('anchor' => 'titleAndStatementOfResponsibilityArea', 'title' =>
__('Edit title and statement of responsibility area'))) ?>
+
+ <?php echo render_show(__('Title proper'),
render_value($resource->getTitle(array('cultureFallback' => true)))) ?>
+
+ <div class="field">
+ <h3><?php echo __('General material designation') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->getMaterialTypes() as $materialType): ?>
+ <li><?php echo $materialType->term ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
+ </div>
- <?php echo render_show(__('Other title information'),
render_value($rad->otherTitleInformation)) ?>
+ <?php echo render_show(__('Parallel title'),
render_value($resource->getAlternateTitle(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Title statements of responsibility'),
render_value($rad->titleStatementOfResponsibility)) ?>
+ <?php echo render_show(__('Other title information'),
render_value($rad->otherTitleInformation)) ?>
- <div class="field">
- <h3><?php echo __('Title notes') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->getNotesByTaxonomy(array('taxonomyId' =>
QubitTaxonomy::RAD_TITLE_NOTE_ID)) as $item): ?>
- <li><?php echo $item->type ?>: <?php echo
$item->getContent(array('cultureFallback' => true)) ?></li>
- <?php endforeach; ?>
- </ul>
+ <?php echo render_show(__('Title statements of responsibility'),
render_value($rad->titleStatementOfResponsibility)) ?>
+
+ <div class="field">
+ <h3><?php echo __('Title notes') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->getNotesByTaxonomy(array('taxonomyId' =>
QubitTaxonomy::RAD_TITLE_NOTE_ID)) as $item): ?>
+ <li><?php echo $item->type ?>: <?php echo
$item->getContent(array('cultureFallback' => true)) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
- <?php echo render_show(__('Level of description'),
render_value($resource->levelOfDescription)) ?>
+ <?php echo render_show(__('Level of description'),
render_value($resource->levelOfDescription)) ?>
- <?php echo render_show_repository(__('Repository'), $resource) ?>
+ <?php echo render_show_repository(__('Repository'), $resource) ?>
- <?php echo render_show(__('Reference code'),
render_value($rad->referenceCode)) ?>
+ <?php echo render_show(__('Reference code'),
render_value($rad->referenceCode)) ?>
-</div> <!-- /.section#titleAndStatementOfResponsibilityArea -->
+ </div> <!-- /.section#titleAndStatementOfResponsibilityArea -->
-<div class="section" id="editionArea">
+ <div class="section" id="editionArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Edition area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'editionArea', 'title' => __('Edit edition area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Edition area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'editionArea', 'title' => __('Edit edition area'))) ?>
- <?php echo render_show(__('Edition statement'),
render_value($resource->getEdition(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Edition statement'),
render_value($resource->getEdition(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Edition statement of responsibility'),
render_value($rad->editionStatementOfResponsibility)) ?>
+ <?php echo render_show(__('Edition statement of responsibility'),
render_value($rad->editionStatementOfResponsibility)) ?>
-</div> <!-- /.section#editionArea -->
+ </div> <!-- /.section#editionArea -->
-<div class="section" id="classOfMaterialSpecificDetailsArea">
+ <div class="section" id="classOfMaterialSpecificDetailsArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Class of material specific details
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' =>
'edit'), array('anchor' => 'classOfMaterialSpecificDetailsArea', 'title' =>
__('Edit class of material specific details area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Class of material specific details
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' =>
'edit'), array('anchor' => 'classOfMaterialSpecificDetailsArea', 'title' =>
__('Edit class of material specific details area'))) ?>
- <?php echo render_show(__('Statement of scale (cartographic)'),
render_value($rad->statementOfScaleCartographic)) ?>
+ <?php echo render_show(__('Statement of scale (cartographic)'),
render_value($rad->statementOfScaleCartographic)) ?>
- <?php echo render_show(__('Statement of projection (cartographic)'),
render_value($rad->statementOfProjection)) ?>
+ <?php echo render_show(__('Statement of projection (cartographic)'),
render_value($rad->statementOfProjection)) ?>
- <?php echo render_show(__('Statement of coordinates (cartographic)'),
render_value($rad->statementOfCoordinates)) ?>
+ <?php echo render_show(__('Statement of coordinates (cartographic)'),
render_value($rad->statementOfCoordinates)) ?>
- <?php echo render_show(__('Statement of scale (architectural)'),
render_value($rad->statementOfScaleArchitectural)) ?>
+ <?php echo render_show(__('Statement of scale (architectural)'),
render_value($rad->statementOfScaleArchitectural)) ?>
- <?php echo render_show(__('Issuing jurisdiction and denomination
(philatelic)'), render_value($rad->issuingJurisdictionAndDenomination)) ?>
+ <?php echo render_show(__('Issuing jurisdiction and denomination
(philatelic)'), render_value($rad->issuingJurisdictionAndDenomination)) ?>
-</div> <!-- /.section#classOfMaterialSpecificDetailsArea -->
+ </div> <!-- /.section#classOfMaterialSpecificDetailsArea -->
-<div class="section" id="datesOfCreationArea">
+ <div class="section" id="datesOfCreationArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Dates of creation area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'datesOfCreationArea', 'title' => __('Edit dates of creation
area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Dates of creation area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'datesOfCreationArea', 'title' => __('Edit dates of creation
area'))) ?>
- <?php echo get_partial('informationobject/dates', array('resource' =>
$resource)) ?>
+ <?php echo get_partial('informationobject/dates', array('resource' =>
$resource)) ?>
-</div> <!-- /.section#datesOfCreationArea -->
+ </div> <!-- /.section#datesOfCreationArea -->
-<div class="section" id="physicalDescriptionArea">
+ <div class="section" id="physicalDescriptionArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Physical description area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'physicalDescriptionArea', 'title' => __('Edit physical
description area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Physical description area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'physicalDescriptionArea', 'title' => __('Edit physical
description area'))) ?>
- <?php echo render_show(__('Physical description'),
render_value($resource->getExtentAndMedium(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Physical description'),
render_value($resource->getExtentAndMedium(array('cultureFallback' => true))))
?>
-</div> <!-- /.section#physicalDescriptionArea -->
+ </div> <!-- /.section#physicalDescriptionArea -->
-<div class="section" id="publishersSeriesArea">
+ <div class="section" id="publishersSeriesArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Publisher\'s series area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'publishersSeriesArea', 'title' => __('Edit publisher\'s
series area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Publisher\'s series area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'publishersSeriesArea', 'title' => __('Edit publisher\'s
series area'))) ?>
- <?php echo render_show(__('Title proper of publisher\'s series'),
render_value($rad->titleProperOfPublishersSeries)) ?>
+ <?php echo render_show(__('Title proper of publisher\'s series'),
render_value($rad->titleProperOfPublishersSeries)) ?>
- <?php echo render_show(__('Parallel titles of publisher\'s series'),
render_value($rad->parallelTitlesOfPublishersSeries)) ?>
+ <?php echo render_show(__('Parallel titles of publisher\'s series'),
render_value($rad->parallelTitlesOfPublishersSeries)) ?>
- <?php echo render_show(__('Other title information of publisher\'s series'),
render_value($rad->otherTitleInformationOfPublishersSeries)) ?>
+ <?php echo render_show(__('Other title information of publisher\'s
series'), render_value($rad->otherTitleInformationOfPublishersSeries)) ?>
- <?php echo render_show(__('Statement of responsibility relating to
publisher\'s series'),
render_value($rad->statementOfResponsibilityRelatingToPublishersSeries)) ?>
+ <?php echo render_show(__('Statement of responsibility relating to
publisher\'s series'),
render_value($rad->statementOfResponsibilityRelatingToPublishersSeries)) ?>
- <?php echo render_show(__('Numbering within publisher\'s series'),
render_value($rad->numberingWithinPublishersSeries)) ?>
+ <?php echo render_show(__('Numbering within publisher\'s series'),
render_value($rad->numberingWithinPublishersSeries)) ?>
- <?php echo render_show(__('Note on publisher\'s series'),
render_value($rad->noteOnPublishersSeries)) ?>
+ <?php echo render_show(__('Note on publisher\'s series'),
render_value($rad->noteOnPublishersSeries)) ?>
-</div> <!-- /.section#publishersSeriesArea -->
+ </div> <!-- /.section#publishersSeriesArea -->
-<div class="section" id="archivalDescriptionArea">
+ <div class="section" id="archivalDescriptionArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Archival description area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'archivalDescriptionArea', 'title' => __('Edit archival
description area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Archival description area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'archivalDescriptionArea', 'title' => __('Edit archival
description area'))) ?>
- <?php echo get_component('informationobject', 'creatorDetail',
array('resource' => $resource)) ?>
+ <?php echo get_component('informationobject', 'creatorDetail',
array('resource' => $resource)) ?>
- <?php echo render_show(__('Custodial history'),
render_value($resource->getArchivalHistory(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Custodial history'),
render_value($resource->getArchivalHistory(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Scope and content'),
render_value($resource->getScopeAndContent(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Scope and content'),
render_value($resource->getScopeAndContent(array('cultureFallback' => true))))
?>
-</div> <!-- /.section#archivalDescriptionArea -->
+ </div> <!-- /.section#archivalDescriptionArea -->
-<div class="section" id="notesArea">
+ <div class="section" id="notesArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Notes area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'notesArea', 'title' => __('Edit notes area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Notes area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'notesArea', 'title' => __('Edit notes area'))) ?>
- <?php echo render_show(__('Physical condition'),
render_value($resource->getPhysicalCharacteristics(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Physical condition'),
render_value($resource->getPhysicalCharacteristics(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Immediate source of acquisition'),
render_value($resource->getAcquisition(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Immediate source of acquisition'),
render_value($resource->getAcquisition(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Arrangement'),
render_value($resource->getArrangement(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Arrangement'),
render_value($resource->getArrangement(array('cultureFallback' => true)))) ?>
- <div class="field">
- <h3><?php echo __('Language of material') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->language as $code): ?>
- <li><?php echo format_language($code) ?></li>
- <?php endforeach; ?>
- </ul>
+ <div class="field">
+ <h3><?php echo __('Language of material') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->language as $code): ?>
+ <li><?php echo format_language($code) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
- <div class="field">
- <h3><?php echo __('Script of material') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->script as $code): ?>
- <li><?php echo format_script($code) ?></li>
- <?php endforeach; ?>
- </ul>
+ <div class="field">
+ <h3><?php echo __('Script of material') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->script as $code): ?>
+ <li><?php echo format_script($code) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
- <?php foreach ($resource->getNotesByType(array('noteTypeId' =>
QubitTerm::LANGUAGE_NOTE_ID)) as $item): ?>
- <?php echo render_show(__('Language and script note'),
render_value($item->getContent(array('cultureFallback' => true)))) ?>
- <?php endforeach; ?>
+ <?php foreach ($resource->getNotesByType(array('noteTypeId' =>
QubitTerm::LANGUAGE_NOTE_ID)) as $item): ?>
+ <?php echo render_show(__('Language and script note'),
render_value($item->getContent(array('cultureFallback' => true)))) ?>
+ <?php endforeach; ?>
- <?php echo render_show(__('Location of originals'),
render_value($resource->getLocationOfOriginals(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Location of originals'),
render_value($resource->getLocationOfOriginals(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Availability of other formats'),
render_value($resource->getLocationOfCopies(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Availability of other formats'),
render_value($resource->getLocationOfCopies(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Restrictions on access'),
render_value($resource->getAccessConditions(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Restrictions on access'),
render_value($resource->getAccessConditions(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Terms governing use, reproduction, and
publication'),
render_value($resource->getReproductionConditions(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Terms governing use, reproduction, and
publication'),
render_value($resource->getReproductionConditions(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Finding aids'),
render_value($resource->getFindingAids(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Finding aids'),
render_value($resource->getFindingAids(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Associated / related material'),
render_value($resource->getRelatedUnitsOfDescription(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Associated / related material'),
render_value($resource->getRelatedUnitsOfDescription(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Accruals'),
render_value($resource->getAccruals(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Accruals'),
render_value($resource->getAccruals(array('cultureFallback' => true)))) ?>
- <div class="field">
- <h3><?php echo __('Other notes') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->getNotesByTaxonomy(array('taxonomyId' =>
QubitTaxonomy::RAD_NOTE_ID)) as $item): ?>
- <li><?php echo $item->type ?>: <?php echo
render_value($item->getContent(array('cultureFallback' => true))) ?></li>
- <?php endforeach; ?>
- </ul>
+ <div class="field">
+ <h3><?php echo __('Other notes') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->getNotesByTaxonomy(array('taxonomyId' =>
QubitTaxonomy::RAD_NOTE_ID)) as $item): ?>
+ <li><?php echo $item->type ?>: <?php echo
render_value($item->getContent(array('cultureFallback' => true))) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
-</div> <!-- /.section#notesArea -->
+ </div> <!-- /.section#notesArea -->
-<div class="section" id="standardNumberArea">
+ <div class="section" id="standardNumberArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Standard number area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'standardNumberArea', 'title' => __('Edit standard number
area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Standard number area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'standardNumberArea', 'title' => __('Edit standard number
area'))) ?>
- <?php echo render_show(__('Standard number'),
render_value($rad->standardNumber)) ?>
+ <?php echo render_show(__('Standard number'),
render_value($rad->standardNumber)) ?>
-</div> <!-- /.section#standardNumberArea -->
+ </div> <!-- /.section#standardNumberArea -->
-<div class="section" id="accessPointsArea">
+ <div class="section" id="accessPointsArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Access points').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'accessPointsArea', 'title' => __('Edit access points'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Access points').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'accessPointsArea', 'title' => __('Edit access points'))) ?>
- <?php echo get_partial('informationobject/subjectAccessPoints',
array('resource' => $resource)) ?>
+ <?php echo get_partial('informationobject/subjectAccessPoints',
array('resource' => $resource)) ?>
- <?php echo get_partial('informationobject/placeAccessPoints',
array('resource' => $resource)) ?>
+ <?php echo get_partial('informationobject/placeAccessPoints',
array('resource' => $resource)) ?>
- <?php echo get_partial('informationobject/nameAccessPoints',
array('resource' => $resource)) ?>
+ <?php echo get_partial('informationobject/nameAccessPoints',
array('resource' => $resource)) ?>
-</div> <!-- /.section -->
+ </div> <!-- /.section -->
-<div class="section" id="descriptionControlArea">
+ <div class="section" id="descriptionControlArea">
- <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Control area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'descriptionControlArea', 'title' => __('Edit control area'))) ?>
+ <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user,
'informationObject'), '<h2>'.__('Control area').'</h2>', array($resource,
'module' => 'informationobject', 'action' => 'edit'), array('anchor' =>
'descriptionControlArea', 'title' => __('Edit control area'))) ?>
- <?php echo render_show(__('Description record identifier'),
render_value($resource->descriptionIdentifier)) ?>
+ <?php echo render_show(__('Description record identifier'),
render_value($resource->descriptionIdentifier)) ?>
- <?php echo render_show(__('Institution identifier'),
render_value($resource->getInstitutionResponsibleIdentifier(array('cultureFallback'
=> true)))) ?>
+ <?php echo render_show(__('Institution identifier'),
render_value($resource->getInstitutionResponsibleIdentifier(array('cultureFallback'
=> true)))) ?>
- <?php echo render_show(__('Rules or conventions'),
render_value($resource->getRules(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Rules or conventions'),
render_value($resource->getRules(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Status'),
render_value($resource->descriptionStatus)) ?>
+ <?php echo render_show(__('Status'),
render_value($resource->descriptionStatus)) ?>
- <?php echo render_show(__('Level of detail'),
render_value($resource->descriptionDetail)) ?>
+ <?php echo render_show(__('Level of detail'),
render_value($resource->descriptionDetail)) ?>
- <?php echo render_show(__('Dates of creation, revision and deletion'),
render_value($resource->getRevisionHistory(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Dates of creation, revision and deletion'),
render_value($resource->getRevisionHistory(array('cultureFallback' => true))))
?>
- <div class="field">
- <h3><?php echo __('Language of description') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->languageOfDescription as $code): ?>
- <li><?php echo format_language($code) ?></li>
- <?php endforeach; ?>
- </ul>
+ <div class="field">
+ <h3><?php echo __('Language of description') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->languageOfDescription as $code): ?>
+ <li><?php echo format_language($code) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
- <div class="field">
- <h3><?php echo __('Script of description') ?></h3>
- <div>
- <ul>
- <?php foreach ($resource->scriptOfDescription as $code): ?>
- <li><?php echo format_script($code) ?></li>
- <?php endforeach; ?>
- </ul>
+ <div class="field">
+ <h3><?php echo __('Script of description') ?></h3>
+ <div>
+ <ul>
+ <?php foreach ($resource->scriptOfDescription as $code): ?>
+ <li><?php echo format_script($code) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ </div>
</div>
- </div>
- <?php echo render_show(__('Sources'),
render_value($resource->getSources(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Sources'),
render_value($resource->getSources(array('cultureFallback' => true)))) ?>
+
+ </div> <!-- /.section -->
-</div> <!-- /.section -->
+ <div class="section" id="rightsArea">
-<div class="section" id="rightsArea">
+ <?php echo link_to_if(QubitAcl::check($resource, 'update'),
'<h2>'.__('Rights area').'</h2>', array($resource, 'module' =>
'informationobject', 'action' => 'edit'), array('anchor' => 'rightsArea',
'title' => __('Edit rights area'))) ?>
- <?php echo link_to_if(QubitAcl::check($resource, 'update'),
'<h2>'.__('Rights area').'</h2>', array($resource, 'module' =>
'informationobject', 'action' => 'edit'), array('anchor' => 'rightsArea',
'title' => __('Edit rights area'))) ?>
+ <?php echo get_component('right', 'relatedRights', array('resource' =>
$resource)) ?>
- <?php echo get_component('right', 'relatedRights', array('resource' =>
$resource)) ?>
+ </div> <!-- /.section#rightsArea -->
-</div> <!-- /.section#rightsArea -->
+ <?php if (0 < count($resource->digitalObjects)): ?>
-<?php if (0 < count($resource->digitalObjects)): ?>
+ <?php echo get_partial('digitalobject/metadata', array('resource' =>
$resource->digitalObjects[0])) ?>
- <?php echo get_partial('digitalobject/metadata', array('resource' =>
$resource->digitalObjects[0])) ?>
+ <?php echo get_partial('digitalobject/rights', array('resource' =>
$resource->digitalObjects[0])) ?>
- <?php echo get_partial('digitalobject/rights', array('resource' =>
$resource->digitalObjects[0])) ?>
+ <?php endif; ?>
-<?php endif; ?>
+ <div class="section" id="accessionArea">
-<div class="section" id="accessionArea">
+ <h2><?php echo __('Accession area') ?></h2>
- <h2><?php echo __('Accession area') ?></h2>
+ <?php echo get_component('informationobject', 'accessions',
array('resource' => $resource)) ?>
- <?php echo get_component('informationobject', 'accessions', array('resource'
=> $resource)) ?>
+ </div> <!-- /.section#accessionArea -->
-</div> <!-- /.section#accessionArea -->
+ <?php echo get_partial('informationobject/actions', array('resource' =>
$resource)) ?>
-<?php echo get_partial('informationobject/actions', array('resource' =>
$resource)) ?>
+</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.com/group/qubit-commits?hl=en.