standardize

This commit is contained in:
Philippe GRAND 2018-08-05 17:21:59 +02:00
parent de5281e587
commit 4e3898d357
19 changed files with 18 additions and 25 deletions

View File

@ -113,6 +113,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -835,7 +835,6 @@ print '</form>';
dol_fiche_end();
// End of page
llxFooter();
$db->close();

View File

@ -114,6 +114,6 @@ if ($action == 'edit' && ! empty($attrname))
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -190,7 +190,6 @@ if ($socid > 0)
}
}
// End of page
llxFooter();
$db->close();

View File

@ -2650,7 +2650,6 @@ else
}
}
// End of page
llxFooter();
$db->close();

View File

@ -174,6 +174,6 @@ if ($messagetoshow)
print nl2br($messagetoshow);
}
// End of page
llxFooter();
$db->close();
$db->close();;

View File

@ -650,6 +650,6 @@ else {
print "</form>";
// End of page
llxFooter();
$db->close();

View File

@ -171,8 +171,6 @@ if ($action != 'presend')
}
}
// End of page
llxFooter();
$db->close();

View File

@ -169,6 +169,6 @@ else
accessforbidden('',0,0);
}
// End of page
llxFooter();
$db->close();

View File

@ -365,6 +365,6 @@ else
//print '</td></tr></table>';
print '</div></div></div>';
// End of page
llxFooter();
$db->close();

View File

@ -1301,5 +1301,6 @@ print "</div>";
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@ -129,6 +129,7 @@ else
print $langs->trans("ErrorRecordNotFound");
}
// End of page
llxFooter();
$db->close();

View File

@ -532,7 +532,6 @@ if ($result > 0)
}
else dol_print_error('','RecordNotFound');
// End of page
llxFooter();
$db->close();

View File

@ -105,6 +105,6 @@ else
dol_print_error($db);
}
// End of page
llxFooter();
$db->close();

View File

@ -1610,7 +1610,6 @@ if ($socid && ($action == 'create' || $action == 'createcard') && $user->rights-
print '</form>';
}
// End of page
llxFooter();
$db->close();

View File

@ -615,6 +615,6 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
}
}
// End of page
llxFooter();
$db->close();

View File

@ -147,7 +147,6 @@ if ($socid)
$result=show_projects($conf, $langs, $db, $object, $_SERVER["PHP_SELF"].'?socid='.$object->id, 1, $addbutton);
}
// End of page
llxFooter();
$db->close();

View File

@ -343,5 +343,6 @@ if ($id > 0 || ! empty($ref))
}
}
// End of page
llxFooter();
$db->close();

View File

@ -549,8 +549,6 @@ if (in_array('builddoc',$arrayofmassactions) && ($nbtotalofrecords === '' || $nb
print $formfile->showdocuments('massfilesarea_mymodule','',$filedir,$urlsource,0,$delallowed,'',1,1,0,48,1,$param,$title,'','','',null,$hidegeneratedfilelistifempty);
}
// End of page
llxFooter();
$db->close();