mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix edition of type of container
This commit is contained in:
parent
bfa9850211
commit
d41b395a6d
|
|
@ -1905,6 +1905,7 @@ if ($action == 'editcss')
|
|||
print '<br>';
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'createsite')
|
||||
{
|
||||
print '<div class="fiche">';
|
||||
|
|
@ -1977,6 +1978,7 @@ if ($action == 'createsite')
|
|||
print '<br>';
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'editmeta' || $action == 'createcontainer')
|
||||
{
|
||||
print '<div class="fiche">';
|
||||
|
|
@ -2082,7 +2084,7 @@ if ($action == 'editmeta' || $action == 'createcontainer')
|
|||
print '<tr><td class="titlefield fieldrequired">';
|
||||
print $langs->trans('WEBSITE_TYPE_CONTAINER');
|
||||
print '</td><td>';
|
||||
print $formwebsite->selectTypeOfContainer('WEBSITE_TYPE_CONTAINER', (GETPOST('WEBSITE_TYPE_CONTAINER')?GETPOST('WEBSITE_TYPE_CONTAINER'):'page'));
|
||||
print $formwebsite->selectTypeOfContainer('WEBSITE_TYPE_CONTAINER', (GETPOST('WEBSITE_TYPE_CONTAINER','alpha')?GETPOST('WEBSITE_TYPE_CONTAINER','alpha'):$type_container));
|
||||
print '</td></tr>';
|
||||
|
||||
if ($action == 'createcontainer')
|
||||
|
|
@ -2090,7 +2092,7 @@ if ($action == 'editmeta' || $action == 'createcontainer')
|
|||
print '<tr><td class="titlefield fieldrequired">';
|
||||
print $langs->trans('WEBSITE_PAGE_EXAMPLE');
|
||||
print '</td><td>';
|
||||
print $formwebsite->selectSampleOfContainer('sample', (GETPOST('sample')?GETPOST('sample'):'corporatehomepage'));
|
||||
print $formwebsite->selectSampleOfContainer('sample', (GETPOST('sample','alpha')?GETPOST('sample','alpha'):'corporatehomepage'));
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user