From 0eae624a6033974629a180321d2fc086a54b74fa Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Jan 2016 18:13:15 +0100 Subject: [PATCH] Add protection to avoid packaging external tested modules --- build/makepack-dolibarr.pl | 2 ++ htdocs/societe/soc.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/makepack-dolibarr.pl b/build/makepack-dolibarr.pl index 9a6a9175ca7..ac5529d7d8f 100755 --- a/build/makepack-dolibarr.pl +++ b/build/makepack-dolibarr.pl @@ -507,6 +507,8 @@ if ($nboftargetok) { $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/pos*`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/teclib*`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/timesheet*`; + $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/webmail*`; + $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/accountingexport*`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/oblyon*`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/allscreen*`; # Removed other test files diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 63f5a109466..f6864b53e6a 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -2363,6 +2363,8 @@ else print '
'; print load_fiche_titre($langs->trans($titreform)); + dol_fiche_head(); + // Define output language $outputlangs = $langs; $newlang = ''; @@ -2446,7 +2448,7 @@ else } print $formmail->get_form(); - print '
'; + dol_fiche_end(); } else {