+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
protected $_numStrings = 10;
}
foreach ($soInstances as $instance) {
$this->addElement('checkbox', "enabled[$instance]");
- $this->add('textarea', "old[$instance]", NULL, array('rows' => 1, 'cols' => 40));
- $this->add('textarea', "new[$instance]", NULL, array('rows' => 1, 'cols' => 40));
+ $this->add('text', "old[$instance]", NULL);
+ $this->add('text', "new[$instance]", NULL);
$this->addElement('checkbox', "cb[$instance]");
}
$this->assign('numStrings', $this->_numStrings);