diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index cd7b7f3e621..9cc369aa450 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -25,6 +25,90 @@ $yn[0] = "non"; $yn[1] = "oui"; +function loginFunction() +{ + /** + * Change the HTML output so that it fits to your + * application. */ + print 'Dolibarr Authentification'; + print ' + +
+
'; + print 'Dolibarr '.DOL_VERSION; + print ' +
+
+ '; + + echo '
'; + print ''; + print '';; + print ''; + + echo '
Login :
Password :
+

+

'; +} +/* + * + * + */ +function accessforbidden() +{ + llxHeader(); + print "Accés interdit"; + llxFooter(); + exit(0); +} + function doliMoveFileUpload($src_file, $dest_file) { $file_name = $dest_file; @@ -37,101 +121,7 @@ function doliMoveFileUpload($src_file, $dest_file) return move_uploaded_file($src_file, $file_name); } -function loginFunction() -{ - /** - * Change the HTML output so that it fits to your - * application. */ - print 'Dolibarr Authentification'; -print ' - - - - -
-
'; - print 'Dolibarr '.DOL_VERSION; -print ' -
-
-'; - - - echo "
"; - print ''; - print '';; - print ''; - - echo '
Login :
Password :
-

-

-
- -'; -} - - -function accessforbidden() -{ - llxHeader(); - print "Accés interdit"; - llxFooter(); - exit(0); -} function transcoS2L($zonein,$devise) {