'AdvMulti-Select',
'CheckBox',
'Radio',
- 'Autocomplete-Select',
)));
if ($isSelect) {
$date .= ($element->getAttribute('timeformat')) ? " $time" : '';
$el['html'] = $date . '<input type="hidden" value="' . $element->getValue() . '" name="' . $element->getAttribute('name') . '">';
}
- if ($el['name'] == 'details') {
- $el['html'] = str_replace('<br />', '', $el['html']);
- $el['html'] = '<span class="crm-frozen-field">' . html_entity_decode($el['html']) . '</span>';
+ // Render html for wysiwyg textareas
+ if ($el['type'] == 'textarea' && isset($element->_attributes['class']) && strstr($element->_attributes['class'], 'wysiwyg')) {
+ $el['html'] = '<span class="crm-frozen-field">' . $el['value'] . '</span>';
}
else {
$el['html'] = '<span class="crm-frozen-field">' . $el['html'] . '</span>';
[ -d "$repo/$dir" ] && dm_install_dir "$repo/$dir" "$to/$dir"
done
- dm_install_files "$repo" "$to" {agpl-3.0,agpl-3.0.exception,gpl,README,CONTRIBUTORS}.txt
- dm_install_files "$repo" "$to" composer.json composer.lock bower.json package.json Civi.php
+ dm_install_files "$repo" "$to" {agpl-3.0,agpl-3.0.exception,gpl,CONTRIBUTORS}.txt
+ dm_install_files "$repo" "$to" composer.json composer.lock bower.json package.json Civi.php README.md
mkdir -p "$to/sql"
pushd "$repo" >> /dev/null
));
// Check that we can identify the root folder successfully
- $this->requireFile($crmPath . CIVICRM_DIRECTORY_SEPARATOR . 'README.txt',
+ $this->requireFile($crmPath . CIVICRM_DIRECTORY_SEPARATOR . 'README.md',
array(
ts("File permissions"),
ts("Does the webserver know where files are stored?"),