diff --git a/ChangeLog b/ChangeLog index 81aa3c6c02d..2808c594086 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,10 @@ -------------------------------------------------------------- English Dolibarr ChangeLog -$Id: ChangeLog,v 1.423 2011/07/07 16:03:53 simnandez Exp $ +$Id: ChangeLog,v 1.424 2011/07/13 14:16:39 eldy Exp $ -------------------------------------------------------------- ***** ChangeLog for 3.1 compared to 3.0 ***** +WARNING: IE6 browser is no more supported in this version. For users: - New: War against number of clicks: - When adding a free bank transaction, form to add next one is still diff --git a/README b/README index 342035579b4..2eebec8c5f8 100644 --- a/README +++ b/README @@ -53,20 +53,13 @@ To upgrade Dolibarr from an old version to this one: - If you came from a beta version or from any version x.y.z to any other where x or y number differs, you must call the Dolibarr "install/" - page in your browser. - Url might be for example: + page in your browser (this should be done automatically at first dolibarr + access). + This URL should looks like: http://localhost/dolibarr/htdocs/install/ or http://yourdolibarrhost/install/index.php - To know what is exactly correct URL for "install/" page, take URL you use - to go on login page. It it ends with "index.php", remove it. Then add - "install/" at the end. - For example, if your login page is: - http://yourdolibarrhost/something/index.php - Then, your "install/" pages will be - http://yourdolibarrhost/something/install/ - Then choose the "update" option according to your case. Note: Migrate process can be ran safely several times. diff --git a/README-FR b/README-FR index 404d3f1a521..75962578d1d 100644 --- a/README-FR +++ b/README-FR @@ -53,19 +53,13 @@ Pour mettre a jour Dolibarr depuis une vieille version vers celle ci: il n'y a pas besoin de migration de données. - Si vous venez d'une beta ou d'un version x.y.z vers une autre ou les numeros x - ou y varient, vous devez appelez la page de migration dans votre navigateur: + ou y varient, vous devez appelez la page "install/" de migration dans votre + navigateur (ceci doit se faire automatiquement au premier accès de l'application). + Ce sera une URL du genre: http://localhost/dolibarr/htdocs/install/index.php ou http://yourdolibarrhost/install/index.php - Pour savoir quelle est l'URL exactement de la page "install/", prenez l'URL que - vous utilisez pour vous loguer. Si elle se termine par "index.php", enlevez le. - Dans tous les cas, ajouter ensuite "install/" à la fin. - Par exemple, si votre page de connexion est: - http://yourdolibarrhost/something/index.php - Alors la page "install/" sera - http://yourdolibarrhost/something/install/ - Ensuite, choisir l'option de "mise a jour" en rapport avec votre cas. Note: Le processus de migration peut etre lance plusieurs fois sans risque. diff --git a/build/exe/doliwamp/doliwamp.iss b/build/exe/doliwamp/doliwamp.iss index f89ff75f410..c731758148d 100644 --- a/build/exe/doliwamp/doliwamp.iss +++ b/build/exe/doliwamp/doliwamp.iss @@ -10,7 +10,7 @@ ; only the root user with no password, stop server and catch ; files user.MY* to put them in the Dolibarr build/exe/doliwamp/mysql directory. ; -; Version: $Id$ +; Version: $Id: doliwamp.iss,v 1.82 2011/07/13 21:09:30 eldy Exp $ ;---------------------------------------------------------------------------------------- @@ -18,12 +18,12 @@ ; ----- Change this ----- AppName=DoliWamp ; DoliWamp-x.x.x or DoliWamp-x.x.x-dev or DoliWamp-x.x.x-beta -AppVerName=DoliWamp-3.1.0-alpha +AppVerName=DoliWamp-3.1.0-beta ; DoliWamp-x.x x or DoliWamp-x.x.x-dev or DoliWamp-x.x.x-beta -OutputBaseFilename=DoliWamp-3.1.0-alpha +OutputBaseFilename=DoliWamp-3.1.0-beta ; Define full path from wich all relative path are defined ; You must modify this to put here your dolibarr root directory -SourceDir=C:\Work\Data\Workspace\dolibarr +SourceDir=C:\Mes Developpements\dolibarr ; ----- End of change ;OutputManifestFile=build\doliwampbuild.log AppId=doliwamp @@ -101,10 +101,10 @@ Source: "build\exe\doliwamp\UsedPort.exe"; DestDir: "{app}\"; Flags: ignoreversi ; PhpMyAdmin, Apache, Php, Mysql ; Put here path of Wampserver applications ; Value OK: apache 2.2.6, php 5.2.5 (5.2.11 fails if php_exif is on), mysql 5.0.45 or 5.1.36 -Source: "C:\Work\Applis\Wamp\apps\phpmyadmin3.2.0.1\*.*"; DestDir: "{app}\apps\phpmyadmin3.2.0.1"; Flags: ignoreversion recursesubdirs; Excludes: "config.inc.php,wampserver.conf,*.log,*_log" -Source: "C:\Work\Applis\Wamp\bin\apache\apache2.2.6\*.*"; DestDir: "{app}\bin\apache\apache2.2.6"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log" -Source: "C:\Work\Applis\Wamp\bin\php\php5.2.5\*.*"; DestDir: "{app}\bin\php\php5.2.5"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,phpForApache.ini,wampserver.conf,*.log,*_log" -Source: "C:\Work\Applis\Wamp\bin\mysql\mysql5.0.45\*.*"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion recursesubdirs; Excludes: "my.ini,data\*,wampserver.conf,*.log,*_log,MySQLInstanceConfig.exe" +Source: "C:\Program Files\Wamp\apps\phpmyadmin3.2.0.1\*.*"; DestDir: "{app}\apps\phpmyadmin3.2.0.1"; Flags: ignoreversion recursesubdirs; Excludes: "config.inc.php,wampserver.conf,*.log,*_log" +Source: "C:\Program Files\Wamp\bin\apache\apache2.2.6\*.*"; DestDir: "{app}\bin\apache\apache2.2.6"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log" +Source: "C:\Program Files\Wamp\bin\php\php5.2.5\*.*"; DestDir: "{app}\bin\php\php5.2.5"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,phpForApache.ini,wampserver.conf,*.log,*_log" +Source: "C:\Program Files\Wamp\bin\mysql\mysql5.0.45\*.*"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion recursesubdirs; Excludes: "my.ini,data\*,wampserver.conf,*.log,*_log,MySQLInstanceConfig.exe" ; Mysql data files (does not overwrite if exists) Source: "build\exe\doliwamp\mysql\*.*"; DestDir: "{app}\bin\mysql\data\mysql"; Flags: onlyifdoesntexist ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db" ; Dolibarr diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 7a01db892db..2eeb80e952f 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -23,7 +23,7 @@ * \file htdocs/adherents/fiche.php * \ingroup member * \brief Page of member - * \version $Id$ + * \version $Id: fiche.php,v 1.237 2011/07/13 11:50:33 eldy Exp $ */ require("../main.inc.php"); @@ -944,7 +944,7 @@ if ($action == 'edit') print ''; // Country - $adh->pays_id=$adh->pays_id?$adh->pays_id:$mysoc->pays_id; + //$adh->pays_id=$adh->pays_id?$adh->pays_id:$mysoc->pays_id; // In edit mode we don't force to company country if not defined print ''.$langs->trans('Country').''; $html->select_pays(isset($_POST["pays_id"])?$_POST["pays_id"]:$adh->pays_id,'pays_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1); @@ -1505,5 +1505,5 @@ if ($rowid && $action != 'edit') $db->close(); -llxFooter('$Date$ - $Revision$'); +llxFooter('$Date: 2011/07/13 11:50:33 $ - $Revision: 1.237 $'); ?> diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php index 54c28b04389..29544b85be1 100644 --- a/htdocs/admin/system/dolibarr.php +++ b/htdocs/admin/system/dolibarr.php @@ -20,7 +20,7 @@ /** * \file htdocs/admin/system/dolibarr.php * \brief Page to show Dolibarr informations - * \version $Id$ + * \version $Id: dolibarr.php,v 1.58 2011/07/13 13:15:17 eldy Exp $ */ require("../../main.inc.php"); @@ -163,7 +163,7 @@ if (function_exists('date_default_timezone_get')) print ''.$langs->trans("CurrentTimeZone").''; // Timezone server PHP $a=date_default_timezone_get(); $a.=' ('.(-dol_mktime(0,0,0,1,1,1970)>0?'+':'').(-dol_mktime(0,0,0,1,1,1970)).')'; - print $form->textwithtooltip($a,$txt,2,1,img_info()); + print $form->textwithtooltip($a,$txt,2,1,img_info('')); print ''."\n"; // value defined in http://fr3.php.net/manual/en/timezones.europe.php } else @@ -171,7 +171,7 @@ else $var=!$var; print ''.$langs->trans("PHPServerOffsetWithGreenwich").''; $a=(-dol_mktime(0,0,0,1,1,1970)>0?'+':'').(-dol_mktime(0,0,0,1,1,1970)); - print $form->textwithtooltip($a,$txt,2,1,img_info()); + print $form->textwithtooltip($a,$txt,2,1,img_info('')); print ''."\n"; } $var=!$var; @@ -213,5 +213,5 @@ print '=> '.$langs->trans("File encoding").''; print '
'; -llxFooter('$Date$ - $Revision$'); +llxFooter('$Date: 2011/07/13 13:15:17 $ - $Revision: 1.58 $'); ?> diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php index c508e65182f..9a36e5a2e8a 100644 --- a/htdocs/compta/facture/impayees.php +++ b/htdocs/compta/facture/impayees.php @@ -1,7 +1,7 @@ * Copyright (C) 2004 Eric Seigne - * Copyright (C) 2004-2009 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -23,7 +23,7 @@ * \file htdocs/compta/facture/impayees.php * \ingroup facture * \brief Page to list and build liste of unpaid invoices - * \version $Revision$ + * \version $Revision: 1.83 $ */ require("../../main.inc.php"); @@ -268,7 +268,7 @@ if ($result) print_fiche_titre($titre,$link); //print_barre_liste($titre,$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',0); // We don't want pagination on this page - if ($mesg) print $mesg; + dol_htmloutput_mesg($mesg); $i = 0; print ''; @@ -351,10 +351,10 @@ if ($result) // PDF Picto print ''; + print ''; print '
'; - $filename=dol_sanitizeFileName($objp->facnumber); + $filename=dol_sanitizeFileName($objp->facnumber); $filedir=$conf->facture->dir_output . '/' . dol_sanitizeFileName($objp->facnumber); $foundpdf=$formfile->show_documents('facture',$filename,$filedir,$urlsource,'','','',1,'',1,$param); - print '
'; @@ -425,5 +425,5 @@ if ($result) $db->close(); -llxFooter('$Date$ - $Revision$'); +llxFooter('$Date: 2011/07/13 14:41:02 $ - $Revision: 1.83 $'); ?> diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 64eaea3a7f4..68419253c60 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -24,7 +24,7 @@ * \file htdocs/compta/paiement.php * \ingroup compta * \brief Page to create a payment - * \version $Id: paiement.php,v 1.110 2011/07/11 09:32:35 cdelambert Exp $ + * \version $Id: paiement.php,v 1.111 2011/07/13 08:57:21 eldy Exp $ */ require('../main.inc.php'); @@ -253,7 +253,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie if (! empty($conf->global->PAYPAL_BANK_ACCOUNT)) $accountid=$conf->global->PAYPAL_BANK_ACCOUNT; $paymentnum=$facture->ref_int; } - if ($conf->use_javascript_ajax) + if ($conf->use_javascript_ajax && !empty($conf->global->MAIN_JS_ON_PAYMENT)) { print "\n".'