| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
array(
'title' => ts('Word Replacements'),
'url' => $breadCrumbUrl,
- )
+ ),
);
CRM_Utils_System::appendBreadCrumb($breadCrumb);
}
*
* @return array
* list of errors to be posted back to the form
- * @static
*/
public static function formRule($values) {
$errors = array();
*/
public function postProcess() {
$params = $this->controller->exportValues($this->_name);
- $this->_numStrings = sizeof($params['old']);
+ $this->_numStrings = count($params['old']);
$enabled['exactMatch'] = $enabled['wildcardMatch'] = $disabled['exactMatch'] = $disabled['wildcardMatch'] = array();
for ($i = 1; $i <= $this->_numStrings; $i++) {
));
}
}
+
}