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 | *} | |
4ef8abc2 | 26 | {* Display page for Upgrades. *} |
6a488035 TO |
27 | {if $config->userSystem->is_drupal neq '1'} |
28 | <h2>{$pageTitle}</h2> | |
29 | {/if} | |
30 | {if !$upgraded} | |
4498c471 | 31 | <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #FFFFE3; border: 1px #F8FF00 solid; color: black;"> |
6a488035 | 32 | <form method="post"> |
4498c471 CW |
33 | <p> |
34 | <span class="crm-status-icon info"> </span> | |
68b2ba78 | 35 | {ts 1=$currentVersion 2=$newVersion}The database will be upgraded from %1 to %2.{/ts} |
4498c471 | 36 | </p> |
6a488035 | 37 | {if $preUpgradeMessage} |
68b2ba78 CW |
38 | <div style="border: 2px solid #E43D2B; background-color: rgba(228, 61, 43, 0.08); padding: 10px; margin-bottom: 15px;"> |
39 | <span class="crm-status-icon"></span> | |
40 | <strong style="vertical-align: middle; font-size: 1.2em;">{ts}Warning:{/ts}</strong> | |
41 | {$preUpgradeMessage} | |
42 | </div> | |
6a488035 TO |
43 | {/if} |
44 | <p><strong>{ts}Back up your database before continuing.{/ts}</strong> | |
4498c471 | 45 | {capture assign=docLink}{docURL page="Installation and Upgrades" text="Upgrade Documentation" style="text-decoration: underline;" resource="wiki"}{/capture} |
6a488035 | 46 | {ts 1=$docLink}This process may change your database structure and values. In case of emergency you may need to revert to a backup. For more detailed information, refer to the %1.{/ts}</p> |
6a488035 | 47 | <input type="hidden" name="action" value="begin" /> |
68b2ba78 | 48 | <button type="submit" class="crm-button" name="upgrade" onclick="return confirm('{ts escape="js"}Are you sure you are ready to upgrade now?{/ts}');" > |
44f15f74 | 49 | <i class="crm-i fa-rocket"></i> |
68b2ba78 CW |
50 | {ts}Upgrade Now{/ts} |
51 | </button> | |
52 | <a class="button cancel crm-form-submit" href="{$cancelURL}"> | |
44f15f74 | 53 | <i class="crm-i fa-times"></i> |
68b2ba78 CW |
54 | {ts}Cancel{/ts} |
55 | </a> | |
6a488035 | 56 | </form> |
4498c471 | 57 | </div> |
6a488035 TO |
58 | |
59 | {else} | |
4498c471 | 60 | <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #EEFFEE; border: 1px #070 solid; color: black;"> |
bb216f68 | 61 | <div class="bold" style="padding: 1em; background-color: rgba(255, 255, 255, 0.76);"> |
4498c471 CW |
62 | <p> |
63 | <img style="display:block; float:left; width:40px; margin-right:10px;" src="{$config->resourceBase}i/logo_lg.png"> | |
a343bebf | 64 | {ts 1="https://civicrm.org/core-team" 2="https://civicrm.org/providers/contributors" 3="https://civicrm.org/become-a-member?src=ug&sid=$sid" 4=$newVersion}Thank you for upgrading to %4, the latest version of CiviCRM. Packed with new features and improvements, this release was made possible by both the <a href="%1">CiviCRM Core Team</a> and an incredible group of <a href="%2">contributors</a>, combined with the financial support of CiviCRM Members and Partners, without whom the project could not exist. We invite you to join their ranks by <a href="%3">becoming a member of CiviCRM today</a>. There is no better way to say thanks than to support those that have made CiviCRM %4 possible. <a href="%3">Join today</a>.{/ts} |
4498c471 | 65 | </p> |
6a488035 | 66 | </div> |
bb216f68 | 67 | <p><span class="crm-status-icon success"> </span>{$message}</p> |
4498c471 | 68 | {if $afterUpgradeMessage} |
896fc1df | 69 | <h3>{ts}Important Notes{/ts}</h3> |
4498c471 CW |
70 | <p>{$afterUpgradeMessage}</p> |
71 | {/if} | |
8ca4ade5 | 72 | <p><a href="{crmURL p='civicrm/dashboard' q='reset=1'}" title="{ts}CiviCRM home page{/ts}" style="text-decoration: underline;">{ts}Return to CiviCRM home page.{/ts}</a></p> |
6a488035 TO |
73 | </div> |
74 | {/if} |