Removed center option and fit width of text for first three rows if user sets show...
[civicrm-core.git] / templates / CRM / Badge / Form / Layout.tpl
index 50a6eba02b36c9cc1f91d0dcb7a2d2c62fbb3f2d..3570b6661123214db1e32613de5328cc5fe5197c 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
          </table> 
         </td>
       </tr>
+      <tr class="crm-badge-layout-form-block-participant_image">
+        <td class="label">{$form.show_participant_image.label}</td>
+        <td>
+         <table>
+           <tr>
+            <td>{$form.show_participant_image.html}
+             <br/>
+             <span class="description">{ts}Select this option if you want to use a contact's image on their name badge.{/ts}</span>
+            </td>
+            <td>
+             {$form.width_participant_image.html}<br/>{$form.width_participant_image.label}
+            </td>
+           <td>
+              {$form.height_participant_image.html}</br>{$form.height_participant_image.label}
+            </td>
+           <td>
+              {$form.alignment_participant_image.html}</br>{$form.alignment_participant_image.label}
+            </td>
+           </tr>
+         </table> 
+        </td>
+      </tr>
       <tr class="crm-badge-layout-form-block-elements">
         <td class="label">{ts}Elements{/ts}</td>
         <td>