From: Kurund Jalmi Date: Tue, 9 Jul 2013 19:02:49 +0000 (+0530) Subject: CRM-12965, moved help below text input X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8367d0c52b10bf108b4943620cbcb3fd4a90fe0d;p=civicrm-core.git CRM-12965, moved help below text input --- diff --git a/CRM/Badge/Form/Layout.php b/CRM/Badge/Form/Layout.php index 240fde3703..9bf2ed2361 100644 --- a/CRM/Badge/Form/Layout.php +++ b/CRM/Badge/Form/Layout.php @@ -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?')); diff --git a/templates/CRM/Badge/Form/Layout.tpl b/templates/CRM/Badge/Form/Layout.tpl index ac38646e08..bf698efb38 100644 --- a/templates/CRM/Badge/Form/Layout.tpl +++ b/templates/CRM/Badge/Form/Layout.tpl @@ -82,7 +82,7 @@ ({ts}clear{/ts}) -
{ts}This image will displayed on top left{/ts} +
{ts}Click above and select a file double clicking on it. This image will displayed on top left{/ts} @@ -92,7 +92,7 @@ ({ts}clear{/ts}) -
{ts}This image will displayed on top right{/ts} +
{ts}Click above and select a file double clicking on it. This image will displayed on top right{/ts}