Tools area has its own page.

This commit is contained in:
Laurent Destailleur 2011-02-14 18:01:52 +00:00
parent 00ef80ebd6
commit dad02f9232
3 changed files with 61 additions and 0 deletions

59
htdocs/core/tools.php Executable file
View File

@ -0,0 +1,59 @@
<?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
*
* 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").'<br><br>';
$db->close();
llxFooter('$Date$ - $Revision$');
?>

View File

@ -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.<br><br>Those tools can be reached from menu on the side.
Birthday=Birthday
BirthdayDate=Birthday
DateToBirth=Date to birth

View File

@ -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.<br><br>La liste de ces outils est accessible par le menu sur le côté.
Birthday=Anniversaire
BirthdayDate=Date anniversaire
DateToBirth=Date de naissance