Skip to content

Commit

Permalink
New: Enhance help center
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 8, 2009
1 parent c845fe4 commit 9627121
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Expand Up @@ -4,6 +4,7 @@ English Dolibarr changelog
***** Changelog for 2.7 compared to 2.6 *****

For users:
- New: Add an help and support center.
- New: Can export commercial proposals.
- New: Can use a cache for xcal exports.
- New: Option for faster confirmation process with one ajax popup.
Expand All @@ -19,7 +20,7 @@ For developers:
- Can use an alternate document_root directory to develop with
sources on two repositories.
- Removed useless code of old commercial module.

- Updated wiki documentation.


***** Changelog for 2.6 compared to 2.5 *****
Expand Down
2 changes: 2 additions & 0 deletions htdocs/includes/menus/barre_left/eldy_backoffice.php
Expand Up @@ -125,6 +125,7 @@ function showmenu()
if ($user->admin)
{
$langs->load("admin");
$langs->load("help");

$newmenu->add(DOL_URL_ROOT."/admin/index.php?leftmenu=setup", $langs->trans("Setup"));
if ($leftmenu=="setup") $newmenu->add_submenu(DOL_URL_ROOT."/admin/company.php", $langs->trans("MenuCompanySetup"));
Expand Down Expand Up @@ -161,6 +162,7 @@ function showmenu()
if ($leftmenu=="admintools" && function_exists('eaccelerator_info')) $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/eaccelerator.php", $langs->trans("EAccelerator"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/listevents.php", $langs->trans("Audit"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/purge.php", $langs->trans("Purge"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/support/index.php", $langs->trans("HelpCenter"),1);
}

$newmenu->add(DOL_URL_ROOT."/user/home.php?leftmenu=users", $langs->trans("MenuUsersAndGroups"));
Expand Down
2 changes: 2 additions & 0 deletions htdocs/includes/menus/barre_left/eldy_frontoffice.php
Expand Up @@ -126,6 +126,7 @@ function showmenu()
if ($user->admin)
{
$langs->load("admin");
$langs->load("help");

$newmenu->add(DOL_URL_ROOT."/admin/index.php?leftmenu=setup", $langs->trans("Setup"));
if ($leftmenu=="setup") $newmenu->add_submenu(DOL_URL_ROOT."/admin/company.php", $langs->trans("MenuCompanySetup"));
Expand Down Expand Up @@ -162,6 +163,7 @@ function showmenu()
if ($leftmenu=="admintools" && function_exists('eaccelerator_info')) $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/eaccelerator.php", $langs->trans("EAccelerator"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/listevents.php", $langs->trans("Audit"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/purge.php", $langs->trans("Purge"),1);
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/support/index.php", $langs->trans("HelpCenter"),1);
}

/*
Expand Down
4 changes: 3 additions & 1 deletion htdocs/langs/en_US/help.lang
Expand Up @@ -5,4 +5,6 @@ EMailSupport=Emails support
RemoteControlSupport=Real time and remote support
ToSeeListOfAvailableRessources=To contact/see available ressources:
ClickHere=Click here
HelpCenter=Help center
HelpCenter=Help center
DolibarrHelpCenter=Dolibarr help and support center
ToGoBackToDolibarr=To go back on Dolibarr, <a href="%s">click here</a>.
4 changes: 3 additions & 1 deletion htdocs/langs/fr_FR/help.lang
Expand Up @@ -5,4 +5,6 @@ EMailSupport=Support emails
RemoteControlSupport=Support temps réel à distance
ToSeeListOfAvailableRessources=Pour contacter/voir les ressources disponibles:
ClickHere=Cliquez ici
HelpCenter=Centre d'aide
HelpCenter=Centre d'aide
DolibarrHelpCenter=Centre de support et d'aide Dolibarr
ToGoBackToDolibarr=Pour aller sur Dolibarr, <a href="%s">cliquer ici</a>.
11 changes: 6 additions & 5 deletions htdocs/support/inc.php
Expand Up @@ -2,7 +2,7 @@
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Sebastien DiCintio <sdicintio@ressource-toi.org>
* Copyright (C) 2007-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007-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
Expand All @@ -19,10 +19,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

/** \file htdocs/support/inc.php
\brief File that define environment for support pages
\version $Id$
*/
/**
* \file htdocs/support/inc.php
* \brief File that define environment for support pages
* \version $Id$
*/

define('DOL_VERSION','2.5-dev'); // Also defined in htdocs/master.inc.php

Expand Down
8 changes: 6 additions & 2 deletions htdocs/support/index.php
Expand Up @@ -29,12 +29,16 @@
$langs->load("help");


pHeader("Dolibarr Help Service Center",$_SERVER["PHP_SELF"]);
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);

print $langs->trans("HelpCenterDesc1")."<br>\n";
print $langs->trans("HelpCenterDesc2")."<br>\n";

print '<br><br><br>';
print '<br>';

print $langs->trans("ToGoBackToDolibarr","/");

print '<br><br>';

print '<table border="1">';

Expand Down

0 comments on commit 9627121

Please sign in to comment.