dolibarr  16.0.5
about.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
3  * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
4  * Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
5  * Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerke@telenet.be>
6  * Copyright (C) 2005-2007 Regis Houssin <regis.houssin@inodbox.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20  */
21 
27 require '../../main.inc.php';
28 require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
29 require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
30 
31 // Load translation files required by the page
32 $langs->loadLangs(array("help", "members", "other", "admin"));
33 
34 $action = GETPOST('action', 'aZ09');
35 
36 if (!$user->admin) {
38 }
39 
40 $sfurl = '';
41 $version = '0.0';
42 
43 
44 /*
45  * Actions
46  */
47 
48 // None
49 
50 
51 /*
52  * View
53  */
54 
55 llxHeader();
56 
57 
58 print load_fiche_titre($langs->trans("ExternalResources"), '', 'title_setup');
59 
60 print '<div style="padding-left: 30px;">'.img_picto_common('', 'dolibarr_box.png', 'height="120"').'</div>';
61 
62 
63 
64 print '<div class="fichecenter"><div class="fichehalfleft">';
65 
66 print $langs->trans("DolibarrLicense").' : ';
67 print '<ul><li>';
68 print '<a href="https://www.gnu.org/copyleft/gpl.html">GNU-GPL v3+</a></li>';
69 print '</li></ul>';
70 
71 //print "<br>\n";
72 
73 print $langs->trans("Developpers").':';
74 print '<ul>';
75 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>';
76 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>';
77 print '</ul>';
78 
79 //print "<br>\n";
80 
81 print $langs->trans("OtherInformations").':';
82 
83 print '<ul>';
84 print '<li>';
85 print '<a target="_blank" href="https://www.dolibarr.org/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSite").'</a>';
86 print '</li>';
87 // Show local site
88 /*
89 if (preg_match('/^fr_/i', $langs->getDefaultLang()))
90 {
91  print '<li>';
92  print '<a target="_blank" href="https://www.dolibarr.fr/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("France")).'</a>';
93  print '</li>';
94 }
95 if (preg_match('/^el_/i', $langs->getDefaultLang()))
96 {
97  print '<li>';
98  print '<a target="_blank" href="https://www.dolibarr.gr/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Greece")).'</a>';
99  print '</li>';
100 }
101 if (preg_match('/^es_/i', $langs->getDefaultLang()))
102 {
103  print '<li>';
104  print '<a target="_blank" href="https://www.dolibarr.es/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Spain")).'</a>';
105  print '</li>';
106 }
107 if (preg_match('/^it_/i', $langs->getDefaultLang()))
108 {
109  print '<li>';
110  print '<a target="_blank" href="https://www.dolibarr.it/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Italy")).'</a>';
111  print '</li>';
112 }
113 if (preg_match('/^de_/i', $langs->getDefaultLang()))
114 {
115  print '<li>';
116  print '<a target="_blank" href="https://www.dolibarr.de/" rel="noopener noreferrer external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Germany")).'</a>';
117  print '</li>';
118 }*/
119 print '<li>';
120 print '<a target="_blank" href="https://wiki.dolibarr.org/" rel="noopener noreferrer external">'.$langs->trans("OfficialWiki").'</a>';
121 print '</li>';
122 print '</ul>';
123 
124 print $langs->trans("Demo").':';
125 print '<ul>';
126 print '<li>';
127 print '<a target="_blank" href="https://www.dolibarr.org/onlinedemo/" rel="noopener noreferrer external">'.$langs->trans("OfficialDemo").'</a>';
128 print '</li>';
129 print '</ul>';
130 
131 print $langs->trans("ModulesMarketPlaces").':';
132 print '<ul>';
133 print '<li>';
134 print '<a target="_blank" href="https://www.dolistore.com" rel="noopener noreferrer external">'.$langs->trans("OfficialMarketPlace").'</a>';
135 print '</li>';
136 print '</ul>';
137 
138 
139 print '</div><div class="fichehalfright">';
140 
141 
142 print $langs->trans("HelpCenter").':';
143 print '<ul>';
144 print '<li>';
145 //print $langs->trans("SeeWikiPage",'http://wiki.dolibarr.org/index.php/List_of_OpenSource_Software_companies_and_freelancers');
146 print '<a target="_blank" rel="noopener noreferrer external" href="'.DOL_URL_ROOT.'/support/index.php" data-ajax="false">'.$langs->trans("HelpCenter").'</a>';
147 print '</li>';
148 print '</ul>';
149 
150 
151 print $langs->trans("Foundation").':';
152 
153 print '<ul>';
154 $url = 'https://wiki.dolibarr.org/index.php/Subscribe';
155 if (preg_match('/^fr_/i', $langs->getDefaultLang())) {
156  $url = 'https://wiki.dolibarr.org/index.php/Adh%C3%A9rer';
157 }
158 if (preg_match('/^es_/i', $langs->getDefaultLang())) {
159  $url = 'https://wiki.dolibarr.org/index.php/Subscribirse';
160 }
161 print '<li><a href="'.$url.'" target="_blank" rel="noopener noreferrer external">'.$langs->trans("SubscribeToFoundation").'</a></li>';
162 print '</ul>';
163 
164 print $langs->trans("SocialNetworks").':';
165 
166 print '<ul>';
167 
168 print '<li><a href="https://facebook.com/dolibarr" target="_blank" rel="noopener noreferrer external">FaceBook</a></li>';
169 print '<li><a href="https://twitter.com/dolibarr" target="_blank" rel="noopener noreferrer external">Twitter</a></li>';
170 
171 print '</ul>';
172 
173 
174 print $langs->trans("OtherResources").':';
175 print '<ul>';
176 
177 $url = 'https://saas.dolibarr.org'; $title = $langs->trans("OfficialWebHostingService");
178 if (preg_match('/^fr_/i', $langs->getDefaultLang())) {
179  $url = 'https://wiki.dolibarr.org/index.php/Solutions_Cloud_pour_Dolibarr_ERP_CRM';
180 }
181 if (preg_match('/^es_/i', $langs->getDefaultLang())) {
182  $url = 'https://wiki.dolibarr.org/index.php/Soluciones_en_la_Nube';
183 }
184 print '<li>';
185 print '<a target="_blank" rel="noopener noreferrer external" href="'.$url.'">'.$title.'</a>';
186 print '</li>';
187 $url = 'https://partners.dolibarr.org'; $title = $langs->trans("ReferencedPreferredPartners");
188 print '<li>';
189 print '<a target="_blank" rel="noopener noreferrer external" href="'.$url.'">'.$title.'</a>';
190 print '</li>';
191 
192 print '</ul>';
193 
194 print '</div>';
195 print '</div>';
196 print '<div class="clearboth"></div>';
197 
198 
199 $showpromotemessage = 1;
200 if ($showpromotemessage) {
201  $tmp = versiondolibarrarray();
202  if (is_numeric($tmp[2])) { // Not alpha, beta or rc
203  print '<br>';
204  print '<br>';
205 
206  if ((empty($tmp[2]) && (strpos($tmp[1], '0') === 0)) || (strpos($tmp[2], '0') === 0)) {
207  print $langs->trans("TitleExampleForMajorRelease").':<br>';
208  print '<textarea style="width:80%; min-height: 60px">';
209  print $langs->trans("ExampleOfNewsMessageForMajorRelease", DOL_VERSION, DOL_VERSION);
210  print '</textarea>';
211  } else {
212  print $langs->trans("TitleExampleForMaintenanceRelease").':<br>';
213  print '<textarea style="width:80%; min-height: 60px">';
214  print $langs->trans("ExampleOfNewsMessageForMaintenanceRelease", DOL_VERSION, DOL_VERSION);
215  print '</textarea>';
216  }
217  }
218 }
219 
220 // End of page
221 llxFooter();
222 $db->close();
llxFooter
llxFooter()
Empty footer.
Definition: wrapper.php:73
load_fiche_titre
load_fiche_titre($titre, $morehtmlright='', $picto='generic', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
Load a title with picto.
Definition: functions.lib.php:5204
GETPOST
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
Definition: functions.lib.php:484
versiondolibarrarray
versiondolibarrarray()
Return version Dolibarr.
Definition: admin.lib.php:139
accessforbidden
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...
Definition: security.lib.php:933
llxHeader
if(!defined('NOREQUIRESOC')) if(!defined('NOREQUIRETRAN')) if(!defined('NOCSRFCHECK')) if(!defined('NOTOKENRENEWAL')) if(!defined('NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined('NOREQUIREAJAX')) llxHeader()
Empty header.
Definition: wrapper.php:59