Author: sevein
Date: Wed Oct 12 15:03:21 2011
New Revision: 10036

Log:
Rights tooltips, thanks Jessica\!

Modified:
   trunk/apps/qubit/modules/right/templates/_edit.php

Modified: trunk/apps/qubit/modules/right/templates/_edit.php
==============================================================================
--- trunk/apps/qubit/modules/right/templates/_edit.php  Wed Oct 12 14:53:13 
2011        (r10035)
+++ trunk/apps/qubit/modules/right/templates/_edit.php  Wed Oct 12 15:03:21 
2011        (r10036)
@@ -134,38 +134,57 @@
 
     <h3><?php echo __('Rights') ?></h3>
 
-    <?php echo $form->act->renderRow() ?>
+    <?php echo $form->act
+      ->help(__('The action which is permitted or restricted.'))
+      ->renderRow() ?>
 
-    <?php echo $form->restriction->renderRow() ?>
+    <?php echo $form->restriction
+      ->help(__('A condition or limitation on the act.'))
+      ->renderRow() ?>
 
-    <?php echo $form->startDate->renderRow() ?>
+    <?php echo $form->startDate
+      ->help(__('The beginning date of the permission granted.'))
+      ->renderRow() ?>
 
-    <?php echo $form->endDate->renderRow() ?>
+    <?php echo $form->endDate
+      ->help(__('The ending date of the permission granted. Omit end date if 
the ending date is unknown.'))
+      ->renderRow() ?>
 
     <div class="form-item">
       <?php echo $form->rightsHolder->renderLabel() ?>
       <?php echo $form->rightsHolder->render(array('class' => 
'form-autocomplete')) ?>
       <input class="add" type="hidden" value="<?php echo 
url_for(array('module' => 'rightsholder', 'action' => 'add')) ?> 
#authorizedFormOfName"/>
       <input class="list" type="hidden" value="<?php echo 
url_for(array('module' => 'rightsholder', 'action' => 'autocomplete')) ?>"/>
+      <?php echo $form->rightsHolder
+        ->help(__('Basis for the permissions granted or for the restriction of 
rights.'))
+        ->renderHelp() ?>
     </div>
 
     <?php echo $form->rightsNote
       ->label(__('Rights note(s)'))
       ->renderRow() ?>
 
-    <?php echo $form->basis->renderRow() ?>
+    <?php echo $form->basis
+      ->help(__('Basis for the permissions granted or for the restriction of 
rights'))
+      ->renderRow() ?>
 
     <fieldset route="<?php echo $sf_context->routing->generate(null, 
array(QubitTerm::getById(QubitTerm::RIGHT_BASIS_COPYRIGHT_ID), 'module' => 
'term')) ?>">
 
       <legend><?php echo __('Copyright information') ?></legend>
 
-      <?php echo $form->copyrightStatus->renderRow() ?>
+      <?php echo $form->copyrightStatus
+        ->help(__('A coded designation for the copyright status of the object 
at the time the rights statement is recorded.'))
+        ->renderRow() ?>
 
       <?php echo $form->copyrightStatusDate->renderRow() ?>
 
-      <?php echo $form->copyrightJurisdiction->renderRow() ?>
-
-      <?php echo $form->copyrightNote->renderRow() ?>
+      <?php echo $form->copyrightJurisdiction
+        ->help(__('The country whose copyright laws apply.'))
+        ->renderRow() ?>
+
+      <?php echo $form->copyrightNote
+        ->help(__('Additional information about the copyright status.'))
+        ->renderRow() ?>
 
     </fieldset>
 
@@ -173,11 +192,17 @@
 
       <legend><?php echo __('License information') ?></legend>
 
-      <?php echo $form->licenseIdentifier->renderRow() ?>
-
-      <?php echo $form->licenseTerms->renderRow() ?>
-
-      <?php echo $form->licenseNote->renderRow() ?>
+      <?php echo $form->licenseIdentifier
+        ->help(__('Can be text value or URI (e.g. to Creative Commons, GNU or 
other online licenses). Used to identify the granting agreement uniquely within 
the repository system.'))
+        ->renderRow() ?>
+
+      <?php echo $form->licenseTerms
+        ->help(__('Text describing the license or agreement by which 
permission was granted or link to full-text hosted online. This can contain the 
actual text of the license or agreement or a paraphrase or summary.'))
+        ->renderRow() ?>
+
+      <?php echo $form->licenseNote
+        ->help(__('Additional information about the license, such as contact 
persons, action dates, or interpretations. The note may also indicated the 
location of the license, if it is available online or embedded in the object 
itself.'))
+        ->renderRow() ?>
 
     </fieldset>
 
@@ -185,13 +210,21 @@
 
       <legend><?php echo __('Statute information') ?></legend>
 
-      <?php echo $form->statuteJurisdiction->renderRow() ?>
-
-      <?php echo $form->statuteCitation->renderRow() ?>
-
-      <?php echo $form->statuteDeterminationDate->renderRow() ?>
-
-      <?php echo $form->statuteNote->renderRow() ?>
+      <?php echo $form->statuteJurisdiction
+        ->help(__('The country or other political body that has enacted the 
statute.'))
+        ->renderRow() ?>
+
+      <?php echo $form->statuteCitation
+        ->help(__('An identifying designation for the statute. Use standard 
citation form when applicable, e.g. bibliographic citation.'))
+        ->renderRow() ?>
+
+      <?php echo $form->statuteDeterminationDate
+        ->help(__('Date that the decision to ascribe the right to this statute 
was made. As context for any future review/re-interpretation.'))
+        ->renderRow() ?>
+
+      <?php echo $form->statuteNote
+        ->help(__('Additional information about the statute.'))
+        ->renderRow() ?>
 
     </fieldset>
 

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