* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo. If the display of the logo is not reasonably feasible for * technical reasons, the Appropriate Legal Notices must display the words * "Powered by SugarCRM". ********************************************************************************/ require_once 'modules/Studio/config.php'; require_once 'modules/Studio/wizards/StudioWizard.php'; $wizard = !empty($_REQUEST['wizard']) ? $_REQUEST['wizard'] : 'StudioWizard'; if (file_exists('modules/Studio/wizards/' . $wizard . '.php')) { require_once 'modules/Studio/wizards/' . $wizard . '.php'; $thewiz = new $wizard(); } else { unset($_SESSION['studio']['lastWizard']); $thewiz = new StudioWizard(); } if (!empty($_REQUEST['back'])) { $thewiz->back(); } if (!empty($_REQUEST['option'])) { $thewiz->process($_REQUEST['option']); } else { $thewiz->display(); }
function display() { $_SESSION['studio']['lastWizard'] = 'ManageBackups'; if (empty($_REQUEST['setFile'])) { require_once 'modules/Studio/wizards/SelectModuleLayout.php'; $newWiz = new SelectModuleLayout(); $newWiz->fileuse = 'backupmanager'; $newWiz->display(); } else { parent::display(); } }