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 cd3269b247fbb141fa2583f95602a32f64cc6f44..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.                                    |
  |                                                                    |
@@ -52,9 +52,8 @@
          <table>
            <tr>
             <td>{$form.image_1.html}
-             <span class="crm-clear-link">
-               (<a href="#" class="clear-image" imgname='image_1'>{ts}clear{/ts}</a>)
-             </span><br/>
+               <a href="#" class="crm-hover-button clear-image" title="{ts}Clear{/ts}"><span class="icon close-icon"></span></a>
+             <br/>
              <span class="description">{ts}Click above and select a file by double clicking on it.{/ts}</span>
             </td>
             <td>
@@ -73,9 +72,8 @@
          <table>
           <tr>
            <td>{$form.image_2.html}
-            <span class="crm-clear-link">
-              (<a href="#" class="clear-image" imgname='image_2'>{ts}clear{/ts}</a>)
-            </span><br/>
+              <a href="#" class="crm-hover-button clear-image" title="{ts}Clear{/ts}"><span class="icon close-icon"></span></a>
+            <br/>
             <span class="description">{ts}Click above and select a file by double clicking on it.{/ts}</span>
            </td>
            <td>
          </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>