Minor formatting

This commit is contained in:
Miles Lott 2002-01-08 02:12:43 +00:00
parent 3484ce2f91
commit e6b3c04a10
3 changed files with 8 additions and 10 deletions

View File

@ -99,9 +99,9 @@
if ($DEBUG) { echo 'Stage: ' . $GLOBALS['phpgw_info']['setup']['stage']['db']; } if ($DEBUG) { echo 'Stage: ' . $GLOBALS['phpgw_info']['setup']['stage']['db']; }
// begin DEBUG code // begin DEBUG code
//$GLOBALS['phpgw_info']['setup']['stage']['db'] = 0; //$GLOBALS['phpgw_info']['setup']['stage']['db'] = 0;
//$action = 'Upgrade'; //$action = 'Upgrade';
// end DEBUG code // end DEBUG code
switch($HTTP_POST_VARS['action']) switch($HTTP_POST_VARS['action'])
{ {

View File

@ -275,10 +275,10 @@
echo 'sample configuration not found. using built in defaults<br>' . "\n"; echo 'sample configuration not found. using built in defaults<br>' . "\n";
$phpgw_info['server']['server_root'] = '/path/to/phpgroupware'; $phpgw_info['server']['server_root'] = '/path/to/phpgroupware';
$phpgw_info['server']['include_root'] = '/path/to/phpgroupware'; $phpgw_info['server']['include_root'] = '/path/to/phpgroupware';
/* This is the basic include needed on each page for phpGroupWare application compliance */ /* This is the basic include needed on each page for phpGroupWare application compliance */
$phpgw_info['flags']['htmlcompliant'] = True; $phpgw_info['flags']['htmlcompliant'] = True;
/* These are the settings for the database system */ /* These are the settings for the database system */
$phpgw_info['server']['db_host'] = 'localhost'; $phpgw_info['server']['db_host'] = 'localhost';
$phpgw_info['server']['db_name'] = 'phpgroupware'; $phpgw_info['server']['db_name'] = 'phpgroupware';
$phpgw_info['server']['db_user'] = 'phpgroupware'; $phpgw_info['server']['db_user'] = 'phpgroupware';
@ -352,8 +352,8 @@
<select type="checkbox" name="setting[db_persistent]"> <select type="checkbox" name="setting[db_persistent]">
<option value="True"<?php echo ($phpgw_info['server']['db_persistent']?' selected':''); ?>>True</option> <option value="True"<?php echo ($phpgw_info['server']['db_persistent']?' selected':''); ?>>True</option>
<option value="False"<?php echo (! $phpgw_info['server']['db_persistent']?' selected':''); ?>>False</option> <option value="False"<?php echo (! $phpgw_info['server']['db_persistent']?' selected':''); ?>>False</option>
</select></td> </select></td>
<td>Do you want persistent connections (higher performance, but eats memory)</td></tr> <td>Do you want persistent connections (higher performance, but eats memory)</td></tr>
<tr><td><b>Sessions Type</b><br><select name="setting[sessions_type]"> <tr><td><b>Sessions Type</b><br><select name="setting[sessions_type]">
<?php <?php
@ -373,8 +373,6 @@
?> ?>
</select> </select>
</td><td>What sessions management type do you want to use (PHP4 session management often performs better)?</td></tr> </td><td>What sessions management type do you want to use (PHP4 session management often performs better)?</td></tr>
<tr><td colspan=2><b>Enable MCrypt</b><br> <tr><td colspan=2><b>Enable MCrypt</b><br>
<select name="setting[enable_mcrypt]"> <select name="setting[enable_mcrypt]">
<?php if($phpgw_info["server"]["mcrypt_enabled"] == True) { ?> <?php if($phpgw_info["server"]["mcrypt_enabled"] == True) { ?>

View File

@ -39,7 +39,7 @@
{ {
$setup_tpl->set_file(array( $setup_tpl->set_file(array(
'sqlarr' => 'arraydl.tpl' 'sqlarr' => 'arraydl.tpl'
)); ));
$setup_tpl->set_var('idstring',"/* \$Id" . ": tables_current.inc.php" . ",v 1.0" . " 2001/05/28 08:42:04 username " . "Exp \$ */"); $setup_tpl->set_var('idstring',"/* \$Id" . ": tables_current.inc.php" . ",v 1.0" . " 2001/05/28 08:42:04 username " . "Exp \$ */");
$setup_tpl->set_block('sqlarr','sqlheader','sqlheader'); $setup_tpl->set_block('sqlarr','sqlheader','sqlheader');
$setup_tpl->set_block('sqlarr','sqlbody','sqlbody'); $setup_tpl->set_block('sqlarr','sqlbody','sqlbody');