2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4 * SugarCRM Community Edition is a customer relationship management program developed by
5 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
7 * This program is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU Affero General Public License version 3 as published by the
9 * Free Software Foundation with the addition of the following permission added
10 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
19 * You should have received a copy of the GNU Affero General Public License along with
20 * this program; if not, see http://www.gnu.org/licenses or write to the Free
21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
27 * The interactive user interfaces in modified source and object code versions
28 * of this program must display Appropriate Legal Notices, as required under
29 * Section 5 of the GNU Affero General Public License version 3.
31 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32 * these Appropriate Legal Notices must retain the display of the "Powered by
33 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34 * technical reasons, the Appropriate Legal Notices must display the words
35 * "Powered by SugarCRM".
36 ********************************************************************************/
41 if( !isset( $install_script ) || !$install_script ){
42 die($mod_strings['ERR_NO_DIRECT_SCRIPT']);
44 // $mod_strings come from calling page.
46 ///////////////////////////////////////////////////////////////////////////////
49 $langHeader = get_language_header();
51 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
54 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55 <meta http-equiv="Content-Style-Type" content="text/css">
56 <title>{$mod_strings['LBL_WIZARD_TITLE']} {$mod_strings['LBL_TITLE_ARE_YOU_READY']}</title>
57 <link REL="SHORTCUT ICON" HREF="include/images/sugar_icon.ico">
58 <link rel="stylesheet" href="install/install.css" type="text/css">
62 <form action="install.php" method="post" name="form" id="form">
63 <table cellspacing="0" cellpadding="0" border="0" align="center" class="shell">
64 <tr><td colspan="2" id="help"><a href="{$help_url}" target='_blank'>{$mod_strings['LBL_HELP']} </a></td></tr>
66 <th id="title" width="500">
68 <img src="{$sugar_md}" alt="SugarCRM" border="0">
71 <th width="200" height="30" style="text-align: right;"><a href="http://www.sugarcrm.com" target=
72 "_blank"><IMG src="include/images/sugarcrm_login.png" alt="SugarCRM" border="0"></a>
76 <td colspan="2" id="ready">{$mod_strings['LBL_TITLE_ARE_YOU_READY']} </td>
80 <p><strong>{$mod_strings['LBL_WELCOME_PLEASE_READ_BELOW']}</strong></p>
82 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome">
85 <span onclick="showtime('sys_comp');" style="cursor:pointer;cursor:hand">
86 <span id='basic_sys_comp'><img alt="{$mod_strings['LBL_BASIC_SEARCH']}" src="themes/default/images/basic_search.gif" border="0"></span>
87 <span id='adv_sys_comp' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_SEARCH']}" src="themes/default/images/advanced_search.gif" border="0"></span>
88 {$mod_strings['REQUIRED_SYS_COMP']}
93 <div id='sys_comp' >{$mod_strings['REQUIRED_SYS_COMP_MSG']}</div>
97 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome">
100 <span onclick="showtime('sys_check');" style="cursor:pointer;cursor:hand">
101 <span id='basic_sys_check'><img alt="{$mod_strings['LBL_BASIC_SEARCH']}" src="themes/default/images/basic_search.gif" border="0"></span>
102 <span id='adv_sys_check' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_SEARCH']}" src="themes/default/images/advanced_search.gif" border="0"></span>
103 {$mod_strings['REQUIRED_SYS_CHK']}
108 <div id='sys_check' >{$mod_strings['REQUIRED_SYS_CHK_MSG']}</div>
112 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome">
115 <span onclick="showtime('installType');" style="cursor:pointer;cursor:hand">
116 <span id='basic_installType'><img alt="{$mod_strings['LBL_BASIC_TYPE']}" src="themes/default/images/basic_search.gif" border="0"></span>
117 <span id='adv_installType' style='display:none'><img alt="{$mod_strings['LBL_ADVANCED_TYPE']}" src="themes/default/images/advanced_search.gif" border="0"></span>
118 {$mod_strings['REQUIRED_INSTALLTYPE']}
123 <div id='installType' >{$mod_strings['REQUIRED_INSTALLTYPE_MSG']}</div>
130 <td align="right" colspan="2" height="20">
132 <table cellspacing="0" cellpadding="0" border="0" class="stdTable">
135 <input type="hidden" name="current_step" value="{$next_step}">
138 <input class="acceptButton" type="button" name="goto" value="{$mod_strings['LBL_BACK']}" id="button_back_ready" onclick="document.getElementById('form').submit();" />
139 <input class="button" type="submit" name="goto" value="{$mod_strings['LBL_NEXT']}" id="button_next2" />
148 function showtime(div){
150 if(document.getElementById(div).style.display == ''){
151 document.getElementById(div).style.display = 'none';
152 document.getElementById('adv_'+div).style.display = '';
153 document.getElementById('basic_'+div).style.display = 'none';
155 document.getElementById(div).style.display = '';
156 document.getElementById('adv_'+div).style.display = 'none';
157 document.getElementById('basic_'+div).style.display = '';