|
@@ -21,7 +21,7 @@
|
|
|
*/
|
|
|
|
|
|
/**
|
|
|
- * \file htdocs/adherents/fiche.php
|
|
|
+ * \file htdocs/adherents/card.php
|
|
|
* \ingroup member
|
|
|
* \brief Page of member
|
|
|
*/
|
|
@@ -1284,13 +1284,13 @@ else
|
|
|
if (! empty($conf->mailman->enabled) && ! empty($conf->global->ADHERENT_USE_SPIP)) {
|
|
|
$formquestion[]=array('type'=>'other','label'=>$langs->transnoentitiesnoconv("SynchroSpipEnabled"),'value'=>'');
|
|
|
}
|
|
|
- print $form->formconfirm("fiche.php?rowid=".$rowid,$langs->trans("ValidateMember"),$langs->trans("ConfirmValidateMember"),"confirm_valid",$formquestion,1);
|
|
|
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ValidateMember"),$langs->trans("ConfirmValidateMember"),"confirm_valid",$formquestion,1);
|
|
|
}
|
|
|
|
|
|
// Confirm send card by mail
|
|
|
if ($action == 'sendinfo')
|
|
|
{
|
|
|
- print $form->formconfirm("fiche.php?rowid=".$rowid,$langs->trans("SendCardByMail"),$langs->trans("ConfirmSendCardByMail",$object->email),"confirm_sendinfo",'',0,1);
|
|
|
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("SendCardByMail"),$langs->trans("ConfirmSendCardByMail",$object->email),"confirm_sendinfo",'',0,1);
|
|
|
}
|
|
|
|
|
|
// Confirm resiliate
|
|
@@ -1321,7 +1321,7 @@ else
|
|
|
$formquestion=array();
|
|
|
if ($object->email) $formquestion[]=array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (! empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL)?'true':'false'));
|
|
|
if ($backtopage) $formquestion[]=array('type' => 'hidden', 'name' => 'backtopage', 'value' => ($backtopage != '1' ? $backtopage : $_SERVER["HTTP_REFERER"]));
|
|
|
- print $form->formconfirm("fiche.php?rowid=".$rowid,$langs->trans("ResiliateMember"),$langs->trans("ConfirmResiliateMember"),"confirm_resign",$formquestion);
|
|
|
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ResiliateMember"),$langs->trans("ConfirmResiliateMember"),"confirm_resign",$formquestion);
|
|
|
}
|
|
|
|
|
|
// Confirm remove member
|
|
@@ -1329,7 +1329,7 @@ else
|
|
|
{
|
|
|
$formquestion=array();
|
|
|
if ($backtopage) $formquestion[]=array('type' => 'hidden', 'name' => 'backtopage', 'value' => ($backtopage != '1' ? $backtopage : $_SERVER["HTTP_REFERER"]));
|
|
|
- print $form->formconfirm("fiche.php?rowid=".$rowid,$langs->trans("DeleteMember"),$langs->trans("ConfirmDeleteMember"),"confirm_delete",$formquestion,0,1);
|
|
|
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("DeleteMember"),$langs->trans("ConfirmDeleteMember"),"confirm_delete",$formquestion,0,1);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -1337,7 +1337,7 @@ else
|
|
|
*/
|
|
|
if ($action == 'add_spip')
|
|
|
{
|
|
|
- print $form->formconfirm("fiche.php?rowid=".$rowid, $langs->trans('AddIntoSpip'), $langs->trans('AddIntoSpipConfirmation'), 'confirm_add_spip');
|
|
|
+ print $form->formconfirm("card.php?rowid=".$rowid, $langs->trans('AddIntoSpip'), $langs->trans('AddIntoSpipConfirmation'), 'confirm_add_spip');
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -1345,7 +1345,7 @@ else
|
|
|
*/
|
|
|
if ($action == 'del_spip')
|
|
|
{
|
|
|
- print $form->formconfirm("fiche.php?rowid=$rowid", $langs->trans('DeleteIntoSpip'), $langs->trans('DeleteIntoSpipConfirmation'), 'confirm_del_spip');
|
|
|
+ print $form->formconfirm("card.php?rowid=$rowid", $langs->trans('DeleteIntoSpip'), $langs->trans('DeleteIntoSpipConfirmation'), 'confirm_del_spip');
|
|
|
}
|
|
|
|
|
|
$rowspan=17;
|
|
@@ -1543,7 +1543,7 @@ else
|
|
|
// Modify
|
|
|
if ($user->rights->adherent->creer)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$rowid.'&action=edit">'.$langs->trans("Modify")."</a></div>";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$rowid.'&action=edit">'.$langs->trans("Modify")."</a></div>";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1555,7 +1555,7 @@ else
|
|
|
{
|
|
|
if ($user->rights->adherent->creer)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$rowid.'&action=valid">'.$langs->trans("Validate")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$rowid.'&action=valid">'.$langs->trans("Validate")."</a></div>\n";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1568,7 +1568,7 @@ else
|
|
|
{
|
|
|
if ($user->rights->adherent->creer)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$rowid.'&action=valid">'.$langs->trans("Reenable")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$rowid.'&action=valid">'.$langs->trans("Reenable")."</a></div>\n";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1581,7 +1581,7 @@ else
|
|
|
{
|
|
|
if ($object->statut >= 1)
|
|
|
{
|
|
|
- if ($object->email) print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$object->id.'&action=sendinfo">'.$langs->trans("SendCardByMail")."</a></div>\n";
|
|
|
+ if ($object->email) print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$object->id.'&action=sendinfo">'.$langs->trans("SendCardByMail")."</a></div>\n";
|
|
|
else print '<div class="inline-block divButAction"><a class="butActionRefused" href="#" title="'.dol_escape_htmltag($langs->trans("NoEMail")).'">'.$langs->trans("SendCardByMail")."</a></div>\n";
|
|
|
}
|
|
|
else
|
|
@@ -1599,7 +1599,7 @@ else
|
|
|
{
|
|
|
if ($user->rights->adherent->supprimer)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$rowid.'&action=resign">'.$langs->trans("Resiliate")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$rowid.'&action=resign">'.$langs->trans("Resiliate")."</a></div>\n";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1638,7 +1638,7 @@ else
|
|
|
// Delete
|
|
|
if ($user->rights->adherent->supprimer)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butActionDelete" href="fiche.php?rowid='.$object->id.'&action=delete">'.$langs->trans("Delete")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butActionDelete" href="card.php?rowid='.$object->id.'&action=delete">'.$langs->trans("Delete")."</a></div>\n";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1652,11 +1652,11 @@ else
|
|
|
|
|
|
if ($isinspip == 1)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$object->id.'&action=del_spip">'.$langs->trans("DeleteIntoSpip")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$object->id.'&action=del_spip">'.$langs->trans("DeleteIntoSpip")."</a></div>\n";
|
|
|
}
|
|
|
if ($isinspip == 0)
|
|
|
{
|
|
|
- print '<div class="inline-block divButAction"><a class="butAction" href="fiche.php?rowid='.$object->id.'&action=add_spip">'.$langs->trans("AddIntoSpip")."</a></div>\n";
|
|
|
+ print '<div class="inline-block divButAction"><a class="butAction" href="card.php?rowid='.$object->id.'&action=add_spip">'.$langs->trans("AddIntoSpip")."</a></div>\n";
|
|
|
}
|
|
|
}
|
|
|
|