[Solar-svn] Revision 2647
pmjones at solarphp.com
pmjones at solarphp.com
Sun Jul 29 11:33:01 CDT 2007
Branch: Solar_View_Helper_Form: [BRK] In keeping with new Solar_Form, element-level messages are now keyed on 'invalid' (vice 'feedback')
Modified: branches/orm/Solar/View/Helper/Form.php
===================================================================
--- branches/orm/Solar/View/Helper/Form.php 2007-07-29 15:49:30 UTC (rev 2646)
+++ branches/orm/Solar/View/Helper/Form.php 2007-07-29 16:33:01 UTC (rev 2647)
@@ -154,7 +154,7 @@
'options' => array(),
'disable' => false,
'require' => false,
- 'feedback' => array(),
+ 'invalid' => array(),
);
/**
@@ -587,7 +587,7 @@
// handle differently if we're in a group.
if ($in_group) {
- $feedback .= $this->listFeedback($info['feedback']);
+ $feedback .= $this->listFeedback($info['invalid']);
$form[] = " $element";
} else {
@@ -600,7 +600,7 @@
}
// get the feedback list
- $feedback = $this->listFeedback($info['feedback']);
+ $feedback = $this->listFeedback($info['invalid']);
// add the form element
$form[] = " <dt$require><label$require for=\"$id\">$label</label></dt>";
More information about the Solar-svn
mailing list