Merge pull request #11772 from michaelmcandrew/CRM-21821-respect-nav-item-weight
[civicrm-core.git] / templates / CRM / Contact / Form / Task / SMS.hlp
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
fee14197 3 | CiviCRM version 5 |
6a488035 4 +--------------------------------------------------------------------+
8c9251b3 5 | Copyright CiviCRM LLC (c) 2004-2018 |
6a488035
TO
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{htxt id="id-provider-title"}
27{ts}Provider{/ts}
28{/htxt}
29{htxt id="id-provider"}
a08aa8e8 30<p>{ts}By default, CiviCRM uses the provider which are set active and the default provider is selected. User with administer CiviCRM permission can add a new Provider{/ts}</p>
6a488035
TO
31{if $params.isAdmin}
32 {capture assign="fromConfig"}{crmURL p="civicrm/admin/sms/provider" q="reset=1"}{/capture}
33 <p>{ts 1=$fromConfig}Go to <a href='%1'>Administer CiviCRM &raquo; System Settings &raquo; SMS Providers</a> to add or edit the provider. Make sure these Providers are valid.{/ts}</p>
34{/if}
35{/htxt}
36
37{htxt id="id-token-text-title"}
38{ts}Tokens{/ts}
39{/htxt}
40{htxt id="id-token-text"}
41<p>{ts}Use tokens when you are sending sms to a number of recipients, and want to include their name and / or other values from their contact record automatically within your message.{/ts}</p>
42<p>{ts 1='&#123;contact.first_name&#125;'}EXAMPLE: If you want your message to begin with "Dear " followed by the recipient's first name, you can use the %1 token in your message. <em>Dear %1</em>{/ts}</p>
43<p>{ts}Place your cursor within the Message box where you want to the token to be inserted. Then click the &quot;Insert Tokens&quot; link in the upper right corner of the message box to see a list of available tokens. Insert the token by clicking the desired token name in the list (for example, click &quot;First Name&quot;).{/ts}</p>
44{if $params.tplFile EQ 'CRM/SMS/Form/Upload.tpl'}
45 <p>
46 {ts}You will also use tokens to insert Unsubscribe, Opt out and Forwarding links in your message.{/ts}
47 </p>
48{/if}
49{/htxt}
50
51{htxt id="id-token-html-title"}
52{ts}Tokens{/ts}
53{/htxt}
54{htxt id="id-token-html"}
55<p>{ts}Use tokens when you are sending sms to a number of recipients, and want to include their name and / or other values from their contact record automatically within your message.{/ts}</p>
56<p>{ts 1='&#123;contact.first_name&#125;'}EXAMPLE: If you want your message to begin with "Dear " followed by the recipient's first name, you can use the %1 token in your message. <em>Dear %1</em>{/ts}</p>
57<p>{ts}Place your cursor within the Message box where you want to the token to be inserted. Then click the &quot;Insert Tokens&quot; link in the upper right corner of the message box to see a list of available tokens. Insert the token by clicking the desired token name in the list (for example, click &quot;First Name&quot;).{/ts}</p>
58
59{/htxt}
60
61{htxt id="id-message-text-title"}
62{ts}Rich Text{/ts}
63{/htxt}
64{htxt id="id-message-text"}
65<p>{ts}HTML messages have more visual impact, allow you to include images, and may be more readable if you are including links to website pages. However, you can also configure a simple sms.{/ts}</p>
66{/htxt}