diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 68eb2b8e8bb..0636cc098a8 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1905,6 +1905,7 @@ if ($action == 'editcss') print '
'; } + if ($action == 'createsite') { print '
'; @@ -1977,6 +1978,7 @@ if ($action == 'createsite') print '
'; } + if ($action == 'editmeta' || $action == 'createcontainer') { print '
'; @@ -2082,7 +2084,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') print ''; print $langs->trans('WEBSITE_TYPE_CONTAINER'); print ''; - 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 ''; if ($action == 'createcontainer') @@ -2090,7 +2092,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') print ''; print $langs->trans('WEBSITE_PAGE_EXAMPLE'); print ''; - print $formwebsite->selectSampleOfContainer('sample', (GETPOST('sample')?GETPOST('sample'):'corporatehomepage')); + print $formwebsite->selectSampleOfContainer('sample', (GETPOST('sample','alpha')?GETPOST('sample','alpha'):'corporatehomepage')); print ''; }