Hi issue is fixed.
In fact config screen only worked on Chrome...
V1.6.2 will soon be deployed.
<?php
// ==================================================================================================
// This file includes all specific parameters for ProjectOr application
// Automatic configuration at first run
// ==================================================================================================
header ('Content-Type: text/html; charset=UTF-8');
restore_error_handler();
// Database parameters (connection information)
// BE SURE THIS DATA WAY NOT BE READABLE FROM WEB (see above important notice)
$param=array();
$param['DbType'] = 'mysql';
$label['DbType'] = "Database type";
$value['DbType'] = "leave 'mysql' (only possible value)";
$pname['DbType'] = 'paramDbType';
$ctrls['DbType'] = '=mysql=';
$param['DbHost'] = 'localhost';
$label['DbHost'] = "Database host";
$value['DbHost'] = "MySql Server name (default is 'localhost')";
$pname['DbHost'] = 'paramDbHost';
$ctrls['DbHost'] = 'mandatory';
$param['DbUser'] = 'root';
$label['DbUser'] = "Database user to connect";
$value['DbUser'] = "MySql valid user (defaul is 'root')";
$pname['DbUser'] = 'paramDbUser';
$ctrls['DbUser'] = 'mandatory';
$param['DbPassword'] = 'mysql';
$label['DbPassword'] = "Database password for user";
$value['DbPassword'] = "MySql password for user (defaul is 'mysql')";
$pname['DbPassword'] = 'paramDbPassword';
$ctrls['DbPassword'] = '';
$param['DbName'] = 'projectorria';
$label['DbName'] = "Database schema name";
$value['DbName'] = "MySql database instance name";
$pname['DbName'] = 'paramDbName';
$ctrls['DbName'] = 'mandatory';
$param['DbDisplayName'] = 'My Own Project\'Or RIA';
$label['DbDisplayName'] = "Name to be displayed";
$value['DbDisplayName'] = "any value possible to identify connected database";
$pname['DbDisplayName'] = 'paramDbDisplayName';
$ctrls['DbDisplayName'] = '';
$param['DbPrefix'] = '';
$label['DbPrefix'] = "Database prefix for table names";
$value['DbPrefix'] = "prefix on table names, used to store several instances under same schema, may be left blank";
$pname['DbPrefix'] = 'paramDbPrefix';
$ctrls['DbPrefix'] = '';
$param['crlf01']='';
$label['crlf01']='crlf';
$param['MailSender'] = '';
$label['MailSender'] = "eMail address of sender";
$value['MailSender'] = "a valid email as sender for mailing function";
$pname['MailSender'] = 'paramMailSender';
$ctrls['MailSender'] = 'email';
$param['MailReplyTo'] = '';
$label['MailReplyTo'] = "eMail address to reply to";
$value['MailReplyTo'] = "a valid email to define the reply to for mailing function";
$pname['MailReplyTo'] = 'paramMailReplyTo';
$ctrls['MailReplyTo'] = 'email';
$param['AdminMail'] = '';
$label['AdminMail'] = "eMail of administrator";
$value['AdminMail'] = "a valid email of the administratror (will appear on error messages)";
$pname['AdminMail'] = 'paramAdminMail';
$ctrls['AdminMail'] = 'email';
$param['MailSmtpServer'] = 'localhost';
$label['MailSmtpServer'] = "SMTP Server";
$value['MailSmtpServer'] = "address of SMTP (mail) server, may be left blank (default is 'localhost')";
$pname['MailSmtpServer'] = 'paramMailSmtpServer';
$ctrls['MailSmtpServer'] = '';
$param['MailSmtpPort'] = '25';
$label['MailSmtpPort'] = "SMTP Port";
$value['MailSmtpPort'] = "port to talk to SMTP (mail) server (default is '25')";
$pname['MailSmtpPort'] = 'paramMailSmtpPort';
$ctrls['MailSmtpPort'] = '';
$param['MailSendmailPath'] = '';
$label['MailSendmailPath'] = "Sendmail program path";
$value['MailSendmailPath'] = "to set only on issue to send mails, or not using default sendmail";
$pname['MailSendmailPath'] = 'paramMailSendmailPath';
$ctrls['MailSendmailPath'] = '';
$param['crlf02']='';
$label['crlf02']='crlf';
$param['MailTitle'] = '[Project\'Or RIA] ${item} #${id} moved to status ${status}';
$label['MailTitle'] = "Automatic mail title";
$value['MailTitle'] = 'title of automatic mails, may content ${item}, ${id}, ${status}, ${name}';
$pname['MailTitle'] = 'paramMailTitle';
$ctrls['MailTitle'] = '';
$param['MailMessage'] = 'The status of ${item} #${id} [${name}] has changed to ${status}';
$label['MailMessage'] = "Automatic mail message";
$value['MailMessage'] = 'message of automatic mails, may content ${item}, ${id}, ${status}, ${name}';
// ${id} : the id of the element
// ${item} : the class of the element
// ${status} : the new status of the element
// ${name} : the name of the element
$pname['MailMessage'] = 'paramMailMessage';
$ctrls['MailMessage'] = '';
$param['MailShowDetail'] = 'true"';
$label['MailShowDetail'] = "Automatic mail show detail";
$value['MailShowDetail'] = "'true' or 'false', set to true to add detail of item in automatic mail message";
$pname['MailShowDetail'] = 'paramMailShowDetail';
$ctrls['MailShowDetail'] = '=false=true=';
$param['crlf03']='';
$label['crlf03']='crlf';
$param['DefaultPassword'] = 'projector';
$label['DefaultPassword'] = "Default password for initialization";
$value['DefaultPassword'] = "any string possible as default password";
$pname['DefaultPassword'] = 'paramDefaultPassword';
$ctrls['DefaultPassword'] = 'mandatory';
$param['PasswordMinLength'] = '5';
$label['PasswordMinLength'] = "Min length for password";
$value['PasswordMinLength'] = "any integer, to force a long password (keep is reasonable)";
$pname['PasswordMinLength'] = 'paramPasswordMinLength';
$ctrls['PasswordMinLength'] = 'integer';
$param['lockPassword'] = 'false';
$label['lockPassword'] = "Disable password change functionality";
$value['lockPassword'] = "'true' or 'false', if set to true, only admin can reset password)";
$pname['lockPassword'] = 'lockPassword';
$ctrls['lockPassword'] = '=false=true=';
$param['crlf04']='';
$label['crlf04']='crlf';
// === i18n (internationalization)
$param['DefaultLocale'] = 'en';
$label['DefaultLocale'] = "Default locale to be used on i18n";
$value['DefaultLocale'] = "default language, 'en' for English, 'fr' for French, 'de' for German (more locales to come next)";
$pname['DefaultLocale'] = 'paramDefaultLocale';
$ctrls['DefaultLocale'] = '=en=fr=de=';
$param['DefaultTimezone'] = 'Europe/Paris';
$label['DefaultTimezone'] = "Default time zone";
$value['DefaultTimezone'] = "default time zone, list can be found at <a href='http://us3.php.net/manual/en/timezones.php' target='#'>http://us3.php.net/manual/en/timezones.php</a>";
$pname['DefaultTimezone'] = 'paramDefaultTimezone';
$ctrls['DefaultTimezone'] = '';
$param['Currency'] = '€';
$label['Currency'] = "Currency";
$value['Currency'] = "currency displayed for costs";
$pname['Currency'] = 'currency';
$ctrls['Currency'] = '';
$param['CurrencyPosition'] = 'after';
$label['CurrencyPosition'] = "Currency position";
$value['CurrencyPosition'] = "position of currency displayed for costs";
$pname['CurrencyPosition'] = 'currencyPosition';
$ctrls['CurrencyPosition'] = '=after=before=none=';
$param['crlf05']='';
$label['crlf05']='crlf';
// === display
$paramFadeLoadingMode='false';
$param['FadeLoadingMode'] = 'true';
$label['FadeLoadingMode'] = "Use fading mode for frames refresh";
$value['FadeLoadingMode'] = "'true' or 'false', if set to 'true' screens will appear in a fading motion";
$pname['FadeLoadingMode'] = 'paramFadeLoadingMode';
$ctrls['FadeLoadingMode'] = '=true=false=';
$param['RowPerPage'] = '50';
$label['RowPerPage'] = "Number of row per page on main Grid view";
$value['RowPerPage'] = "any integer to define number on rows rendering at a time (see Dojo ...)";
$pname['RowPerPage'] = 'paramRowPerPage';
$ctrls['RowPerPage'] = 'integer';
$param['IconSize'] = '22';
$label['IconSize'] = "Icon size on menu tree";
$value['IconSize'] = "'16' for small icons, '22' for medium icons, '32' for big icons";
$pname['IconSize'] = 'paramIconSize';
$ctrls['IconSize'] = '=16=22=32=';
$param['DefaultTheme'] = 'blue';
$label['DefaultTheme'] = "Default color theme, proposed while login";
$value['DefaultTheme'] = "'blue', 'red', 'green', 'orange', 'grey', 'white' or 'random' for randomly selected";
$pname['DefaultTheme'] = 'defaultTheme';
$ctrls['DefaultTheme'] = '=blue=red=green=orange=grey=white=random=';
$param['crlf06']='';
$label['crlf06']='crlf';
$param['PathSeparator'] = '/';
$label['PathSeparator'] = "Path separator";
$value['PathSeparator'] = "depending on system, '\\' for Windows, '/' for Unix";
$pname['PathSeparator'] = 'paramPathSeparator';
$ctrls['PathSeparator'] = '=/=\\=';
$param['crlf07']='';
$label['crlf07']='crlf';
$param['AttachementDirectory'] = '../files/attach/';
$label['AttachementDirectory'] = "Directory to store Attachments";
$value['AttachementDirectory'] = "any valid directory, set to empty string to disable attachment";
$pname['AttachementDirectory'] = 'paramAttachementDirectory';
$ctrls['AttachementDirectory'] = '';
$param['AttachementMaxSize'] = 1024*1024*2;
$label['AttachementMaxSize'] = "Max file size for attachment";
$value['AttachementMaxSize'] = "size in bytes (1024 * 1024 * MB)";
$pname['AttachementMaxSize'] = 'paramAttachementMaxSize';
$ctrls['AttachementMaxSize'] = 'integer';
$param['crlf08']='';
$label['crlf08']='crlf';
$param['ReportTempDirectory'] = '../files/report/';
$label['ReportTempDirectory'] = "Temp directory for reports";
$value['ReportTempDirectory'] = "any valid directory in the web structure";
$pname['ReportTempDirectory'] = 'paramReportTempDirectory';
$ctrls['ReportTempDirectory'] = '';
$param['MemoryLimitForPDF'] = '512';
$label['MemoryLimitForPDF'] = "Memory limit for PDF reports";
$value['MemoryLimitForPDF'] = "any numeric value, for size in MB";
$pname['MemoryLimitForPDF'] = 'paramMemoryLimitForPDF';
$ctrls['MemoryLimitForPDF'] = '';
$param['crlf09']='';
$label['crlf09']='crlf';
$param['logFile'] = '../files/logs/projector_${date}.log';
$label['logFile'] = "Log file name";
$value['logFile'] = 'any valid file name, may contain \'${date}\' to get 1 file a day';
$pname['logFile'] = 'logFile';
$ctrls['logFile'] = '';
$param['logLevel'] = '2';
$label['logLevel'] = "Log level";
$value['logLevel'] = "'4' for script tracing, '3' for debug, '2' for general trace, '1' for error trace, '0' for none";
$pname['logLevel'] = 'logLevel';
$ctrls['logLevel'] = '=4=3=2=1=0=';
$paramDebugMode='false';
$param['DebugMode'] = 'false';
$label['DebugMode'] = "Setup Dojo debugging mode ";
$value['DebugMode'] = "'true' or 'false'";
$pname['DebugMode'] = 'paramDebugMode';
$ctrls['DebugMode'] = '=true=false=';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title><?php echo i18n("applicationTitle");?></title>
<link rel="shortcut icon" href="img/logo.ico" type="image/x-icon" />
<link rel="icon" href="img/logo.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="css/projector.css" />
<script type="text/javascript" src="js/projector.js" ></script>
<script type="text/javascript" src="js/projectorDialog.js" ></script>
<script type="text/javascript" src="../external/dojo/dojo.js"
djConfig='modulePaths: {i18n: "../../tool/i18n"},
parseOnLoad: true,
isDebug: <?php echo getBooleanValueAsString($paramDebugMode);?>'></script>
<script type="text/javascript" src="../external/dojo/projectorDojo.js"></script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dojo.i18n");
dojo.require("dijit.Dialog");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.form.Button");
dojo.require("dijit.form.Form");
dojo.require("dijit.form.FilteringSelect");
var fadeLoading=<?php echo getBooleanValueAsString($paramFadeLoadingMode);?>;
dojo.addOnLoad(function(){
currentLocale="<?php echo $currentLocale?>";
saveResolutionToSession();
saveBrowserLocaleToSession();
dijit.Tooltip.defaultPosition=["below","right"];
//dojo.byId('login').focus();
<?php
if (array_key_exists('theme',$_SESSION) ) {
echo "dojo.byId('body').className='" . $_SESSION['theme'] . "';";
}
?>
var changePassword=false;
hideWait();
});
</script>
</head>
<body id="body" class="blue" onLoad="hideWait();" style="overflow: auto; ">
<div id="waitLogin" >
</div>
<table align="left" valign="top" width="100%" height="100%" class="background">
<tr height="10%">
<td rowspan="2" width="10px" valign="top">
<img src="img/logoFull.gif" />
</td>
<td width="10px" valign="top">
<img src="img/titleFull.gif" />
</td>
<td>
<h1>Configuration</h1>
<br/>
This screen will help you configure Project'Or RIA at first run.
</td>
</tr>
<tr height="90%">
<td colspan="3" align="left" valign="top">
<form dojoType="dijit.form.Form" id="configForm" jsId="configForm" name="configForm" encType="multipart/form-data" action="" method="" >
<script type="dojo/method" event="onSubmit" >
loadContent("../tool/configCheck.php","configResultDiv", "configForm");
return false;
</script>
<table>
<?php foreach ($param as $par=>$val) {
if ($label[$par]=='crlf') {?>
<tr><td colspan="4"> </td></tr>
<?php } else {?>
<tr>
<td class="label" style="width:300px"><label style="width:300px"><?php echo $label[$par]?> : </label></td>
<td><input id="param[<?php echo $par;?>]" name="param[<?php echo $par;?>]"
style="width:300px" type="text" dojoType="dijit.form.TextBox"
value="<?php echo $val;?>" />
</td>
<td>
<input id="pname[<?php echo $par;?>]" name="pname[<?php echo $par;?>]" type="hidden"
value="<?php echo $pname[$par];?>" />
<input id="label[<?php echo $par;?>]" name="label[<?php echo $par;?>]" type="hidden"
value="<?php echo $label[$par];?>" />
<input id="value[<?php echo $par;?>]" name="value[<?php echo $par;?>]" type="hidden"
value="<?php echo $value[$par];?>" />
<input id="ctrls[<?php echo $par;?>]" name="ctrls[<?php echo $par;?>]" type="hidden"
value="<?php echo $ctrls[$par];?>" />
</td>
<td>
<?php echo $value[$par]?>
</td>
</tr>
<?php }
}?>
<tr><td colspan="4"> </td></tr>
<tr>
<td class="label" style="width:300px"><label style="width:300px">Parameter file name : </label></td>
<td><input id="location" name="location"
style="width:300px" type="text" dojoType="dijit.form.TextBox"
value="../files/config/parameters.php" />
</td>
<td></td>
<td>a php file name where to store parameters, use non web access directory for security</td>
<tr><td colspan="4"> </td>
</tr>
<tr>
<td></td>
<td colspan="3">
<button tabindex="4" type="submit" id="configButton" dojoType="dijit.form.Button" showlabel="true">OK
<script type="dojo/connect" event="onClick" args="evt">
return false;
</script>
</button>
</td>
</tr>
<tr><td colspan="4"> </td></tr>
<tr>
<td> </td>
<td colspan="3">
<div id="configResultDiv" dojoType="dijit.layout.ContentPane" region="center"
style="width:100%; border: 0px solid black; overflow: auto;">
<br/><br/><br/><br/><br/>
</div>
<br/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>