Update setup.php
This commit is contained in:
parent
6cf5c51f0b
commit
d90ca726f4
@ -97,7 +97,7 @@ if (!class_exists('FormSetup')) {
|
|||||||
$formSetup = new FormSetup($db);
|
$formSetup = new FormSetup($db);
|
||||||
|
|
||||||
|
|
||||||
// Hôte
|
// HTTP HOST
|
||||||
$item = $formSetup->newItem('NO_PARAM_JUST_TEXT');
|
$item = $formSetup->newItem('NO_PARAM_JUST_TEXT');
|
||||||
$item->fieldOverride = (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'];
|
$item->fieldOverride = (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'];
|
||||||
$item->cssClass = 'minwidth500';
|
$item->cssClass = 'minwidth500';
|
||||||
@ -106,7 +106,7 @@ $item->cssClass = 'minwidth500';
|
|||||||
$item = $formSetup->newItem('MYMODULE_MYPARAM1');
|
$item = $formSetup->newItem('MYMODULE_MYPARAM1');
|
||||||
$item->defaultFieldValue = 'default value';
|
$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 = $formSetup->newItem('MYMODULE_MYPARAM2');
|
||||||
$item->nameText = $item->getNameText().' more html text ';
|
$item->nameText = $item->getNameText().' more html text ';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user