Fix phpcs
This commit is contained in:
parent
634c38e948
commit
b5868acf18
@ -525,10 +525,12 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Bouton Save payment
|
// Bouton Save payment
|
||||||
/* print '<tr class="hide_if_no_auto_create_payment"><td>';
|
/*
|
||||||
|
print '<tr class="hide_if_no_auto_create_payment"><td>';
|
||||||
print $langs->trans("ClosePaidSalaryAutomatically");
|
print $langs->trans("ClosePaidSalaryAutomatically");
|
||||||
print '</td><td><input type="checkbox" checked value="1" name="closepaidsalary"></td></tr>';
|
print '</td><td><input type="checkbox" checked value="1" name="closepaidsalary"></td></tr>';
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Other attributes
|
// Other attributes
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||||
|
|||||||
@ -2256,7 +2256,7 @@ if ($action == 'generatesitemaps' && $usercanedit) {
|
|||||||
$domtree = new DOMDocument('1.0', 'UTF-8');
|
$domtree = new DOMDocument('1.0', 'UTF-8');
|
||||||
|
|
||||||
$root = $domtree->createElementNS('http://www.sitemaps.org/schemas/sitemap/0.9', 'urlset');
|
$root = $domtree->createElementNS('http://www.sitemaps.org/schemas/sitemap/0.9', 'urlset');
|
||||||
$root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:xhtml', 'http://www.w3.org/1999/xhtml');
|
$root->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xhtml', 'http://www.w3.org/1999/xhtml');
|
||||||
|
|
||||||
$domtree->formatOutput = true;
|
$domtree->formatOutput = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user