2004-10-19 20:58:50 +02:00
|
|
|
<?php
|
2007-12-26 11:09:30 +01:00
|
|
|
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
|
|
|
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
2012-01-11 18:43:38 +01:00
|
|
|
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
2007-12-26 11:09:30 +01:00
|
|
|
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
|
|
|
|
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
2012-12-30 15:13:49 +01:00
|
|
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
2012-03-29 10:54:48 +02:00
|
|
|
* Copyright (C) 2011-2012 Juanjo Menent <jmenent@2byte.es>
|
2012-08-26 22:33:27 +02:00
|
|
|
* Copyright (C) 2012 J. Fernando Lagrange <fernando@demo-tic.org>
|
2003-08-12 18:44:18 +02:00
|
|
|
*
|
|
|
|
|
* 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
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2003-08-12 18:44:18 +02:00
|
|
|
* (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
|
2011-08-03 02:45:22 +02:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2003-08-12 18:44:18 +02:00
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2005-08-11 20:51:38 +02:00
|
|
|
/**
|
2010-05-01 12:32:15 +02:00
|
|
|
* \file htdocs/adherents/admin/adherent.php
|
2010-07-21 13:57:52 +02:00
|
|
|
* \ingroup member
|
2010-06-24 20:51:37 +02:00
|
|
|
* \brief Page to setup the module Foundation
|
2009-04-02 02:34:32 +02:00
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2012-08-22 23:24:21 +02:00
|
|
|
require '../../main.inc.php';
|
2012-08-22 23:11:24 +02:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2004-08-29 14:01:58 +02:00
|
|
|
$langs->load("admin");
|
2010-05-02 19:05:07 +02:00
|
|
|
$langs->load("members");
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2011-11-06 11:11:43 +01:00
|
|
|
if (! $user->admin) accessforbidden();
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2011-11-06 11:11:43 +01:00
|
|
|
$type=array('yesno','texte','chaine');
|
2003-08-28 17:41:56 +02:00
|
|
|
|
2012-03-29 10:58:35 +02:00
|
|
|
$action = GETPOST('action','alpha');
|
2011-09-02 15:15:39 +02:00
|
|
|
|
2004-11-12 15:37:38 +01:00
|
|
|
|
2012-01-11 18:43:38 +01:00
|
|
|
/*
|
|
|
|
|
* Actions
|
|
|
|
|
*/
|
|
|
|
|
|
2004-11-12 15:37:38 +01:00
|
|
|
// Action mise a jour ou ajout d'une constante
|
2011-09-02 15:15:39 +02:00
|
|
|
if ($action == 'update' || $action == 'add')
|
2003-08-28 17:41:56 +02:00
|
|
|
{
|
2012-03-28 16:03:04 +02:00
|
|
|
$constname=GETPOST('constname','alpha');
|
2012-05-09 16:18:59 +02:00
|
|
|
$constvalue=(GETPOST('constvalue_'.$constname) ? GETPOST('constvalue_'.$constname) : GETPOST('constvalue'));
|
2012-01-08 16:58:55 +01:00
|
|
|
|
2011-11-06 11:11:43 +01:00
|
|
|
if (($constname=='ADHERENT_CARD_TYPE' || $constname=='ADHERENT_ETIQUETTE_TYPE') && $constvalue == -1) $constvalue='';
|
|
|
|
|
if ($constname=='ADHERENT_LOGIN_NOT_REQUIRED') // Invert choice
|
|
|
|
|
{
|
|
|
|
|
if ($constvalue) $constvalue=0;
|
|
|
|
|
else $constvalue=1;
|
|
|
|
|
}
|
2012-01-08 16:58:55 +01:00
|
|
|
|
2012-03-28 16:03:04 +02:00
|
|
|
$consttype=GETPOST('consttype','alpha');
|
2012-05-09 16:18:59 +02:00
|
|
|
$constnote=GETPOST('constnote');
|
2011-11-06 11:11:43 +01:00
|
|
|
$res=dolibarr_set_const($db,$constname,$constvalue,$type[$consttype],0,$constnote,$conf->entity);
|
2012-01-08 16:58:55 +01:00
|
|
|
|
2011-11-06 11:11:43 +01:00
|
|
|
if (! $res > 0) $error++;
|
2012-01-08 16:58:55 +01:00
|
|
|
|
2011-11-06 11:11:43 +01:00
|
|
|
if (! $error)
|
|
|
|
|
{
|
|
|
|
|
$mesg = '<div class="ok">'.$langs->trans("SetupSaved").'</div>';
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$mesg = '<div class="error">'.$langs->trans("Error").'</div>';
|
|
|
|
|
}
|
2003-08-28 17:41:56 +02:00
|
|
|
}
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2007-12-26 11:09:30 +01:00
|
|
|
// Action activation d'un sous module du module adherent
|
2011-09-02 15:15:39 +02:00
|
|
|
if ($action == 'set')
|
2003-08-12 18:44:18 +02:00
|
|
|
{
|
2012-05-09 16:18:59 +02:00
|
|
|
$result=dolibarr_set_const($db, GETPOST('name','alpha'),GETPOST('value'),'',0,'',$conf->entity);
|
2011-06-22 16:56:11 +02:00
|
|
|
if ($result < 0)
|
|
|
|
|
{
|
|
|
|
|
print $db->error();
|
|
|
|
|
}
|
2003-08-12 18:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
2007-12-26 11:09:30 +01:00
|
|
|
// Action desactivation d'un sous module du module adherent
|
2011-09-02 15:15:39 +02:00
|
|
|
if ($action == 'unset')
|
2003-08-12 18:44:18 +02:00
|
|
|
{
|
2012-03-29 10:54:48 +02:00
|
|
|
$result=dolibarr_del_const($db,GETPOST('name','alpha'),$conf->entity);
|
2011-06-22 16:56:11 +02:00
|
|
|
if ($result < 0)
|
|
|
|
|
{
|
|
|
|
|
print $db->error();
|
|
|
|
|
}
|
2003-08-12 18:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
2007-10-04 20:29:29 +02:00
|
|
|
|
2010-02-11 23:48:10 +01:00
|
|
|
|
2009-04-02 02:34:32 +02:00
|
|
|
/*
|
|
|
|
|
* View
|
|
|
|
|
*/
|
2007-10-07 16:45:42 +02:00
|
|
|
|
2013-09-06 12:10:09 +02:00
|
|
|
$form = new Form($db);
|
|
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
$help_url='EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros';
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
llxHeader('',$langs->trans("MembersSetup"),$help_url);
|
2009-04-02 02:34:32 +02:00
|
|
|
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2008-01-26 16:10:18 +01:00
|
|
|
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
|
|
|
|
print_fiche_titre($langs->trans("MembersSetup"),$linkback,'setup');
|
2011-06-22 17:43:14 +02:00
|
|
|
|
|
|
|
|
|
2012-09-13 11:52:50 +02:00
|
|
|
$head = member_admin_prepare_head();
|
2011-06-22 17:43:14 +02:00
|
|
|
|
|
|
|
|
dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user');
|
2003-08-12 18:44:18 +02:00
|
|
|
|
2005-08-11 20:51:38 +02:00
|
|
|
|
2011-09-28 14:13:48 +02:00
|
|
|
dol_htmloutput_mesg($mesg);
|
|
|
|
|
|
|
|
|
|
|
2008-12-11 20:58:42 +01:00
|
|
|
print_fiche_titre($langs->trans("MemberMainOptions"),'','');
|
2005-08-11 20:51:38 +02:00
|
|
|
print '<table class="noborder" width="100%">';
|
|
|
|
|
print '<tr class="liste_titre">';
|
|
|
|
|
print '<td>'.$langs->trans("Description").'</td>';
|
|
|
|
|
print '<td>'.$langs->trans("Value").'</td>';
|
|
|
|
|
print '<td align="center">'.$langs->trans("Action").'</td>';
|
|
|
|
|
print "</tr>\n";
|
|
|
|
|
$var=true;
|
|
|
|
|
|
2011-03-06 14:55:47 +01:00
|
|
|
// Login/Pass required for members
|
2013-06-14 01:30:43 +02:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
|
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
print '<input type="hidden" name="constname" value="ADHERENT_LOGIN_NOT_REQUIRED">';
|
|
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("AdherentLoginRequired").'</td><td>';
|
|
|
|
|
print $form->selectyesno('constvalue',(! empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)?0:1),1);
|
|
|
|
|
print '</td><td align="center" width="80">';
|
|
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Update").'" name="Button">';
|
|
|
|
|
print "</td></tr>\n";
|
|
|
|
|
print '</form>';
|
2011-03-06 14:55:47 +01:00
|
|
|
|
2008-11-15 01:44:19 +01:00
|
|
|
// Mail required for members
|
2005-08-11 20:51:38 +02:00
|
|
|
$var=!$var;
|
2010-01-09 17:11:38 +01:00
|
|
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
2009-05-17 10:01:54 +02:00
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
2005-08-11 20:51:38 +02:00
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
print '<input type="hidden" name="constname" value="ADHERENT_MAIL_REQUIRED">';
|
2011-02-08 09:10:08 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("AdherentMailRequired").'</td><td>';
|
2012-09-13 11:52:50 +02:00
|
|
|
print $form->selectyesno('constvalue',(! empty($conf->global->ADHERENT_MAIL_REQUIRED)?$conf->global->ADHERENT_MAIL_REQUIRED:0),1);
|
2005-08-11 20:51:38 +02:00
|
|
|
print '</td><td align="center" width="80">';
|
2007-01-23 23:46:40 +01:00
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Update").'" name="Button">';
|
2005-08-11 20:51:38 +02:00
|
|
|
print "</td></tr>\n";
|
|
|
|
|
print '</form>';
|
|
|
|
|
|
2008-11-15 01:44:19 +01:00
|
|
|
// Send mail information is on by default
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<form action="adherent.php" method="POST">';
|
2009-05-17 10:01:54 +02:00
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
2008-11-15 01:44:19 +01:00
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
print '<input type="hidden" name="constname" value="ADHERENT_DEFAULT_SENDINFOBYMAIL">';
|
2011-02-08 09:10:08 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("MemberSendInformationByMailByDefault").'</td><td>';
|
2012-09-13 11:52:50 +02:00
|
|
|
print $form->selectyesno('constvalue',(! empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL)?$conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL:0),1);
|
2008-11-15 01:44:19 +01:00
|
|
|
print '</td><td align="center" width="80">';
|
|
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Update").'" name="Button">';
|
|
|
|
|
print "</td></tr>\n";
|
2013-03-30 14:27:13 +01:00
|
|
|
print '</form>';
|
2008-11-15 01:44:19 +01:00
|
|
|
|
2013-03-06 17:16:26 +01:00
|
|
|
// Insert subscription into bank account
|
2007-05-26 17:05:49 +02:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<form action="adherent.php" method="POST">';
|
2009-05-17 10:01:54 +02:00
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
2007-05-26 17:05:49 +02:00
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
print '<input type="hidden" name="constname" value="ADHERENT_BANK_USE">';
|
2013-03-06 17:16:26 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("MoreActionsOnSubscription").'</td>';
|
|
|
|
|
$arraychoices=array('0'=>$langs->trans("None"));
|
2013-03-30 14:27:13 +01:00
|
|
|
if (! empty($conf->banque->enabled)) $arraychoices['bankdirect']=$langs->trans("MoreActionBankDirect");
|
|
|
|
|
if (! empty($conf->banque->enabled) && ! empty($conf->societe->enabled) && ! empty($conf->facture->enabled)) $arraychoices['invoiceonly']=$langs->trans("MoreActionInvoiceOnly");
|
|
|
|
|
if (! empty($conf->banque->enabled) && ! empty($conf->societe->enabled) && ! empty($conf->facture->enabled)) $arraychoices['bankviainvoice']=$langs->trans("MoreActionBankViaInvoice");
|
2013-03-06 17:16:26 +01:00
|
|
|
print '<td>';
|
|
|
|
|
print $form->selectarray('constvalue',$arraychoices,$conf->global->ADHERENT_BANK_USE,0);
|
|
|
|
|
print '</td><td align="center" width="80">';
|
|
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Update").'" name="Button">';
|
|
|
|
|
print '</td>';
|
|
|
|
|
print "</tr>\n";
|
2013-03-30 14:27:13 +01:00
|
|
|
print '</form>';
|
2013-03-06 17:16:26 +01:00
|
|
|
|
2013-03-30 14:27:13 +01:00
|
|
|
// Use vat for invoice creation
|
2013-03-06 17:16:26 +01:00
|
|
|
if ($conf->facture->enabled)
|
2007-05-26 17:05:49 +02:00
|
|
|
{
|
2013-03-30 14:27:13 +01:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<form action="adherent.php" method="POST">';
|
|
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
print '<input type="hidden" name="constname" value="ADHERENT_VAT_FOR_SUBSCRIPTIONS">';
|
|
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("VATToUseForSubscriptions").'</td>';
|
|
|
|
|
if (! empty($conf->banque->enabled))
|
|
|
|
|
{
|
|
|
|
|
print '<td>';
|
|
|
|
|
print $form->selectarray('constvalue', array('0'=>$langs->trans("NoVatOnSubscription"),'defaultforfoundationcountry'=>$langs->trans("Default")), (empty($conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS)?'0':$conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS), 0);
|
|
|
|
|
print '</td><td align="center" width="80">';
|
|
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Update").'" name="Button">';
|
|
|
|
|
print '</td>';
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
print '<td align="right" colspan="2">';
|
|
|
|
|
print $langs->trans("WarningModuleNotActive",$langs->transnoentities("Module85Name"));
|
|
|
|
|
print '</td>';
|
|
|
|
|
}
|
|
|
|
|
print "</tr>\n";
|
2013-03-06 17:16:26 +01:00
|
|
|
print '</form>';
|
2007-05-26 17:05:49 +02:00
|
|
|
}
|
2013-03-06 17:16:26 +01:00
|
|
|
|
2005-08-11 20:51:38 +02:00
|
|
|
print '</table>';
|
|
|
|
|
print '<br>';
|
|
|
|
|
|
2010-06-24 20:51:37 +02:00
|
|
|
|
2010-02-07 05:31:19 +01:00
|
|
|
/*
|
|
|
|
|
* Edition info modele document
|
|
|
|
|
*/
|
|
|
|
|
$constantes=array(
|
2010-02-13 23:20:32 +01:00
|
|
|
'ADHERENT_CARD_TYPE',
|
2010-02-14 00:26:25 +01:00
|
|
|
// 'ADHERENT_CARD_BACKGROUND',
|
2010-02-07 05:31:19 +01:00
|
|
|
'ADHERENT_CARD_HEADER_TEXT',
|
|
|
|
|
'ADHERENT_CARD_TEXT',
|
|
|
|
|
'ADHERENT_CARD_TEXT_RIGHT',
|
2010-02-13 23:20:32 +01:00
|
|
|
'ADHERENT_CARD_FOOTER_TEXT'
|
2011-11-06 11:11:43 +01:00
|
|
|
);
|
2010-02-07 05:31:19 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print_fiche_titre($langs->trans("MembersCards"),'','');
|
2010-02-07 05:31:19 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
form_constantes($constantes);
|
2010-02-07 05:31:19 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print '*'.$langs->trans("FollowingConstantsWillBeSubstituted").'<br>';
|
2012-04-28 16:37:58 +02:00
|
|
|
print '%DOL_MAIN_URL_ROOT%, %ID%, %FIRSTNAME%, %LASTNAME%, %FULLNAME%, %LOGIN%, %PASSWORD%, ';
|
2013-03-13 22:17:03 +01:00
|
|
|
print '%COMPANY%, %ADDRESS%, %ZIP%, %TOWN%, %COUNTRY%, %EMAIL%, %BIRTH%, %PHOTO%, %TYPE%, ';
|
2011-06-22 17:43:14 +02:00
|
|
|
print '%YEAR%, %MONTH%, %DAY%';
|
|
|
|
|
print '<br>';
|
2010-02-07 05:31:19 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print '<br>';
|
2010-02-07 05:31:19 +01:00
|
|
|
|
2010-02-13 23:20:32 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
/*
|
|
|
|
|
* Edition info modele document
|
|
|
|
|
*/
|
2012-04-28 16:37:58 +02:00
|
|
|
$constantes=array('ADHERENT_ETIQUETTE_TYPE','ADHERENT_ETIQUETTE_TEXT');
|
2010-02-13 23:20:32 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print_fiche_titre($langs->trans("MembersTickets"),'','');
|
2010-02-13 23:20:32 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
form_constantes($constantes);
|
2010-08-29 14:54:39 +02:00
|
|
|
|
2012-04-28 16:37:58 +02:00
|
|
|
print '*'.$langs->trans("FollowingConstantsWillBeSubstituted").'<br>';
|
|
|
|
|
print '%DOL_MAIN_URL_ROOT%, %ID%, %FIRSTNAME%, %LASTNAME%, %FULLNAME%, %LOGIN%, %PASSWORD%, ';
|
2013-03-13 22:17:03 +01:00
|
|
|
print '%COMPANY%, %ADDRESS%, %ZIP%, %TOWN%, %COUNTRY%, %EMAIL%, %BIRTH%, %PHOTO%, %TYPE%, ';
|
2012-04-28 16:37:58 +02:00
|
|
|
print '%YEAR%, %MONTH%, %DAY%';
|
|
|
|
|
print '<br>';
|
|
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print '<br>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
2013-11-02 17:50:24 +01:00
|
|
|
* Editing global variables not related to a specific theme
|
2011-06-22 17:43:14 +02:00
|
|
|
*/
|
|
|
|
|
$constantes=array(
|
2012-08-26 22:33:27 +02:00
|
|
|
'ADHERENT_AUTOREGISTER_NOTIF_MAIL_SUBJECT',
|
|
|
|
|
'ADHERENT_AUTOREGISTER_NOTIF_MAIL',
|
2009-04-02 02:34:32 +02:00
|
|
|
'ADHERENT_AUTOREGISTER_MAIL_SUBJECT',
|
|
|
|
|
'ADHERENT_AUTOREGISTER_MAIL',
|
|
|
|
|
'ADHERENT_MAIL_VALID_SUBJECT',
|
|
|
|
|
'ADHERENT_MAIL_VALID',
|
|
|
|
|
'ADHERENT_MAIL_COTIS_SUBJECT',
|
|
|
|
|
'ADHERENT_MAIL_COTIS',
|
|
|
|
|
'ADHERENT_MAIL_RESIL_SUBJECT',
|
|
|
|
|
'ADHERENT_MAIL_RESIL',
|
|
|
|
|
'ADHERENT_MAIL_FROM',
|
2011-11-06 11:11:43 +01:00
|
|
|
);
|
2010-02-13 23:20:32 +01:00
|
|
|
|
2011-06-22 17:43:14 +02:00
|
|
|
print_fiche_titre($langs->trans("Other"),'','');
|
|
|
|
|
|
|
|
|
|
form_constantes($constantes);
|
|
|
|
|
|
|
|
|
|
print '*'.$langs->trans("FollowingConstantsWillBeSubstituted").'<br>';
|
2012-04-28 16:37:58 +02:00
|
|
|
print '%DOL_MAIN_URL_ROOT%, %ID%, %FIRSTNAME%, %LASTNAME%, %FULLNAME%, %LOGIN%, %PASSWORD%, ';
|
2013-03-13 22:17:03 +01:00
|
|
|
print '%COMPANY%, %ADDRESS%, %ZIP%, %TOWN%, %COUNTRY%, %EMAIL%, %BIRTH%, %PHOTO%, %TYPE%, ';
|
2011-06-22 17:43:14 +02:00
|
|
|
//print '%YEAR%, %MONTH%, %DAY%'; // Not supported
|
|
|
|
|
print '<br>';
|
|
|
|
|
|
|
|
|
|
dol_fiche_end();
|
|
|
|
|
|
|
|
|
|
|
2011-08-27 16:24:16 +02:00
|
|
|
llxFooter();
|
2011-06-22 17:43:14 +02:00
|
|
|
|
2012-01-11 18:43:38 +01:00
|
|
|
$db->close();
|
2013-11-19 21:08:02 +01:00
|
|
|
?>
|