diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 7e743d807d7..129fcebced4 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -81,7 +81,7 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio } $cotisation=$_POST["cotisation"]; // Amount of subscription $label=$_POST["label"]; - + if (! $datecotisation) { $errmsg=$langs->trans("BadDateFormat"); @@ -91,7 +91,7 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio { $datesubend=dol_time_plus_duree(dol_time_plus_duree($datecotisation,$defaultdelay,$defaultdelayunit),-1,'d'); } - + // Payment informations $accountid=$_POST["accountid"]; $operation=$_POST["operation"]; // Payment mode @@ -186,7 +186,7 @@ $adho->fetch_optionals(); */ $head = member_prepare_head($adh); -dol_fiche_head($head, 'subscription', $langs->trans("Member")); +dol_fiche_head($head, 'subscription', $langs->trans("Member"), 0, 'user'); print '
'; print ''; @@ -433,13 +433,13 @@ if ($action == 'addsubscription' && $user->rights->adherent->cotisation->creer) print ''.$langs->trans("Label").''; print ''; - + // Bank account if ($conf->banque->enabled && $conf->global->ADHERENT_BANK_USE) { // Title payments print ''.$langs->trans("Payment").''; - + // Bank account print ''.$langs->trans("FinancialAccount").''; $html->select_comptes($_POST["accountid"],'accountid',0,'',1); @@ -449,17 +449,17 @@ if ($action == 'addsubscription' && $user->rights->adherent->cotisation->creer) print ''.$langs->trans("PaymentMode").''; $html->select_types_paiements($_POST["operation"],'operation'); print "\n"; - + print ''.$langs->trans('Numero'); print ' ('.$langs->trans("ChequeOrTransferNumber").')'; print ''; print ''; - + print ''.$langs->trans('CheckTransmitter'); print ' ('.$langs->trans("ChequeMaker").')'; print ''; print ''; - + print ''.$langs->trans('Bank'); print ' ('.$langs->trans("ChequeBank").')'; print ''; diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 0041f254719..023c4f20e74 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -651,7 +651,7 @@ if ($action == 'edit') */ $head = member_prepare_head($adh); - dol_fiche_head($head, 'general', $langs->trans("Member")); + dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user'); $rowspan=15; $rowspan+=sizeof($adho->attribute_label); @@ -947,7 +947,7 @@ if ($rowid && $action != 'edit') */ $head = member_prepare_head($adh); - dol_fiche_head($head, 'general', $langs->trans("Member")); + dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user'); if ($msg) print '
'.$msg.'
'; diff --git a/htdocs/adherents/info.php b/htdocs/adherents/info.php index e288e2146e7..8742334128d 100644 --- a/htdocs/adherents/info.php +++ b/htdocs/adherents/info.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2009 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -18,11 +18,11 @@ */ /** - \file htdocs/adherents/info.php - \ingroup member - \brief Page des informations d'un adherent - \version $Id$ -*/ + * \file htdocs/adherents/info.php + * \ingroup member + * \brief Page des informations d'un adherent + * \version $Id$ + */ require("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php"); @@ -55,7 +55,7 @@ $adh->info($_GET["id"]); */ $head = member_prepare_head($adh); -dol_fiche_head($head, 'info', $langs->trans("Member")); +dol_fiche_head($head, 'info', $langs->trans("Member"), 0, 'user'); print '\n"; -// LDAP Clé +// LDAP Cl� print '\n"; // LDAP Server @@ -173,7 +173,7 @@ if ($result > 0) { if (! is_array($records)) { - print ''; + print ''; } else { diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php index 0f62498bb64..125fa203539 100644 --- a/htdocs/adherents/note.php +++ b/htdocs/adherents/note.php @@ -50,7 +50,7 @@ $adh->fetch($id); if ($_POST["action"] == 'update' && $user->rights->adherent->creer && ! $_POST["cancel"]) { $db->begin(); - + $res=$adh->update_note($_POST["note"],$user); if ($res < 0) { @@ -76,14 +76,14 @@ $html = new Form($db); if ($id) { $head = member_prepare_head($adh); - - dol_fiche_head($head, 'note', $langs->trans("Member")); + + dol_fiche_head($head, 'note', $langs->trans("Member"), 0, 'user'); if ($msg) print '
'.$msg.'
'; print ""; print ''; - + print '
'; diff --git a/htdocs/adherents/ldap.php b/htdocs/adherents/ldap.php index b72f7b85cbf..ad97e1d4ef8 100644 --- a/htdocs/adherents/ldap.php +++ b/htdocs/adherents/ldap.php @@ -80,7 +80,7 @@ if (! $result) */ $head = member_prepare_head($adh); -dol_fiche_head($head, 'ldap', $langs->trans("Member")); +dol_fiche_head($head, 'ldap', $langs->trans("Member"), 0, 'user'); /* @@ -129,7 +129,7 @@ $langs->load("admin"); // LDAP DN print '
LDAP '.$langs->trans("LDAPMemberDn").''.$conf->global->LDAP_MEMBER_DN."
LDAP '.$langs->trans("LDAPNamingAttribute").''.$conf->global->LDAP_KEY_MEMBERS."
'.$langs->trans("ErrorFailedToReadLDAP").'
'.$langs->trans("ErrorFailedToReadLDAP").'
'; // Reference @@ -140,7 +140,7 @@ if ($id) print "
"; print "\n"; - + /* * Actions */ diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 920a1e34492..c151005438a 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -258,7 +258,7 @@ if ($rowid > 0) $head[$h][2] = 'card'; $h++; - dol_fiche_head($head, 'card', $langs->trans("MemberType")); + dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group'); print ''; @@ -330,7 +330,7 @@ if ($rowid > 0) $head[$h][2] = 'card'; $h++; - dol_fiche_head($head, 'card', $langs->trans("MemberType")); + dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group'); print '';