Merge pull request #4274 from mrpaulc/CRM-14868
[civicrm-core.git] / templates / CRM / common / searchResultTasks.tpl
index 83e39c41266d8f012899a76f03750f0e9a4b02c4..41d2cba1354313a76525b9699ba34e688c46617a 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,7 +52,7 @@
   <tr>
     <td class="font-size11pt"> {ts}Select Records{/ts}:</td>
     <td class="nowrap">
-        {$form.radio_ts.ts_all.html} {ts count=$pager->_totalItems plural='All %count records'}The found record{/ts} &nbsp; {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} {ts}Selected records only{/ts} {/if}
+      {$form.radio_ts.ts_all.html} <label for="{$ts_all_id}">{ts count=$pager->_totalItems plural='All %count records'}The found record{/ts}</label> &nbsp; {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} <label for="{$ts_sel_id}">{ts 1="<span></span>"}%1 Selected records only{/ts}</label>{/if}
     </td>
   </tr>
   <tr>
@@ -63,7 +63,7 @@
     {elseif !empty($form._qf_Search_next_print)}
        {$form._qf_Search_next_print.html} &nbsp; &nbsp;
      {/if}
-   
+
       <span id='task-section'>
         {$form.task.html}
         {if $actionButtonName}
   </tr>
   </table>
 </div>
-{literal}
-<script type="text/javascript">
-cj(function() {
-  toggleTaskAction( );
-  if (cj('#task option').length == 1 && !cj('#task option').val()) {
-    cj('#task-section').remove();
-  }
-});
-</script>
-{/literal}