Author: sevein
Date: Wed Jul 27 12:08:33 2011
New Revision: 9407

Log:
Add relatedRights component to informationobject templates

Modified:
   trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
   trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
   trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php

Modified: trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php      
Wed Jul 27 12:07:42 2011        (r9406)
+++ trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php      
Wed Jul 27 12:08:33 2011        (r9407)
@@ -89,4 +89,12 @@
 
 </div> <!-- /.section#accessionArea -->
 
+<div class="section" id="rightArea">
+
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h2>'.__('Right 
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' => 
'edit'), array('anchor' => 'rightArea', 'title' => __('Edit right area'))) ?>
+
+  <?php echo get_component('right', 'relatedRights', array('resource' => 
$resource)) ?>
+
+</div> <!-- /.section#rightArea -->
+
 <?php echo get_partial('informationobject/actions', array('resource' => 
$resource)) ?>

Modified: 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Wed Jul 27 12:07:42 2011        (r9406)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Wed Jul 27 12:08:33 2011        (r9407)
@@ -215,4 +215,12 @@
 
 </div> <!-- /.section#accessionArea -->
 
+<div class="section" id="rightArea">
+
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h2>'.__('Right 
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' => 
'edit'), array('anchor' => 'rightArea', 'title' => __('Edit right area'))) ?>
+
+  <?php echo get_component('right', 'relatedRights', array('resource' => 
$resource)) ?>
+
+</div> <!-- /.section#rightArea -->
+
 <?php echo get_partial('informationobject/actions', array('resource' => 
$resource)) ?>

Modified: 
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php  
Wed Jul 27 12:07:42 2011        (r9406)
+++ trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php  
Wed Jul 27 12:08:33 2011        (r9407)
@@ -83,4 +83,12 @@
 
 </div> <!-- /.section#accessionArea -->
 
+<div class="section" id="rightArea">
+
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h2>'.__('Right 
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' => 
'edit'), array('anchor' => 'rightArea', 'title' => __('Edit right area'))) ?>
+
+  <?php echo get_component('right', 'relatedRights', array('resource' => 
$resource)) ?>
+
+</div> <!-- /.section#rightArea -->
+
 <?php echo get_partial('informationobject/actions', array('resource' => 
$resource)) ?>

Modified: 
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Wed Jul 27 12:07:42 2011        (r9406)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Wed Jul 27 12:08:33 2011        (r9407)
@@ -265,4 +265,12 @@
 
 </div> <!-- /.section#accessionArea -->
 
+<div class="section" id="rightArea">
+
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h2>'.__('Right 
area').'</h2>', array($resource, 'module' => 'informationobject', 'action' => 
'edit'), array('anchor' => 'rightArea', 'title' => __('Edit right area'))) ?>
+
+  <?php echo get_component('right', 'relatedRights', array('resource' => 
$resource)) ?>
+
+</div> <!-- /.section#rightArea -->
+
 <?php echo get_partial('informationobject/actions', array('resource' => 
$resource)) ?>

-- 
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.

Reply via email to