Skip to content
Snippets Groups Projects
Commit 8367d0c5 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

CRM-12965, moved help below text input

parent ea921622
Branches
Tags
No related merge requests found
......@@ -97,12 +97,11 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form {
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?'));
......
......@@ -82,7 +82,7 @@
<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">
......@@ -92,7 +92,7 @@
<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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment