Merge pull request #1654 from monishdeb/WebTestFixes
[civicrm-core.git] / templates / CRM / Mailing / Form / Search.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
232624b1 3 | CiviCRM version 4.4 |
6a488035
TO
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25*}
26<div class="crm-block crm-form-block crm-search-form-block">
27<table class="form-layout">
28 <tr>
29 <td>{$form.mailing_name.label}<br />
30 {$form.mailing_name.html|crmAddClass:big} {help id="id-mailing_name"}
31 </td>
32 </tr>
33 <tr>
34 <td>
96cfe0d7 35 <label>{if $sms eq 1}{ts}SMS Date{/ts}{else}{ts}Mailing Date{/ts}{/if}</label>
6a488035
TO
36 </td>
37 </tr>
38 <tr>
39 {include file="CRM/Core/DateRange.tpl" fieldName="mailing" from='_from' to='_to'}
40 </tr>
41 <tr>
42 <td colspan="1">{$form.sort_name.label}<br />
43 {$form.sort_name.html|crmAddClass:big} {help id="id-create_sort_name"}
44 </td>
cbb4cb7b
PJ
45 {if $form.mailing_status}
46 <td width="100%"><label>{if $sms eq 1}{ts}SMS Status{/ts}{else}{ts}Mailing Status{/ts}{/if}</label><br />
47 <div class="listing-box" style="width: auto; height: 100px">
48 {foreach from=$form.mailing_status item="mailing_status_val"}
49 <div class="{cycle values="odd-row,even-row"}">
50 {$mailing_status_val.html}
51 </div>
6a488035 52 {/foreach}
cbb4cb7b
PJ
53 <div class='odd-row'>
54 {$form.all_status.html}
55 </div>
56 </div><br />
57 </td>
58 {/if}
6a488035
TO
59 </tr>
60
61 {* campaign in mailing search *}
62 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
63 campaignContext="componentSearch" campaignTrClass='' campaignTdClass=''}
64
65 <tr>
66 <td>{$form.buttons.html}</td><td colspan="2"></td>
67 </tr>
68</table>
69</div>