Author: sevein
Date: Sat Nov 28 17:12:32 2009
New Revision: 3990
Log:
Fix silly mistake in last commit.
Modified:
trunk/apps/qubit/modules/actor/actions/showIsaarAction.class.php
trunk/apps/qubit/modules/repository/actions/showIsdiahAction.class.php
Modified: trunk/apps/qubit/modules/actor/actions/showIsaarAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/actor/actions/showIsaarAction.class.php Sat Nov
28 13:55:46 2009 (r3989)
+++ trunk/apps/qubit/modules/actor/actions/showIsaarAction.class.php Sat Nov
28 17:12:32 2009 (r3990)
@@ -34,10 +34,10 @@
parent::execute($request);
$validatorSchema = new sfValidatorSchema;
- $validatorSchema->authorizedFormOfName = new
sfValidatorString(array('required' => true), array('required' => '%1%Authorized
form of name%2% - This is a mandatory field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'));
- $validatorSchema->datesOfExistence = new
sfValidatorString(array('required' => true), array('required' => '%1%Dates of
existence%2% - This is a mandatory field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'));
- $validatorSchema->descriptionIdentifier = new
sfValidatorString(array('required' => true), array('required' => '%1%Authority
record identifier%2% - This is a mandatory field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'));
- $validatorSchema->entityType = new sfValidatorString(array('required' =>
true), array('required' => '%1%Type of entity%2% - This is a mandatory
field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'));
+ $validatorSchema->authorizedFormOfName = new
sfValidatorString(array('required' => true), array('required' =>
$this->context->i18n->__('%1%Authorized form of name%2% - This is a mandatory
field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'))));
+ $validatorSchema->datesOfExistence = new
sfValidatorString(array('required' => true), array('required' =>
$this->context->i18n->__('%1%Dates of existence%2% - This is a mandatory
field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'))));
+ $validatorSchema->descriptionIdentifier = new
sfValidatorString(array('required' => true), array('required' =>
$this->context->i18n->__('%1%Authority record identifier%2% - This is a
mandatory field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'))));
+ $validatorSchema->entityType = new sfValidatorString(array('required' =>
true), array('required' => $this->context->i18n->__('%1%Type of entity%2% -
This is a mandatory field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-2#4.7">', '%2%' => '</a>'))));
try
{
Modified: trunk/apps/qubit/modules/repository/actions/showIsdiahAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/repository/actions/showIsdiahAction.class.php
Sat Nov 28 13:55:46 2009 (r3989)
+++ trunk/apps/qubit/modules/repository/actions/showIsdiahAction.class.php
Sat Nov 28 17:12:32 2009 (r3990)
@@ -35,9 +35,9 @@
// add ISDIAH specific commands
$validatorSchema = new sfValidatorSchema;
- $validatorSchema->authorizedFormOfName = new
sfValidatorString(array('required' => true), array('required' => '%1%Authorized
form of name%2% - This is a mandatory field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">', '%2%' => '</a>'));
- $validatorSchema->identifier = new sfValidatorString(array('required' =>
true), array('required' => '%1%Identifier%2% - This is a mandatory field.'),
array('%1%' => '<a href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">',
'%2%' => '</a>'));
- $validatorSchema->locationAndAddress = new
QubitValidatorCountable(array('required' => true), array('required' =>
'%1%Location and address%2% - This is a mandatory field.'), array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">', '%2%' => '</a>'));
+ $validatorSchema->authorizedFormOfName = new
sfValidatorString(array('required' => true), array('required' =>
$this->context->i18n->__('%1%Authorized form of name%2% - This is a mandatory
field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">', '%2%' => '</a>'))));
+ $validatorSchema->identifier = new sfValidatorString(array('required' =>
true), array('required' => $this->context->i18n->__('%1%Identifier%2% - This is
a mandatory field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">', '%2%' => '</a>'))));
+ $validatorSchema->locationAndAddress = new
QubitValidatorCountable(array('required' => true), array('required' =>
$this->context->i18n->__('%1%Location and address%2% - This is a mandatory
field.', array('%1%' => '<a
href="http://ica-atom.org/docs/index.php?title=RS-3#4.7">', '%2%' => '</a>'))));
try
{
--
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.