Merge pull request #17981 from eileenmcnaughton/merge_form
[civicrm-core.git] / templates / CRM / Admin / Form / Extensions.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* this template is used for install /uninstall extensions *}
11 <h3>{$title}</h3>
12 <div class="crm-block crm-form-block crm-admin-optionvalue-form-block">
13 {if $action eq 8}
14 <div class="messages status no-popup">
15 {icon icon="fa-info-circle"}{/icon}
16 {ts}WARNING: Uninstalling this extension might result in the loss of all records which use the extension.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone. Please review the extension information below before you make final decision.{/ts} {ts}Do you want to continue?{/ts}
17 </div>
18 {/if}
19 {if $action eq 1}
20 <div class="messages status no-popup">
21 {icon icon="fa-info-circle"}{/icon}
22 {ts}Installing this extension will provide you with new functionality. Please make sure that the extension you're installing comes from a trusted source.{/ts} {ts}Do you want to continue?{/ts}
23 </div>
24 {/if}
25 {if $action eq 2}
26 <div class="messages status no-popup">
27 {icon icon="fa-info-circle"}{/icon}
28 {ts}Downloading this extension will provide you with new functionality. Please make sure that the extension you're installing or upgrading comes from a trusted source.{/ts} {ts}Do you want to continue?{/ts}
29 </div>
30 {/if}
31 {if $action eq 8 or $action eq 1 or $action eq 2}
32 {include file="CRM/Admin/Page/ExtensionDetails.tpl"}
33 {/if}
34 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
35 </div>