dolibarr  13.0.2
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) accessforbidden();
37 
38 $sfurl = '';
39 $version = '0.0';
40 
41 
42 /*
43  * Actions
44  */
45 
46 // None
47 
48 
49 /*
50  * View
51  */
52 
53 llxHeader();
54 
55 
56 print load_fiche_titre($langs->trans("ExternalResources"), '', 'title_setup');
57 
58 print '<div style="padding-left: 30px;">'.img_picto_common('', 'dolibarr_box.png', 'height="120"').'</div>';
59 
60 
61 
62 print '<div class="fichecenter"><div class="fichehalfleft">';
63 
64 print $langs->trans("DolibarrLicense").' : ';
65 print '<ul><li>';
66 print '<a href="https://www.gnu.org/copyleft/gpl.html">GNU-GPL v3+</a></li>';
67 print '</li></ul>';
68 
69 //print "<br>\n";
70 
71 print $langs->trans("Developpers").':';
72 print '<ul>';
73 print '<li>'.$langs->trans("SourcesRepository").': <a href="https://www.github.com/Dolibarr/dolibarr" target="_blank" rel="external">https://www.github.com/Dolibarr/dolibarr</a></li>';
74 print '<li>'.$langs->trans("SeeWikiForAllTeam").': <a href="https://wiki.dolibarr.org/index.php/Dolibarr_Project" target="_blank" rel="external">https://wiki.dolibarr.org/index.php/Dolibarr_Project</a></li>';
75 print '</ul>';
76 
77 //print "<br>\n";
78 
79 print $langs->trans("OtherInformations").':';
80 
81 print '<ul>';
82 print '<li>';
83 print '<a target="_blank" href="https://www.dolibarr.org/" rel="external">'.$langs->trans("OfficialWebSite").'</a>';
84 print '</li>';
85 // Show local site
86 /*
87 if (preg_match('/^fr_/i', $langs->getDefaultLang()))
88 {
89  print '<li>';
90  print '<a target="_blank" href="https://www.dolibarr.fr/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("France")).'</a>';
91  print '</li>';
92 }
93 if (preg_match('/^el_/i', $langs->getDefaultLang()))
94 {
95  print '<li>';
96  print '<a target="_blank" href="https://www.dolibarr.gr/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Greece")).'</a>';
97  print '</li>';
98 }
99 if (preg_match('/^es_/i', $langs->getDefaultLang()))
100 {
101  print '<li>';
102  print '<a target="_blank" href="https://www.dolibarr.es/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Spain")).'</a>';
103  print '</li>';
104 }
105 if (preg_match('/^it_/i', $langs->getDefaultLang()))
106 {
107  print '<li>';
108  print '<a target="_blank" href="https://www.dolibarr.it/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Italy")).'</a>';
109  print '</li>';
110 }
111 if (preg_match('/^de_/i', $langs->getDefaultLang()))
112 {
113  print '<li>';
114  print '<a target="_blank" href="https://www.dolibarr.de/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Germany")).'</a>';
115  print '</li>';
116 }*/
117 print '<li>';
118 print '<a target="_blank" href="https://wiki.dolibarr.org/" rel="external">'.$langs->trans("OfficialWiki").'</a>';
119 print '</li>';
120 print '</ul>';
121 
122 print $langs->trans("Demo").':';
123 print '<ul>';
124 print '<li>';
125 print '<a target="_blank" href="https://www.dolibarr.org/onlinedemo/" rel="external">'.$langs->trans("OfficialDemo").'</a>';
126 print '</li>';
127 print '</ul>';
128 
129 print $langs->trans("ModulesMarketPlaces").':';
130 print '<ul>';
131 print '<li>';
132 print '<a target="_blank" href="https://www.dolistore.com" rel="external">'.$langs->trans("OfficialMarketPlace").'</a>';
133 print '</li>';
134 print '</ul>';
135 
136 
137 print '</div><div class="fichehalfright">';
138 
139 
140 print $langs->trans("HelpCenter").':';
141 print '<ul>';
142 print '<li>';
143 //print $langs->trans("SeeWikiPage",'http://wiki.dolibarr.org/index.php/List_of_OpenSource_Software_companies_and_freelancers');
144 print '<a target="_blank" href="'.DOL_URL_ROOT.'/support/index.php" data-ajax="false">'.$langs->trans("HelpCenter").'</a>';
145 print '</li>';
146 print '</ul>';
147 
148 
149 print $langs->trans("Foundation").':';
150 
151 print '<ul>';
152 $url = 'https://wiki.dolibarr.org/index.php/Subscribe';
153 if (preg_match('/^fr_/i', $langs->getDefaultLang())) $url = 'https://wiki.dolibarr.org/index.php/Adh%C3%A9rer';
154 if (preg_match('/^es_/i', $langs->getDefaultLang())) $url = 'https://wiki.dolibarr.org/index.php/Subscribirse';
155 print '<li><a href="'.$url.'" target="_blank" rel="external">'.$langs->trans("SubscribeToFoundation").'</a></li>';
156 print '</ul>';
157 
158 print $langs->trans("SocialNetworks").':';
159 
160 print '<ul>';
161 
162 print '<li><a href="https://facebook.com/dolibarr" target="_blank" rel="external">FaceBook</a></li>';
163 print '<li><a href="https://twitter.com/dolibarr" target="_blank" rel="external">Twitter</a></li>';
164 
165 print '</ul>';
166 
167 
168 print $langs->trans("OtherResources").':';
169 print '<ul>';
170 
171 $url = 'https://saas.dolibarr.org'; $title = $langs->trans("OfficialWebHostingService");
172 if (preg_match('/^fr_/i', $langs->getDefaultLang())) $url = 'https://wiki.dolibarr.org/index.php/Solutions_Cloud_pour_Dolibarr_ERP_CRM';
173 if (preg_match('/^es_/i', $langs->getDefaultLang())) $url = 'https://wiki.dolibarr.org/index.php/Soluciones_en_la_Nube';
174 print '<li>';
175 print '<a target="_blank" href="'.$url.'" rel="external">'.$title.'</a>';
176 print '</li>';
177 $url = 'https://partners.dolibarr.org'; $title = $langs->trans("ReferencedPreferredPartners");
178 print '<li>';
179 print '<a target="_blank" href="'.$url.'" rel="external">'.$title.'</a>';
180 print '</li>';
181 
182 print '</ul>';
183 
184 print '</div>';
185 print '</div>';
186 print '<div class="clearboth"></div>';
187 
188 
189 $showpromotemessage = 1;
190 if ($showpromotemessage)
191 {
192  $tmp = versiondolibarrarray();
193  if (is_numeric($tmp[2])) // Not alpha, beta or rc
194  {
195  print '<br>';
196  print '<br>';
197 
198  if ((empty($tmp[2]) && (strpos($tmp[1], '0') === 0)) || (strpos($tmp[2], '0') === 0))
199  {
200  print $langs->trans("TitleExampleForMajorRelease").':<br>';
201  print '<textarea style="width:80%; min-height: 60px">';
202  print $langs->trans("ExampleOfNewsMessageForMajorRelease", DOL_VERSION, DOL_VERSION);
203  print '</textarea>';
204  } else {
205  print $langs->trans("TitleExampleForMaintenanceRelease").':<br>';
206  print '<textarea style="width:80%; min-height: 60px">';
207  print $langs->trans("ExampleOfNewsMessageForMaintenanceRelease", DOL_VERSION, DOL_VERSION);
208  print '</textarea>';
209  }
210  }
211 }
212 
213 // End of page
214 llxFooter();
215 $db->close();
GETPOST($paramname, $check= 'alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
versiondolibarrarray()
Return version Dolibarr.
Definition: admin.lib.php:135
llxHeader()
Empty header.
Definition: wrapper.php:45
load_fiche_titre($titre, $morehtmlright= '', $picto= 'generic', $pictoisfullpath=0, $id= '', $morecssontable= '', $morehtmlcenter= '')
Load a title with picto.
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 ...
print
Draft customers invoices.
Definition: index.php:89
llxFooter()
Empty footer.
Definition: wrapper.php:59