2010-04-24 19:29:10 +02:00
|
|
|
<?php
|
|
|
|
|
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
|
|
|
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
2013-03-14 23:01:48 +01:00
|
|
|
* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
2010-04-24 19:29:10 +02:00
|
|
|
* Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerke@telenet.be>
|
2018-10-27 14:43:12 +02:00
|
|
|
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@inodbox.com>
|
2024-11-04 23:53:20 +01:00
|
|
|
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
2010-04-24 19:29:10 +02:00
|
|
|
*
|
|
|
|
|
* 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
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2010-04-24 19:29:10 +02:00
|
|
|
* (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
|
2019-09-23 21:55:30 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2010-04-24 19:29:10 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2010-04-24 19:38:57 +02:00
|
|
|
* \file htdocs/admin/system/about.php
|
2010-04-24 19:29:10 +02:00
|
|
|
* \brief About Dolibarr File page
|
|
|
|
|
*/
|
|
|
|
|
|
2022-09-07 20:08:59 +02:00
|
|
|
// Load Dolibarr environment
|
2012-08-22 23:24:21 +02:00
|
|
|
require '../../main.inc.php';
|
2015-10-21 00:31:32 +02:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
2017-02-22 02:32:35 +01:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2024-11-04 23:53:20 +01:00
|
|
|
/**
|
|
|
|
|
* @var Conf $conf
|
|
|
|
|
* @var DoliDB $db
|
|
|
|
|
* @var HookManager $hookmanager
|
|
|
|
|
* @var Translate $langs
|
|
|
|
|
* @var User $user
|
|
|
|
|
*/
|
|
|
|
|
|
2018-09-07 14:58:22 +02:00
|
|
|
// Load translation files required by the page
|
2020-04-10 10:59:32 +02:00
|
|
|
$langs->loadLangs(array("help", "members", "other", "admin"));
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2020-09-16 19:39:50 +02:00
|
|
|
$action = GETPOST('action', 'aZ09');
|
2017-02-16 02:27:07 +01:00
|
|
|
|
2021-02-26 22:04:03 +01:00
|
|
|
if (!$user->admin) {
|
|
|
|
|
accessforbidden();
|
|
|
|
|
}
|
2017-02-16 02:27:07 +01:00
|
|
|
|
|
|
|
|
$sfurl = '';
|
2020-04-10 10:59:32 +02:00
|
|
|
$version = '0.0';
|
2017-02-16 02:27:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Actions
|
|
|
|
|
*/
|
|
|
|
|
|
2017-02-22 02:32:35 +01:00
|
|
|
// None
|
2017-02-16 02:27:07 +01:00
|
|
|
|
2010-04-24 19:29:10 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* View
|
|
|
|
|
*/
|
|
|
|
|
|
2024-06-08 17:03:08 +02:00
|
|
|
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-admin page-system_about');
|
2010-04-24 19:29:10 +02:00
|
|
|
|
|
|
|
|
|
2019-01-27 11:55:16 +01:00
|
|
|
print load_fiche_titre($langs->trans("ExternalResources"), '', 'title_setup');
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2015-10-21 00:31:32 +02:00
|
|
|
|
|
|
|
|
print '<div class="fichecenter"><div class="fichehalfleft">';
|
|
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2024-10-25 19:05:51 +02:00
|
|
|
print '<div class="floatright paddingright">'.img_picto_common('', 'dolibarr_box.png', 'height="100"').'</div>';
|
2017-02-16 02:27:07 +01:00
|
|
|
print $langs->trans("DolibarrLicense").' : ';
|
|
|
|
|
print '<ul><li>';
|
2024-10-01 03:43:27 +02:00
|
|
|
print '<a href="https://www.gnu.org/copyleft/gpl.html" target="_blank">GNU-GPL v3+</a></li>';
|
2017-02-16 02:27:07 +01:00
|
|
|
print '</li></ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print'</div>';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2012-03-31 16:24:34 +02:00
|
|
|
//print "<br>\n";
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2010-04-24 19:29:10 +02:00
|
|
|
print $langs->trans("Developpers").':';
|
|
|
|
|
print '<ul>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<li>'.$langs->trans("SourcesRepository").': <a href="https://www.github.com/Dolibarr/dolibarr" target="_blank" rel="noopener noreferrer external">https://www.github.com/Dolibarr/dolibarr</a></li>';
|
|
|
|
|
print '<li>'.$langs->trans("SeeWikiForAllTeam").': <a href="https://wiki.dolibarr.org/index.php/Dolibarr_Project" target="_blank" rel="noopener noreferrer external">https://wiki.dolibarr.org/index.php/Dolibarr_Project</a></li>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2012-03-31 16:24:34 +02:00
|
|
|
//print "<br>\n";
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2010-04-24 19:29:10 +02:00
|
|
|
print $langs->trans("OtherInformations").':';
|
|
|
|
|
|
|
|
|
|
print '<ul>';
|
|
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.org/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSite").'</a>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</li>';
|
2015-09-01 10:08:03 +02:00
|
|
|
// Show local site
|
2020-11-04 16:07:59 +01:00
|
|
|
/*
|
2019-01-27 11:55:16 +01:00
|
|
|
if (preg_match('/^fr_/i', $langs->getDefaultLang()))
|
2010-04-24 19:29:10 +02:00
|
|
|
{
|
|
|
|
|
print '<li>';
|
2024-03-20 15:15:28 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.fr/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("CountryFR")).'</a>';
|
2015-09-01 10:08:03 +02:00
|
|
|
print '</li>';
|
|
|
|
|
}
|
2019-01-27 11:55:16 +01:00
|
|
|
if (preg_match('/^el_/i', $langs->getDefaultLang()))
|
2015-09-01 10:08:03 +02:00
|
|
|
{
|
|
|
|
|
print '<li>';
|
2024-03-20 15:15:28 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.gr/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("CountryGR")).'</a>';
|
2015-09-01 10:08:03 +02:00
|
|
|
print '</li>';
|
|
|
|
|
}
|
2019-01-27 11:55:16 +01:00
|
|
|
if (preg_match('/^es_/i', $langs->getDefaultLang()))
|
2015-09-01 10:08:03 +02:00
|
|
|
{
|
|
|
|
|
print '<li>';
|
2024-03-20 15:15:28 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.es/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("CountryES")).'</a>';
|
2015-09-01 10:08:03 +02:00
|
|
|
print '</li>';
|
|
|
|
|
}
|
2019-01-27 11:55:16 +01:00
|
|
|
if (preg_match('/^it_/i', $langs->getDefaultLang()))
|
2015-09-01 10:08:03 +02:00
|
|
|
{
|
|
|
|
|
print '<li>';
|
2024-03-20 15:15:28 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.it/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("CountryIT")).'</a>';
|
2015-09-01 10:08:03 +02:00
|
|
|
print '</li>';
|
|
|
|
|
}
|
2019-01-27 11:55:16 +01:00
|
|
|
if (preg_match('/^de_/i', $langs->getDefaultLang()))
|
2015-09-01 10:08:03 +02:00
|
|
|
{
|
|
|
|
|
print '<li>';
|
2024-03-20 15:15:28 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.de/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("CountryDE")).'</a>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</li>';
|
2020-11-04 16:07:59 +01:00
|
|
|
}*/
|
2010-04-24 19:29:10 +02:00
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" href="https://wiki.dolibarr.org/" rel="noopener noreferrer external">'.$langs->trans("OfficialWiki").'</a>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</li>';
|
2012-03-10 13:52:08 +01:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2012-03-10 13:52:08 +01:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2012-03-10 13:52:08 +01:00
|
|
|
print $langs->trans("Demo").':';
|
|
|
|
|
print '<ul>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolibarr.org/onlinedemo/" rel="noopener noreferrer external">'.$langs->trans("OfficialDemo").'</a>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</li>';
|
2012-03-10 13:52:08 +01:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2012-03-10 13:52:08 +01:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2012-03-10 13:52:08 +01:00
|
|
|
print $langs->trans("ModulesMarketPlaces").':';
|
|
|
|
|
print '<ul>';
|
2010-09-01 01:36:52 +02:00
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" href="https://www.dolistore.com" rel="noopener noreferrer external">'.$langs->trans("OfficialMarketPlace").'</a>';
|
2010-09-01 01:36:52 +02:00
|
|
|
print '</li>';
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2015-10-21 00:31:32 +02:00
|
|
|
print '</div><div class="fichehalfright">';
|
|
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2012-06-15 01:09:25 +02:00
|
|
|
print $langs->trans("Foundation").':';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
|
|
|
|
print '<ul>';
|
2020-04-10 10:59:32 +02:00
|
|
|
$url = 'https://wiki.dolibarr.org/index.php/Subscribe';
|
2021-02-26 22:04:03 +01:00
|
|
|
if (preg_match('/^fr_/i', $langs->getDefaultLang())) {
|
|
|
|
|
$url = 'https://wiki.dolibarr.org/index.php/Adh%C3%A9rer';
|
|
|
|
|
}
|
|
|
|
|
if (preg_match('/^es_/i', $langs->getDefaultLang())) {
|
|
|
|
|
$url = 'https://wiki.dolibarr.org/index.php/Subscribirse';
|
|
|
|
|
}
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<li><a href="'.$url.'" target="_blank" rel="noopener noreferrer external">'.$langs->trans("SubscribeToFoundation").'</a></li>';
|
2017-02-22 02:19:50 +01:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2017-02-22 02:19:50 +01:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2017-02-22 02:19:50 +01:00
|
|
|
print $langs->trans("SocialNetworks").':';
|
|
|
|
|
|
|
|
|
|
print '<ul>';
|
2013-11-16 15:40:46 +01:00
|
|
|
|
2024-10-28 02:04:21 +01:00
|
|
|
print '<li><a href="https://wiki.dolibarr.org/index.php?title=Social_Networks" target="_blank" rel="noopener noreferrer external">See wiki</a></li>';
|
2013-11-16 15:40:46 +01:00
|
|
|
|
2012-03-31 16:24:34 +02:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2012-03-31 16:24:34 +02:00
|
|
|
|
2024-10-01 03:41:55 +02:00
|
|
|
print '<div class="divsection wordwrap">';
|
2014-05-24 17:00:49 +02:00
|
|
|
print $langs->trans("OtherResources").':';
|
|
|
|
|
print '<ul>';
|
|
|
|
|
|
2020-04-10 10:59:32 +02:00
|
|
|
$url = 'https://saas.dolibarr.org'; $title = $langs->trans("OfficialWebHostingService");
|
2021-02-26 22:04:03 +01:00
|
|
|
if (preg_match('/^fr_/i', $langs->getDefaultLang())) {
|
|
|
|
|
$url = 'https://wiki.dolibarr.org/index.php/Solutions_Cloud_pour_Dolibarr_ERP_CRM';
|
|
|
|
|
}
|
|
|
|
|
if (preg_match('/^es_/i', $langs->getDefaultLang())) {
|
|
|
|
|
$url = 'https://wiki.dolibarr.org/index.php/Soluciones_en_la_Nube';
|
|
|
|
|
}
|
2012-03-31 16:24:34 +02:00
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" rel="noopener noreferrer external" href="'.$url.'">'.$title.'</a>';
|
2012-03-31 16:24:34 +02:00
|
|
|
print '</li>';
|
2020-04-10 10:59:32 +02:00
|
|
|
$url = 'https://partners.dolibarr.org'; $title = $langs->trans("ReferencedPreferredPartners");
|
2014-05-24 17:00:49 +02:00
|
|
|
print '<li>';
|
2021-11-22 02:35:55 +01:00
|
|
|
print '<a target="_blank" rel="noopener noreferrer external" href="'.$url.'">'.$title.'</a>';
|
2014-05-24 17:00:49 +02:00
|
|
|
print '</li>';
|
|
|
|
|
|
2010-04-24 19:29:10 +02:00
|
|
|
print '</ul>';
|
2024-10-01 03:41:55 +02:00
|
|
|
print '</div>';
|
2010-04-24 19:29:10 +02:00
|
|
|
|
2015-10-21 00:31:32 +02:00
|
|
|
print '</div>';
|
|
|
|
|
print '</div>';
|
|
|
|
|
print '<div class="clearboth"></div>';
|
|
|
|
|
|
|
|
|
|
|
2020-04-10 10:59:32 +02:00
|
|
|
$showpromotemessage = 1;
|
2021-02-26 22:04:03 +01:00
|
|
|
if ($showpromotemessage) {
|
2020-10-31 14:32:18 +01:00
|
|
|
$tmp = versiondolibarrarray();
|
2021-02-26 22:04:03 +01:00
|
|
|
if (is_numeric($tmp[2])) { // Not alpha, beta or rc
|
2020-10-31 14:32:18 +01:00
|
|
|
print '<br>';
|
|
|
|
|
print '<br>';
|
|
|
|
|
|
2021-02-26 22:04:03 +01:00
|
|
|
if ((empty($tmp[2]) && (strpos($tmp[1], '0') === 0)) || (strpos($tmp[2], '0') === 0)) {
|
2020-10-31 14:32:18 +01:00
|
|
|
print $langs->trans("TitleExampleForMajorRelease").':<br>';
|
|
|
|
|
print '<textarea style="width:80%; min-height: 60px">';
|
|
|
|
|
print $langs->trans("ExampleOfNewsMessageForMajorRelease", DOL_VERSION, DOL_VERSION);
|
|
|
|
|
print '</textarea>';
|
|
|
|
|
} else {
|
|
|
|
|
print $langs->trans("TitleExampleForMaintenanceRelease").':<br>';
|
|
|
|
|
print '<textarea style="width:80%; min-height: 60px">';
|
|
|
|
|
print $langs->trans("ExampleOfNewsMessageForMaintenanceRelease", DOL_VERSION, DOL_VERSION);
|
|
|
|
|
print '</textarea>';
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-10-21 00:31:32 +02:00
|
|
|
}
|
|
|
|
|
|
2018-07-28 14:29:28 +02:00
|
|
|
// End of page
|
2011-08-27 16:24:16 +02:00
|
|
|
llxFooter();
|
2012-03-10 13:52:08 +01:00
|
|
|
$db->close();
|