mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-31 22:22:28 +01:00
Update setup.php
This commit is contained in:
@@ -97,7 +97,7 @@ if (!class_exists('FormSetup')) {
|
||||
$formSetup = new FormSetup($db);
|
||||
|
||||
|
||||
// Hôte
|
||||
// HTTP HOST
|
||||
$item = $formSetup->newItem('NO_PARAM_JUST_TEXT');
|
||||
$item->fieldOverride = (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'];
|
||||
$item->cssClass = 'minwidth500';
|
||||
@@ -106,7 +106,7 @@ $item->cssClass = 'minwidth500';
|
||||
$item = $formSetup->newItem('MYMODULE_MYPARAM1');
|
||||
$item->defaultFieldValue = 'default value';
|
||||
|
||||
// Setup conf MYMODULE_MYPARAM1 as a simple textarea input but we replace the text of field title
|
||||
// Setup conf MYMODULE_MYPARAM2 as a simple textarea input but we replace the text of field title
|
||||
$item = $formSetup->newItem('MYMODULE_MYPARAM2');
|
||||
$item->nameText = $item->getNameText().' more html text ';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user