From 31e5f43e878e9fc00fd05d99b68a6ef1109c810f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 11 Mar 2003 19:33:43 +0000 Subject: [PATCH] =?UTF-8?q?Gestion=20de=20la=20barre=20sup=E9rieur=20dynam?= =?UTF-8?q?ique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/menus/barre_top/default.php | 61 ++++++++++++++++++++ htdocs/includes/menus/barre_top/esprit.php | 63 +++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 htdocs/includes/menus/barre_top/default.php create mode 100644 htdocs/includes/menus/barre_top/esprit.php diff --git a/htdocs/includes/menus/barre_top/default.php b/htdocs/includes/menus/barre_top/default.php new file mode 100644 index 00000000000..cdd4165c315 --- /dev/null +++ b/htdocs/includes/menus/barre_top/default.php @@ -0,0 +1,61 @@ + + * + * 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. + * + * $Id$ + * $Source$ + * + */ + + + +print ''; +if ($user->comm > 0 && $conf->commercial ) +{ + print 'Commercial'; +} +else +{ + print '-'; +} + +print ''; +if ($user->compta > 0) +{ + print 'Compta'; +} +else +{ + print '-'; +} + +print ''; +if ($conf->produit->enabled ) +{ + print 'Produits'; +} +else +{ + print '-'; +} +print ''; +if ($conf->webcal->enabled) { + print 'Calendrier'; +}; +print ' '; + + +?> diff --git a/htdocs/includes/menus/barre_top/esprit.php b/htdocs/includes/menus/barre_top/esprit.php new file mode 100644 index 00000000000..502949ae1fa --- /dev/null +++ b/htdocs/includes/menus/barre_top/esprit.php @@ -0,0 +1,63 @@ + + * + * 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. + * + * $Id$ + * $Source$ + * + */ + + + +print ''; +if ($user->comm > 0 && $conf->commercial ) +{ + print 'Livres'; +} +else +{ + print '-'; +} + +print ''; +if ($user->compta > 0) +{ + print 'Auteurs'; +} +else +{ + print '-'; +} + +print ''; +if ($conf->produit->enabled ) +{ + print 'Editeurs'; +} +else +{ + print '-'; +} + +print ''; + +print '-'; + + +print ' '; + + +?>