Clean code for v10

This commit is contained in:
Laurent Destailleur
2019-05-09 14:36:48 +02:00
parent 18071fb238
commit 3bf162dcd6
3 changed files with 73 additions and 38 deletions

View File

@@ -59,15 +59,18 @@ $arrayofparameters=array(
);
/*
* Actions
*/
if ((float) DOL_VERSION >= 6)
{
include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
}
/*
* View
*/
@@ -85,7 +88,7 @@ $head = mymoduleAdminPrepareHead();
dol_fiche_head($head, 'settings', '', -1, "mymodule@mymodule");
// Setup page goes here
echo $langs->trans("MyModuleSetupPage").'<br><br>';
echo '<span class="opacitymedium">'.$langs->trans("MyModuleSetupPage").'</span><br><br>';
if ($action == 'edit')