Look: Uniformize look

This commit is contained in:
Laurent Destailleur 2009-07-19 23:46:09 +00:00
parent 954d08d82d
commit d4eefc0823

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -19,10 +19,10 @@
*/ */
/** /**
\file htdocs/adherents/type.php * \file htdocs/adherents/type.php
\ingroup adherent * \ingroup adherent
\brief Page de configuration des types d'adhérents * \brief Page de configuration des types d'adh<EFBFBD>rents
\version $Id$ * \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -106,6 +106,9 @@ if ($user->rights->adherent->configurer && $_GET["action"] == 'commentaire')
} }
/*
* View
*/
llxHeader(); llxHeader();
@ -113,15 +116,14 @@ $form=new Form($db);
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* Liste des types d'adhérents */ /* Liste des types d'adh<EFBFBD>rents */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
if (! $rowid && $_GET["action"] != 'create' && $_GET["action"] != 'edit') if (! $rowid && $_GET["action"] != 'create' && $_GET["action"] != 'edit')
{ {
print_titre($langs->trans("MembersTypeSetup")); print_fiche_titre($langs->trans("MembersTypeSetup"));
print '<br>';
$sql = "SELECT d.rowid, d.libelle, d.cotisation, d.vote"; $sql = "SELECT d.rowid, d.libelle, d.cotisation, d.vote";
@ -184,15 +186,14 @@ if (! $rowid && $_GET["action"] != 'create' && $_GET["action"] != 'edit')
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* Création d'un type adherent */ /* Cr<EFBFBD>ation d'un type adherent */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
if ($_GET["action"] == 'create') if ($_GET["action"] == 'create')
{ {
$htmls = new Form($db); $htmls = new Form($db);
print_titre($langs->trans("NewMemberType")); print_fiche_titre($langs->trans("NewMemberType"));
print '<br>';
if ($mesg) print '<div class="error">'.$mesg.'</div>'; if ($mesg) print '<div class="error">'.$mesg.'</div>';