"._("2.5 Upgrade Module").""; echo "

"._("Current Version Info (Updated each stage of upgrade process):")."

"; ?>
WARNING - YOU WILL BE UPGRADED TO VERSION 2.5

This module will allow you to upgrade to FreePBX version 2.5 from the current version, %s, that you are running.

The upgrade process is a simple but multi-step process that you should complete all at one time. As always when upgrading a system, it is advisable that you complete this process when the system is not actively being used.

The steps you will take are:
  1. Press the upgrade button below.
  2. Go to Module Admin, check for online updates, and upgrade the FreePBX Framework module ONLY from the online repository which will now be connected to version 2.5.
  3. Now, Check for online updates again and upgrade all other modules that have upgrades available. If you get dependency warnings, just repeat the process until all your modules have been upgraded.
  4. Now press the Apply Configuration bar.

Once you have completed these step you will be upgraded to the new 2.5 version and you may disable or remove this module if it does not do so automatically.

"),$version); ?>
">
".sprintf(_("

You appear to have partially upgraded to version 2.5, your current version number is %s. The remaining steps you should take are:

  1. Go to Module Admin, press check for online updates, and upgrade the FreePBX Framework module from the online repository. Do not upgrade other modules.
  2. Check for online updates again and upgrade all other modules that have upgrades available. If you get dependency warnings, simply repeat the process until all modules are ugpraded.
  3. Press the Apply Configuration Changes bar.

Once you have completed these steps you will be upgraded to the new 2.5 version and you may disable or remove this module if it it does not do so automatically.

"),$version); } else if (version_compare_freepbx($core_version, "2.5.0alpha0", "lt")) { echo "
".sprintf(_("

You appear to have upgraded Framework to version 2.5, your current version number is %s. You still need to upgrade the Core Module and any other modules that show upgrades available. The remaining steps you should take are:

  1. Check for online updates again and upgrade all other modules that have upgrades available including Core. If you get dependency warnings simply repeat the process until all modules are upgraded.
  2. Press the Apply Configuration Changes bar.

Once you have completed these steps you will be upgraded to the new 2.5 version and you may disable or remove this module if it it does not do so automatically.

"),$version); } else { $results = module_delete($dispnum); redirect("config.php"); echo sprintf(_("You have successfully upgraded to FreePBX version %s. If this module has not been automatically disabled you should go to Module Admin and disabled or uninstall this module at this time"),$version); } ?>