| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.5 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
| 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 | {* success.tpl: Display page for Upgrades. Provides complete HTML doc.*} |
| 27 | {if $config->userSystem->is_drupal neq '1'} |
| 28 | <h2>{$pageTitle}</h2> |
| 29 | {/if} |
| 30 | {if !$upgraded} |
| 31 | <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #FFFFE3; border: 1px #F8FF00 solid; color: black;"> |
| 32 | <form method="post"> |
| 33 | <p> |
| 34 | <span class="crm-status-icon info"> </span> |
| 35 | {ts 1=$currentVersion 2=$newVersion}Use this utility to upgrade your CiviCRM database from %1 to %2.{/ts} |
| 36 | </p> |
| 37 | {if $preUpgradeMessage} |
| 38 | <div style="background-color: #E43D2B; padding: 10px;"><strong>{ts}Warning:{/ts} </strong>{$preUpgradeMessage}</div> |
| 39 | {/if} |
| 40 | <p><strong>{ts}Back up your database before continuing.{/ts}</strong> |
| 41 | {capture assign=docLink}{docURL page="Installation and Upgrades" text="Upgrade Documentation" style="text-decoration: underline;" resource="wiki"}{/capture} |
| 42 | {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> |
| 43 | <p>{ts}Click 'Upgrade Now' if you are ready to proceed. Otherwise click 'Cancel' to return to the CiviCRM home page.{/ts}</p> |
| 44 | <input type="hidden" name="action" value="begin" /> |
| 45 | <input type="submit" value="{ts}Upgrade Now{/ts}" name="upgrade" onclick="return confirm('{ts escape="js"}Are you sure you are ready to upgrade now?{/ts}');" /> |
| 46 | <a class="button cancel form-submit" value="{ts}Cancel{/ts}" href="{$cancelURL}">{ts}Cancel{/ts}</a> |
| 47 | </form> |
| 48 | </div> |
| 49 | |
| 50 | {else} |
| 51 | <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #EEFFEE; border: 1px #070 solid; color: black;"> |
| 52 | <p><span class="crm-status-icon success"> </span><strong>{$message}</strong></p> |
| 53 | <div style="padding: 1em; background-color: rgba(255, 255, 255, 0.76);"> |
| 54 | <p> |
| 55 | <img style="display:block; float:left; width:40px; margin-right:10px;" src="{$config->resourceBase}i/logo_lg.png"> |
| 56 | {ts 1='http://civicrm.org/civicrm/profile/create?reset=1&gid=15'}This release was made possible by contributions from people like <strong>you</strong>. <a href="%1" target="_blank">Register your site</a> to join the community.{/ts} |
| 57 | </p> |
| 58 | <p> |
| 59 | {ts 1='http://civicrm.org/contribute' 2='http://civicrm.org/make-it-happen'}If CiviCRM is useful to your organization, consider making a <a href="%1" target="_blank">monthly contribution</a>, or helping to <a href="%2" target="_blank">fund a proposed improvement</a>.{/ts} |
| 60 | </p> |
| 61 | </div> |
| 62 | {if $afterUpgradeMessage} |
| 63 | <h3>{ts}Important Notes{/ts}</h3> |
| 64 | <p>{$afterUpgradeMessage}</p> |
| 65 | {/if} |
| 66 | <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> |
| 67 | </div> |
| 68 | {/if} |