Merge branch '3.2' of https://github.com/Dolibarr/dolibarr into 3.2
This commit is contained in:
commit
1b1b58ad5a
@ -266,7 +266,7 @@ else
|
||||
*/
|
||||
$max=5;
|
||||
|
||||
$sql = "SELECT a.rowid, a.statut, a.nom, a.prenom,";
|
||||
$sql = "SELECT a.rowid, a.statut, a.nom as lastname, a.prenom as firstname,";
|
||||
$sql.= " datefin as date_end_subscription,";
|
||||
$sql.= " c.rowid as cid, c.tms as datem, c.datec as datec, c.dateadh as date_start, c.datef as date_end, c.cotisation";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent as a, ".MAIN_DB_PREFIX."cotisation as c";
|
||||
|
||||
@ -2003,7 +2003,7 @@ else
|
||||
print '</td>';
|
||||
|
||||
print '<td width="20" class="nobordernopadding" nowrap="nowrap">';
|
||||
if ($objp->fk_statut == 1 && $objp->dfv < ($now - $conf->propal->cloture->warning_delay)) print img_warning($langs->trans("Late"));
|
||||
if ($objp->fk_statut == 1 && $db->jdate($objp->dfv) < ($now - $conf->propal->cloture->warning_delay)) print img_warning($langs->trans("Late"));
|
||||
print '</td>';
|
||||
|
||||
print '<td width="16" align="right" class="nobordernopadding">';
|
||||
|
||||
@ -90,7 +90,7 @@ function llxHeaderVierge($title, $head="", $disablejs=0, $disablehead=0, $arrayo
|
||||
{
|
||||
global $user, $conf, $langs, $mysoc;
|
||||
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers
|
||||
print '<body id="mainbody">';
|
||||
print '<body id="mainbody" class="publicnewmemberform" style="margin-top: 10px;">';
|
||||
|
||||
// Print logo
|
||||
$urllogo=DOL_URL_ROOT.'/theme/login_logo.png';
|
||||
@ -337,6 +337,7 @@ $extrafields->fetch_name_optionals_label('member'); // fetch optionals attrib
|
||||
|
||||
llxHeaderVierge($langs->trans("NewSubscription"));
|
||||
|
||||
|
||||
print_titre($langs->trans("NewSubscription"));
|
||||
|
||||
if (! empty($conf->global->MEMBER_NEWFORM_TEXT)) print $langs->trans($conf->global->MEMBER_NEWFORM_TEXT)."<br>\n";
|
||||
@ -344,6 +345,8 @@ else print $langs->trans("NewSubscriptionDesc",$conf->global->MAIN_INFO_SOCIETE_
|
||||
|
||||
dol_htmloutput_errors($errmsg);
|
||||
|
||||
print '<div align="center">';
|
||||
|
||||
print '<br>'.$langs->trans("FieldsWithAreMandatory",'*').'<br>';
|
||||
//print $langs->trans("FieldsWithIsForPublic",'**').'<br>';
|
||||
|
||||
@ -563,10 +566,10 @@ if (! empty($backtopage))
|
||||
}
|
||||
print '</center>';
|
||||
|
||||
print "<br></form>\n";
|
||||
print "<br></div></form>\n";
|
||||
print '</div>';
|
||||
|
||||
|
||||
print
|
||||
llxFooterVierge();
|
||||
|
||||
$db->close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user