Setup based on either compiled modules or xml datamodel files (or both).

SetupWebPage is an alias for ModuleDiscovery and the module files should be updated progressively to invoke ModuleDiscovery::AddModule() instead.
The implementation of the module still assumes they are in the directory 'modules'... this has to be changed later to ensure the distinction between the source modules and the executed modules

SVN:trunk[1758]
This commit is contained in:
Romain Quetiez
2012-01-11 15:04:15 +00:00
parent f29d673ffb
commit 6a9ea25b27
18 changed files with 447 additions and 450 deletions

View File

@@ -32,7 +32,7 @@ require_once(APPROOT.'/core/email.class.inc.php');
require_once('./setuppage.class.inc.php');
$sOperation = Utils::ReadParam('operation', 'step1');
$oP = new SetupWebPage('iTop email test utility');
$oP = new SetupPage('iTop email test utility');
/**
@@ -110,7 +110,7 @@ function CheckEmailSetting($oP)
* Display the form for the first step of the test wizard
* which consists in a basic check of the configuration and display of a form for testing
*/
function DisplayStep1(SetupWebPage $oP)
function DisplayStep1(SetupPage $oP)
{
$sNextOperation = 'step2';
$oP->add("<h1>iTop email test</h1>\n");
@@ -145,7 +145,7 @@ function DisplayStep1(SetupWebPage $oP)
* Display the form for the second step of the configuration wizard
* which consists in sending an email, which maybe a problem under Windows
*/
function DisplayStep2(SetupWebPage $oP, $sFrom, $sTo)
function DisplayStep2(SetupPage $oP, $sFrom, $sTo)
{
//$sNextOperation = 'step3';
$oP->add("<h1>iTop configuration wizard</h1>\n");