changes to fix pr with eldy advices
This commit is contained in:
parent
460bc2dbde
commit
b097e909a6
@ -2144,26 +2144,9 @@ if ($action == 'importsiteconfirm') {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
$formadmin = new FormAdmin($db);
|
||||
$formwebsite = new FormWebsite($db);
|
||||
$formother = new FormOther($db);
|
||||
$domainname = '0.0.0.0:8080';
|
||||
$tempdir = $conf->website->dir_output.'/'.$websitekey.'/';
|
||||
|
||||
// Confirm generation of website sitemaps
|
||||
if ($action == 'confirmgeneratesitemaps'){
|
||||
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?website='.$website->ref, $langs->trans('ConfirmSitemapsCreation'), $langs->trans('ConfirmGenerateSitemaps', $object->ref), 'generatesitemaps', '', "yes", 1);
|
||||
$action = 'preview';
|
||||
}
|
||||
|
||||
// Generate web site sitemaps
|
||||
if ($action == 'generatesitemaps') {
|
||||
$domtree = new DOMDocument('1.0', 'UTF-8');
|
||||
@ -2234,6 +2217,21 @@ if ($action == 'generatesitemaps') {
|
||||
$action = 'preview';
|
||||
}
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
$formadmin = new FormAdmin($db);
|
||||
$formwebsite = new FormWebsite($db);
|
||||
$formother = new FormOther($db);
|
||||
|
||||
// Confirm generation of website sitemaps
|
||||
if ($action == 'confirmgeneratesitemaps'){
|
||||
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?website='.$website->ref, $langs->trans('ConfirmSitemapsCreation'), $langs->trans('ConfirmGenerateSitemaps', $object->ref), 'generatesitemaps', '', "yes", 1);
|
||||
$action = 'preview';
|
||||
}
|
||||
|
||||
$helpurl = 'EN:Module_Website|FR:Module_Website_FR|ES:Módulo_Website';
|
||||
|
||||
$arrayofjs = array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user