Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
6b83d5bd | 5 | | Copyright CiviCRM LLC (c) 2004-2019 | |
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 | {* TabHeader.tpl provides a tabbed interface well as title for current step *} | |
27 | <div class="crm-actions-ribbon crm-contribpage-tab-actions-ribbon"> | |
28 | <ul id="actions"> | |
29 | <li><div id="crm-contribpage-links-wrapper"> | |
7d805c31 | 30 | {crmButton id="crm-contribpage-links-link" href="#" icon="bars"}{ts}Contribution Links{/ts}{/crmButton} |
6a488035 TO |
31 | <div class="ac_results" id="crm-contribpage-links-list"> |
32 | <div class="crm-contribpage-links-list-inner"> | |
33 | <ul> | |
34 | <li><a class="crm-contribpage-contribution" href="{crmURL p='civicrm/contribute/add' q="reset=1&action=add&context=standalone"}">{ts}New Contribution{/ts}</a></li> | |
35 | <li><a class="crm-contribution-test" href="{crmURL p='civicrm/contribute/transact' q="reset=1&action=preview&id=`$contributionPageID`"}">{ts}Online Contribution (Test-drive){/ts}</a></li> | |
36 | <li><a class="crm-contribution-live" href="{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`" fe='true'}" target="_blank">{ts}Online Contribution (Live){/ts}</a></li> | |
37 | </ul> | |
38 | </div> | |
39 | </div> | |
40 | </div></li> | |
41 | <div> | |
42 | {help id="id-configure-contrib-pages"} | |
43 | </div> | |
44 | </ul> | |
45 | <div class="clear"></div> | |
46 | </div> | |
47 | {include file="CRM/common/TabHeader.tpl"} | |
48 | ||
49 | {literal} | |
50 | <script> | |
51 | ||
52 | cj('body').click(function() { | |
53 | cj('#crm-contribpage-links-list').hide(); | |
54 | }); | |
55 | ||
56 | cj('#crm-contribpage-links-link').click(function(event) { | |
57 | cj('#crm-contribpage-links-list').toggle(); | |
58 | event.stopPropagation(); | |
59 | return false; | |
60 | }); | |
61 | ||
62 | </script> | |
63 | {/literal} |