|
iTx Technologies offre gratuitement
|
||
[Vue sommaire] [Imprimer] [Vue textuelle]
1 <?php 2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 3 /********************************************************************************* 4 * SugarCRM is a customer relationship management program developed by 5 * SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify it under 8 * the terms of the GNU 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. 13 * 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 General Public License for more 17 * details. 18 * 19 * You should have received a copy of the GNU 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 22 * 02110-1301 USA. 23 * 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. 26 * 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 General Public License version 3. 30 * 31 * In accordance with Section 7(b) of the GNU 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 ********************************************************************************/ 37 38 39 40 if( !isset( $install_script ) || !$install_script ){ 41 die($mod_strings['ERR_NO_DIRECT_SCRIPT']); 42 } 43 // $mod_strings come from calling page. 44 45 $langDropDown = get_select_options_with_id($supportedLanguages, $current_language); 46 47 /////////////////////////////////////////////////////////////////////////////// 48 //// START OUTPUT 49 50 51 $out = <<<EOQ 52 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 53 <html> 54 <head> 55 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 56 <meta http-equiv="Content-Style-Type" content="text/css"> 57 <title>{$mod_strings['LBL_WIZARD_TITLE']} {$mod_strings['LBL_TITLE_WELCOME']} {$setup_sugar_version} {$mod_strings['LBL_WELCOME_SETUP_WIZARD']}</title> 58 <link REL="SHORTCUT ICON" HREF="include/images/sugar_icon.ico"> 59 <link rel="stylesheet" href="install/install.css" type="text/css"> 60 </head> 61 62 <body> 63 <form action="install.php" method="post" name="form" id="form"> 64 <table cellspacing="0" cellpadding="0" border="0" align="center" class="shell"> 65 <tr><td colspan="2" id="help"><a href="{$help_url}" target='_blank'>{$mod_strings['LBL_HELP']} </a></td></tr> 66 <tr> 67 <th width="500"> 68 <p><img src="include/images/sugar_md.png" alt="SugarCRM" border="0"></p> 69 {$mod_strings['LBL_TITLE_WELCOME']} {$setup_sugar_version} {$mod_strings['LBL_WELCOME_SETUP_WIZARD']}</th> 70 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" width="145" height="30" alt="SugarCRM" border="0"></a> 73 </th> 74 </tr> 75 <tr> 76 <td colspan="2" id="ready_image"><IMG src="include/images/install_themes.jpg" width="698" height="190" alt="Sugar Themes" border="0"></td> 77 </tr> 78 79 <tr> 80 <td colspan="2" id="ready">{$mod_strings['LBL_TITLE_ARE_YOU_READY']} </td> 81 </tr> 82 83 <tr> 84 <td colspan="2"> 85 <p><strong>{$mod_strings['LBL_WELCOME_PLEASE_READ_BELOW']}</strong></p> 86 87 88 89 90 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome"> 91 <tr> 92 93 <th><span onclick="showtime('sys_comp');" style="cursor:pointer;cursor:hand"><span id='basic_sys_comp'><img src="themes/default/images/basic_search.gif" border="0"></span><span id='adv_sys_comp' style='display:none'><img src="themes/default/images/advanced_search.gif" border="0"></span> {$mod_strings['REQUIRED_SYS_COMP']}</span></th> 94 </tr> 95 <td> 96 <div id='sys_comp' > 97 {$mod_strings['REQUIRED_SYS_COMP_MSG']} 98 </div> 99 </td> 100 </table> 101 102 103 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome"> 104 <tr> 105 <th><span onclick="showtime('sys_check');" style="cursor:pointer;cursor:hand"><span id='basic_sys_check'><img src="themes/default/images/basic_search.gif" border="0"></span><span id='adv_sys_check' style='display:none'><img src="themes/default/images/advanced_search.gif" border="0"></span> {$mod_strings['REQUIRED_SYS_CHK']}</span></th> 106 </tr> 107 <td> 108 <div id='sys_check' > 109 {$mod_strings['REQUIRED_SYS_CHK_MSG']} 110 111 </div> 112 </td> 113 </table> 114 115 116 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome"> 117 <tr> 118 <th><span onclick="showtime('installType');" style="cursor:pointer;cursor:hand"><span id='basic_installType'><img src="themes/default/images/basic_search.gif" border="0"></span><span id='adv_installType' style='display:none'><img src="themes/default/images/advanced_search.gif" border="0"></span> {$mod_strings['REQUIRED_INSTALLTYPE']}</span></th> 119 </tr> 120 <td> 121 <div id='installType' > 122 {$mod_strings['REQUIRED_INSTALLTYPE_MSG']} 123 </div> 124 </td> 125 </table> 126 </td> 127 </tr> 128 129 <tr> 130 <td align="right" colspan="2" height="20"> 131 <hr> 132 <input type="hidden" name="current_step" value="{$next_step}"> 133 134 <table cellspacing="0" cellpadding="0" border="0" class="stdTable"> 135 <tr> 136 <td> 137 <input type="hidden" name="goto" value="{$mod_strings['LBL_BACK']}" /></td> 138 <td><input class="button" type="submit" name="goto" value="{$mod_strings['LBL_NEXT']}" id="defaultFocus" /></td> 139 </tr> 140 </table> 141 </td> 142 </tr> 143 </table> 144 </form> 145 <script> 146 function showtime(div){ 147 148 if(document.getElementById(div).style.display == ''){ 149 document.getElementById(div).style.display = 'none'; 150 document.getElementById('adv_'+div).style.display = ''; 151 document.getElementById('basic_'+div).style.display = 'none'; 152 }else{ 153 document.getElementById(div).style.display = ''; 154 document.getElementById('adv_'+div).style.display = 'none'; 155 document.getElementById('basic_'+div).style.display = ''; 156 } 157 158 } 159 </script> 160 </body> 161 </html> 162 EOQ; 163 if (version_compare(phpversion(),'5.1.0') < 0 || version_compare(phpversion(),'5.3.0') >= 0) { 164 if(empty($mod_strings['LBL_MINIMUM_PHP_VERSION'])){ 165 $mod_strings['LBL_MINIMUM_PHP_VERSION'] = 'Minimum Php version required is 5.1.0. Recommended Php version is 5.2.x.'; 166 } 167 168 $php_verison_warning =<<<eoq 169 <table width="100%" cellpadding="0" cellpadding="0" border="0" class="Welcome"> 170 <tr> 171 <td colspan="2" align="center" id="ready_image"><IMG src="include/images/install_themes.jpg" width="698" height="190" alt="Sugar Themes" border="0"></td> 172 </tr> 173 <th colspan="2" align="center"> 174 <h1><span class='error'><b>{$mod_strings['LBL_MINIMUM_PHP_VERSION']}</b></span></h1> 175 </th> 176 <tr> 177 <td colspan="2" align="center" id="ready_image"><IMG src="include/images/install_themes.jpg" width="698" height="190" alt="Sugar Themes" border="0"></td> 178 </tr> 179 </table> 180 eoq; 181 $out = $php_verison_warning; 182 } 183 echo $out; 184 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
|
|
|
|