diff --git a/htdocs/core/tools.php b/htdocs/core/tools.php new file mode 100755 index 00000000000..cc91baac1fd --- /dev/null +++ b/htdocs/core/tools.php @@ -0,0 +1,59 @@ + + * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2005-2010 Regis Houssin + * + * 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/core/tools.php + * \brief Home page for top menu tools + * \version $Id$ + */ + +require("../main.inc.php"); + +$langs->load("companies"); +$langs->load("other"); + +// Security check +$socid=0; +if ($user->societe_id > 0) $socid=$user->societe_id; +if (!$user->rights->projet->lire) accessforbidden(); + + +/* + * View + */ + +$socstatic=new Societe($db); + +llxHeader("",$langs->trans("Tools"),""); + +$text=$langs->trans("Tools"); + +print_fiche_titre($text); + +// Show description of content +print $langs->trans("ToolsDesc").'

'; + + + + +$db->close(); + +llxFooter('$Date$ - $Revision$'); +?> diff --git a/htdocs/langs/en_US/other.lang b/htdocs/langs/en_US/other.lang index 72b831ef358..0cb0a57c097 100644 --- a/htdocs/langs/en_US/other.lang +++ b/htdocs/langs/en_US/other.lang @@ -20,6 +20,7 @@ SecurityCode=Security code Calendar=Calendar AddTrip=Add trip Tools=Tools +ToolsDesc=This area is dedicated to group miscellaneous tools not available into other menu entries.

Those tools can be reached from menu on the side. Birthday=Birthday BirthdayDate=Birthday DateToBirth=Date to birth diff --git a/htdocs/langs/fr_FR/other.lang b/htdocs/langs/fr_FR/other.lang index b72079521e0..10f14bc4062 100644 --- a/htdocs/langs/fr_FR/other.lang +++ b/htdocs/langs/fr_FR/other.lang @@ -20,6 +20,7 @@ SecurityCode=Code sécurité Calendar=Calendrier AddTrip=Créer déplacement Tools=Outils +ToolsDesc=Cet espace est dédié au regroupement d'outils divers non disponibles dans les autres entrées du menu.

La liste de ces outils est accessible par le menu sur le côté. Birthday=Anniversaire BirthdayDate=Date anniversaire DateToBirth=Date de naissance