diff --git a/htdocs/cache.manifest b/htdocs/cache.manifest
index a3d1b1c554f..ebbf1aab4eb 100644
--- a/htdocs/cache.manifest
+++ b/htdocs/cache.manifest
@@ -11,7 +11,6 @@ CACHE:
theme/dolibarr_logo.png
support/
support/index.php
-support/online.php
support/default.css
support/helpcenter.png
diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php
index 603d521f5ec..88d4d16b6f9 100644
--- a/htdocs/install/upgrade2.php
+++ b/htdocs/install/upgrade2.php
@@ -4425,50 +4425,50 @@ function migrate_rename_directories($db,$langs,$conf,$oldname,$newname)
*/
function migrate_delete_old_files($db,$langs,$conf)
{
- $result=true;
+ $result=true;
- dolibarr_install_syslog("upgrade2::migrate_delete_old_files");
+ dolibarr_install_syslog("upgrade2::migrate_delete_old_files");
- // List of files to delete
- $filetodeletearray=array(
- DOL_DOCUMENT_ROOT.'/core/triggers/interface_demo.class.php',
- DOL_DOCUMENT_ROOT.'/core/menus/barre_left/default.php',
- DOL_DOCUMENT_ROOT.'/core/menus/barre_top/default.php',
- DOL_DOCUMENT_ROOT.'/core/modules/modComptabiliteExpert.class.php',
- DOL_DOCUMENT_ROOT.'/core/modules/modCommercial.class.php',
- DOL_DOCUMENT_ROOT.'/core/modules/modProduit.class.php',
- DOL_DOCUMENT_ROOT.'/core/modules/modSkype.class.php',
- DOL_DOCUMENT_ROOT.'/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php',
- DOL_DOCUMENT_ROOT.'/webcalendar/inc/triggers/interface_modWebcalendar_webcalsynchro.class.php',
- DOL_DOCUMENT_ROOT.'/core/triggers/interface_modWebcalendar_Webcalsynchro.class.php',
- DOL_DOCUMENT_ROOT.'/core/triggers/interface_modCommande_Ecotax.class.php',
- DOL_DOCUMENT_ROOT.'/core/triggers/interface_modCommande_fraisport.class.php',
- DOL_DOCUMENT_ROOT.'/core/triggers/interface_modPropale_PropalWorkflow.class.php',
- DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone.lib.php',
- DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone_backoffice.php',
- DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone_frontoffice.php',
- DOL_DOCUMENT_ROOT.'/core/menus/standard/auguria_backoffice.php',
- DOL_DOCUMENT_ROOT.'/core/menus/standard/auguria_frontoffice.php',
- DOL_DOCUMENT_ROOT.'/core/menus/standard/eldy_backoffice.php',
- DOL_DOCUMENT_ROOT.'/core/menus/standard/eldy_frontoffice.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts2.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts3.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts4.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/framboise.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/dolibarr_services_expired.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/peche.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/poire.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/mailings/kiwi.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_crabe.modules.php',
- DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_oursin.modules.php',
-
- DOL_DOCUMENT_ROOT.'/compta/facture/class/api_invoice.class.php',
- DOL_DOCUMENT_ROOT.'/commande/class/api_commande.class.php',
- DOL_DOCUMENT_ROOT.'/user/class/api_user.class.php',
- DOL_DOCUMENT_ROOT.'/product/class/api_product.class.php',
- DOL_DOCUMENT_ROOT.'/societe/class/api_contact.class.php',
- DOL_DOCUMENT_ROOT.'/societe/class/api_thirdparty.class.php'
+ // List of files to delete
+ $filetodeletearray=array(
+ DOL_DOCUMENT_ROOT.'/core/triggers/interface_demo.class.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/barre_left/default.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/barre_top/default.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/modComptabiliteExpert.class.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/modCommercial.class.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/modProduit.class.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/modSkype.class.php',
+ DOL_DOCUMENT_ROOT.'/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php',
+ DOL_DOCUMENT_ROOT.'/webcalendar/inc/triggers/interface_modWebcalendar_webcalsynchro.class.php',
+ DOL_DOCUMENT_ROOT.'/core/triggers/interface_modWebcalendar_Webcalsynchro.class.php',
+ DOL_DOCUMENT_ROOT.'/core/triggers/interface_modCommande_Ecotax.class.php',
+ DOL_DOCUMENT_ROOT.'/core/triggers/interface_modCommande_fraisport.class.php',
+ DOL_DOCUMENT_ROOT.'/core/triggers/interface_modPropale_PropalWorkflow.class.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone.lib.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone_backoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/smartphone/iphone_frontoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/standard/auguria_backoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/standard/auguria_frontoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/standard/eldy_backoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/menus/standard/eldy_frontoffice.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts2.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts3.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/contacts4.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/framboise.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/dolibarr_services_expired.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/peche.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/poire.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/mailings/kiwi.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_crabe.modules.php',
+ DOL_DOCUMENT_ROOT.'/core/modules/facture/pdf_oursin.modules.php',
+ DOL_DOCUMENT_ROOT.'/compta/facture/class/api_invoice.class.php',
+ DOL_DOCUMENT_ROOT.'/commande/class/api_commande.class.php',
+ DOL_DOCUMENT_ROOT.'/user/class/api_user.class.php',
+ DOL_DOCUMENT_ROOT.'/product/class/api_product.class.php',
+ DOL_DOCUMENT_ROOT.'/societe/class/api_contact.class.php',
+ DOL_DOCUMENT_ROOT.'/societe/class/api_thirdparty.class.php',
+ DOL_DOCUMENT_ROOT.'/support/online.php'
);
foreach ($filetodeletearray as $filetodelete)
diff --git a/htdocs/support/online.php b/htdocs/support/online.php
deleted file mode 100644
index 01b2cb4dbd1..00000000000
--- a/htdocs/support/online.php
+++ /dev/null
@@ -1,163 +0,0 @@
-
- *
- * 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
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see
';
-
-print $langs->trans("ToGetHelpGoOnSparkAngels1",$titlesparkangels).'
';
-
-print '
';
-
-
-// List of predefined coaches
-// We list here the 4 most active coaches on Dolibarr projects (according to number of commits
-// found in page http://www.nltechno.com/stats/dolibarr/cvschangelogbuilder_dolibarr.html
-$limit=4;
-$arrayofwidgets=array(
-// Widget for Laurent Destailleur
-array('name'=>'Laurent Destailleur', // id user 4702
- 'sort'=>1,
- 'logo'=>'logoUrl='.urlencode('http://www.nltechno.com/images/logo_nltechno_long.jpg'), // Put your own logo
- 'id'=>'4256,4255', // Put of list of sparkangels widget id (for each language)
- 'lang'=>'fr,en'), // Put list of language code of widgets (always english at end)
-// Widget for Auguria
-array('name'=>'Auguria',
- 'sort'=>2,
- //'logo'=>'logoUrl='.urlencode('http://www.cap-networks.com/images/logo_small.jpg'),
- 'id'=>'7196',
- 'lang'=>'fr'),
-//Widget for Open-Concept
-array('name'=>'Open-Concept.pro',
- 'sort'=>2,
- 'logo'=>'logoUrl='.urlencode('http://www.open-concept.pro/CMS/images/Logo/logosimplecomplet.png'),
- 'id'=>'9340',
- 'lang'=>'fr')
-);
-$arrayofwidgets=dol_sort_array($arrayofwidgets,'sort','asc',0,0);
-
-$found=0;
-print '* '.$langs->trans("LinkToGoldMember",$langs->defaultlang).'
';
-print '
| ';
- print $arraywidget['name'].' '; - print $langs->trans("PossibleLanguages").': '; - // All languages of user are shown - foreach ($listoflangs as $langcode2) - { - if (empty($widgetid)) $widgetid=$listoflangs[$pos-1]; - if (! preg_match('/'.$langcode.'/i',$langs->defaultlang) && $langcode2 != 'en') continue; // Show only english - print $langcode2.' '; - } - print ' '; - - // Only first language found is used for widget - $widgetid=$listofwidgets[$pos-1]; - - // Widget V3 - print ''; - - print ' | ';
- $found++;
- break;
- }
- }
-}
-if (! $found) print ''.$langs->trans("SorryNoHelpForYourLanguage").' | '; -print '
| ';
-print '* '.$langs->trans("ToGetHelpGoOnSparkAngels3",$urlsparkengels);
-print ' '."\n";
-print ''."\n";
-print ' '."\n";
-
-print ' | ';
-//print '';
-//print ' ';
-//print $titlesparkangels;
-//print '';
-print ' |