From c5042d468e605a7ec9bb6883ba721c8fd222b4ec Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 25 Feb 2008 23:03:54 +0000 Subject: More installer stuff --- installer/config.php | 295 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 267 insertions(+), 28 deletions(-) (limited to 'installer/config.php') diff --git a/installer/config.php b/installer/config.php index f99c0497e..63031b6b1 100644 --- a/installer/config.php +++ b/installer/config.php @@ -3,14 +3,35 @@ get_defaults(); + +if (!empty($_POST['submit'])) { + + echo '

Copy the following configurations and save them in two files (names above the text box)'; + echo ' within the config/ directory of your RoundCube installation.

'; + + $textbox = new textarea(array('rows' => 16, 'cols' => 60, 'class' => "configfile")); + + echo '
main.inc.php
'; + echo $textbox->show($RCI->create_config('main')); + + echo '
db.inc.php
'; + echo $textbox->show($RCI->create_config('db')); + + echo '

'; + + // echo ''; + echo "\n
\n"; +} ?>
General configuration -
+
+
smtp_log
+
+ '_smtp_log', 'id' => "cfgsmtplog")); +echo $check_smtplog->show(intval($RCI->getprop('smtp_log')), array('value' => 1)); + +?> +
+
+
+
Display settings -
+
locale_string
@@ -173,23 +430,5 @@ echo $input_locale->show($RCI->getprop('locale_string')); echo '

failures ? 'disabled' : '') . ' />

'; - -if (!empty($_POST['submit'])) { - echo "
\n"; - - echo '

Copy the following configurations and save them in two files (names above the text box)'; - echo ' within the config/ directory of your RoundCube installation.

'; - - $textbox = new textarea(array('rows' => 20, 'cols' => 60, 'class' => "configfile")); - - echo '
main.inc.php
'; - echo $textbox->show($RCI->create_config('main')); - - echo '
db.inc.php
'; - echo $textbox->show($RCI->create_config('db')); - - echo '

'; -} - ?> -- cgit v1.2.3