diff -r 59c42a716f95 -r b8adc3cf28c7 install/index.php --- a/install/index.php Sat May 03 22:00:51 2008 +0000 +++ b/install/index.php Fri May 09 14:07:54 2008 +0000 @@ -1,7 +1,23 @@ Error: " . $msg . "\n"; + } else { + echo "
This installer expects you to have a PowerDNS database accessable from this server. This installer also expects you to have never ran Poweradmin before, or that you want to overwrite the Poweradmin part of the database. If you have had Poweradmin running before, any data in the following tables will be destroyed:
\n"; - echo "This installer will, of course, not touch the data in the PowerDNS tables of the database. However, it is, of course, recommended you create a backup of your database before proceeding.
"; - echo "Finally, if you see any errors during the installation process, a problem report would be. You can report problems (and ask for help) on the poweradmin-users mailinglist or you can create a ticket in the ticketsystem.
"; - echo "Do you want to proceed now?
\n"; + + echo "\n"; + echo "
\n"; + echo "\n"; + break; + + case 2: + $step++; + + echo "" . _('This installer expects you to have a PowerDNS database accessable from this server. This installer also expects you to have never ran Poweradmin before, or that you want to overwrite the Poweradmin part of the database. If you have had Poweradmin running before, any data in the following tables will be destroyed: perm_items, perm_templ, perm_templ_items, users and zones. This installer will, of course, not touch the data in the PowerDNS tables of the database. However, it is recommended that you create a backup of your database before proceeding.') . "
\n"; + + echo "" . _('The alternative for this installer is a manual installation. Refer to the poweradmin.org website if you want to go down that road.') . "
\n"; + + echo "" . _('Finally, if you see any errors during the installation process, a problem report would be appreciated. You can report problems (and ask for help) on the poweradmin-users mailinglist.') . "
"; + + echo "" . _('Do you want to proceed now?') . "
\n"; + echo ""; break; - case 2: + case 3: $step++; - echo "To prepare the database for using Poweradmin, the installer needs to modify the PowerDNS database. It'll add a number of tables and it'll fill these tables with some data. If the tables are already present, the installer will drop them first.
"; - echo "To do all of this, the installer needs to access the database with an account which has sufficient rights. If you trust the installer, you may give it the username and password of the database user root. Otherwise, make sure the user has enough rights, before actually proceeding.
"; + echo "" . _('To prepare the database for using Poweradmin, the installer needs to modify the PowerDNS database. It will add a number of tables and it will fill these tables with some data. If the tables are already present, the installer will drop them first.') . "
"; + + echo "" . _('To do all of this, the installer needs to access the database with an account which has sufficient rights. If you trust the installer, you may give it the username and password of the database user root. Otherwise, make sure the user has enough rights, before actually proceeding.') . "
"; + echo "