Author: jablko
Date: Fri Oct 22 17:07:35 2010
New Revision: 8391

Log:
Factor RAD properties into sfRadPlugin, like commit 8010

Modified:
   trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php

Modified: 
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Fri Oct 22 16:30:57 2010        (r8390)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Fri Oct 22 17:07:35 2010        (r8391)
@@ -35,9 +35,9 @@
 
   <?php echo render_show(__('Parallel title'), 
render_value($resource->getAlternateTitle(array('cultureFallback' => true)))) ?>
 
-  <?php echo render_show(__('Other title information'), 
render_value($resource->getPropertyByName('otherTitleInformation', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Other title information'), 
render_value($rad->otherTitleInformation)) ?>
 
-  <?php echo render_show(__('Title statements of responsibility'), 
render_value($resource->getPropertyByName('titleStatementOfResponsibility', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Title statements of responsibility'), 
render_value($rad->titleStatementOfResponsibility)) ?>
 
   <div class="field">
     <h3><?php echo __('Title notes') ?></h3>
@@ -64,7 +64,7 @@
 
   <?php echo render_show(__('Edition statement'), 
render_value($resource->getEdition(array('cultureFallback' => true)))) ?>
 
-  <?php echo render_show(__('Edition statement of responsibility'), 
render_value($resource->getPropertyByName('editionStatementOfResponsibility', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Edition statement of responsibility'), 
render_value($rad->editionStatementOfResponsibility)) ?>
 
 </div> <!-- /.section#editionArea -->
 
@@ -72,15 +72,15 @@
 
   <?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($resource->getPropertyByName('statementOfScaleCartographic', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Statement of scale (cartographic)'), 
render_value($rad->statementOfScaleCartographic)) ?>
 
-  <?php echo render_show(__('Statement of projection (cartographic)'), 
render_value($resource->getPropertyByName('statementOfProjection', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Statement of projection (cartographic)'), 
render_value($rad->statementOfProjection)) ?>
 
-  <?php echo render_show(__('Statement of coordinates (cartographic)'), 
render_value($resource->getPropertyByName('statementOfCoordinates', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Statement of coordinates (cartographic)'), 
render_value($rad->statementOfCoordinates)) ?>
 
-  <?php echo render_show(__('Statement of scale (architectural)'), 
render_value($resource->getPropertyByName('statementOfScaleArchitectural', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Statement of scale (architectural)'), 
render_value($rad->statementOfScaleArchitectural)) ?>
 
-  <?php echo render_show(__('Issuing jurisdiction and denomination 
(philatelic)'), 
render_value($resource->getPropertyByName('issuingJurisdictionAndDenomination', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Issuing jurisdiction and denomination 
(philatelic)'), render_value($rad->issuingJurisdictionAndDenomination)) ?>
 
 </div> <!-- /.section#classOfMaterialSpecificDetailsArea -->
 
@@ -104,17 +104,17 @@
 
   <?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($resource->getPropertyByName('titleProperOfPublishersSeries', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?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($resource->getPropertyByName('parallelTitlesOfPublishersSeries', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?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($resource->getPropertyByName('otherTitleInformationOfPublishersSeries',
 array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?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($resource->getPropertyByName('statementOfResponsibilityRelatingToPublishersSeries',
 array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?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($resource->getPropertyByName('numberingWithinPublishersSeries', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Numbering within publisher\'s series'), 
render_value($rad->numberingWithinPublishersSeries)) ?>
 
-  <?php echo render_show(__('Note on publisher\'s series'), 
render_value($resource->getPropertyByName('noteOnPublishersSeries', 
array('scope' => 'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Note on publisher\'s series'), 
render_value($rad->noteOnPublishersSeries)) ?>
 
 </div> <!-- /.section#publishersSeriesArea -->
 
@@ -195,7 +195,7 @@
 
   <?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($resource->getPropertyByName('standardNumber', array('scope' => 
'rad'))->getValue(array('cultureFallback' => true)))) ?>
+  <?php echo render_show(__('Standard number'), 
render_value($rad->standardNumber)) ?>
 
 </div> <!-- /.section#standardNumberArea -->
 

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