2
0
forked from Wavyzz/dolibarr

standardize

This commit is contained in:
Philippe GRAND
2018-07-28 18:03:14 +02:00
parent 9cc40fcb21
commit 36ea20b7d4
49 changed files with 52 additions and 60 deletions

View File

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

View File

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

View File

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

View File

@@ -6,7 +6,7 @@
* Copyright (C) 2005-2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
* Copyright (C) 2011-2013 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2011-2017 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2011-2018 Philippe Grand <philippe.grand@atoo-net.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -560,7 +560,6 @@ print "</td></tr>\n";
print '</form>';
//Use draft Watermark
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print "<input type=\"hidden\" name=\"action\" value=\"set_FICHINTER_DRAFT_WATERMARK\">";
@@ -635,12 +634,10 @@ print '</td>';
print '</tr>';
print '</form>';
print '</table>';
print '<br>';
// End of page
llxFooter();
$db->close();

View File

@@ -153,6 +153,6 @@ if ($geoip)
$geoip->close();
}
// End of page
llxFooter();
$db->close();

View File

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

View File

@@ -578,6 +578,6 @@ else // Show
print '</div>';
}
// End of page
llxFooter();
$db->close();

View File

@@ -114,7 +114,6 @@ if (empty($reshook))
print '<div class="center"><div class="logo_setup"></div></div>';
}
// End of page
llxFooter();
$db->close();

View File

@@ -340,5 +340,6 @@ if (function_exists("ldap_connect"))
}
}
// End of page
llxFooter();
$db->close();

View File

@@ -318,6 +318,7 @@ if (function_exists("ldap_connect"))
}
}
// End of page
llxFooter();
$db->close();

View File

@@ -251,5 +251,6 @@ if (function_exists("ldap_connect"))
}
}
// End of page
llxFooter();
$db->close();

View File

@@ -442,7 +442,6 @@ if (function_exists("ldap_connect"))
}
// End of page
llxFooter();
$db->close();

View File

@@ -241,5 +241,6 @@ if (function_exists("ldap_connect"))
}
}
// End of page
llxFooter();
$db->close();

View File

@@ -470,5 +470,6 @@ if (function_exists("ldap_connect"))
}
}
// End of page
llxFooter();
$db->close();

View File

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

View File

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

View File

@@ -119,6 +119,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

@@ -120,6 +120,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

@@ -122,5 +122,6 @@ print "</table>\n";
print '<br><div style="text-align:center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
// End of page
llxFooter();
$db->close();

View File

@@ -152,6 +152,6 @@ print '<div align="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@@ -238,7 +238,6 @@ if (! empty($conf->global->ADHERENT_USE_MAILMAN))
print '</form>';
}
// End of page
llxFooter();
$db->close();

View File

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

View File

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

View File

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

View File

@@ -269,7 +269,6 @@ if ($action != 'edit')
print '</div>';
}
// End of page
llxFooter();
$db->close();

View File

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

View File

@@ -1080,8 +1080,6 @@ if ($mode == 'develop')
dol_fiche_end();
}
// End of page
llxFooter();
$db->close();

View File

@@ -375,6 +375,6 @@ print '
</script>
';
// End of page
llxFooter();
$db->close();

View File

@@ -272,7 +272,6 @@ print '<div class="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@@ -150,6 +150,6 @@ print '<div class="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
// End of page
llxFooter();
$db->close();

View File

@@ -394,6 +394,6 @@ if ($mode == 'userconf' && $user->admin)
dol_fiche_end();
// End of page
llxFooter();
$db->close();

View File

@@ -117,6 +117,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

@@ -118,6 +118,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

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

View File

@@ -668,7 +668,6 @@ else // Show
print '<br>';
}
// End of page
llxFooter();
$db->close();

View File

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

View File

@@ -533,5 +533,6 @@ if (! empty($conf->global->MAIN_MODULE_NOTIFICATION))
}
*/
// End of page
llxFooter();
$db->close();

View File

@@ -649,7 +649,6 @@ print "</td></tr>\n";
print '</table>';
// End of page
llxFooter();
$db->close();

View File

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

View File

@@ -447,7 +447,7 @@ $object->barcode = '3700123862396';
//$printer->sendToPrinter($object, 1, 16);
//setEventMessages($printer->error, $printer->errors, 'errors');
// End of page
llxFooter();
$db->close();

View File

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

View File

@@ -116,6 +116,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

@@ -127,5 +127,6 @@ print '<div class="center"><input type="submit" class="button" value="'.$langs->
print '</form>';
// End of page
llxFooter();
$db->close();
$db->close();;

View File

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

View File

@@ -178,7 +178,6 @@ print '<div class="center"><input type="submit" class="button" name="button" val
print '</form>';
// Form to test upload
print '<br>';
$formfile=new FormFile($db);
@@ -188,5 +187,6 @@ $formfile->form_attach_new_file($_SERVER['PHP_SELF'], $langs->trans("FormToTestF
$filearray=dol_dir_list($upload_dir, "files", 0, '', '', 'name', SORT_ASC, 1);
$formfile->list_of_documents($filearray, null, 'admin_temp', '');
// End of page
llxFooter();
$db->close();

View File

@@ -206,6 +206,6 @@ print '<div class="center"><input type="submit" class="button" name="button" val
print '</form>';
// End of page
llxFooter();
$db->close();

View File

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

View File

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

View File

@@ -566,7 +566,6 @@ if ($conf->global->PRODUIT_SOUSPRODUITS)
}
*/
// End of page
llxFooter();
$db->close();