Author: sevein
Date: Fri Apr 6 08:27:53 2012
New Revision: 11411
Log:
More progress in the RAD template
Modified:
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
branches/2.0/js/dominion.js
branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
branches/2.0/plugins/qtDominionPlugin/css/less/main.css
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Modified:
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
==============================================================================
---
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
Fri Apr 6 07:50:54 2012 (r11410)
+++
branches/2.0/apps/qubit/modules/informationobject/templates/_contextMenu.php
Fri Apr 6 08:27:53 2012 (r11411)
@@ -1,200 +1,199 @@
- <div id="navigation">
+<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; ?>
-
- <!--
- <div class="row">
+ <?php if (sfConfig::get('app_multi_repository')): ?>
+ <div id="left-column" class="row">
<div class="span5">
- <div id="headline2" class="mobileonly">
- <h1>Douglas Coupland <strong>File</strong></h1>
+ <div class="institution maxi">
+ <h2 class="filltext">
+ <?php echo
render_show_repository(sfConfig::get('app_ui_label_repository'), $resource) ?>
+ </h2>
</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>
- -->
+ <?php endif; ?>
- <div class="row tab-content">
+ <!--
+ <div class="row">
+ <div class="span5">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#treeview"
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>
+ -->
- <h2 class="mobileonly widebtn btn-huge indent" data-toggle="collapse"
data-target="#holdings">Holdings</h2>
+ <div class="row tab-content">
- <?php echo get_component('informationobject', 'treeView') ?>
+ <h2 class="mobileonly widebtn btn-huge indent" data-toggle="collapse"
data-target="#treeview">Holdings</h2>
- <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>
+ <?php echo get_component('informationobject', 'treeView') ?>
- <h2 class="desktoponly">Subjects</h2>
+ <!--
+ <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>
- <div class="scrollable" id="subjects">
- <ul>
- <li class="active"><a href="#">All</a></li>
+ <h2 class="desktoponly">Subjects</h2>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <div class="scrollable" id="subjects">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <li><a href="#">Agriculture<span>223</span></a></li>
+ <li><a href="#">Buildings<span>3</span></a></li>
- <li><a href="#">Arts and Culture<span>54</span></a></li>
+ <li><a href="#">Agriculture<span>223</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
- </ul>
- </div>
- </div><!-- /.section -->
+ <li><a href="#">Arts and Culture<span>54</span></a></li>
- <div class="section">
- <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#mediatypes">Media Types</h2>
+ <li><a href="#">Buildings<span>3</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
- <h2 class="desktoponly">Media Types</h2>
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#mediatypes">Media Types</h2>
- <div class="scrollable" id="mediatypes">
- <ul>
- <li class="active"><a href="#">All Results</a></li>
+ <h2 class="desktoponly">Media Types</h2>
- <li><a href="#">Any media type<span>1,122</span></a></li>
+ <div class="scrollable" id="mediatypes">
+ <ul>
+ <li class="active"><a href="#">All Results</a></li>
- <li><a href="#">Images<span>1,001</span></a></li>
+ <li><a href="#">Any media type<span>1,122</span></a></li>
- <li><a href="#">Videos<span>100</span></a></li>
+ <li><a href="#">Images<span>1,001</span></a></li>
- <li><a href="#">Audio<span>44</span></a></li>
+ <li><a href="#">Videos<span>100</span></a></li>
- <li><a href="#">Texts<span>1</span></a></li>
+ <li><a href="#">Audio<span>44</span></a></li>
- <li><a href="#">Buildings<span>3</span></a></li>
- </ul>
- </div>
- </div><!-- /.section -->
+ <li><a href="#">Texts<span>1</span></a></li>
- <div class="section">
- <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#dates">Creation Date</h2>
+ <li><a href="#">Buildings<span>3</span></a></li>
+ </ul>
+ </div>
+ </div><!-- /.section -->
- <h2 class="desktoponly">Creation Date</h2>
+ <div class="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#dates">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 -->
+ <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="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#places">Places</h2>
- <div class="scrollable" id="places">
- <ul>
- <li class="active"><a href="#">All</a></li>
+ <h2 class="desktoponly">Places</h2>
- <li><a href="#">Comox<span>1,122</span></a></li>
+ <div class="scrollable" id="places">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
- <li><a href="#">Charleston<span>1,001</span></a></li>
+ <li><a href="#">Comox<span>1,122</span></a></li>
- <li><a href="#">British Columbia<span>100</span></a></li>
+ <li><a href="#">Charleston<span>1,001</span></a></li>
- <li><a href="#">Seligenstadt<span>44</span></a></li>
+ <li><a href="#">British Columbia<span>100</span></a></li>
- <li><a href="#">Frankfurt<span>1</span></a></li>
+ <li><a href="#">Seligenstadt<span>44</span></a></li>
- <li><a href="#">Bad Homburg vor der Hohe<span>3</span></a></li>
- </ul>
- </div>
- </div><!-- /.section -->
+ <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="section">
+ <h2 class="mobileonly widebtn gray btn-huge" data-toggle="collapse"
data-target="#names">Names</h2>
- <div class="scrollable" id="names">
- <ul>
- <li class="active"><a href="#">All</a></li>
+ <h2 class="desktoponly">Names</h2>
- <li><a href="#">James T. Kirk<span>1,122</span></a></li>
+ <div class="scrollable" id="names">
+ <ul>
+ <li class="active"><a href="#">All</a></li>
- <li><a href="#">Karla<span>1,001</span></a></li>
+ <li><a href="#">James T. Kirk<span>1,122</span></a></li>
- <li><a href="#">Frasier<span>100</span></a></li>
- </ul>
- </div>
- </div><!-- /.section -->
- </div>
+ <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>
+
+ <!--
<div class="row">
<?php echo get_component('informationobject', 'creator',
array('resource' => $resource)) ?>
@@ -218,3 +217,4 @@
</div>
</div>
+ -->
Modified: branches/2.0/js/dominion.js
==============================================================================
--- branches/2.0/js/dominion.js Fri Apr 6 07:50:54 2012 (r11410)
+++ branches/2.0/js/dominion.js Fri Apr 6 08:27:53 2012 (r11411)
@@ -202,7 +202,7 @@
$(function ()
{
- $('body').on('focus', '#header-search input[name="query"]', function(e)
+ $('body').on('focus.qubit', '#header-search input[name="query"]',
function(e)
{
var $this = $(this);
@@ -216,4 +216,18 @@
});
});
+ /****
+ ****
+ **** Treeview plugin
+ ****
+ ****/
+
+ $(function ()
+ {
+ $('body').on('click', '#treeview li a', function(e)
+ {
+ console.log("a");
+ });
+ });
+
}(window.jQuery);
Modified:
branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
Fri Apr 6 07:50:54 2012 (r11410)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/_archivaldescription.less
Fri Apr 6 08:27:53 2012 (r11411)
@@ -1,26 +1,48 @@
-#navigation {
+body.sfRadPlugin {
- position:fixed; top:0; width:250px;
- height:100%; overflow-y: hidden; overflow-x:hidden;
- z-index: 100;
- // clip: rect(auto, 220px, auto, auto);
+ #navigation {
- #headline2 { .hide; }
+ position: fixed;
+ top: 0;
+ width: 250px;
+ height: 100%;
+ overflow-y: hidden;
+ overflow-x: hidden;
+ z-index: 100;
+ // clip: rect(auto, 220px, auto, auto);
- #facets .scrollable {
- max-height: none !important;
- }
+ .institution a {
- .nav-tabs {
- margin-bottom: 0 !important;
+ font-size: 26px;
+ height: 134px;
+
+ }
+
+ #facets .scrollable {
+
+ max-height: none !important;
- .detailed-view {
- margin-left:75px;
- margin-top:10px;
}
+
+ .nav-tabs {
+
+ margin-bottom: 0 !important;
+
+ .detailed-view {
+
+ margin-left:75px;
+ margin-top:10px;
+
+ }
+
+ }
+
}
}
+
+
+
.expandednav {
overflow-y: auto !important;
width: 400px !important;
@@ -305,7 +327,7 @@
margin:5px !important;
}
- .tab-content h2, #headline2 { display:block !important; }
+ .tab-content h2 { display:block !important; }
}
Modified: branches/2.0/plugins/qtDominionPlugin/css/less/main.css
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/main.css Fri Apr 6
07:50:54 2012 (r11410)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/main.css Fri Apr 6
08:27:53 2012 (r11411)
@@ -984,9 +984,9 @@
#homepage p,#homepage li{margin-bottom:5px;margin-right:10px;}
#homepage #charts,#homepage #virtualexhibit{border-right:1px solid
#ffffff;margin-right:-1px;}
#homepage #charts,#homepage #virtualexhibit,#homepage #about{height:300px;}
-@media (max-width:768px){.homepage-wrapper{margin-top:10px !important;}
#homepagehero{background:none;padding-top:0;}#homepagehero
#intro{display:none;} #homepagehero #mainnav{margin-left:30px;}
#homepage{display:none;}}#navigation{position:fixed;top:0;width:250px;height:100%;overflow-y:hidden;overflow-x:hidden;z-index:100;}#navigation
#headline2{display:none;}
-#navigation #facets .scrollable{max-height:none !important;}
-#navigation .nav-tabs{margin-bottom:0 !important;}#navigation .nav-tabs
.detailed-view{margin-left:75px;margin-top:10px;}
+@media (max-width:768px){.homepage-wrapper{margin-top:10px !important;}
#homepagehero{background:none;padding-top:0;}#homepagehero
#intro{display:none;} #homepagehero #mainnav{margin-left:30px;}
#homepage{display:none;}}body.sfRadPlugin
#navigation{position:fixed;top:0;width:250px;height:100%;overflow-y:hidden;overflow-x:hidden;z-index:100;}body.sfRadPlugin
#navigation .institution a{font-size:26px;height:134px;}
+body.sfRadPlugin #navigation #facets .scrollable{max-height:none !important;}
+body.sfRadPlugin #navigation .nav-tabs{margin-bottom:0
!important;}body.sfRadPlugin #navigation .nav-tabs
.detailed-view{margin-left:75px;margin-top:10px;}
.expandednav{overflow-y:auto !important;width:400px
!important;background-image:url(../../images/background.png);border-right:2px
solid white;-webkit-box-shadow:4px 4px 10px #6d6d6d;-moz-box-shadow:4px 4px
10px #6d6d6d;box-shadow:4px 4px 10px #6d6d6d;}
.btn:hover{color:#000000 !important;}.btn:hover
i{background-image:url(../../js/bootstrap/img/glyphicons-halflings.png);}
.tab-content h2{display:none;}
@@ -1025,7 +1025,7 @@
#right-column h3{color:#ffffff;margin-top:15px;font-style:oblique;}
#right-column p{color:#ffffff;font-size:smaller;}
#right-column div{margin-bottom:10px;}
-@media (max-width:768px){.nav-tabs,#left-column #facets,#left-column
.institution,.breadcrumb,.map,#searchfocus,#export,#mediaactions{display:none;}
.institutionX{width:100px;height:100px;}.institutionX
h2{font-size:14px;line-height:110%;}.institutionX h2
a{height:95px;width:95px;padding:3px;} .img 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;} #treeview{margin:auto 10px !important;white-space:normal;}
.indent{margin:auto 10px !important;} #arrow-right,#arrow-left{margin:5px
!important;} .tab-content h2,#headline2{display:block !important;}}@media
(min-width:768px) and (max-width:980px){#navigation{width:190px;} #mediadisplay
#image img{max-width:80%;}}@media
(min-width:1200px){#navigation{width:310px;}}#new-import,#past-imports,#import-progress{margin:20px;}
+@media (max-width:768px){.nav-tabs,#left-column #facets,#left-column
.institution,.breadcrumb,.map,#searchfocus,#export,#mediaactions{display:none;}
.institutionX{width:100px;height:100px;}.institutionX
h2{font-size:14px;line-height:110%;}.institutionX h2
a{height:95px;width:95px;padding:3px;} .img 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;} #treeview{margin:auto 10px !important;white-space:normal;}
.indent{margin:auto 10px !important;} #arrow-right,#arrow-left{margin:5px
!important;} .tab-content h2{display:block !important;}}@media
(min-width:768px) and (max-width:980px){#navigation{width:190px;} #mediadisplay
#image img{max-width:80%;}}@media
(min-width:1200px){#navigation{width:310px;}}#new-import,#past-imports,#import-progress{margin:20px;}
#new-importx{padding:8px 35px 8px
14px;margin-bottom:18px;background-color:#grayLight;border:1px solid
#6d6d6d;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
#import-progress .row
.span4{width:200px;float:left;margin-left:20px;background-color:#3b3b3b;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;text-shadow:none;}#import-progress
.row .span4 ul{margin-top:0 !important;}#import-progress .row .span4 ul
li{color:#ffffff;}
#import-progress .row .span7{width:350px;float:left;margin-left:20px;}
Modified:
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
---
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Fri Apr 6 07:50:54 2012 (r11410)
+++
branches/2.0/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Fri Apr 6 08:27:53 2012 (r11411)
@@ -2,6 +2,17 @@
<div id="main-column" class="span9 offset3">
+ <div id="headline">
+ <h1><?php echo render_title($rad) ?> <strong>Hola</strong></h1>
+ </div>
+
+ <ul class="breadcrumb">
+ <li><a href="#">Vancouver Martime Archive</a></li>
+ <li><a href="#">Douglas Coupland File</a></li>
+ </ul>
+
+ <!--
+
<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
<h1><?php echo __('View archival description') ?></h1>
@@ -29,269 +40,306 @@
<?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'))) ?>
+ <div class="row">
- <?php echo render_show(__('Title proper'),
render_value($resource->getTitle(array('cultureFallback' => true)))) ?>
+ <div class="span7" id="content">
- <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>
+ <div class="section" id="titleAndStatementOfResponsibilityArea">
- <?php echo render_show(__('Parallel title'),
render_value($resource->getAlternateTitle(array('cultureFallback' => true)))) ?>
+ <?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(__('Other title information'),
render_value($rad->otherTitleInformation)) ?>
+ <?php echo render_show(__('Title proper'),
render_value($resource->getTitle(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Title statements of responsibility'),
render_value($rad->titleStatementOfResponsibility)) ?>
+ <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>
- <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>
+ <?php echo render_show(__('Parallel title'),
render_value($resource->getAlternateTitle(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Level of description'),
render_value($resource->levelOfDescription)) ?>
+ <?php echo render_show(__('Other title information'),
render_value($rad->otherTitleInformation)) ?>
- <?php echo render_show_repository(__('Repository'), $resource) ?>
+ <?php echo render_show(__('Title statements of responsibility'),
render_value($rad->titleStatementOfResponsibility)) ?>
- <?php echo render_show(__('Reference code'),
render_value($rad->referenceCode)) ?>
+ <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> <!-- /.section#titleAndStatementOfResponsibilityArea -->
+ <?php echo render_show(__('Level of description'),
render_value($resource->levelOfDescription)) ?>
- <div class="section" id="editionArea">
+ <?php echo render_show_repository(__('Repository'), $resource) ?>
- <?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(__('Reference code'),
render_value($rad->referenceCode)) ?>
- <?php echo render_show(__('Edition statement'),
render_value($resource->getEdition(array('cultureFallback' => true)))) ?>
+ </div> <!-- /.section#titleAndStatementOfResponsibilityArea -->
- <?php echo render_show(__('Edition statement of responsibility'),
render_value($rad->editionStatementOfResponsibility)) ?>
+ <div class="section" id="editionArea">
- </div> <!-- /.section#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'))) ?>
- <div class="section" id="classOfMaterialSpecificDetailsArea">
+ <?php echo render_show(__('Edition statement'),
render_value($resource->getEdition(array('cultureFallback' => true)))) ?>
- <?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(__('Edition statement of responsibility'),
render_value($rad->editionStatementOfResponsibility)) ?>
- <?php echo render_show(__('Statement of scale (cartographic)'),
render_value($rad->statementOfScaleCartographic)) ?>
+ </div> <!-- /.section#editionArea -->
- <?php echo render_show(__('Statement of projection (cartographic)'),
render_value($rad->statementOfProjection)) ?>
+ <div class="section" id="classOfMaterialSpecificDetailsArea">
- <?php echo render_show(__('Statement of coordinates (cartographic)'),
render_value($rad->statementOfCoordinates)) ?>
+ <?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 (architectural)'),
render_value($rad->statementOfScaleArchitectural)) ?>
+ <?php echo render_show(__('Statement of scale (cartographic)'),
render_value($rad->statementOfScaleCartographic)) ?>
- <?php echo render_show(__('Issuing jurisdiction and denomination
(philatelic)'), render_value($rad->issuingJurisdictionAndDenomination)) ?>
+ <?php echo render_show(__('Statement of projection (cartographic)'),
render_value($rad->statementOfProjection)) ?>
- </div> <!-- /.section#classOfMaterialSpecificDetailsArea -->
+ <?php echo render_show(__('Statement of coordinates (cartographic)'),
render_value($rad->statementOfCoordinates)) ?>
- <div class="section" id="datesOfCreationArea">
+ <?php echo render_show(__('Statement of scale (architectural)'),
render_value($rad->statementOfScaleArchitectural)) ?>
- <?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 render_show(__('Issuing jurisdiction and denomination
(philatelic)'), render_value($rad->issuingJurisdictionAndDenomination)) ?>
- <?php echo get_partial('informationobject/dates', array('resource' =>
$resource)) ?>
+ </div> <!-- /.section#classOfMaterialSpecificDetailsArea -->
- </div> <!-- /.section#datesOfCreationArea -->
+ <div class="section" id="datesOfCreationArea">
- <div class="section" id="physicalDescriptionArea">
+ <?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>'.__('Physical description area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'physicalDescriptionArea', 'title' => __('Edit physical
description area'))) ?>
+ <?php echo get_partial('informationobject/dates', array('resource' =>
$resource)) ?>
- <?php echo render_show(__('Physical description'),
render_value($resource->getExtentAndMedium(array('cultureFallback' => true))))
?>
+ </div> <!-- /.section#datesOfCreationArea -->
- </div> <!-- /.section#physicalDescriptionArea -->
+ <div class="section" id="physicalDescriptionArea">
- <div class="section" id="publishersSeriesArea">
+ <?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>'.__('Publisher\'s series area').'</h2>',
array($resource, 'module' => 'informationobject', 'action' => 'edit'),
array('anchor' => 'publishersSeriesArea', 'title' => __('Edit publisher\'s
series area'))) ?>
+ <?php echo render_show(__('Physical description'),
render_value($resource->getExtentAndMedium(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Title proper of publisher\'s series'),
render_value($rad->titleProperOfPublishersSeries)) ?>
+ </div> <!-- /.section#physicalDescriptionArea -->
- <?php echo render_show(__('Parallel titles of publisher\'s series'),
render_value($rad->parallelTitlesOfPublishersSeries)) ?>
+ <div class="section" id="publishersSeriesArea">
- <?php echo render_show(__('Other title information of publisher\'s
series'), render_value($rad->otherTitleInformationOfPublishersSeries)) ?>
+ <?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(__('Statement of responsibility relating to
publisher\'s series'),
render_value($rad->statementOfResponsibilityRelatingToPublishersSeries)) ?>
+ <?php echo render_show(__('Title proper of publisher\'s series'),
render_value($rad->titleProperOfPublishersSeries)) ?>
- <?php echo render_show(__('Numbering within publisher\'s series'),
render_value($rad->numberingWithinPublishersSeries)) ?>
+ <?php echo render_show(__('Parallel titles of publisher\'s series'),
render_value($rad->parallelTitlesOfPublishersSeries)) ?>
- <?php echo render_show(__('Note on publisher\'s series'),
render_value($rad->noteOnPublishersSeries)) ?>
+ <?php echo render_show(__('Other title information of publisher\'s
series'), render_value($rad->otherTitleInformationOfPublishersSeries)) ?>
- </div> <!-- /.section#publishersSeriesArea -->
+ <?php echo render_show(__('Statement of responsibility relating to
publisher\'s series'),
render_value($rad->statementOfResponsibilityRelatingToPublishersSeries)) ?>
- <div class="section" id="archivalDescriptionArea">
+ <?php echo render_show(__('Numbering within publisher\'s series'),
render_value($rad->numberingWithinPublishersSeries)) ?>
- <?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 render_show(__('Note on publisher\'s series'),
render_value($rad->noteOnPublishersSeries)) ?>
- <?php echo get_component('informationobject', 'creatorDetail',
array('resource' => $resource)) ?>
+ </div> <!-- /.section#publishersSeriesArea -->
- <?php echo render_show(__('Custodial history'),
render_value($resource->getArchivalHistory(array('cultureFallback' => true))))
?>
+ <div class="section" id="archivalDescriptionArea">
- <?php echo render_show(__('Scope and content'),
render_value($resource->getScopeAndContent(array('cultureFallback' => true))))
?>
+ <?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'))) ?>
- </div> <!-- /.section#archivalDescriptionArea -->
+ <?php echo get_component('informationobject', 'creatorDetail',
array('resource' => $resource)) ?>
- <div class="section" id="notesArea">
+ <?php echo render_show(__('Custodial history'),
render_value($resource->getArchivalHistory(array('cultureFallback' => true))))
?>
- <?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(__('Scope and content'),
render_value($resource->getScopeAndContent(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Physical condition'),
render_value($resource->getPhysicalCharacteristics(array('cultureFallback' =>
true)))) ?>
+ </div> <!-- /.section#archivalDescriptionArea -->
- <?php echo render_show(__('Immediate source of acquisition'),
render_value($resource->getAcquisition(array('cultureFallback' => true)))) ?>
+ <div class="section" id="notesArea">
- <?php echo render_show(__('Arrangement'),
render_value($resource->getArrangement(array('cultureFallback' => true)))) ?>
+ <?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'))) ?>
- <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>
+ <?php echo render_show(__('Physical condition'),
render_value($resource->getPhysicalCharacteristics(array('cultureFallback' =>
true)))) ?>
- <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>
+ <?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 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; ?>
+ <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>
- <?php echo render_show(__('Location of originals'),
render_value($resource->getLocationOfOriginals(array('cultureFallback' =>
true)))) ?>
+ <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>
- <?php echo render_show(__('Availability of other formats'),
render_value($resource->getLocationOfCopies(array('cultureFallback' => true))))
?>
+ <?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(__('Restrictions on access'),
render_value($resource->getAccessConditions(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Location of originals'),
render_value($resource->getLocationOfOriginals(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Terms governing use, reproduction, and
publication'),
render_value($resource->getReproductionConditions(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Availability of other formats'),
render_value($resource->getLocationOfCopies(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Finding aids'),
render_value($resource->getFindingAids(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Restrictions on access'),
render_value($resource->getAccessConditions(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Associated / related material'),
render_value($resource->getRelatedUnitsOfDescription(array('cultureFallback' =>
true)))) ?>
+ <?php echo render_show(__('Terms governing use, reproduction, and
publication'),
render_value($resource->getReproductionConditions(array('cultureFallback' =>
true)))) ?>
- <?php echo render_show(__('Accruals'),
render_value($resource->getAccruals(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Finding aids'),
render_value($resource->getFindingAids(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>
- </div>
+ <?php echo render_show(__('Associated / related material'),
render_value($resource->getRelatedUnitsOfDescription(array('cultureFallback' =>
true)))) ?>
- </div> <!-- /.section#notesArea -->
+ <?php echo render_show(__('Accruals'),
render_value($resource->getAccruals(array('cultureFallback' => true)))) ?>
- <div class="section" id="standardNumberArea">
+ <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>
- <?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'))) ?>
+ </div> <!-- /.section#notesArea -->
- <?php echo render_show(__('Standard number'),
render_value($rad->standardNumber)) ?>
+ <div class="section" id="standardNumberArea">
- </div> <!-- /.section#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'))) ?>
- <div class="section" id="accessPointsArea">
+ <?php echo render_show(__('Standard number'),
render_value($rad->standardNumber)) ?>
- <?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'))) ?>
+ </div> <!-- /.section#standardNumberArea -->
- <?php echo get_partial('informationobject/subjectAccessPoints',
array('resource' => $resource)) ?>
+ <div class="section" id="accessPointsArea">
- <?php echo get_partial('informationobject/placeAccessPoints',
array('resource' => $resource)) ?>
+ <?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/nameAccessPoints',
array('resource' => $resource)) ?>
+ <?php echo get_partial('informationobject/subjectAccessPoints',
array('resource' => $resource)) ?>
- </div> <!-- /.section -->
+ <?php echo get_partial('informationobject/placeAccessPoints',
array('resource' => $resource)) ?>
- <div class="section" id="descriptionControlArea">
+ <?php echo get_partial('informationobject/nameAccessPoints',
array('resource' => $resource)) ?>
- <?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'))) ?>
+ </div> <!-- /.section -->
- <?php echo render_show(__('Description record identifier'),
render_value($resource->descriptionIdentifier)) ?>
+ <div class="section" id="descriptionControlArea">
- <?php echo render_show(__('Institution identifier'),
render_value($resource->getInstitutionResponsibleIdentifier(array('cultureFallback'
=> true)))) ?>
+ <?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(__('Rules or conventions'),
render_value($resource->getRules(array('cultureFallback' => true)))) ?>
+ <?php echo render_show(__('Description record identifier'),
render_value($resource->descriptionIdentifier)) ?>
- <?php echo render_show(__('Status'),
render_value($resource->descriptionStatus)) ?>
+ <?php echo render_show(__('Institution identifier'),
render_value($resource->getInstitutionResponsibleIdentifier(array('cultureFallback'
=> true)))) ?>
- <?php echo render_show(__('Level of detail'),
render_value($resource->descriptionDetail)) ?>
+ <?php echo render_show(__('Rules or conventions'),
render_value($resource->getRules(array('cultureFallback' => true)))) ?>
- <?php echo render_show(__('Dates of creation, revision and deletion'),
render_value($resource->getRevisionHistory(array('cultureFallback' => true))))
?>
+ <?php echo render_show(__('Status'),
render_value($resource->descriptionStatus)) ?>
- <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>
+ <?php echo render_show(__('Level of detail'),
render_value($resource->descriptionDetail)) ?>
- <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>
+ <?php echo render_show(__('Dates of creation, revision and deletion'),
render_value($resource->getRevisionHistory(array('cultureFallback' => true))))
?>
- <?php echo render_show(__('Sources'),
render_value($resource->getSources(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>
+ </div>
- </div> <!-- /.section -->
+ <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 class="section" id="rightsArea">
+ <?php echo render_show(__('Sources'),
render_value($resource->getSources(array('cultureFallback' => true)))) ?>
- <?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'))) ?>
+ </div> <!-- /.section -->
- <?php echo get_component('right', 'relatedRights', array('resource' =>
$resource)) ?>
+ <div class="section" id="rightsArea">
- </div> <!-- /.section#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 if (0 < count($resource->digitalObjects)): ?>
+ <?php echo get_component('right', 'relatedRights', array('resource' =>
$resource)) ?>
- <?php echo get_partial('digitalobject/metadata', array('resource' =>
$resource->digitalObjects[0])) ?>
+ </div> <!-- /.section#rightsArea -->
- <?php echo get_partial('digitalobject/rights', array('resource' =>
$resource->digitalObjects[0])) ?>
+ <?php if (0 < count($resource->digitalObjects)): ?>
- <?php endif; ?>
+ <?php echo get_partial('digitalobject/metadata', array('resource' =>
$resource->digitalObjects[0])) ?>
+
+ <?php echo get_partial('digitalobject/rights', array('resource' =>
$resource->digitalObjects[0])) ?>
- <div class="section" id="accessionArea">
+ <?php endif; ?>
- <h2><?php echo __('Accession area') ?></h2>
+ <div class="section" id="accessionArea">
- <?php echo get_component('informationobject', 'accessions',
array('resource' => $resource)) ?>
+ <h2><?php echo __('Accession area') ?></h2>
- </div> <!-- /.section#accessionArea -->
+ <?php echo get_component('informationobject', 'accessions',
array('resource' => $resource)) ?>
+
+ </div> <!-- /.section#accessionArea -->
+
+ <?php echo get_partial('informationobject/actions', array('resource' =>
$resource)) ?>
+
+ </div>
+
+ <div class="span2" id="right-column">
+
+ <h3>How to access this content?</h3>
+ <div><a href="#">Contact the archivist at Vancouver Maritime Museum
Library</a></div>
+ <div><a href="#" class="widebtn">Send this page</a></div>
+
+ <h3>Related Subjects</h3>
+ <ul class="unstyled">
+ <li><a href="#">Agriculture</a></li>
+ <li><a href="#">Arts & Culture</a></li>
+ <li><a href="#">Business</a></li>
+ </ul>
+
+ <h3>Related People & Organizations</h3>
+ <ul class="unstyled">
+ <li><a href="#">Commodore J.T. Kirk</a></li>
+ <li><a href="#">Mike Michaels</a></li>
+ </ul>
+
+ <h3>Related Places</h3>
+ <ul class="unstyled">
+ <li><a href="#">Comox, BC</a></li>
+ <li><a href="#">Windsor, ON</a></li>
+ </ul>
+
+ </div>
- <?php echo get_partial('informationobject/actions', array('resource' =>
$resource)) ?>
+ </div>
</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.