+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2018
*/
/**
$this->addElement('select',
$fieldName,
$fieldValue['title'],
- $fieldValue['option_values']
+ $fieldValue['option_values'],
+ CRM_Utils_Array::value('attributes', $fieldValue)
);
break;
- case 'advmultiselect':
- $this->addElement('advmultiselect', $fieldName, $fieldValue['title'], $fieldValue['options'], $fieldValue['attributes']);
- break;
-
case 'wysiwyg':
$this->add('wysiwyg', $fieldName, $fieldValue['title'], $fieldValue['attributes']);
break;
case 'text':
case 'select':
- case 'advmultiselect':
case 'radio':
case 'YesNo':
case 'entity_reference':