| ';
+ $htmltext='';
+ print $form->textwithpicto($langs->trans('MainLanguage'), $htmltext, 1, 'help', '', 0, 2, 'WEBSITE_LANG');
+ print ' | ';
+ print $formadmin->select_language((GETPOSTISSET('WEBSITE_LANG') ? GETPOST('WEBSITE_LANG', 'alpha') : ($object->lang ? $object->lang : $langs->defaultlang)), 'WEBSITE_LANG', 0, 0, 0, 0, 0, 'minwidth300', 2);
+ print ' | ';
+ print '
';
+
+ // Other languages
+ print '| ';
+ $htmltext= '';
+ print $form->textwithpicto($langs->trans('OtherLanguages'), $htmltext, 1, 'help', '', 0, 2, 'WEBSITE_OTHERLANG');
+ print ' | ';
+ print '';
+ print ' | ';
+ print '
';
+
// VirtualHost
print '';
@@ -2816,8 +2842,11 @@ if ($action == 'createsite')
print '';
+ $siteref = $sitedesc = $sitelang = $siteotherlang = '';
if (GETPOST('WEBSITE_REF')) $siteref = GETPOST('WEBSITE_REF', 'alpha');
if (GETPOST('WEBSITE_DESCRIPTION')) $sitedesc = GETPOST('WEBSITE_DESCRIPTION', 'alpha');
+ if (GETPOST('WEBSITE_LANG')) $sitelang = GETPOST('WEBSITE_LANG', 'aZ09');
+ if (GETPOST('WEBSITE_OTHERLANG')) $siteotherlang = GETPOST('WEBSITE_OTHERLANG', 'aZ09comma');
print '| ';
print $langs->trans('Ref');
@@ -2828,7 +2857,19 @@ if ($action == 'createsite')
print ' | | ';
print $langs->trans('Description');
print ' | ';
- print '';
+ print '';
+ print ' | ';
+
+ print '| ';
+ print $langs->trans('MainLanguage');
+ print ' | ';
+ print $formadmin->select_language((GETPOSTISSET('WEBSITE_LANG') ? GETPOST('WEBSITE_LANG', 'alpha') : $langs->defaultlang), 'WEBSITE_LANG', 0, 0, 0, 0, 0, 'minwidth300', 2);
+ print ' | ';
+
+ print '| ';
+ print $langs->trans('OtherLanguages');
+ print ' | ';
+ print '';
print ' | ';
print '| ';
| |