2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/support/online.php
2009-05-11 22:29:57 +00:00

62 lines
2.0 KiB
PHP

<?php
/* Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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 2 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* \file htdocs/install/phpinfo.php
* \ingroup install
* \brief Provide an Online Help support
* \version $Id$
*/
include_once("./inc.php");
$uri=eregi_replace('^http(s?)://','',$dolibarr_main_url_root);
$pos = strstr ($uri, '/'); // $pos contient alors url sans nom domaine
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
define('DOL_URL_ROOT', $pos); // URL racine relative
$langs->load("other");
$langs->load("help");
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
$urlsparkengels='http://www.spark-angels.com';
$titlesparkangels='Spark-Angels';
print '<br>';
print $langs->trans("ToGetHelpGoOnSparkAngels1",$titlesparkangels).'<br>';
print '<br>';
print '<table class="noborder"><tr valign="middle"><td>';
print $langs->trans("ToGetHelpGoOnSparkAngels3");
print '</td><td>';
print '<a href="'.$urlsparkengels.'" target="_blank">';
print '<img border="0" src="sparkangels.png" alt="SparkAngels web site" title="SparkAngels web site">';
//print $titlesparkangels;
print '</a></td></tr></table><br>';
print $langs->trans("BackToHelpCenter",DOL_URL_ROOT.'/support/');
print '<br><br>';
print $langs->trans("ToGetHelpGoOnSparkAngels2",$titlesparkangels).'<br>';
pFooter();
?>