New: Use picto in tab title
This commit is contained in:
parent
093b88ad8d
commit
b174715f9b
@ -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 '<form action="fiche.php" method="post">';
|
||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
@ -433,13 +433,13 @@ if ($action == 'addsubscription' && $user->rights->adherent->cotisation->creer)
|
||||
print '<tr><td>'.$langs->trans("Label").'</td>';
|
||||
print '<td><input name="label" type="text" size="32" value="'.$langs->trans("Subscription").' ';
|
||||
print dol_print_date(($datefrom?$datefrom:time()),"%Y").'" ></td></tr>';
|
||||
|
||||
|
||||
// Bank account
|
||||
if ($conf->banque->enabled && $conf->global->ADHERENT_BANK_USE)
|
||||
{
|
||||
// Title payments
|
||||
print '<tr><td colspan="2"><b>'.$langs->trans("Payment").'</b></td></tr>';
|
||||
|
||||
|
||||
// Bank account
|
||||
print '<tr><td>'.$langs->trans("FinancialAccount").'</td><td>';
|
||||
$html->select_comptes($_POST["accountid"],'accountid',0,'',1);
|
||||
@ -449,17 +449,17 @@ if ($action == 'addsubscription' && $user->rights->adherent->cotisation->creer)
|
||||
print '<tr><td>'.$langs->trans("PaymentMode").'</td><td>';
|
||||
$html->select_types_paiements($_POST["operation"],'operation');
|
||||
print "</td></tr>\n";
|
||||
|
||||
|
||||
print '<tr><td>'.$langs->trans('Numero');
|
||||
print ' <em>('.$langs->trans("ChequeOrTransferNumber").')</em>';
|
||||
print '</td>';
|
||||
print '<td><input name="num_chq" type="text" size="8" value="'.(empty($_POST['num_chq'])?'':$_POST['num_chq']).'"></td></tr>';
|
||||
|
||||
|
||||
print '<tr><td>'.$langs->trans('CheckTransmitter');
|
||||
print ' <em>('.$langs->trans("ChequeMaker").')</em>';
|
||||
print '</td>';
|
||||
print '<td><input name="chqemetteur" size="32" type="text" value="'.(empty($_POST['chqemetteur'])?$facture->client->nom:$_POST['chqemetteur']).'"></td></tr>';
|
||||
|
||||
|
||||
print '<tr><td>'.$langs->trans('Bank');
|
||||
print ' <em>('.$langs->trans("ChequeBank").')</em>';
|
||||
print '</td>';
|
||||
|
||||
@ -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 '<div class="error">'.$msg.'</div>';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2006 Regis Houssin <regis@dolibarr.fr>
|
||||
*
|
||||
* 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 '<table width="100%"><tr><td>';
|
||||
|
||||
@ -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 '<tr><td>LDAP '.$langs->trans("LDAPMemberDn").'</td><td class="valeur">'.$conf->global->LDAP_MEMBER_DN."</td></tr>\n";
|
||||
|
||||
// LDAP Clé
|
||||
// LDAP Cl<EFBFBD>
|
||||
print '<tr><td>LDAP '.$langs->trans("LDAPNamingAttribute").'</td><td class="valeur">'.$conf->global->LDAP_KEY_MEMBERS."</td></tr>\n";
|
||||
|
||||
// LDAP Server
|
||||
@ -173,7 +173,7 @@ if ($result > 0)
|
||||
{
|
||||
if (! is_array($records))
|
||||
{
|
||||
print '<tr '.$bc[false].'><td colspan="2"><font class="error">'.$langs->trans("ErrorFailedToReadLDAP").'</font></td></tr>';
|
||||
print '<tr '.$bc[false].'><td colspan="2"><font class="error">'.$langs->trans("ErrorFailedToReadLDAP").'</font></td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -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 '<div class="error">'.$msg.'</div>';
|
||||
|
||||
print "<form method=\"post\" action=\"note.php\">";
|
||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
// Reference
|
||||
@ -140,7 +140,7 @@ if ($id)
|
||||
print "</table>";
|
||||
print "</form>\n";
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
@ -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 '<table class="border" width="100%">';
|
||||
@ -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 '<form method="post" action="'.$_SERVER["PHP_SELF"].'?rowid='.$rowid.'">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user