unset($textAlignment['J']);
$this->add('select', "barcode_alignment", ts('Alignment'), $textAlignment);
- $attributes = array(
- 'readonly'=> true,
- 'value' => ts('click here and select a file double clicking on it'),
- );
- $this->add('text', 'image_1', ts('Image 1'), $attributes + CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title'));
- $this->add('text', 'image_2', ts('Image 2'), $attributes + CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title'));
+ $attributes = array('readonly'=> true);
+ $this->add('text', 'image_1', ts('Image 1'),
+ $attributes + CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title'));
+ $this->add('text', 'image_2', ts('Image 2'),
+ $attributes + CRM_Core_DAO::getAttribute('CRM_Core_DAO_PrintLabel', 'title'));
$this->add('checkbox', 'is_default', ts('Default?'));
$this->add('checkbox', 'is_active', ts('Enabled?'));
<span class="crm-clear-link">
(<a href="#" class="clear-image" imgname='image_1'>{ts}clear{/ts}</a>)
</span>
- <br/><span class="description">{ts}This image will displayed on top left{/ts}</span>
+ <br/><span class="description">{ts}Click above and select a file double clicking on it. This image will displayed on top left{/ts}</span>
</td>
</tr>
<tr class="crm-badge-layout-form-block-image_2">
<span class="crm-clear-link">
(<a href="#" class="clear-image" imgname='image_2'>{ts}clear{/ts}</a>)
</span>
- <br/><span class="description">{ts}This image will displayed on top right{/ts}</span>
+ <br/><span class="description">{ts}Click above and select a file double clicking on it. This image will displayed on top right{/ts}</span>
</td>
</tr>
<tr class="crm-badge-layout-form-block-add_barcode">